infery
← All models

Elevenlabs Music v2.5

music-v2.5

Musicby Elevenlabs

Generate high quality, realistic music with fine controls using Elevenlabs Music v2.5!

Details

Accepts
text

Pricing

Price
75 cr / minute

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
seedRandom seed to initialize the music generation process. Can only be used with composition_plan. The same seed with the same parameters gives more consistent results, but exact reproducibility is not guaranteed.
promptThe text prompt describing the music to generate
output_formatstringenum: mp3_22050_32, mp3_24000_48, mp3_44100_32, mp3_44100_64, mp3_44100_96, mp3_44100_128Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.
music_length_msThe length of the song to generate in milliseconds. Used only in conjunction with prompt. Must be between 3000ms and 600000ms. Optional - if not provided, the model will choose a length based on the prompt.
composition_planThe chunk-based composition plan for the music
force_instrumentalbooleanIf true, guarantees that the generated song will be instrumental. If false, the song may or may not be instrumental depending on the prompt. Can only be used with prompt.

Output

FieldTypeDescription
audioThe generated music audio file in MP3 format