Skip to main content
Base URL https://app.contenthero.ai/api/v1. All endpoints take a bearer API key. The tables on this page are generated from the route contract: the Scope column is the scope the key needs (None means any valid key), and the fields under a route are its query, body and, where declared, its answer.

Generation

POST /studio/generate takes a contentType (image, video or audio) and a modelId; the model registry decides which other fields apply. It smart-waits, then answers the asset or an outputId to poll. Pass getCost: true to preview the cost only. A long post transcription answers 202 with status: "running": ask again with the same post to follow it, free. A generation reference (start frame, image input, audio) accepts a raw URL or a ContentHero output-id token <uuid>-<N>.
Body
Body
Body
Body

Models

Query

Media

GET /download/{id} answers 404 when the id names nothing of yours and 409 when the file is not made yet. Each link it returns is a save link that names the file, needs no sign-in and does not expire. It never spends.
QueryResponse
Query
Body
QueryResponse
BodyResponse

Avatars, voices and Kling elements

Query
Body
Body
Body
Body
Query
Query
Body
Body
See the Generate guide for the workflow, chaining, and cost preflight.