Workflow
Step 1: Prepare — Create Session
Create a session and bind an account. All subsequent upload and create calls use the same account automatically.Request
Response
The
sessionId is the unique identifier for the entire workflow. Keep it for subsequent steps.Step 2: Upload — Upload Training Audio
Upload audio files one at a time. Each call is async and returns ataskId. You need to poll until the task succeeds to get the clipId from the result.
Minimum 6 audio files are required before you can proceed to the create step. Multiple uploads can run in parallel.
Request
| Field | Type | Required | Description |
|---|---|---|---|
sessionId | string (UUID) | Yes | Session ID from prepare step |
audioUrl | string (URL) | Yes | Publicly downloadable audio URL |
Task Result
On success, theresult contains clip info including an id field — this is the clipId needed for the create step.
See Upload API Reference →
Step 3: Create — Submit for Training
After collecting at least 6 clipIds from successful uploads, submit the training request. This costs 100 credits and takes approximately 2-3 minutes.Request
| Field | Type | Required | Description |
|---|---|---|---|
sessionId | string (UUID) | Yes | Session ID from prepare step |
clipIds | string[] | Yes | Clip IDs from upload results (at least 6) |
name | string | Yes | Custom model name |
The returned
taskId equals the sessionId. You can poll using either one.result contains the custom model details. The model ID format is chirp-custom:<uuid>.
See Create API Reference →
Using Your Custom Model
Once training is complete, use the model ID directly in the Generate endpoint:Complete Example
Failure Recovery
- Upload fails: Retry with the same
sessionId— no need to re-prepare. - Create fails (e.g. parameter error): Retry with the same
sessionIdand corrected parameters. The system automatically resets the session state. - Prepare rarely fails since it only creates a session and binds an account.
Important Notes
- Same account guarantee: prepare / upload / create automatically use the same Suno account — no manual specification needed.
- Credits: The create step costs 100 credits. Upload steps also have minor credit costs based on task pricing configuration.
- ClipId validation: All
clipIdsin the create request must come from uploads within the current session, otherwise a 400 error is returned. - Parallel uploads: Multiple upload requests can be sent concurrently without conflicts.
- Model limits: Each custom account has a maximum number of models it can create, configured by the administrator.