Back to Suno Model

Generate Music Cover

Generate AI cover images for your generated music tracks. Consumes 1 credit per request.

1. Generate Cover

POST/api/v1/audio/music/cover/generate

Start a cover generation task for an existing music track.

  • Requires a completed music generation task ID.
  • Generates 2 different style images for selection.
  • Credits: 1 credit per request.

Request Parameters

ParameterTypErforderlichBeschreibung
taskIdstringErforderlichThe task ID of the original music generation. This is the workId returned from the /v2/generate endpoint.

cURL Example

bash
curl -X POST "https://apiin.one/api/v1/audio/music/cover/generate" \
  -H "Authorization: Bearer aio_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "taskId": "gen123213213213123bksv"
  }'

Response Example

json
{
  "code": 200,
  "msg": "success",
  "data": {
    "taskId": "cover123123213213b880d2"
  }
}

2. Check Status

GET/api/v1/audio/music/cover/status?task_id={task_id}

Poll for the status of your cover generation task using the task_id returned from the generate endpoint.

Request Parameters

ParameterTypErforderlichBeschreibung
task_idstringErforderlichThe cover task ID returned from /v2/cover/generate

cURL Example

bash
curl -X GET "https://apiin.one/api/v1/audio/music/cover/status?task_id=cover123123213213b880d2" \
  -H "Authorization: Bearer aio_your_api_key_here"

Response Example

json
{
  "code": 200,
  "msg": "success",
  "data": {
    "taskId": "cover123123213213b880d2",
    "status": "SUCCESS",
    "images": [
      "https://tempcover.storage.com/s/123.png",
      "https://tempcover.storage.com/s/456.png"
    ],
    "created_at": "2026-02-24T12:00:30Z"
  }
}

Error Handling

Status CodeTypErforderlichBeschreibung
400bad_requestOptionalCover already generated for this task, or invalid params.
401authentication_errorOptionalInvalid or missing API key.
404not_foundOptionalOriginal music task or cover task not found.