Skip to content
MCPBytes

Images

Type a sentence.Get the picture.

One request returns a finished PNG, with a real transparent background when you ask for it.

20 credits per job · 100 free credits to start

A blue-glazed ceramic teapot on a transparent background
“a ceramic teapot with a blue glaze”

Real transparency.

Ask for a transparent background and the alpha channel comes with the image. Nothing to mask, nothing to clean up.

Three shapes.

Square, landscape or portrait, at 1024 pixels and above, ready for a page, a product sheet or a 3D pipeline.

Repeatable.

Every image ships with the seed and settings that made it, so the same request gives the same picture again.

Pricing

Pay per job, in credits.

20 credits per job. A job that fails costs nothing.

Pricing details

Start free

Available now

100free credits when you sign up

  • Every MCPBytes tool, one credit balance
  • Sign in with GitHub or email, no card required
  • Each tool states its price before you run it
  • A job that fails costs nothing

Price per job

Text to Image

Per job
20 credits

Limits

Jobs
20 per rolling 24 hours
Prompt
Up to 4,000 characters
At a time
1 job
Uploads
Up to 50 MB
Results
Kept for 24 hours

API

Call it from code or from an agent.

The same tool runs over the REST API and as MCP tools. One API key works for both.

Start a job

Send the required parameters as JSON. Options such as prompt go in the options object.

Requestgenerate.sh
# idempotency_key is required: repeating the same request returns the same job
curl https://api.mcpbytes.com/v1/tools/create_image/jobs \
  -H "Authorization: Bearer $MCPBYTES_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "options": {
      "prompt": "a ceramic teapot with a blue glaze",
      "transparent_background": true,
      "seed": 42
    },
    "idempotency_key": "image-example-001"
  }'
Response202 Accepted · trimmed
{
  "tool": "create_image",
  "status": "queued",
  "input_kind": "parameters",
  "options": {
    "prompt": "a ceramic teapot with a blue glaze",
    "preset": "standard",
    "aspect_ratio": "1:1",
    "transparent_background": true,
    "seed": 42
  },
  "workflow": {
    "stage": "image",
    "deadline": "2026-09-22T04:54:31.021Z",
    "cancel_pending": false,
    "refund_pending": false
  },
  "capabilities": {
    "can_cancel": true
  },
  "result": null
}

Get the result

Poll the job until it succeeds or fails, then download the files.

Requestread.sh
# JOB_ID is the id from the create response; poll until status is final
curl "https://api.mcpbytes.com/v1/jobs/$JOB_ID" \
  -H "Authorization: Bearer $MCPBYTES_API_KEY"

# Once status is succeeded, download the image from result.files[].url
curl -fsSLo image.png "$IMAGE_URL"
Response200 OK · trimmed
{
  "tool": "create_image",
  "status": "succeeded",
  "credits_charged": 20,
  "compute_ms": 40083,
  "result": {
    "files": [
      {
        "name": "image.png",
        "bytes": 1110043,
        "content_type": "image/png",
        "url": "https://api.mcpbytes.com/blob/dl/…"
      },
      {
        "name": "generation.json",
        "bytes": 1329,
        "content_type": "application/json",
        "url": "https://api.mcpbytes.com/blob/dl/…"
      }
    ]
  }
}

MCP

Connect once. Your agent calls create_image and gets the download URLs back. This endpoint has only this tool's family, which keeps your agent's tool list short; one endpoint has every tool.

Claude Code

The first form signs in through the browser when you run /mcp. In .mcp.json (project root), ${MCPBYTES_API_KEY} is read from the environment when Claude Code connects. Claude Code docs

claude mcp add --transport http mcpbytes \
  https://api.mcpbytes.com/mcp/image
Codex (CLI, IDE extension, ChatGPT desktop)

Codex reads the key from the environment variable each time it connects. The same table can go in ~/.codex/config.toml by hand; codex mcp add has no --header flag. Codex docs

codex mcp add mcpbytes --url https://api.mcpbytes.com/mcp/image \
  --bearer-token-env-var MCPBYTES_API_KEY
Cursor

~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project). Remote servers take no "type". Without the header, the client signs you in with GitHub or an email link (OAuth). Cursor docs

~/.cursor/mcp.json
{
  "mcpServers": {
    "mcpbytes": {
      "url": "https://api.mcpbytes.com/mcp/image",
      "headers": {
        "Authorization": "Bearer ${env:MCPBYTES_API_KEY}"
      }
    }
  }
}
11 more clients in the docs →
MCP tools
create_image
Generate one image from a prompt and approved preset. Returns image.png and generation.json. This is an asynchronous job; use get_job to follow progress. Costs 20 credits per job.
create_upload
Returns a one-hour URL to PUT a local file to; then call the tool with the upload_id.
get_job
Status and results of a job; waits up to wait_seconds for it to finish.
cancel_job
Request cancellation when the job advertises can_cancel; repeated calls never delete results.
list_jobs
Your most recent jobs, newest first.
read_job_file
Reads a text output (.txt .json .md .csv) of a succeeded job in chunks.

From API key to first call in minutes.

Sign in with GitHub, create a key, and point your agent or code at MCPBytes. Your first 100 credits are free.

# Sign in with GitHub when prompted
claude mcp add --transport http mcpbytes \
  https://api.mcpbytes.com/mcp

# Or use an API key
claude mcp add --transport http mcpbytes \
  https://api.mcpbytes.com/mcp \
  --header "Authorization: Bearer $MCPBYTES_API_KEY"