elevenlabs-musicdefaultElevenlabs Music API — how to connect and pay
ElevenLabs Music v2.5 — music generation from a description: genre, mood, instruments, with or without vocals. Track length from 10 seconds to 3 minutes. The price depends on the length.
Channel comparison
last 7 days
| Channel | Price |
|---|---|
Flow elevenlabs-musicdefault | from $0.133333 per track |
Build the result you need
elevenlabs-musicWhat is Elevenlabs Music
ElevenLabs Music v2.5 — music generation from a description: genre, mood, instruments, with or without vocals. Track length from 10 seconds to 3 minutes. The price depends on the length.
Contract at a glance
- Input
- text
- Output
- audio
- Mode
- async (job + polling)
- Status polling
- every 3 s · up to 90 s
Strengths
- Pricing: per track
- Inputs: text
- 5 configurable options
- One API key for media generation
Where it is used
- Background music for video
- Jingles and ads
- Track demos and prototypes
- Podcast music
API contract
Generation runs asynchronously: create a job, then poll its status until completion.
- Create job
- POST /api/media/generate
- Check status
- GET /api/media/jobs/{jobId}
- Input
- text
- Output
- audio
- Polling
- every 3 s · up to 90 s
- Authentication
- Authorization: Bearer sk-pv-…
Example request
Pass your key in the Bearer header. The API returns jobId for polling the status.
curl -sS https://getvibeapi.com/api/media/generate \
-H "Authorization: Bearer $GETVIBE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary '{"model":"elevenlabs-music","prompt":"upbeat electronic track","opts":{"duration":"30","force_instrumental":false,"output_format":"mp3"}}'JavaScript
const response = await fetch('https://getvibeapi.com/api/media/generate', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.GETVIBE_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "elevenlabs-music",
"prompt": "upbeat electronic track",
"opts": {
"duration": "30",
"force_instrumental": false,
"output_format": "mp3"
}
}),
});
if (!response.ok) throw new Error(`GetVibe API: ${response.status}`);
const { jobId } = await response.json();
console.log(jobId);API request parameters
Parameters for requests to Elevenlabs Music via the GetVibe API.
promptreq.durationforce_instrumentaloutput_formatseed| Parameter | Type | Values | Default | Price |
|---|---|---|---|---|
promptreq. | text | text description | required | — |
duration | option selection | 10 · 30 (default) · 60 · 120 · 180 | 30 | 10: $0.133333, 30: $0.40, 60: $0.80, 120: $1.60, 180: $2.40 |
force_instrumental | yes/no | Yes · No (default) | No | Included in the base price |
output_format | option selection | MP3 128 kbps (default) · MP3 320 kbps | MP3 128 kbps | Included in the base price |
seed | text / number | any value | — | Included in the base price |
Request: POST https://getvibeapi.com/api/media/generate. Prices in USD.
Price of Elevenlabs Music
The cost of Elevenlabs Music: from $0.40 per track. The price is calculated dynamically at the current exchange rate, and the final charge is shown in the API response (priceRub). Payment in USD, no subscriptions.
What a default request costs
With no parameters sent, the request uses these values: Duration — 30, Instrumental only — No, Format — MP3 128 kbps. That request costs $0.40.
Channels and prices for every parameter combination
For every channel, the price of every parameter combination. It is exactly the amount a successful generation is charged, and the same figure as in the machine-readable table linked below.
Flowelevenlabs-musicfrom $0.133333exact prices
| Track length, seconds | 10 s | 30 s | 60 s | 120 s | 180 s |
|---|---|---|---|---|---|
| Flow | $0.133333 | $0.40 | $0.80 | $1.60 | $2.40 |
Every combination as JSON: /api/media/price-table?model=elevenlabs-music
README
The machine-readable contract for Elevenlabs Music contains the request schema, operations, limits, polling and response examples.
# Elevenlabs Music
Public model: elevenlabs-music
Create job: POST /api/media/generate
Check status: GET /api/media/jobs/{jobId}
## Input parameters
- `prompt` (text): text description; default: required
- `duration` (option selection): 10 · 30 (default) · 60 · 120 · 180; default: 30
- `force_instrumental` (yes/no): Yes · No (default); default: No
- `output_format` (option selection): MP3 128 kbps (default) · MP3 320 kbps; default: MP3 128 kbps
- `seed` (text / number): any value; default: —
## Public variants
- `elevenlabs-music`: FlowFAQ about the Elevenlabs Music API
How much does Elevenlabs Music cost?
The price of Elevenlabs Music: from $0.40 per track. The price is calculated dynamically at the current exchange rate.
Is it compatible with the OpenAI SDK?
Yes, the API is fully OpenAI-compatible. Just change base_url to https://getvibeapi.com/v1 and set your key — the rest of the code stays the same.
Connect Elevenlabs Music right now
Sign up in a minute, pay per use, ready-made code above.
Get API key