Generate AI slideshows, render them as TikTok photo carousels or Instagram carousels, and post them across 6 platforms - all through the API. The full content creation pipeline for OpenClaw agents and AI-driven social media automation.Use slideshow endpoints to build slide content, iterate on text/layout, render final images, and publish those images through the posting API. This is the core of the automated content pipeline - your OpenClaw agent or automation script generates slideshows, and the Create Post endpoint distributes them to TikTok, Instagram, YouTube, Pinterest, LinkedIn, and Facebook. All slideshow routes are key-scoped and use the standard Partner API envelope documented in Response Pattern.
Scope Rules
- Workspace keys read and write slideshow rows in their workspace.
- Personal keys read and write rows where
user_id = owner_user_idandworkspace_id IS NULL. - Cross-scope resources return
404 not_found.
How It Works
Think of slideshows as a content object you can refine before posting:- Create a slideshow (
generate) with AI/manual config, or copy from TikTok. - Iterate on draft content (
get,update, optionalregenerateper slide). - Render when ready (
render) to produce final slide assets. - Publish those slide image URLs using Create Post with
media.type = "slideshow"andmedia.urls.
Typical End-to-End Flow
- Create/choose a pack (optional but common): Slideshow Packs
- Generate a slideshow: Generate Slideshow
- Refine the draft: Get Slideshow, Update Slideshow, Regenerate Slide
- Render finalized slides: Render Slideshow
- Send rendered slide URLs to posts API:
For publishing, use final image URLs from the slideshow response. After render,
this is typically
slides[].rendered_image_url (fallback to image_url if a
rendered URL is not present).Endpoint Index
| Operation | Endpoint | Docs |
|---|---|---|
| Preview TikTok copy | POST /api/partner/v1/slideshows/copy-tiktok/preview | Preview TikTok Slideshow Copy |
| Import TikTok copy | POST /api/partner/v1/slideshows/copy-tiktok/import | Import TikTok Slideshow Copy |
| Generate slideshow | POST /api/partner/v1/slideshows/generate | Generate Slideshow |
| List slideshows | GET /api/partner/v1/slideshows | List Slideshows |
| Get slideshow | GET /api/partner/v1/slideshows/{slideshowId} | Get Slideshow |
| Update slideshow | PATCH /api/partner/v1/slideshows/{slideshowId} | Update Slideshow |
| Delete slideshow | DELETE /api/partner/v1/slideshows/{slideshowId} | Delete Slideshow |
| Render slideshow | POST /api/partner/v1/slideshows/{slideshowId}/render | Render Slideshow |
| Duplicate slideshow | POST /api/partner/v1/slideshows/{slideshowId}/duplicate | Duplicate Slideshow |
| Regenerate one slide | POST /api/partner/v1/slideshows/{slideshowId}/slides/{slideIndex}/regenerate | Regenerate Slide |
Validation Highlights
- Standard generation and manual setup both support
1-10slides. - Any
image_packslide must resolve a pack through globalpack_idor per-slidepack_assignments[index]. slide_configindex maps must use 0-based numeric keys inside range.- Updating
slideson a rendered slideshow resets it todraftand clears rendered artifacts.
Packs and Templates
- Reusable image sets: Slideshow Packs
- Reusable slideshow blueprints: Slideshow Templates
UI vs API
- UI is usually the fastest way to curate packs and templates manually.
- API is better for automation, external pipelines, and agent-driven workflows - especially when using OpenClaw agents or Claude Code to automate TikTok slideshow creation and posting.
- Both paths use the same underlying slideshow, pack, and template models.
Agent Automation Tips
If you’re building an OpenClaw agent or AI automation pipeline, here’s the optimal slideshow workflow:- Batch generate - Create multiple slideshows in sequence, each with different hooks and styles
- Render in bulk - Render all slideshows before posting to avoid delays
- Post as drafts to TikTok - Use
tiktok.post_mode: "MEDIA_UPLOAD"so you can add trending sounds manually - Post directly to other platforms - Instagram, YouTube, Pinterest, LinkedIn, and Facebook support direct posting
- Track analytics - Use the Analytics endpoints to see what’s performing and feed that data back to your agent
