Organize images into reusable packs that power AI slideshow generation across TikTok, Instagram, Pinterest, and more. Your OpenClaw agent can manage packs programmatically - uploading images, creating collections, and referencing them in automated slideshow workflows.Packs are reusable image collections used by slideshow generation. For AI agents automating content creation on TikTok, Instagram, YouTube, Pinterest, LinkedIn, or Facebook, packs let you organize brand assets, product photos, or AI-generated images into named collections that can be referenced across multiple slideshows.
Scope Rules
- Workspace keys can mutate only packs in their workspace.
- Personal keys can mutate only personal packs (
workspace_id IS NULL). - Public packs are readable (when included) but not mutable unless owned in scope.
Endpoint Index
| Operation | Endpoint | Docs |
|---|---|---|
| List packs | GET /api/partner/v1/packs | List Packs |
| Get pack | GET /api/partner/v1/packs/{packId} | Get Pack |
| Create pack | POST /api/partner/v1/packs | Create Pack |
| Update pack | PATCH /api/partner/v1/packs/{packId} | Update Pack |
| Delete pack | DELETE /api/partner/v1/packs/{packId} | Delete Pack |
| Add image by URL | POST /api/partner/v1/packs/{packId}/images | Add Pack Image |
| Delete image | DELETE /api/partner/v1/packs/{packId}/images/{imageId} | Delete Pack Image |
Choosing Image Input Mode
Use this decision rule when adding pack images:- If you already have a public image URL, call Add Pack Image directly.
- If you only have file bytes, call Upload File first, then call Add Pack Image with the returned
url. Add Pack Imagestores a URL reference in the pack. It does not fetch or re-host the file at add time.
Typical Flows
Flow A: Existing image URLs
- Create a pack.
- Add images by URL (
POST /api/partner/v1/packs/{packId}/images). - Use the pack ID in slideshow generation (
pack_id/pack_assignments).
Flow B: Local files / raw bytes
- Create a pack.
- Call
POST /api/partner/v1/filesto getuploadUrl+url. - Upload bytes with
PUT uploadUrl. - Call
POST /api/partner/v1/packs/{packId}/imageswithimage_url = url. - Use the pack ID in slideshow generation (
pack_id/pack_assignments).
