ElevenLabs Music via Replicate. Composes a song from a text prompt with a target length of 5 seconds to 5 minutes, optional vocals, and MP3 / WAV output. Billed per second of the requested length โ a 10-second clip costs about 190 credits.
Test this model instantly in the Console Playground โ no code required
Copy usage instructions for Claude, ChatGPT, or other AI
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "elevenlabs/music",
"input": {
"prompt": "Bright upbeat K-pop electro-pop company jingle, 128 BPM, energetic female and male vocals singing in Korean, catchy chant chorus, synth brass, punchy drums. Lyrics: [Verse] ์์นจ๋ถํฐ AI, ์ปคํผ๋ณด๋ค ์งํด / ์ฝ๋ฉํ๋ค ๋ณด๋ ๋ฒ์จ ์๋ฒฝ ๋ ์๋ค! / ์ ๋๋ ๊ฑด ์์ด, ์ผ๋จ ๋ง๋ค์ด ๋ด / ์์์ด ํ์ค ๋๋ ๋ง๋ฒ ๊ฐ์ ํ์ฌ! [Chorus] ์ฝ์ด! ๋ท! ํฌ๋ฐ์ด! / ์ค๋์ ์์์ด ๋ด์ผ์ ๊ธฐ์ ๋ก! / ์ฝ์ด! ๋ท! ํฌ๋ฐ์ด! / AI๋ ๋๋ผ๋ ์ฐ๋ฆฌ์ ์์ด๋์ด!",
"music_length_ms": 30000,
"force_instrumental": false,
"output_format": "mp3_high_quality"
}
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | - | Description of the music you want to generate (genre, mood, instruments, tempo, vocals) |
music_length_ms | integer | No | 10000 | Target duration in milliseconds (5,000-300,000). Billed per second of this value |
force_instrumental | boolean | No | true | If true, removes vocal elements from the generated music |
output_format | string | No | mp3_standard | Audio output format: MP3 128/192 kbps or WAV at 16/22/24/44.1 kHz mp3_standardmp3_high_qualitywav_16khzwav_22khzwav_24khzwav_cd_quality |
Common parameters used when calling POST /v1/predictions.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Yes | - | Model identifier |
input | object | Yes | - | Object containing the model-specific parameters from the table above |
output_folder | string | No | - | Folder path for output files (max 256 chars, '..' not allowed) |
webhook_url | string | No | - | Webhook URL to call on completion |
is_public | boolean | No | false | If true, output files are also available via permanent public URLs |
The same Korean company-song lyrics given to every music model โ compare how each one sings them
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "elevenlabs/music",
"input": {
"prompt": "Bright upbeat K-pop electro-pop company jingle, 128 BPM, energetic female and male vocals singing in Korean, catchy chant chorus, synth brass, punchy drums. Lyrics: [Verse] ์์นจ๋ถํฐ AI, ์ปคํผ๋ณด๋ค ์งํด / ์ฝ๋ฉํ๋ค ๋ณด๋ ๋ฒ์จ ์๋ฒฝ ๋ ์๋ค! / ์ ๋๋ ๊ฑด ์์ด, ์ผ๋จ ๋ง๋ค์ด ๋ด / ์์์ด ํ์ค ๋๋ ๋ง๋ฒ ๊ฐ์ ํ์ฌ! [Chorus] ์ฝ์ด! ๋ท! ํฌ๋ฐ์ด! / ์ค๋์ ์์์ด ๋ด์ผ์ ๊ธฐ์ ๋ก! / ์ฝ์ด! ๋ท! ํฌ๋ฐ์ด! / AI๋ ๋๋ผ๋ ์ฐ๋ฆฌ์ ์์ด๋์ด!",
"music_length_ms": 30000,
"force_instrumental": false,
"output_format": "mp3_high_quality"
}
}'Upbeat EDM with a female vocal hook, 192 kbps MP3 โ 390 credits
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "elevenlabs/music",
"input": {
"prompt": "Upbeat electronic dance music with a driving bassline, bright synth leads and an energetic female vocal hook",
"music_length_ms": 20000,
"force_instrumental": false,
"output_format": "mp3_high_quality"
}
}'POST /v1/predictions