Skip to main content
GET
/
v1
/
music
/
generations
/
{id}
curl "https://api.lemondata.cc/v1/music/generations/music_abc123" \
  -H "Authorization: Bearer sk-your-api-key"
{
  "id": "suno:abc123",
  "status": "completed",
  "audio_url": "https://cdn.suno.ai/abc123.mp3",
  "video_url": "https://cdn.suno.ai/abc123.mp4",
  "title": "Night Drive",
  "lyrics": "[Verse 1]\nDriving through the night..."
}
Poll this endpoint to check the status of your music generation task.

Path Parameters

id
string
required
The music generation task ID.

Response

id
string
Task ID.
status
string
Task status: pending, processing, completed, or failed.
progress
integer
Progress percentage (0-100).
audio_url
string
URL to download the audio file (when completed).
video_url
string
URL to the video version with visualizer (when completed).
title
string
Generated song title.
lyrics
string
Generated or provided lyrics.
error
string
Error message (when failed).
curl "https://api.lemondata.cc/v1/music/generations/music_abc123" \
  -H "Authorization: Bearer sk-your-api-key"
{
  "id": "suno:abc123",
  "status": "completed",
  "audio_url": "https://cdn.suno.ai/abc123.mp3",
  "video_url": "https://cdn.suno.ai/abc123.mp4",
  "title": "Night Drive",
  "lyrics": "[Verse 1]\nDriving through the night..."
}