Image generation
A prompt → a production-ready image. Marketing visuals, product scenes, and consistent brand imagery.
POST/v1/image
The example in the published schema
charged 00 credits
- auth (bearer key)
- per-key throttle
- validate body
- balance precheck
- run the capability
- charge credits ON SUCCESS ONLY
- 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 farcurl 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
Transcription pausedAn audio recording → accurate text with speakers and paragraph timestamps. Meetings, calls, voice notes.Agent memory $0.02/operationStore, search, and forget memories for your agents, semantic recall on your own namespace, no vector DB to run.Text to speech $0.05/clipText → natural speech audio, ready to embed. Voice notes, IVR lines, narration.