Skip to content
Docs menu

Guide

Design studio & brand kits

The design studio turns a template and your brand into finished Instagram graphics. A brand kit holds your colors, fonts, logos and handle. A design template is a slide structure with its own style (carousels, single posts, stories). A design is your copy of a template with your brand applied: its slides are written by you or by AI from a brief, then exported to images or saved straight into a creative.

Scopes, plans and exports

ScopesReads use creatives:read, changes creatives:write. Writing with AI (brief on create, or POST /v1/designs/{id}/generate) also needs ai:generate and uses AI credits. Saving to the media library is part of creatives:write.
Templates & plansGET /v1/design-templates lists every template with its availability after platform, plan and workspace controls. Templates above your plan are listed with available: false and only their first slides; creating a design from one returns 402 feature_unavailable. Designs made from a template your plan no longer includes, and designs holding slide copy from a template above your plan (whichever template they started from), export with a watermark. Saved designs, brand kits, custom templates and monthly exports are plan limits.
Slidesslides and style are design documents and keep the engine's camelCase keys so they round-trip unchanged. Each slide is { id, layout, variant?, content }; GET /v1/layouts lists every layout's content fields and soft character limits. Send expected_updated_at with edits to avoid overwriting a teammate (409 conflict).
ExportsExports render in headless Chromium 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}, pass wait: true, or listen for design.exported. A workspace can have 2 exports queued or rendering at a time: a further one gets 503 service_unavailable. After 10 exports fail within an hour, new ones get 429 rate_limited until the hour is up. Files not saved to the media library are deleted after 7 days. An export loads up to 100 images and 150 MB of image data, each image counted after it's scaled to the size the slide shows it. It can't use images over 50 megapixels, or in a format it can't read (use JPG, PNG, WebP, GIF or SVG). Images past these limits are left out, and the export's warnings say so.
Design, export, creative
# 1. Create a design from a template with your brand kit; AI writes the slides
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",
        "brief": "Three myths about niacinamide, for people new to skincare." }'

# 2. Render it to PNGs (or "zip", "pdf"), waiting for the result
curl -X POST https://sqa.coboost.ai/api/v1/designs/cmf0dsn001/exports \
  -H "Authorization: Bearer $COBOOST_API_KEY" -H "Content-Type: application/json" \
  -d '{ "kind": "png", "wait": true }'

# 3. Or turn it straight into a draft carousel creative for the campaign. It renders in the
#    background: poll GET /v1/designs/cmf0dsn001/exports/{export_id} until creative.status is created
curl -X POST https://sqa.coboost.ai/api/v1/designs/cmf0dsn001/creative \
  -H "Authorization: Bearer $COBOOST_API_KEY"

Events

brand_kit.createdSent to the advertiser

A brand kit was created (the first kit becomes the default).

{"brand_kit_id":"cmf0bk0001","name":"Lumen","is_default":true}
brand_kit.updatedSent to the advertiser

A brand kit's colors, fonts, logos or details changed. Designs pick it up on their next render.

{"brand_kit_id":"cmf0bk0001","name":"Lumen"}
design.createdSent to the advertiser

A design was created from a template, duplicated, or generated for a unique post (template is the template key or duplicate).

{"design_id":"cmf0dsn001","name":"Myth vs fact: niacinamide","template":"myth-vs-fact","campaign_id":"cmf0cmp001"}
design.exportedSent to the advertiser

An export finished rendering. File URLs expire after 7 days unless they were saved to the media library (media_id).

{"design_id":"cmf0dsn001","export_id":"cmf0dex001","kind":"png","files":[{"url":"https://sqa.coboost.ai/uploads/ws/slide-1.png","media_id":null}]}