Generate AI-powered slideshows for TikTok photo carousels, Instagram carousels, Pinterest pins, and more. Supports AI generation from prompts, manual slide configuration, and mixed mode. The core content creation endpoint for OpenClaw agents.
Create a new slideshow in the authenticated key scope. This is the core content creation endpoint - your OpenClaw agent or automation script generates slideshows here, then publishes them to media-capable accounts via Create Post.generate supports:
AI generation from a prompt/product context
manual initial slide setup (skip_ai=true)
mixed setup with explicit slide_config
recreating the format of a Viral Library post for your
product (reference)
Generation runs on the same engine as the Genviral app and Vira. The request stays open until the
deck is finished (usually one to three minutes) and then returns it. If the deck is still generating
after about five minutes, the request answers 504 generation_timeout with the slideshow_id; poll
Get Slideshow until generation_status is complete or failed,
or retry with the same Idempotency-Key to wait on the same deck again.
Send a unique Idempotency-Key header for each slideshow you intend to create. Retrying the same
key with the same body replays the original result. When the header is omitted, Genviral derives a
stable key from the credential and request body for backward compatibility, so an identical
headerless request is treated as a retry rather than a new generation.
Optional global image pack ID. Required whenever any generated slide uses image_pack and no
per-slide pack_assignments are provided, unless image_sourcing allows Pinterest sourcing.
pack — shuffle backgrounds from pack_id or per-slide pack_assignments only
pinterest_auto — run the whole-deck Pinterest agent after text generation; pack_id optional
pinterest_then_pack — image search like pinterest_auto; a slide the search cannot fill
takes an image from its pack_assignments pack or pack_id instead (no extra charge). Without
a pack it behaves exactly like pinterest_auto, where an unfilled slide fails the request
Optional Viral Library post to recreate for your product or prompt, as
{ "viral_post_id": "<post id>" }. Genviral analyzes the post once (the first request for a
post can take 15–40 seconds longer; that time is part of the same wait) and builds one slide per
analyzed source slide: each keeps the source slide’s kind of shot, subject, copy role, copy
pattern, and length. The reference is style only: new words are written for your product and every
image is sourced by search. The source post’s text and images are never reused.Requires prompt or product_id. Not accepted together with slide_config, slide_count,
pack_id, skip_ai: true, or an image_sourcing other than pinterest_auto. Reading the post
counts against your Viral Library get rate limit.
default, small, or a number from 8 to 200. Presets: default = title/single
48px, body 40px; small = title/single 40px, body 33px. A number sets that exact
size for every text element on every slide.
Optional. When true, no AI copy is written: slides with text in slide_config.slide_texts or
slide_config.slide_text_elements keep it verbatim, and every other slide is image-only.
Images are still sourced from your packs, custom images, or Pinterest.
Optional map of slide index -> text element array
(content, x, y, optional id, font_size, width). Elements render verbatim at
their x/y (percent of the slide, 0–100), with font_size (8–200) and width
(1–100) when given and the deck’s text settings otherwise. Out-of-range values are
refused with 422 invalid_payload.
Optional map of slide index -> pack UUID. Valid only for image_pack
slides.
All slide_config map keys must be 0-based numeric indices in range. image_pack slides must
resolve a pack via pack_id, pack_assignments[index], or an image_sourcing mode that allows
Pinterest sourcing (pinterest_auto, pinterest_then_pack).
402 subscription_required - active Creator/Professional/Business plan required
402 insufficient_credits - buy a credit pack at https://www.genviral.io/billing?tab=credits, then retry
403 tier_not_allowed - Scheduler tier cannot use Partner API
500 generate_failed - generation failed; includes slideshow_id when the deck was started
504 generation_timeout - the deck is still generating; poll slideshow_id with Get Slideshow
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Genviral","colors":{"primary":"#0D9373","light":"#07C983","dark":"#0D9373"},"logo":{"light":"https://www.genviral.io/logo-big.png","dark":"https://www.genviral.io/logo-big.png"},"favicon":"https://mintcdn.com/fddigital-2a62ffc1/wLgPyVw05FCo1CC0/favicon-32x32.png?fit=max\u0026auto=format\u0026n=wLgPyVw05FCo1CC0\u0026q=85\u0026s=3580fdf212bbeadef7c3f21ab8f96af3","seo":{},"metadata":{"timestamp":false},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"fddigital-2a62ffc1","hasAudioNarration":false,"actualSubdomain":"fddigital-2a62ffc1","customDomains":["docs.genviral.io"],"gitSource":{"type":"github","owner":"genviral","repo":"genviral.io","deployBranch":"main","contentDirectory":"apps/api-docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af3473ac29073b8ff7d972c","clientVersion":"0.0.4117","searchFilterCounts":[{"language":"default","tag":"API Reference","count":130},{"language":"default","tag":"Video Editor","count":21},{"language":"default","tag":"Slideshows","count":18},{"language":"default","tag":"Studio AI","count":16},{"language":"default","tag":"Accounts","count":14},{"language":"default","tag":"Analytics","count":11},{"language":"default","tag":"Folders","count":9},{"language":"default","tag":"Getting Started","count":9},{"language":"default","tag":"Packs","count":7},{"language":"default","tag":"Posts","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":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":"custom-rbac-roles","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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/generate-slideshow","slug":"/api-reference/generate-slideshow","pageMetadata":{"title":"Generate Slideshow","api":"POST /api/partner/v1/slideshows/generate","description":"Generate AI-powered slideshows for TikTok photo carousels, Instagram carousels, Pinterest pins, and more. Supports AI generation from prompts, manual slide configuration, and mixed mode. The core content creation endpoint for OpenClaw agents.","href":"/api-reference/generate-slideshow"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Generate AI-powered slideshows for TikTok photo carousels, Instagram carousels, Pinterest pins, and more. Supports AI generation from prompts, manual slide configuration, and mixed mode. The core content creation endpoint for OpenClaw agents.\"\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={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Create a new slideshow in the authenticated key scope. This is the core content creation endpoint - your OpenClaw agent or automation script generates slideshows here, then publishes them to media-capable accounts via `,_jsx(_components.a,{href:`/api-reference/create-post`,children:`Create Post`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`generate`}),` supports:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`AI generation from a prompt/product context`}),`\n`,_jsxs(_components.li,{children:[`manual initial slide setup (`,_jsx(_components.code,{children:`skip_ai=true`}),`)`]}),`\n`,_jsxs(_components.li,{children:[`mixed setup with explicit `,_jsx(_components.code,{children:`slide_config`})]}),`\n`,_jsxs(_components.li,{children:[`recreating the format of a `,_jsx(_components.a,{href:`/api-reference/search-viral-library`,children:`Viral Library`}),` post for your\nproduct (`,_jsx(_components.code,{children:`reference`}),`)`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Generation runs on the same engine as the Genviral app and Vira. The request stays open until the\ndeck is finished (usually one to three minutes) and then returns it. If the deck is still generating\nafter about five minutes, the request answers `,_jsx(_components.code,{children:`504 generation_timeout`}),` with the `,_jsx(_components.code,{children:`slideshow_id`}),`; poll\n`,_jsx(_components.a,{href:`/api-reference/get-slideshow`,children:`Get Slideshow`}),` until `,_jsx(_components.code,{children:`generation_status`}),` is `,_jsx(_components.code,{children:`complete`}),` or `,_jsx(_components.code,{children:`failed`}),`,\nor retry with the same `,_jsx(_components.code,{children:`Idempotency-Key`}),` to wait on the same deck again.`]}),`\n`,_jsx(Heading,{level:`2`,id:`idempotency`,children:`Idempotency`}),`\n`,_jsxs(_components.p,{children:[`Send a unique `,_jsx(_components.code,{children:`Idempotency-Key`}),` header for each slideshow you intend to create. Retrying the same\nkey with the same body replays the original result. When the header is omitted, Genviral derives a\nstable key from the credential and request body for backward compatibility, so an identical\nheaderless request is treated as a retry rather than a new generation.`]}),`\n`,_jsx(Heading,{level:`2`,id:`body-parameters`,children:`Body Parameters`}),`\n`,_jsx(ParamField,{body:`prompt`,type:`string`,id:`param-prompt`,children:_jsxs(_components.p,{children:[`Prompt used for AI text generation. Required unless `,_jsx(_components.code,{children:`skip_ai=true`}),` or `,_jsx(_components.code,{children:`product_id`}),` is provided.`]})}),`\n`,_jsx(ParamField,{body:`product_id`,type:`string (UUID)`,id:`param-product-id`,children:_jsx(_components.p,{children:`Optional product reference. Must exist in the authenticated key scope.`})}),`\n`,_jsx(ParamField,{body:`pack_id`,type:`string (UUID)`,id:`param-pack-id`,children:_jsxs(_components.p,{children:[`Optional global image pack ID. Required whenever any generated slide uses `,_jsx(_components.code,{children:`image_pack`}),` and no\nper-slide `,_jsx(_components.code,{children:`pack_assignments`}),` are provided, unless `,_jsx(_components.code,{children:`image_sourcing`}),` allows Pinterest sourcing.`]})}),`\n`,_jsxs(ParamField,{body:`image_sourcing`,type:`string`,id:`param-image-sourcing`,children:[_jsxs(_components.p,{children:[`Optional image sourcing mode. Default: `,_jsx(_components.code,{children:`pack`}),` (backward compatible).`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`pack`}),` — shuffle backgrounds from `,_jsx(_components.code,{children:`pack_id`}),` or per-slide `,_jsx(_components.code,{children:`pack_assignments`}),` only`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`pinterest_auto`}),` — run the whole-deck Pinterest agent after text generation; `,_jsx(_components.code,{children:`pack_id`}),` optional`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`pinterest_then_pack`}),` — image search like `,_jsx(_components.code,{children:`pinterest_auto`}),`; a slide the search cannot fill\ntakes an image from its `,_jsx(_components.code,{children:`pack_assignments`}),` pack or `,_jsx(_components.code,{children:`pack_id`}),` instead (no extra charge). Without\na pack it behaves exactly like `,_jsx(_components.code,{children:`pinterest_auto`}),`, where an unfilled slide fails the request`]}),`\n`]})]}),`\n`,_jsxs(ParamField,{body:`reference`,type:`object`,id:`param-reference`,children:[_jsxs(_components.p,{children:[`Optional Viral Library post to recreate for your product or prompt, as\n`,_jsx(_components.code,{children:`{ \"viral_post_id\": \"\u003cpost id>\" }`}),`. Genviral analyzes the post once (the first request for a\npost can take 15–40 seconds longer; that time is part of the same wait) and builds one slide per\nanalyzed source slide: each keeps the source slide’s kind of shot, subject, copy role, copy\npattern, and length. The reference is style only: new words are written for your product and every\nimage is sourced by search. The source post’s text and images are never reused.`]}),_jsxs(_components.p,{children:[`Requires `,_jsx(_components.code,{children:`prompt`}),` or `,_jsx(_components.code,{children:`product_id`}),`. Not accepted together with `,_jsx(_components.code,{children:`slide_config`}),`, `,_jsx(_components.code,{children:`slide_count`}),`,\n`,_jsx(_components.code,{children:`pack_id`}),`, `,_jsx(_components.code,{children:`skip_ai: true`}),`, or an `,_jsx(_components.code,{children:`image_sourcing`}),` other than `,_jsx(_components.code,{children:`pinterest_auto`}),`. Reading the post\ncounts against your Viral Library `,_jsx(_components.code,{children:`get`}),` rate limit.`]})]}),`\n`,_jsx(ParamField,{body:`slide_count`,type:`number`,id:`param-slide-count`,children:_jsxs(_components.p,{children:[`Optional target slide count (`,_jsx(_components.code,{children:`1-10`}),`). Default: `,_jsx(_components.code,{children:`5`}),`.`]})}),`\n`,_jsx(ParamField,{body:`slideshow_type`,type:`string`,id:`param-slideshow-type`,children:_jsxs(_components.p,{children:[`Optional: `,_jsx(_components.code,{children:`educational`}),` or `,_jsx(_components.code,{children:`personal`}),`. Default: `,_jsx(_components.code,{children:`educational`}),`.`]})}),`\n`,_jsx(ParamField,{body:`aspect_ratio`,type:`string`,id:`param-aspect-ratio`,children:_jsxs(_components.p,{children:[`Optional: `,_jsx(_components.code,{children:`9:16`}),`, `,_jsx(_components.code,{children:`1:1`}),`, or `,_jsx(_components.code,{children:`4:5`}),`. Default: `,_jsx(_components.code,{children:`4:5`}),`.`]})}),`\n`,_jsx(ParamField,{body:`language`,type:`string`,id:`param-language`,children:_jsx(_components.p,{children:`Optional language hint (2-32 chars).`})}),`\n`,_jsxs(ParamField,{body:`advanced_settings`,type:`object`,id:`param-advanced-settings`,children:[_jsx(_components.p,{children:`Optional text styling defaults.`}),_jsxs(Expandable,{title:`advanced_settings object`,children:[_jsx(ParamField,{body:`font_size`,type:`string | number`,id:`param-font-size`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`default`}),`, `,_jsx(_components.code,{children:`small`}),`, or a number from `,_jsx(_components.code,{children:`8`}),` to `,_jsx(_components.code,{children:`200`}),`. Presets: `,_jsx(_components.code,{children:`default`}),` = title/single\n`,_jsx(_components.code,{children:`48px`}),`, body `,_jsx(_components.code,{children:`40px`}),`; `,_jsx(_components.code,{children:`small`}),` = title/single `,_jsx(_components.code,{children:`40px`}),`, body `,_jsx(_components.code,{children:`33px`}),`. A number sets that exact\nsize for every text element on every slide.`]})}),_jsx(ParamField,{body:`text_preset`,type:`string`,id:`param-text-preset`,children:_jsxs(_components.p,{children:[`Text style preset (for example `,_jsx(_components.code,{children:`tiktok`}),`).`]})}),_jsx(ParamField,{body:`text_width`,type:`string`,id:`param-text-width`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`default`}),` or `,_jsx(_components.code,{children:`narrow`}),`.`]})})]})]}),`\n`,_jsx(ParamField,{body:`skip_ai`,type:`boolean`,id:`param-skip-ai`,children:_jsxs(_components.p,{children:[`Optional. When `,_jsx(_components.code,{children:`true`}),`, no AI copy is written: slides with text in `,_jsx(_components.code,{children:`slide_config.slide_texts`}),` or\n`,_jsx(_components.code,{children:`slide_config.slide_text_elements`}),` keep it verbatim, and every other slide is image-only.\nImages are still sourced from your packs, custom images, or Pinterest.`]})}),`\n`,_jsxs(ParamField,{body:`slide_config`,type:`object`,id:`param-slide-config`,children:[_jsx(_components.p,{children:`Optional explicit per-slide setup.`}),_jsxs(Expandable,{title:`slide_config object`,children:[_jsx(ParamField,{body:`total_slides`,type:`number`,required:true,id:`param-total-slides`,children:_jsxs(_components.p,{children:[`Integer `,_jsx(_components.code,{children:`1-10`}),`.`]})}),_jsx(ParamField,{body:`slide_types`,type:`array`,required:true,id:`param-slide-types`,children:_jsxs(_components.p,{children:[`Exact-length array matching `,_jsx(_components.code,{children:`total_slides`}),`. Values: `,_jsx(_components.code,{children:`image_pack`}),` or\n`,_jsx(_components.code,{children:`custom_image`}),`.`]})}),_jsx(ParamField,{body:`custom_images`,type:`object`,id:`param-custom-images`,children:_jsxs(_components.p,{children:[`Map of slide index -> custom image payload. Required for every\n`,_jsx(_components.code,{children:`custom_image`}),` slide.`]})}),_jsx(ParamField,{body:`pinned_images`,type:`object`,id:`param-pinned-images`,children:_jsx(_components.p,{children:`Optional map of slide index -> pinned image URL.`})}),_jsx(ParamField,{body:`slide_texts`,type:`object`,id:`param-slide-texts`,children:_jsx(_components.p,{children:`Optional map of slide index -> text string.`})}),_jsx(ParamField,{body:`slide_text_elements`,type:`object`,id:`param-slide-text-elements`,children:_jsxs(_components.p,{children:[`Optional map of slide index -> text element array\n(`,_jsx(_components.code,{children:`content`}),`, `,_jsx(_components.code,{children:`x`}),`, `,_jsx(_components.code,{children:`y`}),`, optional `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`font_size`}),`, `,_jsx(_components.code,{children:`width`}),`). Elements render verbatim at\ntheir `,_jsx(_components.code,{children:`x`}),`/`,_jsx(_components.code,{children:`y`}),` (percent of the slide, `,_jsx(_components.code,{children:`0`}),`–`,_jsx(_components.code,{children:`100`}),`), with `,_jsx(_components.code,{children:`font_size`}),` (`,_jsx(_components.code,{children:`8`}),`–`,_jsx(_components.code,{children:`200`}),`) and `,_jsx(_components.code,{children:`width`}),`\n(`,_jsx(_components.code,{children:`1`}),`–`,_jsx(_components.code,{children:`100`}),`) when given and the deck’s text settings otherwise. Out-of-range values are\nrefused with `,_jsx(_components.code,{children:`422 invalid_payload`}),`.`]})}),_jsx(ParamField,{body:`pack_assignments`,type:`object`,id:`param-pack-assignments`,children:_jsxs(_components.p,{children:[`Optional map of slide index -> pack UUID. Valid only for `,_jsx(_components.code,{children:`image_pack`}),`\nslides.`]})})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`All `,_jsx(_components.code,{children:`slide_config`}),` map keys must be 0-based numeric indices in range. `,_jsx(_components.code,{children:`image_pack`}),` slides must\nresolve a pack via `,_jsx(_components.code,{children:`pack_id`}),`, `,_jsx(_components.code,{children:`pack_assignments[index]`}),`, or an `,_jsx(_components.code,{children:`image_sourcing`}),` mode that allows\nPinterest sourcing (`,_jsx(_components.code,{children:`pinterest_auto`}),`, `,_jsx(_components.code,{children:`pinterest_then_pack`}),`).`]})}),`\n`,_jsx(Heading,{level:`2`,id:`examples`,children:`Examples`}),`\n`,_jsx(Heading,{level:`3`,id:`ai-mode-prompt-+-global-pack`,children:`AI mode (prompt + global pack)`}),`\n`,_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`18`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`18`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://www.genviral.io/api/partner/v1/slideshows/generate`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer \u003ctoken>'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Idempotency-Key: slideshow-discipline-quotes-v1'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"5 discipline quotes\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"pack_id\": \"11111111-1111-1111-1111-111111111111\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"slide_count\": 1,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"slideshow_type\": \"educational\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"aspect_ratio\": \"4:5\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"language\": \"en\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"advanced_settings\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"font_size\": 44,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"text_preset\": \"tiktok\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"text_width\": \"default\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})}),`\n`,_jsxs(Heading,{level:`3`,id:`pinterest-auto-mode-image_sourcing=pinterest_auto`,children:[`Pinterest auto mode (`,_jsx(_components.code,{children:`image_sourcing=pinterest_auto`}),`)`]}),`\n`,_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`12`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://www.genviral.io/api/partner/v1/slideshows/generate`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer \u003ctoken>'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"5 morning routine tips for busy parents\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"product_id\": \"22222222-2222-2222-2222-222222222222\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"image_sourcing\": \"pinterest_auto\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"slide_count\": 5,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"slideshow_type\": \"educational\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"aspect_ratio\": \"4:5\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})}),`\n`,_jsxs(Heading,{level:`3`,id:`recreate-a-viral-library-post-for-a-product-reference`,children:[`Recreate a Viral Library post for a product (`,_jsx(_components.code,{children:`reference`}),`)`]}),`\n`,_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`11`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://www.genviral.io/api/partner/v1/slideshows/generate`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer \u003ctoken>'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Idempotency-Key: meal-planner-like-viral-post-v1'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"product_id\": \"22222222-2222-2222-2222-222222222222\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"Show how the app stops weekly grocery waste\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"reference\": { \"viral_post_id\": \"onthecarte-7510079309214731526\" },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"aspect_ratio\": \"4:5\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})}),`\n`,_jsxs(Heading,{level:`3`,id:`manual-mode-skip_ai=true`,children:[`Manual mode (`,_jsx(_components.code,{children:`skip_ai=true`}),`)`]}),`\n`,_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`32`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`32`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://www.genviral.io/api/partner/v1/slideshows/generate`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer \u003ctoken>'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"skip_ai\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"slide_config\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"total_slides\": 2,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"slide_types\": [\"custom_image\", \"image_pack\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"custom_images\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"0\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"image_url\": \"https://cdn.example.com/custom-0.jpg\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"image_id\": \"hero_0\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"slide_text_elements\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"0\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"content\": \"Hook text\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x\": 50,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"y\": 25`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"slide_texts\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"1\": \"Second slide text\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"pack_assignments\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"1\": \"11111111-1111-1111-1111-111111111111\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`Returns `,_jsx(_components.code,{children:`201`}),` with the full slideshow object (same structure as\n`,_jsx(_components.a,{href:`/api-reference/get-slideshow`,children:`Get Slideshow`}),`).`]}),`\n`,_jsx(CodeBlock,{filename:`Response`,numberOfLines:`57`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`57`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ok\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`201`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Slideshow generated\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2ab58bb0-0c39-45c0-a4d5-b6852f9d7fc0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5 discipline quotes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"draft\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"slideshow_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"educational\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"product_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"original_prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5 discipline quotes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"preview_image_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-02-14T09:20:00.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-02-14T09:20:00.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"last_rendered_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"slide_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"settings\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"image_pack_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"11111111-1111-1111-1111-111111111111\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"aspect_ratio\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"4:5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"slideshow_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"educational\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"advanced_settings\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"font_size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`44`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"text_preset\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tiktok\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"text_width\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"default\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pack_assignments\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"slides\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"index\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"image_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://cdn.example.com/slides/discipline-1.jpg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rendered_image_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"text_elements\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"9fd0b2bd-a95a-4488-8b7a-bf1d18d2bcdf\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Discipline beats motivation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"x\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`50`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"y\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`25`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"font_size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`48`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"width\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`70`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"height\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"editable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"style_preset\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tiktok\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"font_family\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"background_color\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"text_color\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"border_radius\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"grid_images\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"grid_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"background_filters\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"image_overlays\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`error-responses`,children:`Error Responses`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`400 invalid_json`}),` - body is not valid JSON`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`422 invalid_payload`}),` - schema/validation failed`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`422 pack_empty`}),` - a referenced pack is missing, outside key scope, or has no images`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`404 viral_reference_not_found`}),` - the `,_jsx(_components.code,{children:`reference`}),` post does not exist or is not visible to this\ncredential`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`422 viral_reference_has_no_images`}),` - the `,_jsx(_components.code,{children:`reference`}),` post has no slide images to analyze`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`429 rate_limited`}),` - a `,_jsx(_components.code,{children:`reference`}),` request hit the Viral Library `,_jsx(_components.code,{children:`get`}),` rate limit; see `,_jsx(_components.code,{children:`retry_after_seconds`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`503 viral_reference_analysis_unavailable`}),` - the `,_jsx(_components.code,{children:`reference`}),` post could not be analyzed right now\n(`,_jsx(_components.code,{children:`retryable: true`}),`); nothing was charged`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`403 forbidden_product_access`}),` - `,_jsx(_components.code,{children:`product_id`}),` does not exist or is outside key scope`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`409 conflict`}),` - the `,_jsx(_components.code,{children:`Idempotency-Key`}),` is in use by a running request (`,_jsx(_components.code,{children:`retryable: true`}),`) or was\nused for a different request (`,_jsx(_components.code,{children:`retryable: false`}),`)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`401`}),` - authentication failed (missing/invalid/revoked token)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`402 subscription_required`}),` - active Creator/Professional/Business plan required`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`402 insufficient_credits`}),` - buy a credit pack at `,_jsx(_components.code,{children:`https://www.genviral.io/billing?tab=credits`}),`, then retry`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`403 tier_not_allowed`}),` - Scheduler tier cannot use Partner API`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`500 generate_failed`}),` - generation failed; includes `,_jsx(_components.code,{children:`slideshow_id`}),` when the deck was started`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`504 generation_timeout`}),` - the deck is still generating; poll `,_jsx(_components.code,{children:`slideshow_id`}),` with Get Slideshow`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Generate Slideshow","api":"POST /api/partner/v1/slideshows/generate","description":"Generate AI-powered slideshows for TikTok photo carousels, Instagram carousels, Pinterest pins, and more. Supports AI generation from prompts, manual slide configuration, and mixed mode. The core content creation endpoint for OpenClaw agents.","href":"/api-reference/generate-slideshow"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Idempotency","slug":"idempotency","depth":2,"children":[]},{"title":"Body Parameters","slug":"body-parameters","depth":2,"children":[]},{"title":"Examples","slug":"examples","depth":2,"children":[{"title":"AI mode (prompt + global pack)","slug":"ai-mode-prompt-+-global-pack","depth":3,"children":[]},{"title":"Pinterest auto mode (image_sourcing=pinterest_auto)","slug":"pinterest-auto-mode-image_sourcing=pinterest_auto","depth":3,"children":[]},{"title":"Recreate a Viral Library post for a product (reference)","slug":"recreate-a-viral-library-post-for-a-product-reference","depth":3,"children":[]},{"title":"Manual mode (skip_ai=true)","slug":"manual-mode-skip_ai=true","depth":3,"children":[]}]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Error Responses","slug":"error-responses","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"Generate Slideshow","path":"/api/partner/v1/slideshows/generate","method":"post","request":{"security":[],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"prompt":[{"type":"string","description":"Prompt used for AI text generation. Required unless `skip_ai=true` or `product_id` is provided."}],"product_id":[{"type":"object","properties":{},"description":"Optional product reference. Must exist in the authenticated key scope."}],"pack_id":[{"type":"object","properties":{},"description":"Optional global image pack ID. Required whenever any generated slide uses `image_pack` and no per-slide `pack_assignments` are provided, unless `image_sourcing` allows Pinterest sourcing."}],"image_sourcing":[{"type":"string","description":"Optional image sourcing mode. Default: `pack` (backward compatible). `pack` — shuffle backgrounds from `pack_id` or per-slide `pack_assignments` only `pinterest_auto` — run the whole-deck Pinterest agent after text generation; `pack_id` optional `pinterest_then_pack` — image search like `pinterest_auto` ; a slide the search cannot fill takes an image from its `pack_assignments` pack or `pack_id` instead (no extra charge). Without a pack it behaves exactly like `pinterest_auto` , where an unfilled slide fails the request"}],"reference":[{"type":"object","properties":{},"description":"Optional Viral Library post to recreate for your product or prompt, as `{ \"viral_post_id\": \"\u003cpost id>\" }` . Genviral analyzes the post once (the first request for a post can take 15–40 seconds longer; that time is part of the same wait) and builds one slide per analyzed source slide: each keeps the source slide’s kind of shot, subject, copy role, copy pattern, and length. The reference is style only: new words are written for your product and every image is sourced by search. The source post’s text and images are never reused. Requires `prompt` or `product_id` . Not accepted together with `slide_config` , `slide_count` , `pack_id` , `skip_ai: true` , or an `image_sourcing` other than `pinterest_auto` . Reading the post counts against your Viral Library `get` rate limit."}],"slide_count":[{"type":"number","description":"Optional target slide count ( `1-10` ). Default: `5` ."}],"slideshow_type":[{"type":"string","description":"Optional: `educational` or `personal` . Default: `educational` ."}],"aspect_ratio":[{"type":"string","description":"Optional: `9:16` , `1:1` , or `4:5` . Default: `4:5` ."}],"language":[{"type":"string","description":"Optional language hint (2-32 chars)."}],"advanced_settings":[{"type":"object","properties":{"font_size":[{"type":"object","properties":{},"description":"`default` , `small` , or a number from `8` to `200` . Presets: `default` = title/single `48px` , body `40px` ; `small` = title/single `40px` , body `33px` . A number sets that exact size for every text element on every slide."}],"text_preset":[{"type":"string","description":"Text style preset (for example `tiktok` )."}],"text_width":[{"type":"string","description":"`default` or `narrow` ."}]},"description":"Optional text styling defaults."}],"skip_ai":[{"type":"boolean","description":"Optional. When `true` , no AI copy is written: slides with text in `slide_config.slide_texts` or `slide_config.slide_text_elements` keep it verbatim, and every other slide is image-only. Images are still sourced from your packs, custom images, or Pinterest."}],"slide_config":[{"type":"object","properties":{"total_slides":[{"type":"number","description":"Integer `1-10` .","required":true}],"slide_types":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Exact-length array matching `total_slides` . Values: `image_pack` or `custom_image` .","required":true}],"custom_images":[{"type":"object","properties":{},"description":"Map of slide index -> custom image payload. Required for every `custom_image` slide."}],"pinned_images":[{"type":"object","properties":{},"description":"Optional map of slide index -> pinned image URL."}],"slide_texts":[{"type":"object","properties":{},"description":"Optional map of slide index -> text string."}],"slide_text_elements":[{"type":"object","properties":{},"description":"Optional map of slide index -> text element array ( `content` , `x` , `y` , optional `id` , `font_size` , `width` ). Elements render verbatim at their `x` / `y` (percent of the slide, `0` – `100` ), with `font_size` ( `8` – `200` ) and `width` ( `1` – `100` ) when given and the deck’s text settings otherwise. Out-of-range values are refused with `422 invalid_payload` ."}],"pack_assignments":[{"type":"object","properties":{},"description":"Optional map of slide index -> pack UUID. Valid only for `image_pack` slides."}]},"description":"Optional explicit per-slide setup."}]}}],"examples":{"example":{"value":{"prompt":"\u003cstring>","product_id":{},"pack_id":{},"image_sourcing":"\u003cstring>","reference":{},"slide_count":123,"slideshow_type":"\u003cstring>","aspect_ratio":"\u003cstring>","language":"\u003cstring>","advanced_settings":{"font_size":{},"text_preset":"\u003cstring>","text_width":"\u003cstring>"},"skip_ai":true,"slide_config":{"total_slides":123,"slide_types":[{}],"custom_images":{},"pinned_images":{},"slide_texts":{},"slide_text_elements":{},"pack_assignments":{}}}}}}}},"response":{},"deprecated":false}},"jsLinks":[],"subdomain":"fddigital-2a62ffc1","siteName":"Genviral","title":"Generate Slideshow - Genviral","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-01T11:00:52.300Z","originalFileLocation":"api-reference/generate-slideshow.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=\"Generate AI-powered slideshows for TikTok photo carousels, Instagram carousels, Pinterest pins, and more. Supports AI generation from prompts, manual slide configuration, and mixed mode. The core content creation endpoint for OpenClaw agents.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Genviral\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/fddigital-2a62ffc1/jU_jPLfvVCYVex_O/_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/fddigital-2a62ffc1/jU_jPLfvVCYVex_O/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/fddigital-2a62ffc1/jU_jPLfvVCYVex_O/_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/fddigital-2a62ffc1/jU_jPLfvVCYVex_O/_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/fddigital-2a62ffc1/jU_jPLfvVCYVex_O/_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/fddigital-2a62ffc1/jU_jPLfvVCYVex_O/_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/fddigital-2a62ffc1/jU_jPLfvVCYVex_O/_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/fddigital-2a62ffc1/jU_jPLfvVCYVex_O/_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/fddigital-2a62ffc1/jU_jPLfvVCYVex_O/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Generate Slideshow - Genviral\">\u003cmeta data-mint-head property=\"og:description\" content=\"Generate AI-powered slideshows for TikTok photo carousels, Instagram carousels, Pinterest pins, and more. Supports AI generation from prompts, manual slide configuration, and mixed mode. The core content creation endpoint for OpenClaw agents.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Genviral\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.genviral.io/api-reference/generate-slideshow\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://fddigital-2a62ffc1.mintlify.site/_mintlify/api/og/v2?division=Slideshows\u0026amp;title=Generate+Slideshow\u0026amp;description=Generate+AI-powered+slideshows+for+TikTok+photo+carousels%2C+Instagram+carousels%2C+Pinterest+pins%2C+and+more.+Supports+AI+generation+from+prompts%2C+manual+slide+conf\u0026amp;theme=38640542e8c2b46f98fe2f88\u0026amp;signature=34591e647911ec9261878b4120ace9366a60617a673f5b1910e90ab7a334914a\">\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=\"Generate Slideshow - Genviral\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Generate AI-powered slideshows for TikTok photo carousels, Instagram carousels, Pinterest pins, and more. Supports AI generation from prompts, manual slide configuration, and mixed mode. The core content creation endpoint for OpenClaw agents.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://fddigital-2a62ffc1.mintlify.site/_mintlify/api/og/v2?division=Slideshows\u0026amp;title=Generate+Slideshow\u0026amp;description=Generate+AI-powered+slideshows+for+TikTok+photo+carousels%2C+Instagram+carousels%2C+Pinterest+pins%2C+and+more.+Supports+AI+generation+from+prompts%2C+manual+slide+conf\u0026amp;theme=38640542e8c2b46f98fe2f88\u0026amp;signature=34591e647911ec9261878b4120ace9366a60617a673f5b1910e90ab7a334914a\">\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/fddigital-2a62ffc1/jU_jPLfvVCYVex_O/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Genviral\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.genviral.io/api-reference/generate-slideshow\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/generate-slideshow.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.genviral.io/#organization\",\"name\":\"Genviral\",\"url\":\"https://docs.genviral.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://www.genviral.io/logo-big.png\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.genviral.io#website\",\"name\":\"Genviral\",\"url\":\"https://docs.genviral.io\",\"publisher\":{\"@id\":\"https://docs.genviral.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.genviral.io/api-reference/generate-slideshow#webpage\",\"url\":\"https://docs.genviral.io/api-reference/generate-slideshow\",\"name\":\"Generate Slideshow\",\"description\":\"Generate AI-powered slideshows for TikTok photo carousels, Instagram carousels, Pinterest pins, and more. Supports AI generation from prompts, manual slide configuration, and mixed mode. The core content creation endpoint for OpenClaw agents.\",\"dateModified\":\"2026-10-01T11:00:52.300Z\",\"isPartOf\":{\"@id\":\"https://docs.genviral.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.genviral.io/api-reference/generate-slideshow#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.genviral.io/api-reference/generate-slideshow#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Slideshows\",\"item\":\"https://docs.genviral.io/api-reference/start-slideshow-generation\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Generate Slideshow\",\"item\":\"https://docs.genviral.io/api-reference/generate-slideshow\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.genviral.io/api-reference/generate-slideshow#apireference\",\"headline\":\"Generate Slideshow\",\"name\":\"Generate Slideshow\",\"description\":\"Generate AI-powered slideshows for TikTok photo carousels, Instagram carousels, Pinterest pins, and more. Supports AI generation from prompts, manual slide configuration, and mixed mode. The core content creation endpoint for OpenClaw agents.\",\"url\":\"https://docs.genviral.io/api-reference/generate-slideshow\",\"mainEntityOfPage\":{\"@id\":\"https://docs.genviral.io/api-reference/generate-slideshow#webpage\"},\"dateModified\":\"2026-10-01T11:00:52.300Z\",\"publisher\":{\"@id\":\"https://docs.genviral.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.genviral.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Genviral\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Genviral\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/generate-slideshow.md","siteName":"Genviral","nav":{"global":null,"tabs":[{"tab":"API Reference","groups":[{"group":"Getting Started","pages":[{"title":"Genviral Partner API","sidebarTitle":"Introduction","href":"/api-reference/introduction"},{"title":"llms.txt","sidebarTitle":"llms.txt","url":"https://docs.genviral.io/llms.txt","href":"/api-reference/llms-txt"},{"title":"Response Pattern","href":"/api-reference/response"},{"title":"Data Structures","href":"/api-reference/data-structures"},{"group":"Guides","pages":[{"title":"Folders","href":"/api-reference/folders"},{"title":"Studio AI","href":"/api-reference/studio-ai"},{"title":"Slideshows – AI Slideshow Generation API for TikTok, Instagram \u0026 More","sidebarTitle":"Slideshows","href":"/api-reference/slideshows"},{"title":"Slideshow Packs – Reusable Image Collections for Automated Content","sidebarTitle":"Slideshow Packs","href":"/api-reference/slideshow-packs"},{"title":"Slideshow Templates – Reusable Blueprints for Automated Slideshow Creation","sidebarTitle":"Slideshow Templates","href":"/api-reference/slideshow-templates"}]}]},{"group":"Accounts","pages":[{"title":"Get Accounts","api":"GET /api/partner/v1/accounts","href":"/api-reference/get-accounts"},{"title":"Get Subscription","api":"GET /api/partner/v1/subscription","href":"/api-reference/get-subscription"},{"title":"List Workspaces","api":"GET /api/partner/v1/workspaces","href":"/api-reference/list-workspaces"},{"group":"Analytics","pages":[{"title":"Get Analytics Summary","api":"GET /api/partner/v1/analytics/summary","href":"/api-reference/get-analytics-summary"},{"title":"List Analytics Posts","api":"GET /api/partner/v1/analytics/summary/posts","href":"/api-reference/list-analytics-posts"},{"title":"Get Best Posting Times","api":"GET /api/partner/v1/analytics/best-times","href":"/api-reference/get-best-posting-times"},{"title":"List Analytics Targets","api":"GET /api/partner/v1/analytics/targets","href":"/api-reference/manage-analytics-targets"},{"title":"Create Analytics Target","api":"POST /api/partner/v1/analytics/targets","href":"/api-reference/create-analytics-target"},{"title":"Get Analytics Target","api":"GET /api/partner/v1/analytics/targets/{id}","href":"/api-reference/manage-analytics-target"},{"title":"Update Analytics Target","api":"PATCH /api/partner/v1/analytics/targets/{id}","href":"/api-reference/update-analytics-target"},{"title":"Delete Analytics Target","api":"DELETE /api/partner/v1/analytics/targets/{id}","href":"/api-reference/delete-analytics-target"},{"title":"Refresh Analytics Target","api":"POST /api/partner/v1/analytics/targets/{id}/refresh","href":"/api-reference/refresh-analytics-target"},{"title":"Get Analytics Refresh","api":"GET /api/partner/v1/analytics/refreshes/{id}","href":"/api-reference/get-analytics-refresh"},{"title":"Get Analytics Workspace Suggestions","api":"GET /api/partner/v1/analytics/workspace-suggestions","href":"/api-reference/get-analytics-workspace-suggestions"}]}]},{"group":"Posts","pages":[{"title":"Create Post","api":"POST /api/partner/v1/posts","sidebarTitle":"Create Post","href":"/api-reference/create-post"},{"title":"Get Suggested Post Slot","api":"GET /api/partner/v1/posts/suggested-slot","href":"/api-reference/get-suggested-post-slot"},{"title":"List Posts","api":"GET /api/partner/v1/posts","href":"/api-reference/list-posts"},{"title":"Get Post","api":"GET /api/partner/v1/posts/{postId}","href":"/api-reference/get-post"},{"title":"Update Post","api":"PATCH /api/partner/v1/posts/{postId}","href":"/api-reference/update-post"},{"title":"Delete Posts","api":"POST /api/partner/v1/posts/delete","href":"/api-reference/delete-post"},{"title":"Retry Post","api":"POST /api/partner/v1/posts/retry","href":"/api-reference/retry-posts"}]},{"group":"Files","pages":[{"title":"Upload File","api":"POST /api/partner/v1/files","href":"/api-reference/upload-file"},{"title":"Start Multipart Upload","api":"POST /api/partner/v1/files/multipart","href":"/api-reference/start-multipart-upload"},{"title":"Complete Multipart Upload","api":"POST /api/partner/v1/files/{fileId}/multipart/complete","href":"/api-reference/complete-multipart-upload"},{"title":"Abort Multipart Upload","api":"DELETE /api/partner/v1/files/{fileId}/multipart","href":"/api-reference/abort-multipart-upload"},{"title":"List Files","api":"GET /api/partner/v1/files","href":"/api-reference/list-files"}]},{"group":"Folders","pages":[{"title":"List Folders","api":"GET /api/partner/v1/folders","href":"/api-reference/list-folders"},{"title":"Create Folder","api":"POST /api/partner/v1/folders","href":"/api-reference/create-folder"},{"title":"Get Folder","api":"GET /api/partner/v1/folders/{folderId}","href":"/api-reference/get-folder"},{"title":"Move Folder","api":"PATCH /api/partner/v1/folders/{folderId}","href":"/api-reference/move-folder"},{"title":"Delete Folder","api":"DELETE /api/partner/v1/folders/{folderId}","href":"/api-reference/delete-folder"},{"title":"List Folder Ancestors","api":"GET /api/partner/v1/folders/{folderId}/ancestors","href":"/api-reference/list-folder-ancestors"},{"title":"List Folder Items","api":"GET /api/partner/v1/folders/{folderId}/items","href":"/api-reference/list-folder-items"},{"title":"Add Folder Items","api":"POST /api/partner/v1/folders/{folderId}/items","href":"/api-reference/add-folder-items"},{"title":"Remove Folder Items","api":"DELETE /api/partner/v1/folders/{folderId}/items","href":"/api-reference/remove-folder-items"}]},{"group":"Influencers","pages":[{"title":"List Influencers","api":"GET /api/partner/v1/influencers","href":"/api-reference/list-influencers"},{"title":"Get Influencer","api":"GET /api/partner/v1/influencers/{influencerId}","href":"/api-reference/get-influencer"}]},{"group":"Studio AI","pages":[{"title":"Get Studio Models","api":"GET /api/partner/v1/studio/models","href":"/api-reference/get-studio-models"},{"title":"Generate Studio Image","api":"POST /api/partner/v1/studio/images/generate","href":"/api-reference/generate-studio-image"},{"title":"Get Studio Image","api":"GET /api/partner/v1/studio/images/{imageId}","href":"/api-reference/get-studio-image"},{"title":"Generate Studio Video","api":"POST /api/partner/v1/studio/videos/generate","href":"/api-reference/generate-studio-video"},{"title":"Get Studio Video","api":"GET /api/partner/v1/studio/videos/{videoId}","href":"/api-reference/get-studio-video"},{"title":"Prepare a verified Studio asset","api":"POST /api/partner/v1/studio/assets/materialize","href":"/api-reference/materialize-studio-asset"},{"title":"Create a character-swap batch","api":"POST /api/partner/v1/studio/character-swaps/batches","href":"/api-reference/create-character-swap-batch"},{"title":"Browse Studio templates","api":"GET /api/partner/v1/studio/templates","href":"/api-reference/list-studio-templates"},{"title":"Get a Studio template recipe","api":"GET /api/partner/v1/studio/templates/{templateId}","href":"/api-reference/get-studio-template"},{"title":"List saved Studio creations","api":"GET /api/partner/v1/studio/creations","href":"/api-reference/list-studio-creations"},{"title":"Get a saved Studio creation","api":"GET /api/partner/v1/studio/creations/{creationId}","href":"/api-reference/get-studio-creation"},{"title":"Browse Studio products","api":"GET /api/partner/v1/studio/inputs/products","href":"/api-reference/list-studio-products"},{"title":"Browse trained character profiles","api":"GET /api/partner/v1/studio/inputs/character-profiles","href":"/api-reference/list-studio-character-profiles"},{"title":"Delete a Studio creation","api":"POST /api/partner/v1/studio/creations/delete","href":"/api-reference/delete-studio-creation"},{"title":"Favorite a character-swap template","api":"POST /api/partner/v1/studio/templates/favorite","href":"/api-reference/favorite-studio-template"},{"title":"Translate a verified video","api":"POST /api/partner/v1/studio/videos/translate","href":"/api-reference/translate-studio-video"}]},{"group":"Slideshows","pages":[{"title":"Start Slideshow Generation","api":"POST /api/partner/v1/slideshows/generations","description":"Start async slideshow generation from your own slide copy, or recreate a Viral Library post.","href":"/api-reference/start-slideshow-generation"},{"title":"Generate Slideshow","api":"POST /api/partner/v1/slideshows/generate","href":"/api-reference/generate-slideshow"},{"title":"List Slideshows","api":"GET /api/partner/v1/slideshows","description":"List slideshow summaries in authenticated key scope","href":"/api-reference/list-slideshows"},{"title":"Get Slideshow","api":"GET /api/partner/v1/slideshows/{slideshowId}","href":"/api-reference/get-slideshow"},{"title":"Get Slideshow Edit State","api":"GET /api/partner/v1/slideshows/{slideshowId}/edits","href":"/api-reference/get-slideshow-edit-state"},{"title":"Apply Slideshow Edits","api":"POST /api/partner/v1/slideshows/{slideshowId}/edits","href":"/api-reference/apply-slideshow-edits"},{"title":"Update Slideshow","api":"PATCH /api/partner/v1/slideshows/{slideshowId}","href":"/api-reference/update-slideshow"},{"title":"Delete Slideshow","api":"DELETE /api/partner/v1/slideshows/{slideshowId}","href":"/api-reference/delete-slideshow"},{"title":"Render Slideshow","api":"POST /api/partner/v1/slideshows/{slideshowId}/render","href":"/api-reference/render-slideshow"},{"title":"Duplicate Slideshow","api":"POST /api/partner/v1/slideshows/{slideshowId}/duplicate","href":"/api-reference/duplicate-slideshow"},{"title":"Regenerate Slide","api":"POST /api/partner/v1/slideshows/{slideshowId}/slides/{slideIndex}/regenerate","href":"/api-reference/regenerate-slide"},{"title":"List TikTok Account Posts","api":"POST /api/partner/v1/slideshows/copy-tiktok/account-posts","href":"/api-reference/copy-tiktok-account-posts"},{"title":"Preview TikTok Slideshow Copy","api":"POST /api/partner/v1/slideshows/copy-tiktok/preview","href":"/api-reference/copy-tiktok-preview"},{"title":"Import TikTok Slideshow Copy","api":"POST /api/partner/v1/slideshows/copy-tiktok/import","href":"/api-reference/copy-tiktok-import"},{"title":"Create a manual slideshow","api":"POST /api/partner/v1/slideshows","href":"/api-reference/create-manual-slideshow"},{"title":"Export a slideshow","api":"POST /api/partner/v1/slideshows/{slideshowId}/export","href":"/api-reference/export-slideshow"},{"title":"Generate slide text variations","api":"POST /api/partner/v1/slideshows/{slideshowId}/slides/{slideIndex}/text-variations","href":"/api-reference/generate-slide-text-variations"},{"title":"Import a slideshow image","api":"POST /api/partner/v1/slideshows/import-image","href":"/api-reference/import-slideshow-image"}]},{"group":"Video Editor","pages":[{"title":"Create Editor Project","api":"POST /api/partner/v1/editor/projects","href":"/api-reference/create-editor-project"},{"title":"List Editor Projects","api":"GET /api/partner/v1/editor/projects","href":"/api-reference/list-editor-projects"},{"title":"Get Editor Project","api":"GET /api/partner/v1/editor/projects/{projectId}","href":"/api-reference/get-editor-project"},{"title":"Apply Editor Ops","api":"POST /api/partner/v1/editor/projects/{projectId}/ops","href":"/api-reference/apply-editor-ops"},{"title":"Add Editor Files","api":"POST /api/partner/v1/editor/projects/{projectId}/files","href":"/api-reference/add-editor-files"},{"title":"Add Editor Captions","api":"POST /api/partner/v1/editor/projects/{projectId}/captions","href":"/api-reference/add-editor-captions"},{"title":"Post Editor Message","api":"POST /api/partner/v1/editor/projects/{projectId}/messages","href":"/api-reference/post-editor-message"},{"title":"Get Editor Transcript","api":"POST /api/partner/v1/editor/projects/{projectId}/transcript","href":"/api-reference/get-editor-transcript"},{"title":"Render Editor Project","api":"POST /api/partner/v1/editor/projects/{projectId}/render","href":"/api-reference/render-editor-project"},{"title":"Get Editor Render","api":"GET /api/partner/v1/editor/projects/{projectId}/render","href":"/api-reference/get-editor-render"},{"title":"Add editor media","api":"POST /api/partner/v1/editor/projects/{projectId}/assets","href":"/api-reference/add-editor-assets"},{"title":"Paste scoped editor clips","api":"POST /api/partner/v1/editor/projects/{projectId}/clipboard","href":"/api-reference/paste-editor-clips"},{"title":"Import a reviewed slideshow","api":"POST /api/partner/v1/editor/projects/{projectId}/slideshow","href":"/api-reference/import-editor-slideshow"},{"title":"Import reviewed remix clips","api":"POST /api/partner/v1/editor/projects/{projectId}/remix","href":"/api-reference/import-editor-remix"},{"title":"Review editor version scheduling","api":"POST /api/partner/v1/editor/projects/{projectId}/schedule/prepare","href":"/api-reference/prepare-editor-schedule"},{"title":"Confirm editor version scheduling","api":"POST /api/partner/v1/editor/projects/{projectId}/schedule/commit","href":"/api-reference/commit-editor-schedule"},{"title":"Read editor scheduling status","api":"GET /api/partner/v1/editor/projects/{projectId}/schedule/status","href":"/api-reference/get-editor-schedule-status"},{"title":"Read editor batch status","api":"GET /api/partner/v1/editor/batches/{batchId}/status","href":"/api-reference/get-editor-batch-status"},{"title":"Dismiss a failed batch item","api":"POST /api/partner/v1/editor/batches/{batchId}/dismiss","href":"/api-reference/dismiss-editor-batch-item"},{"title":"Search Reddit communities","openapi":"GET /editor/reddit/accounts/{accountId}/communities","href":"/api-reference/search-editor-reddit-communities"},{"title":"Read Reddit community settings","openapi":"GET /editor/reddit/accounts/{accountId}/restrictions","href":"/api-reference/get-editor-reddit-restrictions"}]},{"group":"Viral Library","pages":[{"title":"Search Viral Library","api":"GET /api/partner/v1/viral-library","href":"/api-reference/search-viral-library"},{"title":"Get Viral Library Post","api":"GET /api/partner/v1/viral-library/{postId}","href":"/api-reference/get-viral-library-post"},{"title":"Get Viral Library Transcript","api":"GET /api/partner/v1/viral-library/{postId}/transcript","href":"/api-reference/get-viral-library-transcript"}]},{"group":"Trends","pages":[{"title":"Get Trend Brief","api":"GET /api/partner/v1/trends/brief","href":"/api-reference/get-trend-brief"},{"title":"Search Reddit Posts","api":"POST /api/partner/v1/trends/reddit/search","href":"/api-reference/search-reddit-posts"},{"title":"Read Reddit Threads","api":"POST /api/partner/v1/trends/reddit/threads","href":"/api-reference/read-reddit-threads"}]},{"group":"Packs","pages":[{"title":"List Packs","api":"GET /api/partner/v1/packs","href":"/api-reference/list-packs"},{"title":"Create Pack","api":"POST /api/partner/v1/packs","href":"/api-reference/create-pack"},{"title":"Get Pack","api":"GET /api/partner/v1/packs/{packId}","href":"/api-reference/get-pack"},{"title":"Update Pack","api":"PATCH /api/partner/v1/packs/{packId}","href":"/api-reference/update-pack"},{"title":"Delete Pack","api":"DELETE /api/partner/v1/packs/{packId}","href":"/api-reference/delete-pack"},{"title":"Add Pack Image","api":"POST /api/partner/v1/packs/{packId}/images","href":"/api-reference/add-pack-image"},{"title":"Delete Pack Image","api":"DELETE /api/partner/v1/packs/{packId}/images/{imageId}","href":"/api-reference/delete-pack-image"}]},{"group":"Templates","pages":[{"title":"List Templates","api":"GET /api/partner/v1/templates","href":"/api-reference/list-templates"},{"title":"Create Template","api":"POST /api/partner/v1/templates","href":"/api-reference/create-template"},{"title":"Get Template","api":"GET /api/partner/v1/templates/{templateId}","href":"/api-reference/get-template"},{"title":"Update Template","api":"PATCH /api/partner/v1/templates/{templateId}","href":"/api-reference/update-template"},{"title":"Delete Template","api":"DELETE /api/partner/v1/templates/{templateId}","href":"/api-reference/delete-template"},{"title":"Create Template From Slideshow","api":"POST /api/partner/v1/templates/from-slideshow/{slideshowId}","href":"/api-reference/create-template-from-slideshow"}]},{"group":"Music","pages":[{"title":"List music tracks","api":"GET /api/partner/v1/music/tracks","href":"/api-reference/list-music-tracks"},{"title":"Add a music track","api":"POST /api/partner/v1/music/tracks","href":"/api-reference/add-music-track"},{"title":"Rename a music track","api":"PATCH /api/partner/v1/music/tracks/{trackId}","href":"/api-reference/update-music-track"},{"title":"Delete a music track","api":"DELETE /api/partner/v1/music/tracks/{trackId}","href":"/api-reference/delete-music-track"},{"title":"Import music","api":"POST /api/partner/v1/music/imports","href":"/api-reference/import-music"}]},{"group":"Remix sources","pages":[{"title":"Preview a remix source","api":"POST /api/partner/v1/remix/preview","href":"/api-reference/preview-remix-source"},{"title":"Discover remix sources","api":"POST /api/partner/v1/remix/discover","href":"/api-reference/discover-remix-sources"},{"title":"Create a remix project","api":"POST /api/partner/v1/remix/projects","href":"/api-reference/create-remix-project"},{"title":"List remix clips","api":"GET /api/partner/v1/remix/projects/{projectId}/clips","href":"/api-reference/list-remix-clips"},{"title":"Import remix clips","api":"POST /api/partner/v1/remix/projects/{projectId}/imports","href":"/api-reference/import-remix-clips"}]}]}]},"basePath":"","title":"Generate Slideshow - Genviral","buildId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","deploymentId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-DDP9JXtj.js","utils-8yQyvEtx.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CBCFR8Sn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-rQaXkUHa.js","snippetPresets-J5KpBTgV.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BVxVH4Cj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BxdQ2vIi.js","shallow-BjV2tFiD.js","getApiPlaygroundDisplay-C_55tL4O.js","CodeSnippet-C0JpiCOC.js","CodeSnippets-w9Ps7djG.js","Page-DTNSD-0M.js","getPastedJson-BDfB-H8d.js","icon-g-kUkkO9.js","MethodPill-v4l6fq0h.js","DuplicateIcon-CvLo-CfU.js","createIcon-165clrrV.js","DynamicMarkdown-D3RQ-fEj.js","SectionHeading-vvo-3yLf.js","axios-vUo_bRtp.js"]}