Idempotency-Keyheader · OptionalUnique key for one logical write. Retrying the same body with the same key replays the original result; reusing it with a different body returns 409.
Maximum characters: 255./api/v1/suno/songsAuthentication · x-api-key
Create a song from text, a confirmed public Voice, or a managed upload + Extend/Cover workflow.
Scope: task:create
Billing and effects: Paid operation: credits are authorized when the Task is accepted. Review the quote or preflight and save the receipt.
Recovery: Save one Idempotency-Key with the exact request body before submission. Reuse both after an uncertain response.
Follow this operation’s workflow → · All permission rulesIdempotency-Keyheader · OptionalUnique key for one logical write. Retrying the same body with the same key replays the original result; reusing it with a different body returns 409.
Maximum characters: 255.Preferheader · OptionalSet to respond-async to skip the acknowledgement wait and return the generation receipt immediately.
Content-Type: application/json · Required body
Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.
Only the listed fields are accepted in this object.
modeRequiredGeneration mode. Vox accepts the three v6 generation models with account-specific permission checks; unsupported model combinations are rejected before task creation. Upload modes atomically import the supplied audio and then Extend or Cover it; standalone upload is not exposed.
Pattern: ^(simple|custom|vox|upload-extend|upload-cover)$.
audioOptionalPublic audio source and format information.
Only the listed fields are accepted in this object.
audio.urlRequiredPublicly retrievable audio URL used only by upload-extend or upload-cover.
Format: uri.
audio.extensionTypeOptionalAudio filename or media extension hint.
configOptionalStandard task configuration: priority, tags, metadata, and webhookUrl.
config.metadataOptionalFree-form caller metadata, echoed back on read. Stored as opaque JSON; the server never mutates it.
config.metadata[key]Each valueKey pattern: ^(.*)$.
config.priorityOptionalTask priority 1-10 (higher = sooner). Default 5.
Minimum: 1. Maximum: 10. Default: 5.
config.webhookUrlOptionalURL to receive task.* lifecycle events via the central webhook service.
Format: uri.
continueAtOptionalTimestamp in seconds to continue from. Values beyond the source duration are forwarded unchanged and Suno continues from the clip end.
Minimum: 0.
continuedAlignedPromptOptionalAligned continuation prompt used for an Extend operation.
Maximum characters: 5000.
controlSlidersOptionalOptional bounded generation-control weights.
controlSliders.audio_weightOptionalSource-audio adherence weight from 0 to 1.
Minimum: 0. Maximum: 1.
controlSliders.style_weightOptionalStyle adherence weight from 0 to 1.
Minimum: 0. Maximum: 1.
controlSliders.weirdness_constraintOptionalCreative-variation constraint from 0 to 1.
Minimum: 0. Maximum: 1.
instrumentalOptionalWhether to generate an instrumental result.
lyricsOptionalLyrics or lyric context supplied to the operation.
Maximum characters: 5000.
modelOptionalCurrent models: chirp-hawk, chirp-hawk-wild, chirp-goose. Legacy generation names and underscore spellings remain accepted: auk-turbo executes on goose; v4, auk, bluejay, crow and fenix execute on hawk. Requested model pricing and the legacy feature envelope are preserved. Omitted model retains the chirp-fenix pricing identity and executes on chirp-hawk.
Default: "chirp-fenix".
promptOptionalPrimary creative or operation instruction.
Maximum characters: 5000.
titleOptionalOptional customer-facing title.
Maximum characters: 100.
voiceIdOptionalReusable public Suno Voice identifier.
Read the HTTP status and body together. A receipt confirms acceptance; poll the returned Task or product view for terminal execution and media delivery. Example IDs and credit amounts are illustrative, not a price quote.
Complete JSON example (optional fields may be omitted).
{ "taskId": "018f47a0-7b38-7000-8000-000000000001", "status": "PENDING", "creditsRequired": 28, "requestId": "example-request", "links": { "task": "/api/v1/tasks/018f47a0-7b38-7000-8000-000000000001", "resource": "/api/v1/suno/generations/018f47a0-7b38-7000-8000-000000000003", "final": null }, "pricing": { "baseCredits": 28, "chargedCredits": 28, "adjustmentCredits": 0, "source": "standard", "quoteVersion": 1 }, "product": { "type": "suno", "providerCode": "suno", "modelCode": "chirp-hawk", "featureCode": "music", "resourceId": "018f47a0-7b38-7000-8000-000000000003", "deliveryStatus": "submitted", "autoFinalize": true }, "warningCodes": [], "pollUrl": "/api/v1/tasks/018f47a0-7b38-7000-8000-000000000001", "viewUrl": "/api/v1/suno/generations/018f47a0-7b38-7000-8000-000000000003", "finalUrl": null, "deliveryStatus": "submitted", "autoFinalize": true, "generationId": "018f47a0-7b38-7000-8000-000000000003", "clipIds": []}Complete JSON example (optional fields may be omitted).
{ "success": false, "error": { "code": "INVALID_API_KEY", "message": "Invalid API key" }}application/json
Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.
Only the listed fields are accepted in this object.
autoFinalizeRequiredWhether this workflow assembles its final output automatically after generation; do not buy a separate finalize while automatic delivery is pending.
clipIdsRequiredClip identifiers already known at acceptance; may be empty until provider submission creates candidates. Read the returned generation/Task to discover later results.
clipIds[]Each itemcreditsRequiredRequiredCredits required for this operation. A quote is an estimate; an accepted Task records its authorized charge.
Minimum: 0.
deliveryStatusRequiredMedia delivery state, independent of Task execution and quality review. Consume media only when delivery is ready.
May be null. Use a complete option below; the value must satisfy at least one option.
Option 1 — "submitted" | "queued" | "streaming" | "complete" | "error"OptionUse a complete option below; the value must satisfy at least one option.
Option 1 — "submitted"OptionOption 2 — "queued"OptionOption 3 — "streaming"OptionOption 4 — "complete"OptionOption 5 — "error"OptionOption 2 — nullOptionfinalUrlRequiredFinal media URL when available; null means no final URL is currently exposed. Follow the resource read for delivery readiness.
May be null.
generationIdRequiredSuno Generation identifier. Read the Generation to discover clip IDs and current playback URLs.
linksRequiredRead URLs associated with the accepted operation. Resolve relative paths against the API server.
Only the listed fields are accepted in this object.
links.finalRequiredFinal downloadable output URL when available; null while no final output URL is exposed.
May be null.
links.resourceRequiredURL of the product resource read. Use it to observe media delivery separately from Task execution.
links.taskRequiredRelative authenticated Task read URL for following this accepted operation.
pollUrlRequiredRead URL for the accepted operation. Poll this existing operation instead of resubmitting work.
pricingRequiredPrice recorded for this operation. Distinguish the accepted charge from final net settlement and any refunds.
Only the listed fields are accepted in this object.
pricing.adjustmentCreditsRequiredchargedCredits - baseCredits
pricing.baseCreditsRequiredStandard quoted credits before customer pricing adjustment
pricing.chargedCreditsRequiredCredits charged for this create request
Minimum: 0.
pricing.quoteVersionRequiredPricing quote version stored with the task
pricing.sourceRequiredPublic pricing source category
pricing.billingIncrementCreditsOptionalSmallest customer charge increment
Minimum: 0.0001.
pricing.calculatedCreditsOptionalPrecise whole-order subtotal before settlement rounding
pricing.settlementPolicyVersionOptionalVersioned customer settlement policy
pricing.settlementRoundingCreditsOptionalWhole-order rounding adjustment added at settlement
Minimum: 0.
productRequiredProduct context for this Task. Use the resource identifier and product read to follow delivery separately from Task execution.
Only the listed fields are accepted in this object.
product.autoFinalizeRequiredWhether this workflow assembles its final output automatically after generation; do not buy a separate finalize while automatic delivery is pending.
product.deliveryStatusRequiredMedia delivery state, independent of Task execution and quality review. Consume media only when delivery is ready.
May be null. Use a complete option below; the value must satisfy at least one option.
Option 1 — "submitted" | "queued" | "streaming" | "complete" | "error"OptionUse a complete option below; the value must satisfy at least one option.
Option 1 — "submitted"OptionOption 2 — "queued"OptionOption 3 — "streaming"OptionOption 4 — "complete"OptionOption 5 — "error"OptionOption 2 — nullOptionproduct.featureCodeRequiredCanonical Suno feature code selected for this operation, such as song generation or derivation.
product.modelCodeRequiredCanonical Suno model code selected for the Task, separate from the provider model display name.
product.providerCodeRequiredCanonical provider code for this Task's product context, normally suno.
product.resourceIdRequiredIdentifier of the product resource, separate from the Task executing an operation on it.
product.typeRequiredProduct resource type associated with the accepted Suno operation; used to choose the matching resource read.
requestIdRequiredRequest correlation identifier. Keep it with your Task and idempotency key for support; it is not an idempotency key.
May be null.
statusRequiredState of the object containing this field. Use its listed values; operation acceptance, Task completion and media delivery are separate states.
Default: "PENDING".
taskIdRequiredOperation Task identifier. Save it before polling; a receipt does not mean the operation has completed.
viewUrlRequiredResource read URL. Read it to observe progress and current output; it is not itself the finished media.
warningCodesRequiredNonfatal findings or delivery fallbacks. Inspect each warning; a warning alone does not imply failure or a refund.
warningCodes[]Each itemestimatedCompletionTimeOptionalEstimated completion time as an RFC 3339 string.
May be null. Use a complete option below; the value must satisfy at least one option.
Option 1 — stringOptionEstimated completion time as an RFC 3339 string.
Format: date-time.
Option 2 — nullOptionapplication/json
Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.
errorRequiredStructured failure information. Branch on code, show message, and interpret details only for that code. The request ID is returned in the X-Request-Id header.
error.codeRequiredApplication-specific error code (see error catalog)
error.messageRequiredHuman readable error message
error.detailsOptionalOptional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.
error.details[key]Each valueKey pattern: ^(.*)$.
successRequiredAlways false for error responses
application/json
Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.
errorRequiredStructured failure information. Branch on code, show message, and interpret details only for that code. The request ID is returned in the X-Request-Id header.
error.codeRequiredApplication-specific error code (see error catalog)
error.messageRequiredHuman readable error message
error.detailsOptionalOptional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.
error.details[key]Each valueKey pattern: ^(.*)$.
successRequiredAlways false for error responses
application/json
Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.
errorRequiredStructured failure information. Branch on code, show message, and interpret details only for that code. The request ID is returned in the X-Request-Id header.
error.codeRequiredApplication-specific error code (see error catalog)
error.messageRequiredHuman readable error message
error.detailsOptionalOptional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.
error.details[key]Each valueKey pattern: ^(.*)$.
successRequiredAlways false for error responses
Forbidden: the API key lacks the required scope or its IP policy rejects this request. Forbidden: API-key scope/IP restrictions or billing hold. A positive balance does not bypass payment review. Check GET /api/v1/account/credits billingStatus before further paid requests.
application/json
Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.
errorRequiredStructured failure information. Branch on code, show message, and interpret details only for that code. The request ID is returned in the X-Request-Id header.
error.codeRequiredApplication-specific error code (see error catalog)
error.messageRequiredHuman readable error message
error.detailsOptionalOptional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.
error.details[key]Each valueKey pattern: ^(.*)$.
successRequiredAlways false for error responses
application/json
Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.
errorRequiredStructured failure information. Branch on code, show message, and interpret details only for that code. The request ID is returned in the X-Request-Id header.
error.codeRequiredApplication-specific error code (see error catalog)
error.messageRequiredHuman readable error message
error.detailsOptionalOptional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.
error.details[key]Each valueKey pattern: ^(.*)$.
successRequiredAlways false for error responses
application/json
Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.
errorRequiredStructured failure information. Branch on code, show message, and interpret details only for that code. The request ID is returned in the X-Request-Id header.
error.codeRequiredApplication-specific error code (see error catalog)
error.messageRequiredHuman readable error message
error.detailsOptionalOptional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.
error.details[key]Each valueKey pattern: ^(.*)$.
successRequiredAlways false for error responses
Request allowance or task admission capacity exceeded. Follow Retry-After when present; otherwise wait for active tasks and use bounded backoff. Limits do not guarantee throughput. For SSE, this is the HTTP connection response, not an event.
application/json
Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.
errorRequiredStructured failure information. Branch on code, show message, and interpret details only for that code. The request ID is returned in the X-Request-Id header.
error.codeRequiredRATE_LIMITED for request and task admission rejections.
error.messageRequiredHuman-readable explanation. Wording may change; use the machine-readable code for programmatic decisions.
error.detailsOptionalOptional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.
error.details.currentOptionalCurrent count for the rate-limit window identified by policy and scope.
Minimum: 0.
error.details.inFlightOptionalCurrent accepted tasks counted against the relevant account or API-key admission limit.
Minimum: 0.
error.details.limitOptionalMaximum count allowed by this response context. A limit is not a throughput guarantee.
Minimum: 0.
error.details.policyOptionalAllowance bucket: query for resource reads, operation for task-producing or operation requests. See the rate-limit response headers.
error.details.retryAfterSecOptionalSuggested delay in seconds before another request. Honor the Retry-After header when present; use bounded backoff.
Minimum: 1.
error.details.scopeOptionalEntity whose allowance was exceeded, such as the user, API key or IP address.
error.details.tierOptionalAccount allowance tier used for this admission or rate-limit decision.
error.details.typeOptionalAdmission limit that rejected the request: rps (continuously refilled requests-per-second bucket), daily or monthly UTC request budget. Interpret with policy, scope and retryAfterSec.
error.details[key]Each valueKey pattern: ^(.*)$.
successRequiredWhether this response reports a successful action; false accompanies the structured error object.
Default: false.
application/json
Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.
errorRequiredStructured failure information. Branch on code, show message, and interpret details only for that code. The request ID is returned in the X-Request-Id header.
error.codeRequiredApplication-specific error code (see error catalog)
error.messageRequiredHuman readable error message
error.detailsOptionalOptional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.
error.details[key]Each valueKey pattern: ^(.*)$.
successRequiredAlways false for error responses
application/json
Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.
errorRequiredStructured failure information. Branch on code, show message, and interpret details only for that code. The request ID is returned in the X-Request-Id header.
error.codeRequiredApplication-specific error code (see error catalog)
error.messageRequiredHuman readable error message
error.detailsOptionalOptional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.
error.details[key]Each valueKey pattern: ^(.*)$.
successRequiredAlways false for error responses