Generate Slideshow
Slideshows
Generate Slideshow
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.
POST
Generate Slideshow
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.
Manual mode (
generate supports:
- AI generation from a prompt/product context
- manual initial slide setup (
skip_ai=true) - mixed setup with explicit
slide_config
Body Parameters
Prompt used for AI text generation. Required unless
skip_ai=true or product_id is provided.Optional product reference. Must exist in the authenticated key scope.
Optional global image pack ID. Required whenever any generated slide uses
image_pack and no
per-slide pack_assignments are provided.Optional target slide count (
1-10). Default: 5.Optional:
educational or personal. Default: educational.Optional:
9:16, 1:1, or 4:5. Default: 4:5.Optional language hint (2-32 chars).
Optional text styling defaults.
Optional. When
true, generation skips AI text creation and uses your slide_config input.Optional explicit per-slide setup.
Examples
AI mode (prompt + global pack)
cURL
Manual mode (skip_ai=true)
cURL
Response
Returns201 with the full slideshow object (same structure as
Get Slideshow).
Response
Error Responses
400 invalid_json- body is not valid JSON422 invalid_payload- schema/validation failed404 pack_not_found- referenced pack is missing or outside key scope422 pack_empty- selected pack has no images422 pack_required- one or moreimage_packslides are missing pack resolution404 product_not_found-product_iddoes not exist403 forbidden_product_access-product_idexists but is outside key scope401- authentication failed (missing/invalid/revoked token)402 subscription_required- active Creator/Professional/Business plan required403 tier_not_allowed- Scheduler tier cannot use Partner API500 generate_failed- unexpected generation failure
