Artifacts
Artifacts are the data objects that carry information between nodes during flow execution. Each step produces an artifact that downstream steps can access.Artifact structure
AStepArtifact can contain any combination of:
| Field | Type | Description |
|---|---|---|
prompt | string | Text prompt or generated script |
imageUrl | string | URL of a generated or uploaded image |
videoUrl | string | URL of a generated or uploaded video |
mediaUrl | string | URL of uploaded media (image or video) |
mediaType | ”image” | “video” | Type of the uploaded media |
scenes | string[] | Array of scene descriptions (from script generation) |
sceneImages | string[] | Array of generated image URLs per scene |
sceneVideos | string[] | Array of generated video URLs per scene |
clipTrims | ClipTrim[] | Video clip trim points (start, end, duration) |
shotDetails | ShotDetail[] | Per-shot text, image prompt, and video prompt |
captionWords | CaptionWord[] | Transcribed words with timestamps |
captionStyle | CaptionStyle | Caption styling configuration |
audioUrl | string | URL of generated or selected audio |
audioTitle | string | Title of the audio track |
audioArtist | string | Artist of the audio track |
audioDuration | number | Length of the audio in seconds |
audioLicenseUrl | string | License URL for the audio track |
How artifacts flow
Artifacts are stored in a key-value map indexed by step number. When a node executes:- It reads artifacts from previous steps that are connected to it
- It produces a new artifact with its output data
- Downstream nodes can access this artifact
Example flow
Artifact types by node
| Node Type | Produces |
|---|---|
| Text Input | prompt |
| Script Generation | prompt, scenes, shotDetails |
| Image Generation | imageUrl |
| Text-to-Video | videoUrl |
| Image-to-Video | videoUrl |
| Media Upload | mediaUrl, mediaType |
| Auto Captions | captionWords, captionStyle, videoUrl |
| Voiceover | audioUrl, videoUrl |
| Background Audio | audioUrl, audioTitle, audioArtist |
| Multi-Shot Generation | sceneImages, sceneVideos, shotDetails |
| Clip Finder | clipTrims |