Where things stand and what to do next; start and resume here.
Always reports the account: plan, credits, credits held by running jobs,
and credits_available to spend. project_id adds the project's settings,
each step's state and web link, jobs with readable errors, export_url,
next_step and, when something failed, failures: the last failed jobs and
the failed segments grouped by kind and error.…
Parameterswaitchannel_idproject_id
Show a Framesail image inline: a segment image, reference image,
style template or preset preview.
Parametersurlrequired
get_generation_options
Get generation options
What a generate call can be told to use.
models: the allowed models with credit estimates and settings_schema
(the valid settings keys); is_default marks the default (the account's
saved choice, else Framesail's). Voice and clip models come in families,
each with its own default: pass provider or talking_head for one family.
prompt_sections: sections with entity_backed=false can be…
Parametersactionrequiredprovidergenerationrequiredtalking_head
The account's default model and settings for one kind of generation,
used when neither the call nor the item's prompt editor names one.
voice_block needs provider and segment_video needs talking_head: each
family keeps its own default.
Parametersmodelactionrequiredprovidersettingsgenerationrequiredtalking_head
Permanently delete; irreversible, so confirm with the user first.
project: it and everything in it. asset: a character, environment or
object. music_track: a background music track. segment_extra: a
segment's sound effect or overlay, with its scene layers. A segment's
image, clip and voiceover can't be deleted.
Parametersidtyperequiredproject_idsegment_number
projects_read
Read channels and projects
Your channels, or the projects in one channel.
Parametersactionrequiredchannel_id
projects_edit
Edit channels and projects
Create a channel or a project, or change a project's title, brief or
video format. A new project takes its channel's style; a channel with no
style needs one (style_edit action=create) before anything is
generated. Share the returned web_url so the user can follow along.
Parametersnametitleactionrequiredchannel_idproject_iddescriptionvideo_format
style_read
Read the channel style
get: the channel style: its references, its fields (art_style,
narrative_style, director_style, text_style, any added; script_prompt on
request), the summary analysis wrote for each, and templates, the
character and environment template images (null: not rendered; a URL:
it exists, so view_image it rather than render it again).
inputs_stale: the references changed since the last analysis…
Parametersactionrequiredchannel_idproject_idinclude_script_prompt
style_edit
Edit the channel style
Create or change the channel style (one per channel, used by all its
projects).
create: offer the user two real options, never invented ones. (a)
References (best): YouTube links of their channel or of videos whose
look they like, or a written description. Analysis starts at once and
writes the fields: wait with get_status channel_id wait=true, then
render both template images (style_generate…
Parametersnameactionrequiredfieldspresetschannel_idrequiredreferences
style_generate
Generate for the channel style
analyze: read the references again and rewrite art_style,
narrative_style, director_style and text_style, replacing hand edits.
template: render one of the style's two template images. Reference
images render on them (characters on the character template,
environments and objects on the environment one) and segment images
fall back on them, so finish both before any reference image. An
existing…
Parametersmodelactionrequiredreplacesettingschannel_idrequiredtemplate_typeeditable_sections
script_read
Read the script
The active script, its versions, and the script settings
(script_target_minutes, voice_mix, visual concept). Show the script to
the user before Analyze Script.
Parametersproject_idrequired
script_edit
Edit the script
Change the script or its settings; only revise spends credits.
save: replace the active version's text (the old text is lost: show the
user the current script first), then run Analyze Script. Notation, never
read aloud: `[SCENE: <visual direction>]` as its own paragraph directs
the storyboard for the narration after it, until the next one, over the
director style. `<break time="1.5s" />` is the…
Parametersactionrequiredcontentscript_idvoice_mixproject_idrequiredinstructionselected_textvisual_concept+1 more
script_generate
Generate the script or analyze it
generate: write the script from the brief and the narrative style;
each run is a new version (review it with script_read).
analyze (Analyze Script): find the script's characters, environments
and objects (including any named only in `[SCENE: ...]` directions) and
split it into voice blocks. Existing assets are kept as they are
(description, reference image, voice) and new ones added; assets…
Parametersmodelactionrequiredsettingsproject_idrequirededitable_sections
The project's characters, environments and objects, each with its
description (what every render follows), reference_image (null: not
rendered; view_image it) and, for characters, voice_id. Each needs a
reference image before the voiceover.
Parametersasset_typeproject_idrequired
Add a character, environment or object that Analyze Script missed,
or rename one or rewrite its description. After a description change,
render its reference image again (assets_generate asset_ids).
Parametersnameactionrequiredasset_idasset_typeproject_iddescription
assets_generate
Generate reference images
Render reference images, which keep each character, environment and
object looking the same in every segment. Needs both style template
images. Without asset_ids it renders every asset with none, skipping
ones already rendering, so a repeat never bills twice. Afterwards,
view_image them to check likeness.
Parametersmodeldry_runsettingsasset_idsproject_idrequirededitable_sections
voiceover_read
Read voices and voice blocks
voices: one engine's voice ids, labels and preview audio, as
{groups, voices}. blocks: the voice blocks (narration and dialogue) with
their speaker, voice_id (the speaker's voice), audio and any
`[SCENE: ...]` direction over them (never spoken), as {blocks,
total_duration_ms, all_complete}.
Parametersgroupactionrequiredproviderproject_idinclude_subtitle_data
voiceover_edit
Edit voices and voice blocks
Voices and voice blocks; free. set_voice: the narrator's or a
character's voice; every speaker needs one before the voiceover.
rescan_blocks: split the active script into voice blocks again after an
edit, assets untouched; blocks whose words are unchanged keep their
audio. settings: the voice engine, narrator speed and language.
Parametersactionrequiredspeakerlanguagevoice_idproject_idrequirednarrator_speedvoice_tts_provider
voiceover_generate
Generate the voiceover
Generate voice block audio. Every speaker needs a voice first, and
every asset a reference image. Without voice_block_ids it fills every
block with no audio, skipping ones already generating. A model must
match the project's voice engine. An existing storyboard retimes to the
new audio on its own.
Parametersmodeldry_runsettingsproject_idrequiredvoice_block_idseditable_sections
storyboard_read
Read the storyboard
segments: {total, offset, returned, segments}. Each segment has its
segment_number (the handle segment tools take), kind (image, clip,
talking head, real photo, B-roll or overlay segment), narration,
duration, direction, image_prompt, video_prompt (the motion when
animated), media_queries (searches for a real photo or B-roll), the
characters, environments and objects it shows,…
Parameterslimitactionrequiredoffsetproject_idrequiredsegment_number
storyboard_edit
Edit storyboard settings
Storyboard settings, used by the next storyboard run.
Parametersactionrequiredsfx_levelrequiredproject_idrequired
storyboard_generate
Generate the storyboard
Plan the storyboard: every segment, its timing, image and motion
prompts, overlays and continuations, following the channel style and
any `[SCENE: ...]` directions. Needs the finished voiceover (its timing
drives the cuts). It plans images, plus real photos and B-roll when the
director style has the `@real-media` tag; clips come later, by animating
rendered images. Running it again replaces the…
Parametersmodelsettingsproject_idrequirededitable_sections
segment_edit
Edit a segment
Change one segment without losing renders; only split spends
credits. Returns the changed segments.
set_prompts: write prompts verbatim, no AI rewrite. The renders stay as
they are: render the segment again to apply the new prompts.
set_continuation: make this segment's image continue an earlier one's
(same composition, only the change); render the image again.
rollback: restore one of the last…
Parameterswhatindexactionrequiredoffsets_msproject_idrequiredimage_promptvideo_promptinherit_index+3 more
segment_restructure
Restructure a segment
Change what a segment is. Every call previews first: when no
rendered image or clip would be lost it runs; otherwise it changes
nothing and returns what would be lost. Show the user, then call again
with confirm=true.
combine: merge with a neighboring segment. The kept segment's renders
stay, retimed to the combined length, but go stale: its prompts are
rewritten for the combined narration, so…
Parameterstokeepactionrequiredconfirmfeedbackkeep_imageproject_idrequiredsegment_numberrequired+1 more
Render segment images and clips, the biggest spend in the video:
always run it with dry_run=true first and get the user's yes on the
estimate.
generate: without segment_numbers, everything not yet rendered (items
rendering are skipped); with them, those segments, finished renders
included, e.g. the first minute before the whole video. Overrides need
segment_numbers and what=images or…
Parameterswhatmodelactionrequireddry_runsettingsproject_idrequiredtalking_headsegment_number+2 more
editor_read
Read the editor
scenes: the editor timeline, one scene per segment, as {total,
offset, returned, scenes}; scenes build on their own from the
storyboard. music: {tracks}, timed in seconds. audio_library: tracks to
add with editor_edit; when nothing matches, it lists the library's moods
and genres.
Parametersmoodgenrelimitactionrequiredoffsetsearchcategoryproject_id+1 more
editor_edit
Edit the video
Polish the video in the editor; changes show in the next export.
scene_note: edit one scene with a note (move, restyle, add or remove
layers and overlays, change the text of a lower third, title card or
callout, change motion); spends credits. Returns the changes and
skipped_mutations: edits that didn't land (applied=false) or landed
differently than asked (applied=true), each with a reason;…
Parametersloopnameactionrequiredvolumemessagetrack_idproject_idstart_seconds+5 more
export_video
Export the video
Render the finished video from the editor timeline; free. When the
export job completes, get_status carries export_url.
Parametersproject_idrequired