Mirelo SFX1.6 Text to Audio is a fast AI audio generation model that creates sound effects and ambient audio directly from text prompts, with optional seamless ambience looping. Ready-to-use REST inference API for sound effect generation, game audio, video production, cinematic sound design, background ambience, loopable audio assets, and professional audio workflows with simple integration, no coldstarts, and affordable pricing.
Idle
$0.01per run·~100 / $1
Mirelo AI SFX 1.6 Text-to-Audio generates sound effects, ambience, and short audio clips from natural-language prompts. It supports loop-friendly ambience mode, multiple variations, flexible duration control, and optional doubled loop output for seamless background audio workflows.
Prompt-based audio generation Generate sound effects or ambient audio directly from a text description.
Flexible duration control Choose the target duration for the generated clip, from short effects to longer ambient beds.
Loop-friendly ambience mode
Enable ambience to generate audio designed for seamless looping.
Multiple variations
Generate up to 4 different versions in one request with num_samples.
Optional doubled loop output
When using ambience mode, enable double_output to concatenate the loop with itself for a longer seamless result.
Production-ready API Useful for games, film, podcasts, background ambience, sound design, and content production workflows.
| Parameter | Required | Description |
|---|---|---|
| text_prompt | Yes | Text prompt describing the sound effect or ambient audio to generate. Minimum length: 4 characters. |
| duration | No | Target duration in seconds. Range: 0.1–60. Default: 10. |
| ambience | No | When true, generate and stitch the result so the tile loops seamlessly. Default: false. |
| double_output | No | Only used when ambience is true: concatenate the loop with itself for a 2x-length output. Default: false. |
| num_samples | No | Number of variations to generate. Range: 1–4. Default: 1. |
1 to 4.Dark cinematic ambience with distant thunder, soft low-frequency rumble, subtle wind, and evolving tension
Pricing is based on generated duration and number of samples.
| Duration | 1 Sample | 2 Samples | 3 Samples | 4 Samples |
|---|---|---|---|---|
| 1s | $0.01 | $0.02 | $0.03 | $0.04 |
| 5s | $0.05 | $0.10 | $0.15 | $0.20 |
| 10s | $0.10 | $0.20 | $0.30 | $0.40 |
| 20s | $0.20 | $0.40 | $0.60 | $0.80 |
| 30s | $0.30 | $0.60 | $0.90 | $1.20 |
| 60s | $0.60 | $1.20 | $1.80 | $2.40 |
text_prompt does not affect pricingambience and double_output do not change billing unless your backend explicitly makes them billableambience when the output needs to loop smoothly.double_output only when you want a longer looped deliverable.num_samples when you want multiple creative options from the same prompt.text_prompt is required.duration supports 0.1–60 seconds.num_samples supports 1–4.double_output only applies when ambience is enabled.Grab a WaveSpeedAI API key, then call POST https://api.wavespeed.ai/api/v3/mirelo-ai/sfx-1.6/text-to-audio with your input as JSON. The endpoint returns a prediction id; poll the prediction endpoint until status flips to completed, then read the output URL from data.outputs[0]. Examples for Sfx 1.6 Text To Audio below.
# Submit the prediction
curl -X POST "https://api.wavespeed.ai/api/v3/mirelo-ai/sfx-1.6/text-to-audio" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $WAVESPEED_API_KEY" \
-d '{
"duration": 10,
"ambience": false,
"double_output": false,
"num_samples": 1
}'
# Response includes a prediction id. Poll for the result:
curl -X GET "https://api.wavespeed.ai/api/v3/predictions/{request_id}/result" \
-H "Authorization: Bearer $WAVESPEED_API_KEY"
# When status is "completed", read the output from data.outputs[0].// npm install wavespeed
const WaveSpeed = require('wavespeed');
const client = new WaveSpeed(); // reads WAVESPEED_API_KEY from env
const result = await client.run("mirelo-ai/sfx-1.6/text-to-audio", {
"duration": 10,
"ambience": false,
"double_output": false,
"num_samples": 1
});
console.log(result.outputs[0]); // → URL of the generated output# pip install wavespeed
import wavespeed
output = wavespeed.run(
"mirelo-ai/sfx-1.6/text-to-audio",
{
"duration": 10,
"ambience": false,
"double_output": false,
"num_samples": 1
}
)
print(output["outputs"][0]) # → URL of the generated outputSfx 1.6 Text To Audio is a Mirelo Ai model for audio generation, exposed as a REST API on WaveSpeedAI. Mirelo SFX1.6 Text to Audio is a fast AI audio generation model that creates sound effects and ambient audio directly from text prompts, with optional seamless ambience looping. Ready-to-use REST inference API for sound effect generation, game audio, video production, cinematic sound design, background ambience, loopable audio assets, and professional audio workflows with simple integration, no coldstarts, and affordable pricing. You can call it programmatically or try it from the playground above.
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your WaveSpeedAI API key in the Authorization header. Submission returns a prediction ID; poll the prediction endpoint until status flips to "completed", then read the output URL from the result. The playground generates a ready-to-paste code sample in Python, JavaScript, or cURL for whatever inputs you've set. Full request/response shape is documented at https://wavespeed.ai/docs/docs-api/mirelo-ai/mirelo-ai-sfx-1.6-text-to-audio.
Sfx 1.6 Text To Audio starts at $0.010 per run. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
Key inputs: `duration`, `ambience`, `double_output`, `num_samples`, `text_prompt`. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at https://wavespeed.ai/docs/docs-api/mirelo-ai/mirelo-ai-sfx-1.6-text-to-audio.
Sign up for a free WaveSpeedAI account to claim starter credits, copy your API key from /accesskey, then call the endpoint shown in the API tab of the playground. The playground also auto-generates a code sample in Python, JavaScript, or cURL for the parameters you've set.
Commercial usage rights depend on the model's license, set by its provider (Mirelo Ai). The license summary appears on the model card above; see WaveSpeedAI's Terms of Service for platform-level conditions.