"message": "Not enough credits to start this task.",
"details": { /* optional, context-specific */ }
}
}
Every response — error or success — carries X-Request-Id in the headers. Always
include this in support tickets; it’s the single fastest way for us to trace the
problem.
Submission accepted but generation failed downstream
The first kind does not charge credits. The second usually refunds eligible
credits automatically; partial-output cases may keep a smaller final charge.
This is the curated, human-readable view of the platform error codes.
Module-specific codes, such as the MV_* family for the Music Video API, are
documented in their module guide rather than repeated here. For request and
response schemas, see the Interactive API Reference.
Add credits from the dashboard. For MV or Vidu, increase maxCredits only when the error details show that your submitted budget cap was exceeded. Suno and Producer do not accept maxCredits.
BALANCE_NOT_INITIALIZED
402
Account balance is not ready yet. Open the dashboard once, then retry.
Confirm the task id and that the task is still available.
TASK_ALREADY_EXISTS
409
Idempotency collision (rare). Re-poll the original id.
CONFLICT
409
Generic state/idempotency conflict (e.g. competing edit). Re-poll or reconcile, then retry.
TASK_CREATION_FAILED
500
Transient — retry.
TASK_EXECUTION_FAILED
500 / (task status)
Generation failed after the task was accepted. Inspect errorMessage; eligible credits are refunded unless partial output was billable.
EXPIRED
task status
The feature-specific task deadline passed after a final status read. Inspect retryable and refunded, then submit a fresh task when retryable.
PROVIDER_PROCESSING_TIMEOUT
task status
An accepted generation operation remained non-terminal through its processing deadline. Inspect retryable and refunded, then submit a fresh task when retryable.
TASK_CANCELLED
409 / (task status)
Cancelled before completion. Contact support if unexpected.