Skip to main content
POST
Create a media task
Operations are enabled individually by server configuration. Disabled operations return 503 without a task. Music credit deduction is currently disabled.

Request

Send model and an input object. Place optional output_count and fallback inside input according to the model schema. callback_url is an optional top-level public HTTPS URL. No max_credits, quote step, or submission idempotency key is used. Each successful acceptance creates a new task. Retrying after an uncertain network timeout may create and charge another task. Enabled Suno operations create durable tasks. Disabled operations return 50301 without creating a task.

Acceptance response

Successful acceptance for an enabled model returns HTTP 200 with data.task_id. Acceptance does not mean generation succeeded. A disabled operation returns HTTP 503 with code 50301 and does not create a task.

Authorizations

Authorization
string
header
required

Every valid key can submit and query its own account. Revoked keys are rejected.

Body

application/json
model
string
required
Example:

"prism-image-2"

input
object
required

Validate against the selected model input_schema. output_count/fallback are optional model-specific input fields; never top-level.

Example:
callback_url
string<uri>

Optional public HTTPS endpoint for signed completion callbacks; no redirects or private IPs.

Response

Accepted task. Poll the common task endpoint or use callback_url.

code
any
required
msg
any
required
data
object
required