Music

Generate music

Creates original music tracks from text descriptions using Stable Audio and other models.

post/music/generations

Request

  • Base URL
    https://www.aimagicx.com/api/v1
  • Auth
    HTTP bearer

Query parameters

asyncboolean

Run generation asynchronously (recommended)

Request body

promptstring required

Description of the music

modelstring
duration_secondsnumber
mode'text_to_music' | 'audio_to_audio'
source_audiostring uri nullable
output_format'mp3' | 'wav'
negative_promptstring nullable

Response

Successful response

OR

Changes

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