Skip to main content
GET
Python

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <api_key>, where <api_key> is your API key. To get your API key, go to Developer Hub and click "Create new API Key".

Path Parameters

id
string
required

Unique ID of the audio project. This value is returned by all of the POST APIs that create an audio.

Example:

"cuid-example"

Response

Success

Success

id
string
required

Unique ID of the audio. Use it with the Get audio Project API to fetch status and downloads.

Example:

"cuid-example"

name
string | null
required

The name of the audio.

Example:

"Example Name"

status
enum<string>
required

The status of the audio.

  • draft - the project was created but has not been submitted for rendering
  • queued - the job is waiting for an available server
  • rendering - the job is being processed; the audio.started webhook event fires when rendering begins
  • complete - the job finished successfully; fires audio.completed
  • error - the job failed during processing; fires audio.errored
  • canceled - the job was manually canceled (for example from the Magic Hour web app)

Note: rendering, complete, and error have matching webhook events; canceled does not - a canceled job emits no webhook event, so poll this endpoint to detect cancellation.

Available options:
draft,
queued,
rendering,
complete,
error,
canceled
Example:

"complete"

type
string
required

The type of the audio project. Possible values are AUDIO_TRANSLATOR, VOICE_GENERATOR, VOICE_CHANGER, VOICE_CLONER, VIDEO_TO_AUDIO, MUSIC_GENERATOR, SOUND_EFFECT_GENERATOR

Example:

"VOICE_GENERATOR"

created_at
string<date-time>
required
enabled
boolean
required

Whether this resource is active. If false, it is deleted.

credits_charged
integer
required

The amount of credits deducted from your account to generate the audio. We charge credits right when the request is made.

If an error occurred while generating the audio, credits will be refunded and this field will be updated to include the refund.

Example:

2

downloads
object[]
required
error
object | null
required

In the case of an error, this object will contain the error encountered during video render

Example:

null