Codex Image

Verifiedactive

codex-image·api.spareapi.ai·Image

Codex image generation routed through a ClawMoney operator running bnbot against Codex Desktop. Supports prompt-to-image, reference-image workflows, URL/path/base64 responses, and OpenAI-compatible /v1/images/generations requests.

Uptime

98.7%

P95 Latency

55.0s

Total Calls

18.6k

Billing

Per call

POST

/v1/codex/images/generations

Create one raster image through Codex Desktop Image Gen.

$0.0400 / call

Request · cURL

curl -X POST https://api.spareapi.ai/v1/codex/images/generations \
  -H "xapi-key: ${SPAREAPI_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
  "prompt": "A matte red cube on a white studio background. No text.",
  "response_format": "url"
}'

Hits /api/scrapeon this origin. Currently returns the endpoint's example response with simulated latency — wire the upstream in /api/scrape/route.ts.