Generate Music Cover
Generate AI cover images for completed music tracks, then poll the cover task for final artwork URLs.
Use the unified API in One gateway for all Suno routes.
Create a cover task, then poll by task ID.
Charged per cover generation request.
/api/v1/audio/music/cover/generateGenerate Cover
Start a cover generation task for an existing music track.
Use a completed music generation task ID to create cover image candidates.
- Requires a completed music generation task ID.
- Generates two different style images for selection.
- Returns a cover task ID for status polling.
Body Parameters
The task ID returned from the original music generation endpoint.
cURL Example
| 1 | curl -X POST "https://apiin.one/api/v1/audio/music/cover/generate" \ |
| 2 | -H "Authorization: Bearer aio_your_api_key_here" \ |
| 3 | -H "Content-Type: application/json" \ |
| 4 | -d '{ |
| 5 | "task_id": "gen123213213213123bksv" |
| 6 | }' |
Task Response
| 1 | { |
| 2 | "code": 200, |
| 3 | "msg": "success", |
| 4 | "data": { |
| 5 | "taskId": "cover123123213213b880d2" |
| 6 | } |
| 7 | } |
/api/v1/audio/music/cover/status?task_id={task_id}Check Cover Status
Poll for completed cover image URLs.
Use the task ID returned from the generate endpoint to fetch current status and final images.
Query Parameters
The cover task ID returned from /cover/generate.
cURL Example
| 1 | curl -X GET "https://apiin.one/api/v1/audio/music/cover/status?task_id=cover123123213213b880d2" \ |
| 2 | -H "Authorization: Bearer aio_your_api_key_here" |
Completed Response
| 1 | { |
| 2 | "code": 200, |
| 3 | "msg": "success", |
| 4 | "data": { |
| 5 | "taskId": "cover123123213213b880d2", |
| 6 | "status": "SUCCESS", |
| 7 | "images": [ |
| 8 | "https://tempcover.storage.com/s/123.png", |
| 9 | "https://tempcover.storage.com/s/456.png" |
| 10 | ], |
| 11 | "created_at": "2026-02-24T12:00:30Z" |
| 12 | } |
| 13 | } |
Error Handling
API in One uses consistent authentication, credit, and validation errors across Suno endpoints.
Cover already generated for this task, or invalid params.
Invalid or missing API key.
Original music task or cover task not found.