Endpoint
task_id. Poll Get Task for results.
Takes a hummed melody or sample audio clip (uploaded via Upload Audio) and generates a full AI-produced song based on its melody and rhythm.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
clip_id | string | Yes | Clip ID of the source humming/sample audio (from Upload Audio). |
start_s | float | No | Start time in seconds of the sample to use. Default 0. |
end_s | float | No | End time in seconds of the sample. Default 0 (use full clip). |
mv | string | No | Model version (e.g. "chirp-v3-5"). Uses default if omitted. |
callback_url | string | No | Webhook URL for completion notification. See Webhooks. |
retention_days | integer | No | Days to retain audio files. Default 7. |
Response
Workflow
- Record a hummed melody or audio sample
- Upload via Upload Audio → get
clipId - Call this endpoint with the
clipId→ gettask_id - Poll Get Task until
status = "completed" - Access the generated track via
results[].audio_url