Eleven Text to Sound v2

ElevenLabs

Generate sound effects from text prompts with duration and prompt-influence controls.

Current price
$0.1680/minute
Availability
Ready to run
Last accepted verification

What this API does

Create a 0.5–30 second MP3 sound effect with Eleven Text to Sound v2. Duration is explicit so the wallet hold and final charge are predictable before generation.

Agents select this operation with tool ID elevenlabs.eleven-text-to-sound-v2, then inspect its current executable contract before a run.

Public input and output shape

Input

duration_secondsnumber · required

Value supplied for duration seconds.

minimum: 0.5 · maximum: 30

loopboolean · optional

Value supplied for loop.

prompt_influencenumber · optional

Value supplied for prompt influence.

minimum: 0 · maximum: 1

textstring · required

Value supplied for text.

minLength: 1 · maxLength: 1000

Output

content_typestring

Returned content type value.

duration_secondsnumber

Returned duration seconds value.

notestring

Returned note value.

Example request and output

This reviewed worked example is shared with inspect. Inspect also returns the current executable schema and price estimate before a paid run.

Request

{
  "tool_id": "elevenlabs.eleven-text-to-sound-v2",
  "input": {
    "loop": false,
    "text": "a short clean camera shutter click in a quiet studio",
    "duration_seconds": 0.5,
    "prompt_influence": 0.3
  }
}

Output

{
  "note": "sound effect returned as an artifact",
  "content_type": "audio/mpeg",
  "duration_seconds": 0.5
}
Teaching errors and limitations
  • invalid_input: duration_seconds must be between 0.5 and 30example: {"text":"a short clean camera shutter click in a quiet studio","duration_seconds":0.5,"loop":false,"prompt_influence":0.3}
Updated
18 August 2026

Use Eleven Text to Sound v2 with Scrollport

Scrollport identifies and validates the best-in-class API tools and provides them on a pay-as-you-go basis so you don't need to maintain a separate provider account, subscription or credits.

Give your agent the setup prompt to receive $1 in trial credit and start using the tools right away.