POST

Authorization

string
required
Bearer token. Bearer API_key, can be found in Settings > API Keys.

Request Body

string
required
Describe the edit or transformation to apply. E.g., "Add a guitar solo after the second chorus" or "Speed up the tempo by 20%".
string
URL of the audio track to edit. Provide either audio_url or file_id.
string
File ID of a previously uploaded audio track.
string
Clip ID from a previous music generation to edit.
enum
default:"magma"
Music model to use. Default: magma.
object
Audio output configuration.