Try MiniMax H3 Image: 4K Generate + Edit from Minimaxai →
Models
Agents
Workflows
Studio
PricingBlogDocs
ExploreDiscover models by categoryDiscoverModels and effects built by WiroBrowse All ModelsBrowse the complete catalogSee FavoritesSign in to view saved models
Generative Media AgentCreate and edit media by chattingWorkflow AgentBuild visual workflows with Agent
OverviewThe platform at a glanceLearnSkills, knowledge, guardrailsAnatomyWhat makes agents reasonBuild Your AgentPick connectors and skills, set tier, deploy
Pre-built AgentsBrowse the catalog
Agent Usecases
Ad Campaign ManagerApp Event ManagerApp Review RepliesBarber BookingCustomer Win-BackEcommerce ListingsRestaurant Reviews
Sign InStart Building
Explore models/
Music GenerationActive

ElevenLabs Text to Music v2 API

byelevenlabs

Create original music from a plain-English brief with ElevenLabs Music v2. Choose track length, MP3 quality, and optional instrumental-only output.

Music GenerationText to Music
Model ID
text-to-music-v2
Provider
elevenlabs
Updated
Nov 7, 2026, 04:18
text-to-music-v2
0
Comments
Average rating : 0 (0 users)
Providerelevenlabs
Modeltext-to-music-v2
Music GenerationText to Music
wiro playground—elevenlabs/text-to-music-v2

Required. Describe the music you want. Mention genre, instruments, mood and tempo, and the structure if you have one in mind.

Required.

Required. Length of the track.

Running this model on Wiro costs $0.075 in total

Sample outputs
elevenlabs-text-to-music-v2-sample-1.mp3
elevenlabs-text-to-music-v2-sample-2.mp3
elevenlabs-text-to-music-v2-sample-3.mp3
elevenlabs-text-to-music-v2-sample-4.mp3
Updated Nov 7, 2026, 04:18

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"
}
curl
curl -X POST "https://api.wiro.ai/v1/Run/elevenlabs/text-to-music-v2" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_WIRO_API_KEY" \
  --data-binary @- <<'JSON'
{
  "prompt": "Lofi hip hop with warm rhodes chords, a s…",
  "outputFormat": "mp3_44100_128",
  "duration": 30,
  "instrumental": "true"
}
JSON

Other models you might like

Explore similar music generation models.

View all
text to music v2.5 inpainting
Music Generation

text to music v2.5 inpainting

elevenlabs

text to music v2.5
Music Generation

text to music v2.5

elevenlabs

text to music v2.5 lyrics
Music Generation

text to music v2.5 lyrics

elevenlabs

text-to-music-v2-lyrics
Music Generation

text-to-music-v2-lyrics

elevenlabs

  • stable-audio-3-small-musicstabilityai
  • stable-audio-3-mediumstabilityai
  • music_genwiro
  • video-background-music-genwiro
  • stable-audio-3-small-sfxstabilityai
  • video-background-music-v2wiro
  • text-to-song-ACE-Step-v1-3.5Bace-step
  • image-to-song-ACE-Step-v1-3.5Bace-step

Discover, test, and run AI models, build workflows and agents with one unified API.

All systems operational
WiroModelsAgentsMCP ServerLLM GatewayBrowser ExtensionIntegrationsPricingAboutBlogCareersContactPartnerChangelogStatusFAQ
CategoriesText to ImageImage to ImageImage EditingImage to TextText to VideoImage to VideoVideo to VideoText to SpeechSpeech to TextSpeech to SpeechVoice CloneRealtime ConversationMusic GenerationLLMUtilities
ModelsNano Banana 2GPT Image 2.5Seedream V5 ProSeedance 2.5Veo 3.1Kling V3FLUX 3FLUX.2 ProWan 3.0 PrimeGrok Imagine 1.5
PartnersGoogleOpenAIByteDanceBlack Forest LabsKling AIQwenAlibabaxAIMiniMaxElevenLabs
Getting StartedWiro ModelsWiro EffectsIntroductionAuthenticationProjectsCode ExamplesWiro MCP ServerSelf-Hosted MCPn8n IntegrationLLMs.txt
API ReferenceModelsRun a ModelModel ParametersTasksLLM & Chat StreamingWebSocketRealtime VoiceFiles
© 2026 Wiro AI. All rights reserved.
PrivacyTermsData Deletion