---
title: "On-brand AI image generation API for agents | Cuppa AI"
url: https://cuppa.ai/use-cases/on-brand-image-generation-api-for-ai-agents
description: "Generate hero images, blog images and social visuals that follow your brand colors, mood and assets, one at a time or in bulk."
updated: 2026-11-18
mcp_server: @cuppa-ai/mcp-server@0.2.0
cli: @cuppa-ai/cli@0.1.8
---
# On-brand AI image generation API for agents | Cuppa AI

Generate hero images, blog images and social visuals that follow your brand colors, mood and assets, one at a time or in bulk.

Prompt: "Use Cuppa to generate 3 on-brand hero images for a post about remote work."

## How to do it

- MCP tools: `generate_image`, `generate_images_bulk`, `generate_mood_board`
- CLI: `cuppa image generate -s <site-id> -p "<prompt>"`
- REST: POST /v1/images, POST /v1/images/bulk

1. **Generate.** Call generate_image with the site id and prompt.
2. **Bulk.** Use generate_images_bulk for many images and poll its request id.

Output: Image URLs styled with your brand visual identity.

## Keys and cost

- Provider keys: Replicate (Flux, Nano Banana Pro), OpenAI or Google.
- Cost: Plan fee plus about $0.15 per image on Nano Banana Pro (your Replicate key).
- API, CLI and MCP access is included on every plan, including Solo. Plans from $99/month billed annually.

## FAQ

**Can I pick the model?**

Yes. List models with list_image_models (GET /v1/meta/image_models) and pass one whose provider key you connected.

## Connect an agent



Claude Code:

```bash
claude mcp add cuppa -e CUPPA_API_KEY=cpa-your-key -- npx -y @cuppa-ai/mcp-server
```

Codex:

```bash
codex mcp add cuppa --env CUPPA_API_KEY=cpa-your-key -- npx -y @cuppa-ai/mcp-server
```

Cursor, Claude Desktop, Windsurf (mcp.json):

```json
{
  "mcpServers": {
    "cuppa": {
      "command": "npx",
      "args": [
        "-y",
        "@cuppa-ai/mcp-server"
      ],
      "env": {
        "CUPPA_API_KEY": "cpa-your-key"
      }
    }
  }
}
```

CLI:

```bash
npm i -g @cuppa-ai/cli
cuppa auth login --key cpa-your-key
cuppa auth status
```

REST:

```bash
curl -s https://api.cuppa.ai/v1/sites \
  -H "X-API-KEY: cpa-your-key"
```

Verify: `cuppa auth status` prints your team and key status. In MCP, ask the agent to call `list_sites`; it should return your brands.

---

Index of every Markdown page: https://cuppa.ai/llms.txt · Setup: https://cuppa.ai/developers.md · Pricing: https://cuppa.ai/pricing.md
