Music GenerationActive
elevenlabs / text-to-music-v2
text-to-music-v2
Create original music from a plain-English brief with ElevenLabs Music v2. Choose track length, MP3 quality, and optional instrumental-only output.
Text to Music
Model ID
text-to-music-v2
Provider
elevenlabs
Updated
1788351053
wiro playground—elevenlabs/text-to-music-v2
Updated 1788351053
Overview
Text to Music V2 is an audio generation model from ElevenLabs. You write a short creative brief, and the model composes a new music track that matches it. It’s useful when you need custom background music without searching stock libraries. You get a ready-to-use audio file you can drop into a timeline, game build, or ad cut.
What you can build
- Background music beds for YouTube videos, shorts, and reels
- Game ambience loops and level themes from a single style brief
- Podcast intro/outro stings and transitions
- Music drafts for pitches, storyboards, and animatics
- Branded “mood tracks” for ads and product demos
Inputs
- A music description written in plain English, including genre, mood, instruments, tempo, and structure cues. Keep it under 4,100 characters.
- The track duration you want, selected in seconds. This listing supports short clips up to 5 minutes.
- The MP3 export quality you want, chosen by sample rate and bitrate.
- An instrumental-only toggle. Turn it on to block vocals.
Outputs
- An MP3 audio file that contains the generated music track.
- The file duration matches the length you selected.
- The encoding matches the MP3 quality option you chose (sample rate and bitrate).
Recommended settings
- For best audio quality on most platforms, pick the highest MP3 bitrate available in this listing.
- For previews and quick drafts, pick a lower bitrate to reduce file size.
- If you need music under dialogue, enable instrumental-only and describe “sparse arrangement” in your brief.
Limitations
- Very vague prompts often produce generic results. Add instruments, mood words, and a clear tempo.
- Conflicting instructions can reduce prompt adherence. Avoid asking for many genres at once.
- Music generation is not perfectly repeatable. Two runs can differ even with the same brief.
- The underlying ElevenLabs Music API supports music lengths from 3 seconds up to 10 minutes, but this Wiro listing caps requests at 5 minutes.
- This listing returns MP3 files. If you need other codecs, you may need a different workflow.
Safety & compliance
- Don’t include artist names, songwriter names, song titles, album titles, label names, publisher names, or substantial recognizable lyrics in your prompt.
- Don’t try to generate music that implies endorsement or imitates a specific recording artist.
- Don’t use the model to generate illegal or harmful content.
- Commercial usage rights depend on your ElevenLabs plan and the applicable music terms. Review them before distribution.
Example prompts
Great starting points for text-to-music-v2.
Lofi hip hop with warm rhodes chords, dusty drums and vinyl crackleMusic Generation
Epic cinematic trailer with staccato strings and taiko hitsMusic Generation
Upbeat 80s synthwave with a punchy bass arp and bright leadsMusic Generation
Gentle acoustic folk with soft female vocals about morning lightMusic Generation
API quick start
Run text-to-music-v2 with a single API call.
POST https://api.wiro.ai/v1/Run/elevenlabs/text-to-music-v2
{
"prompt": "Lofi hip hop with warm rhodes chords, a s…",
"outputFormat": "mp3_44100_128",
"duration": 30,
"instrumental": "true"
}