magic_button
API

Sound Effects API

Generate sound effects from text prompts with async tasks, duration controls, and downloadable outputs.

What is Sound Effects API?

Describe the sound you want, submit one sound-effect task, and fetch the result when processing completes. Built for product workflows that need prompt-driven audio generation without pretending the result is synchronous.

Supported Models

Prompt-driven SFX

Generate one-off sound effects from natural language prompts

Duration controls

Set duration, loop behavior, and prompt influence when needed

Task workflow

Track creation through the common task endpoint

Quick Start

Bash
api.cheapaiapi.com/v1
curl -X POST "https://api.cheapaiapi.com/v1/task/sound-effect" \
  -H "Authorization: Bearer sk_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "Thunderstorm with heavy rain and distant thunder",
    "duration_seconds": 10,
    "prompt_influence": 0.5
  }'

Why CheapAI?

text_fields

Prompt to Audio

Describe the sound and let the task produce the finished audio artifact.

schedule

Async Delivery

Submit once and check task progress instead of blocking the user on generation.

tune

Generation Controls

Use duration, loop, and prompt influence to shape the final effect.

Async

Flow

30s

Max Duration

/v1/task/:id

Task Polling

Audio URL

Output

Frequently Asked Questions

What kinds of sound effects can I generate?expand_more

Anything you can express clearly in the text prompt, from UI sounds to environmental effects.

How long can generated sounds be?expand_more

The route supports duration controls up to the documented limit, with auto-duration also available.

How do I get the final audio?expand_more

Poll the common task endpoint and read the output URL once the sound-effect task is done.

Start Building Today

Get $2 in free credits. Create an API key, set spend controls if needed, and start testing the current task-based endpoints.

Get API Key arrow_forward