Skip to main content
GET
/
music
/
generate
/
{music_id}
Get music generation status
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.phaseo.app/v1/music/generate/{music_id}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{}
Use this endpoint to poll a music job created by POST /music/generate.

Response Shape

{
  "id": "task_123",
  "object": "music",
  "status": "completed",
  "provider": "suno",
  "model": "V4_5PLUS",
  "nativeResponseId": "task_123",
  "output": [
    {
      "index": 0,
      "id": "clip_1",
      "audio_url": "https://...",
      "stream_audio_url": "https://...",
      "image_url": "https://...",
      "title": "Midnight Blue",
      "tags": "jazz, piano",
      "duration": 8
    }
  ],
  "usage": {
    "output_audio_count": 1,
    "output_audio_seconds": 8
  }
}

Notes

  • status can be: queued, in_progress, completed, failed.
  • usage is included when generation is complete.
  • Status polling supports provider-specific backends (Suno, ElevenLabs, MiniMax) behind one endpoint.

Authorizations

Authorization
string
header
required

Bearer token authentication

Path Parameters

music_id
string
required

The ID of the music generation request.

Response

200 - application/json

Music generation status response

The response is of type object.

Last modified on February 25, 2026