Text
POST /v1/generate/text
{ "brand": "br_7f3c", "brief": "4 posts about the new pastry", "channels": ["instagram"] }
202 Accepted
{ "job": "job_5fd", "credits": 4 }
Image
POST /v1/generate/image
{ "brand": "br_7f3c", "prompt": "counter at 7am, warm light", "size": "1080x1350" }
Poll
GET /v1/jobs/job_5fd
{ "status": "done", "result": { "posts": [ ... ] } }
Webhooks
Register a URL and receive job.done or job.failed. Retries for 24 hours with backoff.
Credits
Charged when the job completes, refunded automatically on failure.