ElevenLabs Sound Effects V2

From 2.40 credits
ae_elevenlabs_sound_effects_v2

Create sound effects from text, with options for duration, seamless looping, prompt adherence, and audio format.

Audio
From 2.40 credits

Pricing

From 2.40 credits
ConditionCharge
Explicit duration2.40 credits/started second
Automatic duration7.05 credits/call

Charged by explicit-duration or automatic-duration mode.

Starting price applies to successful calls with the minimum explicit duration; automatic duration uses the fixed fee stated above.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
request_bodyobjectYesNo parameter description.—
request_body.loopbooleanNoWhether to create a sound effect that loops smoothly.false
request_body.textstringYesThe text describing the sound effect to generate. Maximum 450 characters per request. Shorten longer descriptions to 450 characters or fewer while preserving the intended sound before calling this tool.—
request_body.output_formatenum (mp3_22050_32 | mp3_44100_32 | mp3_44100_64 | mp3_44100_96 | mp3_44100_128 | mp3_44100_192 | pcm_8000 | pcm_16000 | pcm_22050 | pcm_24000 | pcm_44100 | pcm_48000 | ulaw_8000 | alaw_8000 | opus_48000_32 | opus_48000_64 | opus_48000_96 | opus_48000_128 | opus_48000_192)NoOutput format of the generated audio. Formatted as codec_sample_rate_bitrate.mp3_44100_128
request_body.duration_secondsnumber | unknownNoDuration in seconds (0.5-22). If None, optimal duration will be determined from prompt.—
request_body.prompt_influencenumberNoHow closely to follow the prompt (0-1). Higher values mean less variation.0.3

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key

Submit first, then query with the returned task_id until the task completes.

Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_elevenlabs_sound_effects_v2' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": {
      "duration_seconds": 2.05,
      "loop": true,
      "output_format": "mp3_44100_128",
      "prompt_influence": 0.85,
      "text": "Seamless looping heavy tiger monster footstep cycle, giant beast pacing at steady constant tempo, evenly spaced massive stomps, dry brutal ground impact, deep low end weight. Loop begins and ends on the same point of the stride at the same loudness: first sample equal to last sample energy, no fade in, no fade out, no silent gap at the seam, continuous full volume. No wet slime, no roar, no growl, no lunge, no one shot sounds."
    }
  }
}'
Response exampleresponse.json
JSON
{
  "description": "task accepted; poll the result via query_tool with this task_id",
  "query_tool": "ae_get_result",
  "status": "created",
  "task_id": "5a29b76f-edb2-498c-be67-b5983761e6f1"
}