Plan Compose Video
Preview what POST /v1/compose/video will do for a script — the
format it routes to, the estimated cost, and the per-beat storyboard —
without generating any media or spending a credit. Fast (one LLM
call). Use it to show the plan + cost and confirm before committing.
ready: false with missingInputs / blockers tells you exactly what to
supply before dispatching. Accepts the same steering fields as
/v1/compose/video (format, direction, sections, inputs,
aspectRatio).
ready: false with missingInputs / blockers tells you exactly what to supply. Accepts the same steering fields as the compose call: format, direction, sections, inputs, aspectRatio.Authorizations
Workspace API key. Prefix: lma_. Example: lma_abc123...
Body
Shared input for POST /v1/compose/plan and POST /v1/compose/video. The user picks a format (never a model) and steers the render via the script — direction + sections — not by naming models.
The narration to speak (a hook + one insight + a CTA). Its spoken length must be ≤ the maxScriptDurationSec capability (~90s).
4000Video title.
One-paragraph visual brief for the shots.
A format id from GET /v1/compose/formats. Omit to auto-route the script to the best available format.
Free-text creative direction ("open on the product, fast cuts, end on the logo") — steers the render without naming models.
Structured per-span storyboard hints, for a prescriptive caller.
A format's required inputs, keyed by input key (e.g. a presenterImage key mapping to an https URL). See each format's inputs in GET /v1/compose/formats.
16:9, 9:16, 1:1, 4:5, 4:3 ElevenLabs voice id for the narration. Omit for the default voice. (compose/video only.)
Target per-clip length within the capability window.
Dedupe retries — a repeated key returns the same run (no double charge). (compose/video only.)
Response
The dry-run plan.