Home / Servers / ElevenLabs API / compose_detailed

Compose Music With A Detailed Response

An MCP tool from the ElevenLabs API server, hosted on mcp.hjlabs.in.

Compose Music With A Detailed Response Compose a song from a prompt or a composition plan. [POST /v1/music/detailed]

Name on the gateway: elevenlabs_api__compose_detailed · may change things.

Parameters

NameTypeDescription
output_formatstringOutput format of the generated audio. Formatted as codec_sample_rate_bitrate.…
enable_loggingbooleanWhen enable_logging is set to false zero retention mode will be used for the…
promptstringA simple text prompt to generate a song from. Cannot be used in conjunction…
generation_modetrack | loop | ambience | video_to_musicOptional generation mode hint for prompt-based music generation. Can only be…
music_promptobjectA music prompt. Deprecated. Use composition_plan instead.
lyrics_textstringThe lyrics text to use for the generation.
composition_planobjectA detailed composition plan to guide music generation. Cannot be used in…
music_length_msintegerThe length of the song to generate in milliseconds. Used only in conjunction…
model_idmusic_v1 | music_v2 | music_v2_5The model to use for the generation.
seedintegerRandom seed to initialize the music generation process. Providing the same…
force_instrumentalbooleanIf true, guarantees that the generated song will be instrumental. If false…
finetune_idstringThe ID of the finetune to use for the generation
finetune_strengthnumberHow strongly the finetune influences the generation. Defaults to 1.0 (full…
use_phonetic_namesbooleanIf true, proper names in the prompt will be phonetically spelled in the lyrics…
respect_sections_durationsbooleanControls how strictly section durations in the composition_plan are enforced.…
store_for_inpaintingbooleanWhether to store the generated song for inpainting.
with_timestampsbooleanWhether to return the timestamps of the words in the generated song.
with_waveform_visualbooleanWhether to return the visual waveform of the generated song.
sign_with_c2pabooleanWhether to sign the generated song with C2PA. Applicable only for mp3 files.
model_style_prefixmusic | sfxModel Style Prefix

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "elevenlabs_api__compose_detailed",
  "arguments": {}
}

Or connect the ElevenLabs API server directly, which lists 487 tools including this one:

Run in your terminal
claude mcp add --transport http hj-elevenlabs-api https://mcp.hjlabs.in/mcp/elevenlabs-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the compose music with a detailed response tool with output_format set to ….

More from ElevenLabs API