Music

Retrieve a music generation task

get/v1/music/generations/{id}

Request

  • Base URL: https://www.lacuna.fm/api
  • URL: https://www.lacuna.fm/api/v1/music/generations/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Generation task ID from the id field of the POST response.

Response

Task object.

idstring required

Generation task ID. Pass this exact value as {id} to retrieve the task.

status'pending' | 'ready' | 'failed' required

pending while task is in-flight; ready when tracks are available.

model'aether' | 'echo' | 'nocturne' | 'null' nullable required
created_atstring date-time required
updated_atstring date-time required
credits_usedinteger required
credits_refundedinteger required

Example response

{
  "id": "cm123abc..."
}

Changes

No recorded changes to this operation across all 1 revision of this API.