Generate sound effects from text descriptions using ElevenLabs AI.

Model

elevenlabs/sound-effect

Parameters

ParameterTypeRequiredDefaultDescription
textstringYes-Description of the sound effect
prompt_influencenumberNo0.5How much the prompt influences generation (0-1)
durationnumber/stringNoautoDuration in seconds (0.5-30) or "auto"
loopbooleanNofalseIf true, audio loops seamlessly

Duration Options

ValueDescription
"auto"Automatic duration based on the sound (default)
0.5 - 30Specific duration in seconds

Example - Basic Sound Effect

curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "elevenlabs/sound-effect",
    "input": {
      "text": "wolf howling at the moon"
    }
  }'

Example - With Duration

curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "elevenlabs/sound-effect",
    "input": {
      "text": "thunder rumbling in the distance",
      "duration": 5,
      "prompt_influence": 0.7
    }
  }'

Example - Looping Sound

curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "elevenlabs/sound-effect",
    "input": {
      "text": "rain falling on a window",
      "loop": true,
      "duration": 10
    }
  }'

Example - Ambient Sound

curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "elevenlabs/sound-effect",
    "input": {
      "text": "busy coffee shop with people chatting and cups clinking",
      "prompt_influence": 0.8,
      "duration": "auto",
      "loop": true
    }
  }'

Response

{
  "code": 200,
  "success": true,
  "data": {
    "task_id": "abc123def456",
    "status": "pending"
  }
}

Completed Response

{
  "code": 200,
  "success": true,
  "data": {
    "task_id": "abc123def456",
    "status": "completed",
    "output": {
      "audio_url": "https://files.storagecdn.online/abc123.mp3"
    }
  }
}

Pricing

DurationPrice
Auto$0.0368
Per second$0.00736