Create slideshow generation
Start an agentic slideshow generation from a natural-language prompt. The worker may search team assets, approved same-team references, Pinterest, or image generation tools, so the run is asynchronous and tool usage may spend credits; follow the returned run or event links until it completes. Send an Idempotency-Key so an exact retry cannot create a second run.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
a string at most 200 character(s) long
1 - 200Path Parameters
Team (workspace) id (UUID). Discover ids via the list teams endpoint or the agent context.
Body
a string at most 8000 character(s) long
1 - 8000a number between 1 and 100000000
1 <= x <= 100000000Default background source for slides: stock search, generated image, upload or a named library pack. Individual slides can override it.
- Option 1
- Option 2
- Option 3
a string at most 256 character(s) long
1 - 256a number between 2 and 20
2 <= x <= 20Fixed uses the requested count. Automatic resolves a count from three to six from the brief.
fixed, automatic Requested output aspect ratio for every generated slide; defaults to 4:5.
4:5, 9:16, 1:1, 16:9 a Universally Unique Identifier
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$OpenRouter model to write the deck with. Omit to use the prompt registry default.
google/gemini-3.8-flash, anthropic/claude-opus-5.5, openai/gpt-6-sol, anthropic/claude-sonnet-5, openai/gpt-6-luna, x-ai/grok-4.7, deepseek/deepseek-v4.1-flash, qwen/qwen3.8-flash, minimax/minimax-m3, mistralai/mistral-small-2603, moonshotai/kimi-k3, xiaomi/mimo-v2.6-flash, stepfun/step-3.7-flash, google/gemini-3.7-flash, anthropic/claude-opus-5, openai/gpt-5.6-sol, openai/gpt-5.6-terra, x-ai/grok-4.6, deepseek/deepseek-v4-flash-0731, qwen/qwen3.7-plus, moonshotai/kimi-k2.6, xiaomi/mimo-v2.5, google/gemini-3.5-flash, anthropic/claude-opus-4.8, google/gemini-3.1-pro-preview, x-ai/grok-4.5 an array of at most 50 item(s)
50a Universally Unique Identifier
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Narrative tone used for generated slide copy and visual direction. Defaults to educational.
educational, personal Language used for generated on-slide text. Defaults to the language detected from the prompt.
same_as_prompt, en, es, fr, de, it, pt, nl, ja, zh-TW, zh-CN, ko, hi, ar, ru, pl, tr, id, sv, da, no, fi Default caption preset, font, size, and width applied to generated editable slide text.
Dark background overlay defaults for generated slides. The hook can be controlled independently.
an array of at most 20 item(s)
2 - 20 elements- Option 1
- Option 2
- Option 3
an array of at most 64 item(s)
64a Universally Unique Identifier
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$an array of at most 20 item(s)
20a Universally Unique Identifier
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$a string at most 4000 character(s) long
4000Editable uses the structured renderer. Custom runs the bounded template builder with real render previews and a visual critic.
editable, custom When true, render visual checks for the agent to inspect and polish the slideshow. Defaults to false; an interactive browser preview is still available.
When true, export the generated slideshow as soon as generation completes. Defaults to false; generation leaves an editable draft.
Response
Success
a Universally Unique Identifier
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$a Universally Unique Identifier
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$generation, slide_regeneration, edit a Universally Unique Identifier
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$text, image, layout, style, all an integer
an integer
a Universally Unique Identifier
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$a Universally Unique Identifier
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$