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.
Pinterest auto mode (
Manual mode (
generate supports:
- AI generation from a prompt/product context
- manual initial slide setup (
skip_ai=true) - mixed setup with explicit
slide_config
Idempotency
Send a uniqueIdempotency-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.
Body Parameters
string
Prompt used for AI text generation. Required unless
skip_ai=true or product_id is provided.string (UUID)
Optional product reference. Must exist in the authenticated key scope.
string (UUID)
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.string
Optional image sourcing mode. Default:
pack (backward compatible).pack— shuffle backgrounds frompack_idor per-slidepack_assignmentsonlypinterest_auto— run the whole-deck Pinterest agent after text generation;pack_idoptionalpinterest_then_pack— Pinterest first, then fill missing slides from scoped/public packs whenpack_idis omitted
number
Optional target slide count (
1-10). Default: 5.string
Optional:
educational or personal. Default: educational.string
Optional:
9:16, 1:1, or 4:5. Default: 4:5.string
Optional language hint (2-32 chars).
object
Optional text styling defaults.
boolean
Optional. When
true, generation skips AI text creation and uses your slide_config input.object
Optional explicit per-slide setup.
Examples
AI mode (prompt + global pack)
cURL
Pinterest auto mode (image_sourcing=pinterest_auto)
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
