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 or manual slide config. - 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 |
|---|---|---|
| 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.
- Both paths use the same underlying slideshow, pack, and template models.
