Skip to main content
POST
/
carousels
/
{id}
/
generate-design
Generate carousel design
curl --request POST \
  --url https://app.autoposting.ai/api-proxy/carousels/{id}/generate-design \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "template": "<string>",
  "colorScheme": "<string>"
}
'
{
  "success": true,
  "data": {
    "id": "car_01HXYZ",
    "brandSlug": "acme-corp",
    "title": "5 Growth Hacks for 2025",
    "slides": [
      {
        "id": "slide_01",
        "title": "Hook",
        "body": "Most founders ignore this...",
        "imageUrl": null,
        "order": 0
      }
    ],
    "design": null,
    "status": "draft",
    "createdAt": "2024-01-01T00:00:00Z",
    "updatedAt": "2024-01-01T00:00:00Z"
  }
}

Authorizations

Authorization
string
header
required

API key as Authorization: Bearer sk-social-...

Path Parameters

id
string
required

Carousel ID.

Example:

"car_01HXYZ"

Body

application/json
template
string

Design template to use.

colorScheme
string

Color scheme override (e.g., dark, light, brand).

Response

Design generated

success
boolean
Example:

true

data
object