Skip to main content

Overview

Text-to-music with ElevenLabs
  • Output Type: audio
  • Estimated Cost: 0.5 * duration credits

Parameters

Required Parameters

prompt
string
required
A compact but specific instruction for the whole composition. Include genre/tone, BPM, key, instrumentation with “solo”, vocal directives with “a cappella” or “instrumental only”, singer count/roles, vocal delivery adjectives, timing cues for when vocals start/stop, language, and (optionally) a ‘Lyrics:’ block. Preserve user intent as much as possible.
  • Label: Prompt
duration
float
default:30
required
The length of the music in seconds
  • Label: Duration in seconds
  • Minimum: 10
  • Maximum: 300

Optional Parameters

enhance_prompt
boolean
default:true
Whether to automatically enhance the prompt to match best practices.
  • Label: Enhance Prompt
I