Query Results
query generation results api, use workId to check generation status and get the final results
Query Generation Results
API Endpoint
URL: GET https://udioapi.pro/api/v2/feed
Query Parameter: workId
Code Examples
Response Format
A successful response will return a JSON object with the following structure:
Normally, music generation goes through three stages: text, first, and complete.
- Once the lyrics generation is completed
- First audio generated successfully Response
- All two audios generated successfully Response
Response Fields
| Field | Type | Description |
|---|---|---|
| code | number | HTTP status code |
| message | string | Response message |
| data.type | string | Result type ("SUCCESS", "IN_PROGRESS", etc.) |
| data.request_body | object | Original generation request parameters |
| data.response_data | array | Array of generated results |
| data.created_at | string | Timestamp of the generation request |
Generated Result Fields
| Field | Type | Description |
|---|---|---|
| id | string | Unique identifier of the generated result |
| audio_url | string | URL to the generated audio file (MP3) |
| image_url | string | URL to the generated cover image |
| image_large_url | string | URL to the high-resolution cover image, now unused |
| created_at | string | Timestamp of the result creation |
| timestamp | number | Unix timestamp in milliseconds |
| status | string | Status of the generation ("complete", "pending", etc.) |
| title | string | Title of the generated music |
| prompt | string | Original prompt used for generation |
| tags | string | Style tags of the generated music |
| duration | number | Duration of the generated audio in seconds |
| model_name | string | Name of the model used for generation |
| extra_message | string | Additional success information message |
| fail_message | string | Failure message if generation failed |
| error_message | string | Error message if any errors occurred |
fail_message sample
Suno Official Regulatory restrictions:
Does Not Meet Guidelines
Prompt contained inappropriate material
This song violates Suno's content moderation policy.
500 Audio generation failed.
500 Internal Error, Please try again later.
408 timeout
