{
"error": "script is too long (~160s of narration; max 90s). Shorten the script.",
"code": "VALIDATION_ERROR",
"retryable": false,
"details": {
"reason": "SCRIPT_TOO_LONG",
"estimatedDurationSec": 160,
"maxScriptDurationSec": 90
}
}
{
"error": "Invalid API key"
}
Too many requests from this IP, please try again in a minute
Compose
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).
POST
/
v1
/
compose
/
plan
Plan Compose Video (dry run)
curl --request POST \ --url https://app.uselamina.ai/v1/compose/plan \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data @- <<EOF{ "script": "Here's how our analytics dashboard turns raw events into decisions in seconds.", "aspectRatio": "16:9"}EOF
import requests
url = "https://app.uselamina.ai/v1/compose/plan"
payload = {
"script": "Here's how our analytics dashboard turns raw events into decisions in seconds.",
"aspectRatio": "16:9"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
{
"error": "script is too long (~160s of narration; max 90s). Shorten the script.",
"code": "VALIDATION_ERROR",
"retryable": false,
"details": {
"reason": "SCRIPT_TOO_LONG",
"estimatedDurationSec": 160,
"maxScriptDurationSec": 90
}
}
{
"error": "Invalid API key"
}
Too many requests from this IP, please try again in a minute
Preview what a compose call will do — the format it routes to, the estimated cost, and the per-beat storyboard — without generating anything or spending a credit. Fast (one LLM call).Call this first to show the user the plan + cost and confirm before committing. 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.
Workspace API key. Prefix: lma_. Example: lma_abc123...
Body
application/json
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.
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.
Add ElevenLabs v3 audio tags for stronger, more human inflection. Prosody/pacing is always applied; this adds emotional tags. Default false. (compose/video only.)
Condition the render on-brand — the brand DNA steers the style bible, the narration voice (Brand Kit), and the caption color/font. On compose/plan it conditions the previewed storyboard too (response includes brand.applied). Omit for a generic look. Fail-soft; a brand miss never blocks the render.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Lamina","colors":{"primary":"#0F766E","light":"#14B8A6","dark":"#115E59"},"favicon":"https://mintcdn.com/mason-15348f78/3iJvP8OcRcg2LjXU/favicon.png?fit=max\u0026auto=format\u0026n=3iJvP8OcRcg2LjXU\u0026q=85\u0026s=eda5c3cb7458d3d9c2092c4cad08087a","api":{"openapi":["openapi.yaml"]},"navbar":{"primary":{"type":"button","label":"Quick Start","href":"/quick-start"}},"seo":{"metatags":{"og:image":"https://cdn.sanity.io/images/nxxnxyyr/production/0df374e0014d413d75e40c601b4680c3bea02482-1200x630.jpg?w=1200\u0026h=630\u0026fit=crop\u0026auto=format","og:image:width":"1200","og:image:height":"630","og:image:alt":"Lamina — Generative media API for AI agents","og:site_name":"Lamina Docs","twitter:card":"summary_large_image","twitter:image":"https://cdn.sanity.io/images/nxxnxyyr/production/0df374e0014d413d75e40c601b4680c3bea02482-1200x630.jpg?w=1200\u0026h=630\u0026fit=crop\u0026auto=format"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mason-15348f78","hasAudioNarration":false,"actualSubdomain":"mason-15348f78","customDomains":["docs.uselamina.ai"],"gitSource":{"type":"github","owner":"cirbuk","repo":"react-flow-integration","deployBranch":"staging","contentDirectory":"api-docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6aec2e802235bcbcaaa0ddfb","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"default","tag":"Docs","count":69},{"language":"default","tag":"API Reference","count":49},{"language":"default","tag":"Brand Assistant","count":16},{"language":"default","tag":"Guides","count":10},{"language":"default","tag":"Create","count":7},{"language":"default","tag":"Track","count":6},{"language":"default","tag":"Overview","count":5},{"language":"default","tag":"Compose","count":4},{"language":"default","tag":"Discover","count":4},{"language":"default","tag":"Intelligence","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/plan-compose-video","slug":"/api-reference/plan-compose-video","pageMetadata":{"title":"Plan Compose Video","openapi":"POST /v1/compose/plan","description":"**Preview** what `POST /v1/compose/video` will do for a script — the\nformat it routes to, the estimated cost, and the per-beat storyboard —\n**without generating any media or spending a credit.** Fast (one LLM\ncall). Use it to show the plan + cost and confirm before committing.\n\n`ready: false` with `missingInputs` / `blockers` tells you exactly what to\nsupply before dispatching. Accepts the same steering fields as\n`/v1/compose/video` (`format`, `direction`, `sections`, `inputs`,\n`aspectRatio`).\n","href":"/api-reference/plan-compose-video"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Preview\"\n }), \" what \", _jsx(_components.code, {\n children: \"POST /v1/compose/video\"\n }), \" will do for a script — the\\nformat it routes to, the estimated cost, and the per-beat storyboard —\\n\", _jsx(_components.strong, {\n children: \"without generating any media or spending a credit.\"\n }), \" Fast (one LLM\\ncall). Use it to show the plan + cost and confirm before committing.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.code, {\n children: \"ready: false\"\n }), \" with \", _jsx(_components.code, {\n children: \"missingInputs\"\n }), \" / \", _jsx(_components.code, {\n children: \"blockers\"\n }), \" tells you exactly what to\\nsupply before dispatching. Accepts the same steering fields as\\n\", _jsx(_components.code, {\n children: \"/v1/compose/video\"\n }), \" (\", _jsx(_components.code, {\n children: \"format\"\n }), \", \", _jsx(_components.code, {\n children: \"direction\"\n }), \", \", _jsx(_components.code, {\n children: \"sections\"\n }), \", \", _jsx(_components.code, {\n children: \"inputs\"\n }), \",\\n\", _jsx(_components.code, {\n children: \"aspectRatio\"\n }), \").\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,strong:`strong`,..._provideComponents(),...props.components};return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Preview what a compose call will do — the format it routes to, the estimated cost, and the per-beat storyboard — `,_jsx(_components.strong,{children:`without generating anything or spending a credit.`}),` Fast (one LLM call).`]}),`\n`,_jsxs(_components.p,{children:[`Call this first to show the user the plan + cost and confirm before committing. `,_jsx(_components.code,{children:`ready: false`}),` with `,_jsx(_components.code,{children:`missingInputs`}),` / `,_jsx(_components.code,{children:`blockers`}),` tells you exactly what to supply. Accepts the same steering fields as the compose call: `,_jsx(_components.code,{children:`format`}),`, `,_jsx(_components.code,{children:`direction`}),`, `,_jsx(_components.code,{children:`sections`}),`, `,_jsx(_components.code,{children:`inputs`}),`, `,_jsx(_components.code,{children:`aspectRatio`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Plan Compose Video","openapi":"POST /v1/compose/plan","description":"**Preview** what `POST /v1/compose/video` will do for a script — the\nformat it routes to, the estimated cost, and the per-beat storyboard —\n**without generating any media or spending a credit.** Fast (one LLM\ncall). Use it to show the plan + cost and confirm before committing.\n\n`ready: false` with `missingInputs` / `blockers` tells you exactly what to\nsupply before dispatching. Accepts the same steering fields as\n`/v1/compose/video` (`format`, `direction`, `sections`, `inputs`,\n`aspectRatio`).\n","href":"/api-reference/plan-compose-video"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"planComposeVideo","summary":"Plan Compose Video (dry run)","tags":["Compose"],"description":"**Preview** what `POST /v1/compose/video` will do for a script — the\nformat it routes to, the estimated cost, and the per-beat storyboard —\n**without generating any media or spending a credit.** Fast (one LLM\ncall). Use it to show the plan + cost and confirm before committing.\n\n`ready: false` with `missingInputs` / `blockers` tells you exactly what to\nsupply before dispatching. Accepts the same steering fields as\n`/v1/compose/video` (`format`, `direction`, `sections`, `inputs`,\n`aspectRatio`).\n","requestBody":"c0782e99-0f11-47e6-bc7e-74eea3165213","responses":{"200":"f8bf25bc-cd16-40d5-a1c4-080bbf701155","400":"a49bb2e2-0973-4638-a057-399e5ef0c3df","401":"dd3f3331-d992-41ca-94c5-b155c191ca9c","429":"0582f1ba-223b-484c-a4a0-b41bc47e8472"},"method":"post","type":"path","servers":["013dd238-a99f-4068-9933-b197281048ec"],"security":["ff5cb86a-e988-4d7e-bc2f-e5a2ab95bf18"],"path":"/v1/compose/plan","baseUrlOptions":["https://app.uselamina.ai"],"title":"Plan Compose Video (dry run)","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"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.\n","required":["script"],"properties":{"script":{"type":"string","maxLength":4000,"description":"The narration to speak (a hook + one insight + a CTA). Its spoken length must be ≤ the `maxScriptDurationSec` capability (~90s).","isRequired":true,"uniqueKey":"script","typeLabel":"string"},"title":{"type":"string","description":"Video title.","uniqueKey":"title","typeLabel":"string"},"generationBrief":{"type":"string","description":"One-paragraph visual brief for the shots.","uniqueKey":"generationBrief","typeLabel":"string"},"format":{"type":"string","description":"A format id from `GET /v1/compose/formats`. Omit to auto-route the script to the best available format.","uniqueKey":"format","typeLabel":"string"},"direction":{"type":"string","description":"Free-text creative direction (\"open on the product, fast cuts, end on the logo\") — steers the render without naming models.","uniqueKey":"direction","typeLabel":"string"},"sections":{"type":"array","description":"Structured per-span storyboard hints, for a prescriptive caller.","items":{"type":"object","required":["hint"],"properties":{"hint":{"type":"string","description":"What to show / how to treat this span.","isRequired":true,"uniqueKey":"sections.items.[INDEX].hint","typeLabel":"string"},"text":{"type":"string","description":"The span of narration this hint applies to.","uniqueKey":"sections.items.[INDEX].text","typeLabel":"string"},"mustShow":{"type":"boolean","description":"Hard requirement for this beat.","uniqueKey":"sections.items.[INDEX].mustShow","typeLabel":"boolean"}},"uniqueKey":"sections.items.[INDEX]","typeLabel":"object"},"uniqueKey":"sections","typeLabel":"object[]"},"inputs":{"type":"object","description":"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`.","uniqueKey":"inputs","typeLabel":"object"},"aspectRatio":{"type":"string","enum":["16:9","9:16","1:1","4:5","4:3"],"default":"16:9","uniqueKey":"aspectRatio","typeLabel":"enum\u003cstring>"},"voiceId":{"type":"string","description":"ElevenLabs voice id for the narration. Omit and the narration director picks a voice whose tone fits the script. (compose/video only.)","uniqueKey":"voiceId","typeLabel":"string"},"expressive":{"type":"boolean","description":"Add ElevenLabs v3 audio tags for stronger, more human inflection. Prosody/pacing is always applied; this adds emotional tags. Default false. (compose/video only.)","uniqueKey":"expressive","typeLabel":"boolean"},"brandProfileId":{"type":"string","description":"Condition the render on-brand — the brand DNA steers the style bible, the narration voice (Brand Kit), and the caption color/font. On compose/plan it conditions the previewed storyboard too (response includes `brand.applied`). Omit for a generic look. Fail-soft; a brand miss never blocks the render.","uniqueKey":"brandProfileId","typeLabel":"string"},"clipSeconds":{"type":"integer","description":"Target per-clip length within the capability window.","uniqueKey":"clipSeconds","typeLabel":"integer"},"idempotencyKey":{"type":"string","description":"Dedupe retries — a repeated key returns the same run (no double charge). (compose/video only.)","uniqueKey":"idempotencyKey","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"script":"Here's how our analytics dashboard turns raw events into decisions in seconds.","aspectRatio":"16:9"},"examples":{"Example":{"title":"Example","value":{"script":"Here's how our analytics dashboard turns raw events into decisions in seconds.","aspectRatio":"16:9"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"f8bf25bc-cd16-40d5-a1c4-080bbf701155":{"description":"The dry-run plan.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"data":{"ready":true,"format":{"id":"motion_graphics","label":"Motion-graphics explainer","available":true,"reason":"data/how-to content — clarity beats footage"},"cost":{"tier":"low","estimatedCredits":35},"estimatedDurationSec":12,"aspectRatio":"16:9","beatCount":3,"beats":[{"index":0,"treatment":"static_card","effect":"slide_up","transition":"fade","motion":false,"imagePrompt":"Clean dashboard hero with a rising line chart"}],"requiredInputs":[],"missingInputs":[]}},"examples":{"Example":{"title":"Example","value":{"data":{"ready":true,"format":{"id":"motion_graphics","label":"Motion-graphics explainer","available":true,"reason":"data/how-to content — clarity beats footage"},"cost":{"tier":"low","estimatedCredits":35},"estimatedDurationSec":12,"aspectRatio":"16:9","beatCount":3,"beats":[{"index":0,"treatment":"static_card","effect":"slide_up","transition":"fade","motion":false,"imagePrompt":"Clean dashboard hero with a rising line chart"}],"requiredInputs":[],"missingInputs":[]}}}},"exampleType":"examples"}},"exampleType":"examples"},"a49bb2e2-0973-4638-a057-399e5ef0c3df":{"description":"Invalid input. `details.reason` is machine-readable (e.g. `SCRIPT_TOO_LONG`).","content":{"application/json":{"schema":{"type":"object","description":"Structured error from the compose endpoints. `details.reason` is a stable, machine-readable sub-code an agent can branch on to self-correct.\n","required":["error"],"properties":{"error":{"type":"string","description":"Human-readable error message.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"The /v1 error-taxonomy code (drives HTTP status + retryable).","example":"VALIDATION_ERROR","uniqueKey":"code","typeLabel":"string"},"retryable":{"type":"boolean","description":"Whether retrying the same request could succeed.","uniqueKey":"retryable","typeLabel":"boolean"},"details":{"type":"object","description":"Machine-readable context. Always carries `reason`; other keys depend on the reason.","required":["reason"],"properties":{"reason":{"type":"string","enum":["SCRIPT_REQUIRED","SCRIPT_TOO_LONG","FORMAT_UNAVAILABLE","MISSING_REQUIRED_INPUT","NO_ELIGIBLE_FORMAT"],"description":"Stable sub-code for the failure.","isRequired":true,"uniqueKey":"details.reason","typeLabel":"enum\u003cstring>"},"missingInputs":{"type":"array","items":{"type":"string","uniqueKey":"details.missingInputs.items.[INDEX]","typeLabel":"string"},"description":"Present for MISSING_REQUIRED_INPUT — the input keys to supply.","uniqueKey":"details.missingInputs","typeLabel":"string[]"},"maxScriptDurationSec":{"type":"integer","description":"Present for SCRIPT_TOO_LONG.","uniqueKey":"details.maxScriptDurationSec","typeLabel":"integer"},"estimatedDurationSec":{"type":"integer","description":"Present for SCRIPT_TOO_LONG.","uniqueKey":"details.estimatedDurationSec","typeLabel":"integer"}},"additionalProperties":true,"uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"script is too long (~160s of narration; max 90s). Shorten the script.","code":"VALIDATION_ERROR","retryable":false,"details":{"reason":"SCRIPT_TOO_LONG","estimatedDurationSec":160,"maxScriptDurationSec":90}},"examples":{"Example":{"title":"Example","value":{"error":"script is too long (~160s of narration; max 90s). Shorten the script.","code":"VALIDATION_ERROR","retryable":false,"details":{"reason":"SCRIPT_TOO_LONG","estimatedDurationSec":160,"maxScriptDurationSec":90}}}},"exampleType":"examples"}},"exampleType":"examples"},"dd3f3331-d992-41ca-94c5-b155c191ca9c":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Invalid API key"},"examples":{"Example":{"title":"Example","value":{"error":"Invalid API key"}}},"exampleType":"examples"}},"exampleType":"examples"},"0582f1ba-223b-484c-a4a0-b41bc47e8472":{"description":"Rate limit exceeded. All `/v1/*` endpoints are currently limited to 100 requests per minute per IP.","headers":{"RateLimit-Policy":{"description":"Active rate limit policy.","schema":{"type":"string","example":"100;w=60"}},"RateLimit-Limit":{"description":"Max requests allowed in the current window.","schema":{"type":"integer","example":100}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"type":"integer","example":0}},"RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer","example":60}},"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer","example":60}}},"content":{"text/plain":{"schema":{"type":"string","uniqueKey":"","typeLabel":"string"},"example":"Too many requests from this IP, please try again in a minute","examples":{"Example":{"title":"Example","value":"Too many requests from this IP, please try again in a minute"}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"ff5cb86a-e988-4d7e-bc2f-e5a2ab95bf18":{"apiKey":{"type":"apiKey","in":"header","name":"x-api-key","description":"Workspace API key. Prefix: `lma_`. Example: `lma_abc123...`","scopes":[],"schemeName":"apiKey"}}},"servers":{"013dd238-a99f-4068-9933-b197281048ec":{"url":"https://app.uselamina.ai","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"Workspace API key. Prefix: `lma_`. Example: `lma_abc123...`","scopes":[],"schemeName":"apiKey"},"schema":{"title":"x-api-key","type":"string","description":"Workspace API key. Prefix: `lma_`. Example: `lma_abc123...`","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKey","name":"x-api-key"}],"title":"apiKey"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"mason-15348f78","siteName":"Lamina","title":"Plan Compose Video - Lamina","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-26T03:10:11.109Z","originalFileLocation":"api-reference/plan-compose-video.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"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).\">\u003cmeta data-mint-head name=\"application-name\" content=\"Lamina\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mason-15348f78/8JpPyXaRAbMqCEJN/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/mason-15348f78/8JpPyXaRAbMqCEJN/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mason-15348f78/8JpPyXaRAbMqCEJN/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mason-15348f78/8JpPyXaRAbMqCEJN/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mason-15348f78/8JpPyXaRAbMqCEJN/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mason-15348f78/8JpPyXaRAbMqCEJN/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mason-15348f78/8JpPyXaRAbMqCEJN/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mason-15348f78/8JpPyXaRAbMqCEJN/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mason-15348f78/8JpPyXaRAbMqCEJN/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Plan Compose Video - Lamina\">\u003cmeta data-mint-head property=\"og:description\" content=\"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).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Lamina Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.uselamina.ai/api-reference/plan-compose-video\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cdn.sanity.io/images/nxxnxyyr/production/0df374e0014d413d75e40c601b4680c3bea02482-1200x630.jpg?w=1200\u0026amp;h=630\u0026amp;fit=crop\u0026amp;auto=format\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Plan Compose Video - Lamina\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"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).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cdn.sanity.io/images/nxxnxyyr/production/0df374e0014d413d75e40c601b4680c3bea02482-1200x630.jpg?w=1200\u0026amp;h=630\u0026amp;fit=crop\u0026amp;auto=format\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/mason-15348f78/8JpPyXaRAbMqCEJN/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Lamina\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0F766E\">\u003cmeta data-mint-head name=\"og:image:alt\" content=\"Lamina — Generative media API for AI agents\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.uselamina.ai/api-reference/plan-compose-video\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/plan-compose-video.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.uselamina.ai/#organization\",\"name\":\"Lamina\",\"url\":\"https://docs.uselamina.ai\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.uselamina.ai#website\",\"name\":\"Lamina\",\"url\":\"https://docs.uselamina.ai\",\"publisher\":{\"@id\":\"https://docs.uselamina.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.uselamina.ai/api-reference/plan-compose-video#webpage\",\"url\":\"https://docs.uselamina.ai/api-reference/plan-compose-video\",\"name\":\"Plan Compose Video\",\"description\":\"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).\",\"dateModified\":\"2026-07-26T03:10:11.109Z\",\"isPartOf\":{\"@id\":\"https://docs.uselamina.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.uselamina.ai/api-reference/plan-compose-video#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.uselamina.ai/api-reference/plan-compose-video#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.uselamina.ai/api-reference/create-content\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Compose\",\"item\":\"https://docs.uselamina.ai/api-reference/list-compose-formats\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Plan Compose Video\",\"item\":\"https://docs.uselamina.ai/api-reference/plan-compose-video\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.uselamina.ai/api-reference/plan-compose-video#apireference\",\"headline\":\"Plan Compose Video\",\"name\":\"Plan Compose Video\",\"description\":\"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).\",\"url\":\"https://docs.uselamina.ai/api-reference/plan-compose-video\",\"mainEntityOfPage\":{\"@id\":\"https://docs.uselamina.ai/api-reference/plan-compose-video#webpage\"},\"image\":\"https://cdn.sanity.io/images/nxxnxyyr/production/0df374e0014d413d75e40c601b4680c3bea02482-1200x630.jpg?w=1200\u0026h=630\u0026fit=crop\u0026auto=format\",\"dateModified\":\"2026-07-26T03:10:11.109Z\",\"publisher\":{\"@id\":\"https://docs.uselamina.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.uselamina.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Lamina\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Lamina","nav":{"global":null,"tabs":[{"tab":"Docs","groups":[{"group":"Overview","pages":[{"title":"Lamina","href":"/introduction"},{"title":"Quick Start","href":"/quick-start"},{"title":"The Creative Engine","href":"/concepts/creative-engine"},{"title":"Authentication","href":"/authentication"},{"title":"Errors","href":"/errors"}]},{"group":"Install","pages":[{"title":"Use The CLI And SDK","sidebarTitle":"CLI \u0026 SDK","href":"/guides/use-the-cli-and-sdk"},{"group":"MCP Install","expanded":true,"pages":[{"title":"MCP OAuth Install","sidebarTitle":"General","href":"/guides/mcp-oauth-install"},{"title":"Brand MCP","sidebarTitle":"Brand","href":"/guides/commerce-mcp"}]}]},{"group":"Concepts","pages":[{"title":"Apps And Executions","href":"/concepts/apps-and-executions"},{"title":"Inputs And Outputs","href":"/concepts/inputs-and-outputs"}]},{"group":"API Reference","pages":[{"group":"Create","pages":[{"title":"Create Content","openapi":"POST /v1/content/create","href":"/api-reference/create-content"},{"title":"Generate Content Brief","openapi":"POST /v1/content/brief","href":"/api-reference/create-brief"},{"title":"Batch Create Content","openapi":"POST /v1/content/batch","href":"/api-reference/batch-create"},{"title":"Generate App","openapi":"POST /v1/workflows/generate","href":"/api-reference/generate-workflow"},{"title":"Run App","openapi":"POST /v1/apps/{appId}/runs","href":"/api-reference/run-app"},{"title":"List Templates","openapi":"GET /v1/templates","href":"/api-reference/list-templates"},{"title":"Get Template","openapi":"GET /v1/templates/{id}","href":"/api-reference/get-template"}]},{"group":"Discover","pages":[{"title":"List Apps","openapi":"GET /v1/apps","href":"/api-reference/list-apps"},{"title":"Get App Details","openapi":"GET /v1/apps/{appId}","href":"/api-reference/get-app"},{"title":"Get App Workflow","openapi":"GET /v1/apps/{appId}/workflow","href":"/api-reference/get-app-workflow"},{"title":"Set App Visibility","openapi":"POST /v1/apps/{appId}/visibility","href":"/api-reference/set-app-visibility"}]},{"group":"Track","pages":[{"title":"Get Run Status","openapi":"GET /v1/runs/{runId}","href":"/api-reference/get-execution"},{"title":"Wait For Run","openapi":"GET /v1/runs/{runId}/wait","href":"/api-reference/wait-for-execution"},{"title":"Stream Run","openapi":"GET /v1/runs/{runId}/stream","href":"/api-reference/stream-execution"},{"title":"Refine Run","openapi":"POST /v1/runs/{runId}/feedback","href":"/api-reference/refine-run"},{"title":"List Runs","openapi":"GET /v1/runs","href":"/api-reference/list-executions"},{"title":"List Assets","openapi":"GET /v1/assets","href":"/api-reference/list-assets"}]},{"group":"Intelligence","pages":[{"title":"Get Brand Context","openapi":"GET /v1/intelligence/brand-context","href":"/api-reference/get-brand-context"},{"title":"Predict Content Performance","openapi":"POST /v1/intelligence/predict","href":"/api-reference/predict-performance"},{"title":"Get Recommendations","openapi":"GET /v1/intelligence/recommendations","href":"/api-reference/get-recommendations"},{"title":"Get Trends","openapi":"GET /v1/intelligence/trends","href":"/api-reference/get-trends"}]},{"group":"Distribute","pages":[{"title":"List Channels","openapi":"GET /v1/publishing/channels","href":"/api-reference/list-channels"},{"title":"Publish Content","openapi":"POST /v1/publishing/publish","href":"/api-reference/publish-content"},{"title":"Transfer Asset to CDN","openapi":"POST /v1/publishing/transfer-asset","href":"/api-reference/transfer-asset"},{"title":"Get Publish History","openapi":"GET /v1/publishing/history","href":"/api-reference/get-publish-history"}]},{"group":"Score","pages":[{"title":"Score Content","openapi":"POST /v1/content/score","href":"/api-reference/score-content"}]},{"group":"Compose","pages":[{"title":"List Compose Formats","openapi":"GET /v1/compose/formats","description":"List the video **formats** `POST /v1/compose/video` can render — animated\nslideshow, cinematic b-roll, motion-graphics explainer, and more. Each\nformat renders differently and internally uses different models; **callers\npick a format (never a model) and see its cost.**\n\nThe response also returns fixed **capabilities** (max script length,\nsupported aspect ratios, clip window) so an agent can construct any valid\ncompose call from a single discovery request. Formats with `available:\nfalse` are on the roadmap and cannot be dispatched yet. Formats may\ndeclare required `inputs` (e.g. a presenter image) that must be supplied.\n","href":"/api-reference/list-compose-formats"},{"title":"Plan Compose Video","openapi":"POST /v1/compose/plan","href":"/api-reference/plan-compose-video"},{"title":"Compose Narrated Video","openapi":"POST /v1/compose/video","description":"Compose a **narrated, multi-shot** video from a script — not a single\n~5s clip. Synthesizes the narration, storyboards it into beats, generates\na continuity-chained shot per beat, and renders with transitions +\nKen-Burns + captions.\n\n**Asynchronous** — composition takes minutes. You get a `runId`\nimmediately; poll `GET /v1/compose/video/{runId}` (the snapshot carries\nstage `progress`) or use it after `POST /v1/compose/plan` to confirm cost.\n\n**Steer the render via the script, never models:** optional `direction`\n(free text) and `sections` (per-span hints). Pass `idempotencyKey` to make\nretries safe (a repeated key returns the same run — no double charge).\n","href":"/api-reference/compose-video"},{"title":"Get Compose Run","openapi":"GET /v1/compose/video/{runId}","href":"/api-reference/get-compose-run"}]},{"group":"Brand Assistant","pages":[{"title":"Read capabilities and pricing","openapi":"GET /v1/brand-assistant/capabilities","href":"/api-reference/brand-assistant-capabilities"},{"title":"List saved chats","openapi":"GET /v1/brand-assistant/chats","href":"/api-reference/brand-assistant-list-chats"},{"title":"Create a chat","openapi":"POST /v1/brand-assistant/chats","href":"/api-reference/brand-assistant-create-chat"},{"title":"Get a saved chat","openapi":"GET /v1/brand-assistant/chats/{chatId}","href":"/api-reference/brand-assistant-get-chat"},{"title":"Rename or archive a chat","openapi":"PATCH /v1/brand-assistant/chats/{chatId}","href":"/api-reference/brand-assistant-update-chat"},{"title":"Read chat history","openapi":"GET /v1/brand-assistant/chats/{chatId}/items","href":"/api-reference/brand-assistant-items"},{"title":"Read durable events","openapi":"GET /v1/brand-assistant/chats/{chatId}/events","href":"/api-reference/brand-assistant-events"},{"title":"Send an assistant message","openapi":"POST /v1/brand-assistant/chats/{chatId}/turns","href":"/api-reference/brand-assistant-send-message"},{"title":"Stop an assistant turn","openapi":"POST /v1/brand-assistant/chats/{chatId}/turns/{turnId}/cancel","href":"/api-reference/brand-assistant-cancel-turn"},{"title":"Retry saved message delivery","openapi":"POST /v1/brand-assistant/chats/{chatId}/turns/{turnId}/deliver","href":"/api-reference/brand-assistant-deliver-turn"},{"title":"Review generation approval","openapi":"POST /v1/brand-assistant/chats/{chatId}/approvals/{approvalId}","href":"/api-reference/brand-assistant-approve"},{"title":"Read generation results","openapi":"GET /v1/brand-assistant/chats/{chatId}/runs/{runId}","href":"/api-reference/brand-assistant-run"},{"title":"Request generation cancellation","openapi":"POST /v1/brand-assistant/chats/{chatId}/runs/{runId}/cancel","href":"/api-reference/brand-assistant-cancel-run"},{"title":"Create an upload","openapi":"POST /v1/brand-assistant/chats/{chatId}/assets","href":"/api-reference/brand-assistant-upload"},{"title":"Finalize an attachment","openapi":"POST /v1/brand-assistant/chats/{chatId}/assets/{assetId}/finalize","href":"/api-reference/brand-assistant-finalize"},{"title":"Download a result","openapi":"GET /v1/brand-assistant/chats/{chatId}/assets/{assetId}/download","href":"/api-reference/brand-assistant-download"}]},{"group":"Account","pages":[{"title":"Get Usage","openapi":"GET /v1/account/usage","href":"/api-reference/get-usage"},{"title":"Health Check","openapi":"GET /v1/health","href":"/api-reference/health-check"}]},{"group":"Webhooks","pages":[{"title":"Get Webhook Signing Key","openapi":"GET /v1/webhooks/signing-key","href":"/api-reference/get-webhook-signing-key"}]}]},{"group":"Guides","pages":[{"title":"Brand MCP reference","sidebarTitle":"Brand MCP reference","href":"/guides/commerce-mcp-reference"},{"title":"Brand Assistant","href":"/guides/brand-assistant"},{"title":"The Agent Creation Loop","href":"/guides/agent-creation-loop"},{"title":"Agent Integration Patterns","href":"/guides/agent-integration-patterns"},{"title":"Agent Recipes","href":"/guides/agent-recipes"},{"title":"Run Your First App","href":"/guides/run-your-first-app"},{"title":"Integration Recipes","href":"/guides/capability-recipes"},{"title":"Handle Long-Running Executions","href":"/guides/handle-long-running-executions"},{"title":"Test Webhooks Locally","href":"/guides/test-webhooks-locally"},{"title":"Agent Runtime Benchmarks","href":"/guides/agent-runtime-benchmarks"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Plan Compose Video - Lamina","buildId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","deploymentId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CBsVopKK.js","utils-DZAk68jJ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D32AYZrP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D_A5_cny.js","snippetPresets-xNRfS9th.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BIB25-tq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CydJ4w4j.js","shallow-CYPBeQSG.js","getApiPlaygroundDisplay-A5xJVBOu.js","CodeSnippet-BVRTgi3m.js","CodeSnippets-DjD6BSlt.js","Page-Dr40SSJq.js","getPastedJson-D4V4JyrR.js","icon-uhcnG22T.js","MethodPill-CM-ZQdGH.js","DuplicateIcon-B_WnOiNf.js","createIcon-CJsb8utt.js","DynamicMarkdown-D-2HDKEp.js","SectionHeading-KP5xmMgQ.js","axios-vUo_bRtp.js","Markdown-D_k0dg6k.js","clsx-DK3K4Z1S.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DE3EVdvd.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-fN9H9n9g.js"]}