Image APIs
API reference › Brands

Save a brand kit: colours, fonts, logo and values that fill {{brand.…}} placeholders

POST/v1/brands

POST/v1/brands

Save a brand kit: colours, fonts, logo and values that fill {{brand.…}} placeholders

Put {{brand.color.primary}} in a layer's fill, {{brand.font.heading}} in its font, {{brand.logo}} in an image's src, {{brand.website}} in a text, and one template renders in any brand: pass brand with a render, or make one brand the default. A SaaS keeps a brand per customer; an agency, per client. The response's variables lists every placeholder the brand fills.

REQUEST BODY · APPLICATION/JSON · REQUIRED
{
  "name": "Acme",
  "default": true,
  "logo": "https://img.imageapis.com/u/upl_4kq8wz2mhxtd7vbn3rce.png",
  "colors": {
    "primary": "#4f46e5",
    "background": "#0f172a",
    "text": "#ffffff"
  },
  "fonts": {
    "heading": "Playfair Display",
    "body": "Inter"
  },
  "values": {
    "website": "acme.com",
    "tagline": "Rockets, mostly"
  }
}
In the full reference
REQUEST
curl -X POST "https://api.imageapis.com/v1/brands" \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Acme",
  "default": true,
  "logo": "https://img.imageapis.com/u/upl_4kq8wz2mhxtd7vbn3rce.png",
  "colors": {
    "primary": "#4f46e5",
    "background": "#0f172a",
    "text": "#ffffff"
  },
  "fonts": {
    "heading": "Playfair Display",
    "body": "Inter"
  },
  "values": {
    "website": "acme.com",
    "tagline": "Rockets, mostly"
  }
}'
RESPONSE
201Created
{
  "id": "brand_6tq2mz8wkxhd4vbn7rce",
  "object": "brand",
  "name": "Acme",
  "default": true,
  "logo": "https://img.imageapis.com/u/upl_4kq8wz2mhxtd7vbn3rce.png",
  "colors": {
    "primary": "#4f46e5",
    "background": "#0f172a",
    "text": "#ffffff"
  },
  "fonts": {
    "heading": "Playfair Display",
    "body": "Inter"
  },
  "images": {},
  "values": {
    "website": "acme.com",
    "tagline": "Rockets, mostly"
  },
  "variables": {
    "brand.name": "Acme",
    "brand.logo": "https://img.imageapis.com/u/upl_4kq8wz2mhxtd7vbn3rce.png",
    "brand.color.primary": "#4f46e5",
    "brand.color.background": "#0f172a",
    "brand.color.text": "#ffffff",
    "brand.font.heading": "Playfair Display",
    "brand.font.body": "Inter",
    "brand.website": "acme.com",
    "brand.tagline": "Rockets, mostly"
  },
  "created": "2026-10-12T18:00:00Z",
  "updated": "2026-10-12T18:00:00Z"
}
401Missing or invalid API key (from the gateway)
404No such template or record on this account
{
  "error": "string",
  "message": "string",
  "param": "string"
}
Try it — sign in first
Runs on a sandbox key: 200 requests a month. Your real key is for production.