Create an infographic
infographic.generate credits, held now and charged when the image is ready. Counts toward the daily image cap.
Authorizations
Send your API key in the x-api-key header on every request.
- Create a key in PostChamp under Settings → API keys. API access needs the Studio plan.
- Keys start with
pc_live_. The full key is shown once, when you create it: copy it then. Afterwards only its prefix is shown; lost keys are revoked and replaced. - Calls run as the person who created the key, with their current role, and spend the organization's credits.
- Limits per key: 120 requests per minute, 20 generation calls per minute. Keep the key on your server, never in a browser or app.
Headers
Required. ≤ 100 printable characters. A retry with the same key and body returns the first answer and is never charged twice; the same key with another body → 409 idempotency_conflict. Answers are kept 24 h.
Example: "order-8812-post-1"
Path Parameters
Example: "7d2c3f4e-9a0b-4c5d-8e6f-1a2b3c4d5e6f"
Body
application/jsonMaximum string length: 50000
Maximum string length: 100000
Maximum array length: 20
Available options: html, ai_image
Available options: infographic-flat-grid, infographic-bright-data, infographic-mono-line, infographic-notebook, infographic-magazine, infographic-dark-data, infographic-blueprint, infographic-poster-print
Available options: photo, editorial_illustration, flat_vector, 3d_clay, line_art, watercolor, isometric, minimal, bold_poster, risograph, paper_cut, blueprint, null
Maximum array length: 20
Available options: style, subject, logo
Available options: portrait, square, landscape
Response
Queued. Poll GET /infographics/{id} or follow the job (jobId) until it is ready.
A queued version (status is the version's status now on a replay).
Available options: queued, running, ready, failed, cancelled