ParseRail
api.thecompound.tech/v1
39 endpoints1 paused242/242 checks passingcredits from $20

Media & agents

Image generation

A prompt → a production-ready image. Marketing visuals, product scenes, and consistent brand imagery.

POST/v1/image$0.10/image, 10 credits, charged only on success30 calls a minute per key

The example in the published schema

charged 0 credits
  1. auth (bearer key)
  2. per-key throttle
  3. validate body
  4. balance precheck
  5. run the capability
  6. charge credits ON SUCCESS ONLY
  7. JSON
The request body/v1/image
{
  "prompt": "A minimal hero image of a bamboo standing desk in warm morning light",
  "style": "editorial photography",
  "aspectRatio": "16:9"
}
The responsepublished example
// sending the call
// 0 credits charged so far
curl https://api.thecompound.tech/v1/image \
  -H "Authorization: Bearer $COMPOUND_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"A minimal hero image of a bamboo standing desk in warm morning light","style":"editorial photography","aspectRatio":"16:9"}'

Scored

2 of 2 field checks passed when the eval suite last ran against production, on 2026-07-08. Every endpoint's score

The Media & agents guide has this endpoint with its example response. The reference has every parameter.

More from Media & agents

Get a key and buy credits