Music result examples
Illustrative task detail extracts from GET /v1/generations/{task_id}. The full response can also include model, input, timestamps, and credits. IDs, tokens, dates, and URLs below are placeholders, not playable links.
Text: lyrics and metadata
This example has no preview URL yet. Actual text-stage responses may already contain expiring preview links.
{
"generation": {
"id": "task_example",
"status": "processing",
"stage": "text",
"result": {
"assets": [
{
"id": "track_example_1",
"title": "A New Day",
"prompt": "[Verse]\nA new day opens like a door\n[Chorus]\nA little brighter than before",
"tags": "acoustic pop, warm vocals"
},
{
"id": "track_example_2",
"title": "A New Day",
"prompt": "[Verse]\nA new day opens like a door\n[Chorus]\nA little brighter than before",
"tags": "acoustic pop, gentle guitar"
}
]
}
}
}First: temporary previews
Both tracks have preview links. Only the first track has a duration so far. Check each returned expiry before playing.
{
"generation": {
"id": "task_example",
"status": "processing",
"stage": "first",
"result": {
"assets": [
{
"id": "track_example_1",
"title": "A New Day",
"prompt": "[Verse]\nA new day opens like a door\n[Chorus]\nA little brighter than before",
"tags": "acoustic pop, warm vocals",
"duration": 182.4,
"audio_url": "https://api.example.com/v1/generations/task_example/tracks/track_example_1/stream?token=EXAMPLE_TOKEN",
"stream_audio_url": "https://api.example.com/v1/generations/task_example/tracks/track_example_1/stream?token=EXAMPLE_TOKEN",
"stream_expires_at": "2026-09-30T09:00:00.000Z"
},
{
"id": "track_example_2",
"title": "A New Day",
"prompt": "[Verse]\nA new day opens like a door\n[Chorus]\nA little brighter than before",
"tags": "acoustic pop, gentle guitar",
"audio_url": "https://api.example.com/v1/generations/task_example/tracks/track_example_2/stream?token=EXAMPLE_TOKEN",
"stream_audio_url": "https://api.example.com/v1/generations/task_example/tracks/track_example_2/stream?token=EXAMPLE_TOKEN",
"stream_expires_at": "2026-09-30T09:00:00.000Z"
}
]
}
}
}Complete: permanent results
The task has succeeded. Both tracks have permanent audio URLs and available covers.
{
"generation": {
"id": "task_example",
"status": "succeeded",
"stage": "complete",
"result": {
"assets": [
{
"id": "track_example_1",
"title": "A New Day",
"prompt": "[Verse]\nA new day opens like a door\n[Chorus]\nA little brighter than before",
"tags": "acoustic pop, warm vocals",
"duration": 182.4,
"audio_url": "https://assets.example.com/music/track_example_1/audio.mp3",
"stream_audio_url": "https://assets.example.com/music/track_example_1/audio.mp3",
"image_url": "https://assets.example.com/music/track_example_1/cover.jpeg"
},
{
"id": "track_example_2",
"title": "A New Day",
"prompt": "[Verse]\nA new day opens like a door\n[Chorus]\nA little brighter than before",
"tags": "acoustic pop, gentle guitar",
"duration": 195.8,
"audio_url": "https://assets.example.com/music/track_example_2/audio.mp3",
"stream_audio_url": "https://assets.example.com/music/track_example_2/audio.mp3",
"image_url": "https://assets.example.com/music/track_example_2/cover.jpeg"
}
]
}
}
}