Skip to main content

Overview

Generate music from text descriptions. Currently one model is available via ElevenLabs.

Quick start

Parameters

string
required
Text description of the music. Include genre, mood, tempo, and instruments for best results.
number
Music duration in seconds. Always set this explicitly — without it, the model defaults to ~60 seconds which may be more than needed.
Always set duration explicitly. Without it, the model generates ~60 seconds of music, which costs the same but may be more than you need.

Prompt examples

Composition example

Add music as a background track in a video:

Pricing

Tips

  • Include genre, mood, tempo, and instruments in your prompt for the best results.
  • BPM matters — specify it if you need the music to match a specific pacing (e.g., "120 bpm" for upbeat, "70 bpm" for relaxed).
  • Set volume to 0.2-0.4 when using as background under narration — it shouldn’t compete with speech.

ElevenLabs Speech

Add narration over your music track.