Skip to main content
← Lyria Model name: lyria-3-pro/text-to-music
Generation type: text_to_music
Endpoint: POST /api/asset_generator/

Pricing

2.0 credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs.

Quick start

Input parameters

Send these fields in input_params.
string
required
Describe genre, mood, instruments, tempo, vocals, and song structure. For background music, ask for instrumental only, no vocals.Minimum characters: 1.

Response

The request returns the task with status: "initializing". Poll GET /api/asset_generator/{id}/ until status is done or failed, or pass a webhook_url to be notified. A finished task lists its files in assets and the credits it charged in credits_used.