Skip to content

Mirelo SFX2.0 · Video to Audio

Integrate

Model id mirelo-ai/sfx2.0/video-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/video-to-audio?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# 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.20 200 API credits · ≈ ₽21.49 your files are measured before the run Run it on this page

Get API key
Mirelo AI Video to Audio 1–600 s #video-to-audio#sfx

Creates a soundtrack for an input video and returns it as separate audio files

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 video_url
Drop a file, or

URL of the video that will receive sound.

default 10

Sound duration requested in seconds; videos below 1 s return 400. The requested length must be at least 1 s and is capped at the video's duration, with generation split into 10 s windows when the duration exceeds 10 s.

default 2

Count of variations to produce.

Advanced text_prompt · negative_prompt · upload_audio_format · upload_audio_bitrate_kbps · seed · preserve_speech
0 / 2000

Optional text instructions to guide generation.

0 / 1000

Brief exclusion list for sounds, with commas between entries.

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.

Generation seed; choosing -1 or None uses a random value.

POST /run/mirelo-ai/sfx2.0/video-to-audio?wait=20 quote → $0.20
# 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/video-to-audio?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# 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 · Video to Audio

Adds sound to a clip given in `video_url`, returning audio files without the video. `text_prompt` and `negative_prompt` guide the result, and `preserve_speech` keeps existing speech while generating the rest. `duration` is 1 to 600 seconds, clamped to the video length, and `num_samples` gives 1 to 4 variations. Formats are wav, mp3, aac or flac.

Parameters

Send either the canonical name or the native name, not both. Canonical names

NameType DefaultAllowed Description
video_urlrequired video
Typeurl · video
URL of the video that will receive sound.
text_promptoptional
Typestring | null
≤ 2,000 characters
Optional text instructions to guide generation.
negative_promptoptional
Typestring | null
≤ 1,000 characters
Brief exclusion list for sounds, with commas between entries.
preserve_speechoptional
Typeboolean
Defaulttrue
Speech handling for the generated soundtrack: false suppresses speech and produces sound effects only. When enabled, input speech remains intact and the rest of the soundtrack is generated around it.
durationoptional
Typenumber
Default10
1 – 600
Sound duration requested in seconds; videos below 1 s return 400. The requested length must be at least 1 s and is capped at the video's duration, with generation split into 10 s windows when the duration exceeds 10 s.
num_samplesoptional
Typeinteger
Default2
1 – 4
Count of variations to produce.
seedoptional
Typeinteger | null
-1 – 18,446,744,073,709,552,000
Generation seed; choosing -1 or None uses a random value.
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 Canonical name, also accepted

File parameters take a public https:// URL, a data: URI up to 10 MB, or the file_url of an upload. Files

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "mirelo-ai/sfx2.0/video-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": 200,
    "usd": "0.20",
    "charged": 200,
    "refunded": 0
  },
  "input": {
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  },
  "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
      }
    ]
  },
  "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}Audio files for the generated soundtracks, with the video excluded.

More models: Video to Audio

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