Skip to content
Docs menu

API reference

Design studio

Design templates, slide layouts and designs: branded carousels, posts and stories written with AI and exported to images, PDFs or creatives.

GET/v1/design-templates

List design templates

The visual template gallery (system templates plus the workspace's custom ones) with availability after platform, plan and workspace controls. Locked templates (available: false, e.g. above your plan) are listed so you can see what an upgrade unlocks; hidden ones are omitted.

Scopecreatives:readMCP toollist_design_templates
Query parameters
category
stringCategory key, e.g. carousel, product, promo
format
stringOnly templates that support this canvas, e.g. story
source
"system" | "custom"
search
stringMatch on name, description and tags
available_only
boolean | "0" | "1" | "true" | "false"Only templates you can use now
Request
curl "https://sqa.coboost.ai/api/v1/design-templates" \
  -H "Authorization: Bearer $COBOOST_API_KEY"
Response · 200
{
  "object": "list",
  "data": [
    {
      "id": "cmf0dt0001",
      "object": "design_template",
      "key": "myth-vs-fact",
      "source": "system",
      "name": "Myth vs fact",
      "description": "Bust common misconceptions in your niche, one slide at a time.",
      "category": "carousel",
      "tags": [
        "education",
        "myths"
      ],
      "formats": [
        "portrait",
        "square",
        "story"
      ],
      "default_format": "portrait",
      "featured": true,
      "status": "active",
      "available": true,
      "availability": "enabled",
      "restricted_by": null,
      "reason": null,
      "min_plan": null,
      "slide_count": 6,
      "usage_count": 128
    }
  ],
  "categories": [
    {
      "key": "carousel",
      "label": "Educational carousels"
    }
  ],
  "has_more": false,
  "next_cursor": null
}
GET/v1/design-templates/{id}

Get a design template

One template with its definition (style, look, sample slides) and the layouts it offers. Locked templates return only their first slides (definition.preview: true).

Scopecreatives:readMCP toolget_design_template
Path parameters
idrequired
stringDesign template ID
Request
curl "https://sqa.coboost.ai/api/v1/design-templates/id_123" \
  -H "Authorization: Bearer $COBOOST_API_KEY"
Response · 200
{
  "id": "cmf0dt0001",
  "object": "design_template",
  "key": "myth-vs-fact",
  "source": "system",
  "name": "Myth vs fact",
  "description": "Bust common misconceptions in your niche, one slide at a time.",
  "category": "carousel",
  "tags": [
    "education",
    "myths"
  ],
  "formats": [
    "portrait",
    "square",
    "story"
  ],
  "default_format": "portrait",
  "featured": true,
  "status": "active",
  "available": true,
  "availability": "enabled",
  "restricted_by": null,
  "reason": null,
  "min_plan": null,
  "slide_count": 6,
  "usage_count": 128,
  "definition": {
    "style": {
      "scheme": "dark",
      "emphasis": "accent"
    },
    "look": {
      "colors": {
        "dark": "#14120f",
        "light": "#f6f3ee",
        "accent": "#d7f25c",
        "accent_ink": "#14120f",
        "secondary": "#8aa6c1"
      },
      "fonts": {
        "display": {
          "family": "Instrument Serif",
          "source": "google"
        },
        "body": {
          "family": "Inter",
          "source": "google"
        },
        "mono": {
          "family": "JetBrains Mono",
          "source": "google"
        }
      }
    },
    "slides": [
      {
        "id": "a1b2c3d4e5",
        "layout": "cover",
        "variant": "stack",
        "content": {
          "eyebrow": "Skincare myths",
          "headline": "Niacinamide *myths*, busted",
          "subhead": "Swipe before you buy another serum."
        }
      },
      {
        "id": "f6g7h8i9j0",
        "layout": "list",
        "content": {
          "headline": "What it actually does",
          "items": [
            {
              "title": "Evens tone"
            },
            {
              "title": "Supports the barrier"
            }
          ]
        }
      }
    ],
    "ai": {
      "min_slides": 4,
      "max_slides": 8
    },
    "preview": false
  },
  "layouts": []
}
PATCH/v1/design-templates/{id}

Update a custom design template

Rename one of the workspace's own (custom) design templates or change its description, category or tags. Slides and style stay as saved. System templates can't be edited (404). Keys that can also read creatives get the full gallery entry back.

Scopetemplates:writeMCP toolupdate_design_template
Path parameters
idrequired
stringDesign template ID
Body
name
string
description
string | nullnull or an empty string clears it
category
stringCategory key from categories in GET /v1/design-templates, e.g. carousel, product, promo
tags
string[]Replaces the tags (up to 10)
Request
curl -X PATCH "https://sqa.coboost.ai/api/v1/design-templates/id_123" \
  -H "Authorization: Bearer $COBOOST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Lumen myth buster","description":"Our go-to education carousel","category":"carousel","tags":["education","skincare"]}'
Response · 200
{
  "id": "cmf0dt0001",
  "object": "design_template",
  "key": null,
  "source": "custom",
  "name": "Lumen myth buster",
  "description": "Our go-to education carousel",
  "category": "carousel",
  "tags": [
    "education",
    "skincare"
  ],
  "formats": [
    "portrait",
    "square",
    "story"
  ],
  "default_format": "portrait",
  "featured": false,
  "status": "active",
  "available": true,
  "availability": "enabled",
  "restricted_by": null,
  "reason": null,
  "min_plan": null,
  "slide_count": 6,
  "usage_count": 4
}
GET/v1/layouts

List slide layouts

Every slide layout with its variants and content fields (with soft character limits), plus the canvas formats. Use it to build or edit slides by hand.

Scopecreatives:read or templates:readMCP toollist_layouts
Request
curl "https://sqa.coboost.ai/api/v1/layouts" \
  -H "Authorization: Bearer $COBOOST_API_KEY"
Response · 200
{
  "object": "list",
  "data": [
    {
      "key": "cover",
      "object": "layout",
      "name": "Cover",
      "description": "Opening slide with a hook headline.",
      "group": "Structure",
      "variants": [
        {
          "key": "stack",
          "label": "Stacked"
        }
      ],
      "fields": [
        {
          "key": "headline",
          "label": "Hook",
          "type": "textarea",
          "max_chars": 60,
          "min_items": null,
          "max_items": null,
          "item_fields": null,
          "ai": true,
          "help": "Wrap words in *asterisks* to emphasize them.",
          "options": null
        }
      ],
      "ai_hint": "The hook."
    }
  ],
  "formats": [
    {
      "key": "portrait",
      "label": "Portrait",
      "ratio": "4:5",
      "width": 1080,
      "height": 1350
    }
  ],
  "has_more": false,
  "next_cursor": null
}
GET/v1/designs

List designs

Designs, most recently edited first. Archived designs are excluded unless status=archived or status=all.

Scopecreatives:readMCP toollist_designs
Query parameters
limit
integerPage size, 1–100 (default 25)
cursor
stringnext_cursor from the previous page
status
"draft" | "ready" | "archived" | "all"
campaign_id
string
template_id
string
brand_kit_id
string
search
stringMatch on name
Request
curl "https://sqa.coboost.ai/api/v1/designs" \
  -H "Authorization: Bearer $COBOOST_API_KEY"
Response · 200
{
  "object": "list",
  "data": [
    {
      "id": "cmf0dsn001",
      "object": "design",
      "name": "Myth vs fact: niacinamide",
      "status": "draft",
      "template_id": "cmf0dt0001",
      "brand_kit_id": "cmf0bk0001",
      "campaign_id": "cmf0cmp001",
      "persona_id": null,
      "content_type": "education",
      "team_id": null,
      "format": "portrait",
      "style": {
        "brand": {
          "handle": "@lumen.skincare"
        }
      },
      "slides": [
        {
          "id": "a1b2c3d4e5",
          "layout": "cover",
          "variant": "stack",
          "content": {
            "eyebrow": "Skincare myths",
            "headline": "Niacinamide *myths*, busted",
            "subhead": "Swipe before you buy another serum."
          }
        },
        {
          "id": "f6g7h8i9j0",
          "layout": "list",
          "content": {
            "headline": "What it actually does",
            "items": [
              {
                "title": "Evens tone"
              },
              {
                "title": "Supports the barrier"
              }
            ]
          }
        }
      ],
      "slide_count": 2,
      "caption": "Three things niacinamide can (and can't) do. #ad",
      "hashtags": [
        "skincare",
        "niacinamide"
      ],
      "ai_assisted": true,
      "thumbnail_url": null,
      "last_exported_at": null,
      "created_at": "2026-10-28T10:00:00.000Z",
      "updated_at": "2026-10-28T10:05:00.000Z"
    }
  ],
  "has_more": false,
  "next_cursor": null
}
POST/v1/designs

Create a design

Creates a design from a template (or blank) with the brand kit applied. Pass brief to have AI write the slides, caption and hashtags right away: the design is created either way, and ai reports whether the AI run succeeded. Locked templates return 402. Limited by the plan's designs.

Scopecreatives:writeMCP toolcreate_design
Body
template_id
string | nullDesign template (see GET /v1/design-templates). Omitted = blank design
name
string
format
"portrait" | "square" | "story" | "landscape" | "wide" | "pin"Canvas: portrait (4:5), square, story (9:16), landscape, wide or pin. Defaults to the template's
brand_kit_id
string | nullBrand kit ID, or template for the template's own look. Omitted = the campaign's kit, then the workspace default
campaign_id
string | null
persona_id
string | null
content_type
string | null
team_id
string | null
slides
object[]Start from these slides instead of the template's
style
objectDesign-level style overrides (scheme, background, headlineFont, emphasis, align, counter, showLogo…). brand holds this design's own brand details (name ≤ 60, handle ≤ 40, website ≤ 80, footer ≤ 80, logoUrl: uploaded or HTTPS image). Each field wins over the brand kit, which wins over the workspace profile (name, Instagram username, website, logo); empty fields render nothing
caption
string | null
hashtags
string[]
brief
stringWrite the slides, caption and hashtags with AI right after creating (needs the ai:generate scope; uses AI credits)
ai
objectOptions for the AI run when brief is given
Request
curl -X POST "https://sqa.coboost.ai/api/v1/designs" \
  -H "Authorization: Bearer $COBOOST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"template_id":"cmf0dt0001","campaign_id":"cmf0cmp001","format":"portrait","brief":"Three myths about niacinamide, for people new to skincare. Product: Lumen Glow serum."}'
Response · 201
{
  "id": "cmf0dsn001",
  "object": "design",
  "name": "Myth vs fact: niacinamide",
  "status": "draft",
  "template_id": "cmf0dt0001",
  "brand_kit_id": "cmf0bk0001",
  "campaign_id": "cmf0cmp001",
  "persona_id": null,
  "content_type": "education",
  "team_id": null,
  "format": "portrait",
  "style": {
    "brand": {
      "handle": "@lumen.skincare"
    }
  },
  "slides": [
    {
      "id": "a1b2c3d4e5",
      "layout": "cover",
      "variant": "stack",
      "content": {
        "eyebrow": "Skincare myths",
        "headline": "Niacinamide *myths*, busted",
        "subhead": "Swipe before you buy another serum."
      }
    },
    {
      "id": "f6g7h8i9j0",
      "layout": "list",
      "content": {
        "headline": "What it actually does",
        "items": [
          {
            "title": "Evens tone"
          },
          {
            "title": "Supports the barrier"
          }
        ]
      }
    }
  ],
  "slide_count": 2,
  "caption": "Three things niacinamide can (and can't) do. #ad",
  "hashtags": [
    "skincare",
    "niacinamide"
  ],
  "ai_assisted": true,
  "thumbnail_url": null,
  "last_exported_at": null,
  "created_at": "2026-10-28T10:00:00.000Z",
  "updated_at": "2026-10-28T10:05:00.000Z",
  "ai": {
    "ok": true,
    "generation_id": "cmf0gen001",
    "provider": "openrouter",
    "model": "anthropic/claude-sonnet-5.5",
    "fallback_used": false,
    "credits_charged": 8,
    "sandbox": false,
    "used_byok": false,
    "repaired": false,
    "content_type": "education",
    "persona": {
      "id": "cmf0prs101",
      "name": "Practical teacher",
      "platform": true,
      "source": "platform_type"
    },
    "research": {
      "source": "new",
      "generation_id": "cmf0gen000",
      "credits_charged": 2,
      "web_search": true,
      "summary": "Lumen Glow is a niacinamide serum for people new to skincare, sold on lumen.example.",
      "facts": [
        {
          "claim": "Lumen Glow serum costs $34 for 30 ml.",
          "topic": "offer",
          "source": {
            "kind": "page",
            "url": "https://lumen.example/glow",
            "title": "Lumen Glow serum"
          }
        }
      ],
      "gaps": [
        "The launch discount's end date"
      ],
      "pages": [
        {
          "url": "https://lumen.example/glow",
          "title": "Lumen Glow serum",
          "ok": true,
          "error": null,
          "origin": "link"
        }
      ],
      "error": null,
      "created_at": "2026-10-28T10:04:50.000Z"
    }
  }
}
GET/v1/designs/{id}

Get a design

Retrieve one design with its slides.

Scopecreatives:readMCP toolget_design
Path parameters
idrequired
stringDesign ID
Request
curl "https://sqa.coboost.ai/api/v1/designs/id_123" \
  -H "Authorization: Bearer $COBOOST_API_KEY"
Response · 200
{
  "id": "cmf0dsn001",
  "object": "design",
  "name": "Myth vs fact: niacinamide",
  "status": "draft",
  "template_id": "cmf0dt0001",
  "brand_kit_id": "cmf0bk0001",
  "campaign_id": "cmf0cmp001",
  "persona_id": null,
  "content_type": "education",
  "team_id": null,
  "format": "portrait",
  "style": {
    "brand": {
      "handle": "@lumen.skincare"
    }
  },
  "slides": [
    {
      "id": "a1b2c3d4e5",
      "layout": "cover",
      "variant": "stack",
      "content": {
        "eyebrow": "Skincare myths",
        "headline": "Niacinamide *myths*, busted",
        "subhead": "Swipe before you buy another serum."
      }
    },
    {
      "id": "f6g7h8i9j0",
      "layout": "list",
      "content": {
        "headline": "What it actually does",
        "items": [
          {
            "title": "Evens tone"
          },
          {
            "title": "Supports the barrier"
          }
        ]
      }
    }
  ],
  "slide_count": 2,
  "caption": "Three things niacinamide can (and can't) do. #ad",
  "hashtags": [
    "skincare",
    "niacinamide"
  ],
  "ai_assisted": true,
  "thumbnail_url": null,
  "last_exported_at": null,
  "created_at": "2026-10-28T10:00:00.000Z",
  "updated_at": "2026-10-28T10:05:00.000Z"
}
PATCH/v1/designs/{id}

Update a design

Update fields; omitted fields keep their values and slides replaces all slides. Send expected_updated_at to avoid overwriting someone else's edit (409 on conflict). Changing format must stay within the template's formats.

Scopecreatives:writeMCP toolupdate_design
Path parameters
idrequired
stringDesign ID
Body
name
string
format
"portrait" | "square" | "story" | "landscape" | "wide" | "pin"portrait | square | story | landscape | wide | pin
style
objectDesign-level style overrides (scheme, background, headlineFont, emphasis, align, counter, showLogo…). brand holds this design's own brand details (name ≤ 60, handle ≤ 40, website ≤ 80, footer ≤ 80, logoUrl: uploaded or HTTPS image). Each field wins over the brand kit, which wins over the workspace profile (name, Instagram username, website, logo); empty fields render nothing
slides
object[]Slides: { id, layout, variant?, content, style? } (see GET /v1/layouts for each layout's content fields). Validated server-side
brand_kit_id
string | nullBrand kit ID; null = the template's own look
campaign_id
string | null
persona_id
string | null
content_type
string | null
caption
string | null
hashtags
string[]
status
"draft" | "ready" | "archived"archived hides it and frees a saved-design slot
ai_assisted
booleanMark the copy as AI-written (e.g. you applied a caption from /captions). AI runs set it automatically; it is never cleared
expected_updated_at
stringISO 8601 date-time: the design's updated_at you last read. The write fails with 409 if it changed since
Request
curl -X PATCH "https://sqa.coboost.ai/api/v1/designs/id_123" \
  -H "Authorization: Bearer $COBOOST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"caption":"Three niacinamide myths, busted. #ad","status":"ready","expected_updated_at":"2026-10-28T10:05:00.000Z"}'
Response · 200
{
  "id": "cmf0dsn001",
  "object": "design",
  "name": "Myth vs fact: niacinamide",
  "status": "ready",
  "template_id": "cmf0dt0001",
  "brand_kit_id": "cmf0bk0001",
  "campaign_id": "cmf0cmp001",
  "persona_id": null,
  "content_type": "education",
  "team_id": null,
  "format": "portrait",
  "style": {
    "brand": {
      "handle": "@lumen.skincare"
    }
  },
  "slides": [
    {
      "id": "a1b2c3d4e5",
      "layout": "cover",
      "variant": "stack",
      "content": {
        "eyebrow": "Skincare myths",
        "headline": "Niacinamide *myths*, busted",
        "subhead": "Swipe before you buy another serum."
      }
    },
    {
      "id": "f6g7h8i9j0",
      "layout": "list",
      "content": {
        "headline": "What it actually does",
        "items": [
          {
            "title": "Evens tone"
          },
          {
            "title": "Supports the barrier"
          }
        ]
      }
    }
  ],
  "slide_count": 2,
  "caption": "Three things niacinamide can (and can't) do. #ad",
  "hashtags": [
    "skincare",
    "niacinamide"
  ],
  "ai_assisted": true,
  "thumbnail_url": null,
  "last_exported_at": null,
  "created_at": "2026-10-28T10:00:00.000Z",
  "updated_at": "2026-10-28T10:05:00.000Z"
}
DELETE/v1/designs/{id}

Delete a design

Permanently deletes a design and its export files. Media saved to the library and creatives made from it stay.

Scopecreatives:writeMCP tooldelete_design
Path parameters
idrequired
stringDesign ID
Request
curl -X DELETE "https://sqa.coboost.ai/api/v1/designs/id_123" \
  -H "Authorization: Bearer $COBOOST_API_KEY"
Response · 200
{
  "id": "cmf0dsn001",
  "object": "design",
  "deleted": true
}
POST/v1/designs/{id}/duplicate

Duplicate a design

Copies a design as a new draft, optionally renamed or for another campaign.

Scopecreatives:writeMCP toolduplicate_design
Path parameters
idrequired
stringDesign ID
Body
name
string
campaign_id
string | nullCampaign for the copy (defaults to the original's)
Request
curl -X POST "https://sqa.coboost.ai/api/v1/designs/id_123/duplicate" \
  -H "Authorization: Bearer $COBOOST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
Response · 201
{
  "id": "cmf0dsn002",
  "object": "design",
  "name": "Myth vs fact: niacinamide (copy)",
  "status": "draft",
  "template_id": "cmf0dt0001",
  "brand_kit_id": "cmf0bk0001",
  "campaign_id": "cmf0cmp001",
  "persona_id": null,
  "content_type": "education",
  "team_id": null,
  "format": "portrait",
  "style": {
    "brand": {
      "handle": "@lumen.skincare"
    }
  },
  "slides": [
    {
      "id": "a1b2c3d4e5",
      "layout": "cover",
      "variant": "stack",
      "content": {
        "eyebrow": "Skincare myths",
        "headline": "Niacinamide *myths*, busted",
        "subhead": "Swipe before you buy another serum."
      }
    },
    {
      "id": "f6g7h8i9j0",
      "layout": "list",
      "content": {
        "headline": "What it actually does",
        "items": [
          {
            "title": "Evens tone"
          },
          {
            "title": "Supports the barrier"
          }
        ]
      }
    }
  ],
  "slide_count": 2,
  "caption": "Three things niacinamide can (and can't) do. #ad",
  "hashtags": [
    "skincare",
    "niacinamide"
  ],
  "ai_assisted": true,
  "thumbnail_url": null,
  "last_exported_at": null,
  "created_at": "2026-10-28T10:00:00.000Z",
  "updated_at": "2026-10-28T10:05:00.000Z"
}
POST/v1/designs/{id}/generate

Write a design with AI

AI researches the brief first (the brand website, the campaign landing page, links in the brief and urls, plus a web search when the provider supports it; research: false skips it; the facts used come back in research), then writes the slides, caption and hashtags from it, using the template's guidance, the brand kit, the content type's rules (caption length, hashtags, structure, slide count), the persona's voice and the platform style guide. Output that breaks a rule gets one automatic repair; unusable output is refunded. With apply (default) the result is saved together with content_type (and an explicit persona_id); otherwise it's only returned. A design edited meanwhile returns 409 and is refunded. Needs the ai:generate scope as well and uses AI credits. Credits are checked before research runs: without enough for the copy the request fails with insufficient_credits, and with enough for the copy but not research too it's written from the brief (the research sheet's error says so).

Scopecreatives:write and ai:generateMCP toolwrite_design_with_ai
Path parameters
idrequired
stringDesign ID
Body
briefrequired
stringWhat the design should say
persona_id
string | nullVoice (workspace or platform persona). Omitted = the design's persona, else the voice for the content type, else the workspace default; null = none
content_type
string | nullContent type for this run (default: the design's). Saved to the design when the result is applied
language
stringLanguage code, e.g. en, de
slide_count
integer
extra_instructions
string
model
stringAI model for this run: a ref from GET /v1/ai/models, e.g. "openrouter:anthropic/claude-sonnet-5.5". Omitted = automatic routing. Credits use that model's multiplier
research
booleanResearch before writing (default true): read the brand website, the campaign landing page and links in the brief, search the web when the AI provider can, then write only from the facts found (gaps become [placeholders]). Billed as a separate research generation (listed in GET /v1/ai/generations) at the model's credits.research in GET /v1/ai/models, refunded if the copy isn't written; the same brief researched again within 30 minutes isn't billed again. false writes from the brief and brand details only
urls
string[]Extra pages to read while researching (public http(s) pages; links in the brief are found automatically)
apply
booleanSave into the design (default true)
expected_updated_at
stringISO 8601 date-time: the design's updated_at you last read. The write fails with 409 if it changed since
Request
curl -X POST "https://sqa.coboost.ai/api/v1/designs/id_123/generate" \
  -H "Authorization: Bearer $COBOOST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"brief":"Three myths about niacinamide, for people new to skincare.","content_type":"education","slide_count":5,"apply":true}'
Response · 200
{
  "object": "design_generation",
  "design": {
    "id": "cmf0dsn001",
    "object": "design",
    "name": "Myth vs fact: niacinamide",
    "status": "draft",
    "template_id": "cmf0dt0001",
    "brand_kit_id": "cmf0bk0001",
    "campaign_id": "cmf0cmp001",
    "persona_id": null,
    "content_type": "education",
    "team_id": null,
    "format": "portrait",
    "style": {
      "brand": {
        "handle": "@lumen.skincare"
      }
    },
    "slides": [
      {
        "id": "a1b2c3d4e5",
        "layout": "cover",
        "variant": "stack",
        "content": {
          "eyebrow": "Skincare myths",
          "headline": "Niacinamide *myths*, busted",
          "subhead": "Swipe before you buy another serum."
        }
      },
      {
        "id": "f6g7h8i9j0",
        "layout": "list",
        "content": {
          "headline": "What it actually does",
          "items": [
            {
              "title": "Evens tone"
            },
            {
              "title": "Supports the barrier"
            }
          ]
        }
      }
    ],
    "slide_count": 2,
    "caption": "Three things niacinamide can (and can't) do. #ad",
    "hashtags": [
      "skincare",
      "niacinamide"
    ],
    "ai_assisted": true,
    "thumbnail_url": null,
    "last_exported_at": null,
    "created_at": "2026-10-28T10:00:00.000Z",
    "updated_at": "2026-10-28T10:05:00.000Z"
  },
  "slides": [
    {
      "id": "a1b2c3d4e5",
      "layout": "cover",
      "variant": "stack",
      "content": {
        "eyebrow": "Skincare myths",
        "headline": "Niacinamide *myths*, busted",
        "subhead": "Swipe before you buy another serum."
      }
    },
    {
      "id": "f6g7h8i9j0",
      "layout": "list",
      "content": {
        "headline": "What it actually does",
        "items": [
          {
            "title": "Evens tone"
          },
          {
            "title": "Supports the barrier"
          }
        ]
      }
    }
  ],
  "caption": "Three things niacinamide can (and can't) do. #ad",
  "hashtags": [
    "skincare",
    "niacinamide"
  ],
  "applied": true,
  "generation_id": "cmf0gen001",
  "provider": "openrouter",
  "model": "anthropic/claude-sonnet-5.5",
  "fallback_used": false,
  "credits_charged": 8,
  "sandbox": false,
  "used_byok": false,
  "repaired": false,
  "content_type": "education",
  "persona": {
    "id": "cmf0prs101",
    "name": "Practical teacher",
    "platform": true,
    "source": "platform_type"
  },
  "research": {
    "source": "new",
    "generation_id": "cmf0gen000",
    "credits_charged": 2,
    "web_search": true,
    "summary": "Lumen Glow is a niacinamide serum for people new to skincare, sold on lumen.example.",
    "facts": [
      {
        "claim": "Lumen Glow serum costs $34 for 30 ml.",
        "topic": "offer",
        "source": {
          "kind": "page",
          "url": "https://lumen.example/glow",
          "title": "Lumen Glow serum"
        }
      }
    ],
    "gaps": [
      "The launch discount's end date"
    ],
    "pages": [
      {
        "url": "https://lumen.example/glow",
        "title": "Lumen Glow serum",
        "ok": true,
        "error": null,
        "origin": "link"
      }
    ],
    "error": null,
    "created_at": "2026-10-28T10:04:50.000Z"
  }
}
POST/v1/designs/{id}/rewrite

Rewrite slides with AI

Rewrites some slides in place (same layouts, images and style) with a quick action (shorter, punchier, casual, fit to fix overflowing text) and/or an instruction; caption: true rewrites the caption and hashtags too (default when every slide is rewritten). One slide is billed as a design_edit, several as design. With apply (default) the result is saved; 409 if the design changed meanwhile (refunded). Needs the ai:generate scope as well.

Scopecreatives:write and ai:generateMCP toolrewrite_design_slides
Path parameters
idrequired
stringDesign ID
Body
slides
integer[]0-based slide indexes (default all)
action
"shorter" | "punchier" | "casual" | "fit"shorter | punchier | casual | fit
instruction
stringWhat to change, e.g. "Lead with the price"
brief
stringFacts the rewrite may use
caption
boolean
persona_id
string | nullVoice (workspace or platform persona). Omitted = the design's persona, else the voice for the content type, else the workspace default; null = none
content_type
string | nullContent type for this run (default: the design's). Saved to the design when the result is applied
language
stringLanguage code, e.g. en, de
model
stringAI model for this run: a ref from GET /v1/ai/models, e.g. "openrouter:anthropic/claude-sonnet-5.5". Omitted = automatic routing. Credits use that model's multiplier
apply
booleanSave into the design (default true)
expected_updated_at
stringISO 8601 date-time: the design's updated_at you last read. The write fails with 409 if it changed since
Request
curl -X POST "https://sqa.coboost.ai/api/v1/designs/id_123/rewrite" \
  -H "Authorization: Bearer $COBOOST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"slides":[2],"action":"shorter"}'
Response · 200
{
  "object": "design_rewrite",
  "design": {
    "id": "cmf0dsn001",
    "object": "design",
    "name": "Myth vs fact: niacinamide",
    "status": "draft",
    "template_id": "cmf0dt0001",
    "brand_kit_id": "cmf0bk0001",
    "campaign_id": "cmf0cmp001",
    "persona_id": null,
    "content_type": "education",
    "team_id": null,
    "format": "portrait",
    "style": {
      "brand": {
        "handle": "@lumen.skincare"
      }
    },
    "slides": [
      {
        "id": "a1b2c3d4e5",
        "layout": "cover",
        "variant": "stack",
        "content": {
          "eyebrow": "Skincare myths",
          "headline": "Niacinamide *myths*, busted",
          "subhead": "Swipe before you buy another serum."
        }
      },
      {
        "id": "f6g7h8i9j0",
        "layout": "list",
        "content": {
          "headline": "What it actually does",
          "items": [
            {
              "title": "Evens tone"
            },
            {
              "title": "Supports the barrier"
            }
          ]
        }
      }
    ],
    "slide_count": 2,
    "caption": "Three things niacinamide can (and can't) do. #ad",
    "hashtags": [
      "skincare",
      "niacinamide"
    ],
    "ai_assisted": true,
    "thumbnail_url": null,
    "last_exported_at": null,
    "created_at": "2026-10-28T10:00:00.000Z",
    "updated_at": "2026-10-28T10:05:00.000Z"
  },
  "slides": [
    {
      "id": "a1b2c3d4e5",
      "layout": "cover",
      "variant": "stack",
      "content": {
        "eyebrow": "Skincare myths",
        "headline": "Niacinamide *myths*, busted",
        "subhead": "Swipe before you buy another serum."
      }
    },
    {
      "id": "f6g7h8i9j0",
      "layout": "list",
      "content": {
        "headline": "What it actually does",
        "items": [
          {
            "title": "Evens tone"
          },
          {
            "title": "Supports the barrier"
          }
        ]
      }
    }
  ],
  "rewritten": [
    1
  ],
  "caption": null,
  "hashtags": null,
  "applied": true,
  "generation_id": "cmf0gen001",
  "provider": "openrouter",
  "model": "anthropic/claude-sonnet-5.5",
  "fallback_used": false,
  "credits_charged": 2,
  "sandbox": false,
  "used_byok": false,
  "repaired": false,
  "content_type": "education",
  "persona": {
    "id": "cmf0prs101",
    "name": "Practical teacher",
    "platform": true,
    "source": "platform_type"
  },
  "research": {
    "source": "new",
    "generation_id": "cmf0gen000",
    "credits_charged": 2,
    "web_search": true,
    "summary": "Lumen Glow is a niacinamide serum for people new to skincare, sold on lumen.example.",
    "facts": [
      {
        "claim": "Lumen Glow serum costs $34 for 30 ml.",
        "topic": "offer",
        "source": {
          "kind": "page",
          "url": "https://lumen.example/glow",
          "title": "Lumen Glow serum"
        }
      }
    ],
    "gaps": [
      "The launch discount's end date"
    ],
    "pages": [
      {
        "url": "https://lumen.example/glow",
        "title": "Lumen Glow serum",
        "ok": true,
        "error": null,
        "origin": "link"
      }
    ],
    "error": null,
    "created_at": "2026-10-28T10:04:50.000Z"
  }
}
POST/v1/designs/{id}/captions

Caption options for a design

AI writes caption options (default 3, each with hashtags) for the design's current slides, following its content type, persona and the style guide. Nothing is saved: pick one and PATCH it into the design. Billed as one design_edit. Needs the ai:generate scope as well.

Scopecreatives:write and ai:generateMCP tooldesign_caption_options
Path parameters
idrequired
stringDesign ID
Body
count
integerDefault 3
brief
stringExtra facts for the caption
instruction
string
persona_id
string | nullVoice (workspace or platform persona). Omitted = the design's persona, else the voice for the content type, else the workspace default; null = none
content_type
string | nullContent type for this run (default: the design's). Saved to the design when the result is applied
language
stringLanguage code, e.g. en, de
model
stringAI model for this run: a ref from GET /v1/ai/models, e.g. "openrouter:anthropic/claude-sonnet-5.5". Omitted = automatic routing. Credits use that model's multiplier
Request
curl -X POST "https://sqa.coboost.ai/api/v1/designs/id_123/captions" \
  -H "Authorization: Bearer $COBOOST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"count":3}'
Response · 200
{
  "object": "design_captions",
  "design_id": "cmf0dsn001",
  "options": [
    {
      "caption": "Niacinamide won't fix everything. Here's what it does do.\n\nSave this before your next serum haul.",
      "hashtags": [
        "niacinamide",
        "skincaretips"
      ]
    },
    {
      "caption": "3 niacinamide myths we hear every week, and what the research says.\n\nSave it for later.",
      "hashtags": [
        "niacinamide",
        "skincaremyths"
      ]
    }
  ],
  "generation_id": "cmf0gen001",
  "provider": "openrouter",
  "model": "anthropic/claude-sonnet-5.5",
  "fallback_used": false,
  "credits_charged": 2,
  "sandbox": false,
  "used_byok": false,
  "repaired": false,
  "content_type": "education",
  "persona": {
    "id": "cmf0prs101",
    "name": "Practical teacher",
    "platform": true,
    "source": "platform_type"
  },
  "research": {
    "source": "new",
    "generation_id": "cmf0gen000",
    "credits_charged": 2,
    "web_search": true,
    "summary": "Lumen Glow is a niacinamide serum for people new to skincare, sold on lumen.example.",
    "facts": [
      {
        "claim": "Lumen Glow serum costs $34 for 30 ml.",
        "topic": "offer",
        "source": {
          "kind": "page",
          "url": "https://lumen.example/glow",
          "title": "Lumen Glow serum"
        }
      }
    ],
    "gaps": [
      "The launch discount's end date"
    ],
    "pages": [
      {
        "url": "https://lumen.example/glow",
        "title": "Lumen Glow serum",
        "ok": true,
        "error": null,
        "origin": "link"
      }
    ],
    "error": null,
    "created_at": "2026-10-28T10:04:50.000Z"
  }
}
POST/v1/designs/{id}/exports

Export a design

Renders slides to PNG, JPG, a ZIP of images or a PDF. Rendering runs in the background, so expect status: queued: poll GET /v1/designs/{id}/exports/{export_id} or pass wait: true. An export that finishes within the request returns status: done. save_to_library also stores the images in the media library. Counts toward the plan's monthly designExportsPerMonth; designs from templates above your plan, or holding slide copy from one, export with a watermark. Files not saved to the library are deleted after the platform's retention period (expires_at), and count toward the plan's storage until then. With no storage left, an export with save_to_library fails with the storage error, and one that is only downloaded is still made but kept for a much shorter time: expires_at is sooner and warnings says so. An image that can't be loaded (a deleted file, a site that refuses the download or takes too long to send it) is left out of its slide, and the export's warnings name it and the slide. An export loads a limited number of images and amount of image data, each image counted at the size the slide shows it, and can't use images over a size limit in megapixels or very large SVG files: images past these limits are left out and warnings says so. A workspace can have only a few exports queued or rendering at once (503 service_unavailable past that: wait for one to finish), and after several that failed once rendering started within an hour, new ones return 429 rate_limited until the hour has passed. The design studio guide in these docs gives the current limits. Emits design.exported.

Scopecreatives:writeMCP toolexport_design
Path parameters
idrequired
stringDesign ID
Body
kind
"png" | "jpg" | "pdf" | "zip"Default png
image_type
"png" | "jpg"Image type inside a zip
slides
integer[]0-based slide indexes (default all)
scale
number2 = double resolution
save_to_library
boolean
folder
stringMedia library folder for saved images
wait
booleanWait up to 60 seconds for a queued export to finish
Request
curl -X POST "https://sqa.coboost.ai/api/v1/designs/id_123/exports" \
  -H "Authorization: Bearer $COBOOST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"kind":"png","scale":1,"save_to_library":true}'
Response · 201
{
  "id": "cmf0dex001",
  "object": "design_export",
  "design_id": "cmf0dsn001",
  "status": "done",
  "kind": "png",
  "error": null,
  "warnings": [],
  "watermark": false,
  "slide_count": 2,
  "download_url": "https://coboost.ai/uploads/ws/design-cmf0dsn001-1.png",
  "files": [
    {
      "url": "https://coboost.ai/uploads/ws/design-cmf0dsn001-1.png",
      "filename": "myth-vs-fact-1.png",
      "mime_type": "image/png",
      "byte_size": 412331,
      "width": 1080,
      "height": 1350,
      "media_id": null
    },
    {
      "url": "https://coboost.ai/uploads/ws/design-cmf0dsn001-2.png",
      "filename": "myth-vs-fact-2.png",
      "mime_type": "image/png",
      "byte_size": 398112,
      "width": 1080,
      "height": 1350,
      "media_id": null
    }
  ],
  "media_ids": [],
  "created_at": "2026-10-28T10:06:00.000Z",
  "finished_at": "2026-10-28T10:06:04.000Z",
  "expires_at": "2026-11-04T10:06:04.000Z",
  "creative": null
}
GET/v1/designs/{id}/exports

List a design's exports

The design's latest exports, newest first.

Scopecreatives:readMCP toollist_design_exports
Path parameters
idrequired
stringDesign ID
Query parameters
limit
integer
Request
curl "https://sqa.coboost.ai/api/v1/designs/id_123/exports" \
  -H "Authorization: Bearer $COBOOST_API_KEY"
Response · 200
{
  "object": "list",
  "data": [
    {
      "id": "cmf0dex001",
      "object": "design_export",
      "design_id": "cmf0dsn001",
      "status": "done",
      "kind": "png",
      "error": null,
      "warnings": [],
      "watermark": false,
      "slide_count": 2,
      "download_url": "https://coboost.ai/uploads/ws/design-cmf0dsn001-1.png",
      "files": [
        {
          "url": "https://coboost.ai/uploads/ws/design-cmf0dsn001-1.png",
          "filename": "myth-vs-fact-1.png",
          "mime_type": "image/png",
          "byte_size": 412331,
          "width": 1080,
          "height": 1350,
          "media_id": null
        },
        {
          "url": "https://coboost.ai/uploads/ws/design-cmf0dsn001-2.png",
          "filename": "myth-vs-fact-2.png",
          "mime_type": "image/png",
          "byte_size": 398112,
          "width": 1080,
          "height": 1350,
          "media_id": null
        }
      ],
      "media_ids": [],
      "created_at": "2026-10-28T10:06:00.000Z",
      "finished_at": "2026-10-28T10:06:04.000Z",
      "expires_at": "2026-11-04T10:06:04.000Z",
      "creative": null
    }
  ],
  "has_more": false,
  "next_cursor": null
}
GET/v1/designs/{id}/exports/{export_id}

Get an export

Status of one export: queued, rendering, done, failed or expired. Files and URLs are present once it's done.

Scopecreatives:readMCP toolget_design_export
Path parameters
idrequired
stringDesign ID
export_idrequired
stringExport ID
Request
curl "https://sqa.coboost.ai/api/v1/designs/id_123/exports/export_id" \
  -H "Authorization: Bearer $COBOOST_API_KEY"
Response · 200
{
  "id": "cmf0dex001",
  "object": "design_export",
  "design_id": "cmf0dsn001",
  "status": "done",
  "kind": "png",
  "error": null,
  "warnings": [],
  "watermark": false,
  "slide_count": 2,
  "download_url": "https://coboost.ai/uploads/ws/design-cmf0dsn001-1.png",
  "files": [
    {
      "url": "https://coboost.ai/uploads/ws/design-cmf0dsn001-1.png",
      "filename": "myth-vs-fact-1.png",
      "mime_type": "image/png",
      "byte_size": 412331,
      "width": 1080,
      "height": 1350,
      "media_id": null
    },
    {
      "url": "https://coboost.ai/uploads/ws/design-cmf0dsn001-2.png",
      "filename": "myth-vs-fact-2.png",
      "mime_type": "image/png",
      "byte_size": 398112,
      "width": 1080,
      "height": 1350,
      "media_id": null
    }
  ],
  "media_ids": [],
  "created_at": "2026-10-28T10:06:00.000Z",
  "finished_at": "2026-10-28T10:06:04.000Z",
  "expires_at": "2026-11-04T10:06:04.000Z",
  "creative": null
}
POST/v1/designs/{id}/creative

Save a design as a creative

Renders the slides into the media library (counts as one export) and creates a draft creative linked to the design, with its caption and hashtags. Story designs become ig_story, one-slide portrait or square designs ig_feed_image, several slides ig_carousel. Rendering runs in the background, so expect status: queued with creative: null, empty media and an export_id: poll GET /v1/designs/{id}/exports/{export_id} until its creative.status is created (creative.id is the new creative) or failed (creative.error says why), or listen for creative.created. A render that finishes within the request returns status: created with the creative and its media, so handle both. Asking again with the same options while one is queued returns that one; a different format, campaign or name, or an edit to the design, makes a new export. An image that can't be loaded, or that the server render's image limits leave out, fails the export and makes no creative, rather than leaving the photo out of the post.

Scopecreatives:writeMCP toolsave_design_as_creative
Path parameters
idrequired
stringDesign ID
Body
campaign_id
string | nullCampaign for the creative (defaults to the design's)
format
"ig_feed_image" | "ig_carousel" | "ig_story"Defaults from the design's canvas and slide count. ig_feed_image uses the first slide
name
string
Request
curl -X POST "https://sqa.coboost.ai/api/v1/designs/id_123/creative" \
  -H "Authorization: Bearer $COBOOST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
Response · 201
{
  "object": "design_creative",
  "design_id": "cmf0dsn001",
  "status": "queued",
  "export_id": "cmf0dex001",
  "creative": null,
  "media": []
}