Skip to content

Mirelo SFX2.0 · Text to Audio

Integrate

Model id mirelo-ai/sfx2.0/text-to-audio
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/mirelo-ai/sfx2.0/text-to-audio?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Files like the example: $0.60 600 API credits · ≈ ₽64.39 your files are measured before the run Run it on this page

Get API key
Mirelo AI Audio 0.1–600 s #text-to-audio#sfx

Sound effects from a text description, with negative prompt, duration and several samples

Mirelo AI · Audio

Your first result goes here

Build a request below and run it with your API key. Outputs are copied to our storage, kept forever or 7 days for free.

Build a request

Controls are generated from the model schema. The code and the price update as you change them.

•required 88 / 2000

Description of the desired sound effect.

default 30

Requested sound length, measured in seconds, must fit within the deployment-specific maximum for text-to-SFX.

default 2

Sample count for generation within a single batched forward pass.

Advanced negative_prompt · upload_audio_format · upload_audio_bitrate_kbps · seed
0 / 1000

Sounds to exclude from the output.

upload_audio_format default wav

Format used for each audio file.

Upload bitrate override in kbps, rejected when upload_audio_format is lossless; leaving it unset preserves LAME V0 VBR for mp3 or a 256 kbps target for aac. For mp3, choose an exact constant rate from 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320. For aac, values from 32 to 256 specify an encoder target rather than a guaranteed rate, so mono or sparse audio may fall below it.

Initial sample's seed; a random seed is used for -1 or when omitted.

POST /run/mirelo-ai/sfx2.0/text-to-audio?wait=20 quote → $0.60
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/mirelo-ai/sfx2.0/text-to-audio?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Run this request

Your key stays in this browser: it is sent only to the Doitong API and saved (localStorage) only if you tick Remember. Get an API key

About Mirelo SFX2.0 · Text to Audio

Generates sound effects from a `prompt` of up to 2000 characters, with `negative_prompt` to exclude sounds. `duration` ranges from 0.1 to 600 seconds (default 30), and `num_samples` produces 1 to 4 variations, each with its own seed. Output format is wav, mp3, aac or flac via `upload_audio_format`, with an optional bitrate for mp3 and aac.

Parameters

NameType DefaultAllowed Description
promptrequired
Typestring
≤ 2,000 characters
Description of the desired sound effect.
negative_promptoptional
Typestring | null
≤ 1,000 characters
Sounds to exclude from the output.
durationoptional
Typenumber
Default30
0.1 – 600
Requested sound length, measured in seconds, must fit within the deployment-specific maximum for text-to-SFX.
seedoptional
Typeinteger | null
-1 – 9,223,372,036,854,776,000
Initial sample's seed; a random seed is used for -1 or when omitted.
num_samplesoptional
Typeinteger
Default2
1 – 4
Sample count for generation within a single batched forward pass.
upload_audio_formatoptional
Typeenum
Defaultwav
wavmp3aacflac
Format used for each audio file.
upload_audio_bitrate_kbpsoptional
Typeinteger | null
32 – 320
Upload bitrate override in kbps, rejected when upload_audio_format is lossless; leaving it unset preserves LAME V0 VBR for mp3 or a 256 kbps target for aac. For mp3, choose an exact constant rate from 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320. For aac, values from 32 to 256 specify an encoder target rather than a guaranteed rate, so mono or sparse audio may fall below it.
required

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "mirelo-ai/sfx2.0/text-to-audio",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 600,
    "usd": "0.60",
    "charged": 600,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "model": "sfx-2.0",
    "audio": [
      {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp3",
        "content_type": "audio/mpeg",
        "file_name": "0-output.mp3",
        "file_size": 1843200
      }
    ],
    "seeds": [
      42
    ]
  },
  "outputs": [
    {
      "type": "audio",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp3",
      "content_type": "audio/mpeg",
      "file_size": 1843200,
      "duration": 12,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Your files, your choiceEvery outputs[].url is a copy on our storage: kept forever (paid per GB-month) or 7 days for free, by your account setting or ?storage=.
Same shape on every modeltype, url, content_type, width, height and duration, for images, video and audio alike. output is the model’s own result object.
Fields of output
model
stringSFX model release used to produce the output.
audio
array of object {url, content_type, file_name, file_size}Generated sound effects, with one result for each sample.
seeds
array of integerSeeds corresponding to the samples, preserving their order.

More models: Audio

For AI agents: this page as Markdown is at https://doitong.com/en-US/developers/models/mirelo-ai/sfx2.0/text-to-audio.md. All models and guides: https://doitong.com/developers/llms.txt