Mirelo SFX 2.0 API
Mirelo sound effects and ambience from text, or a full soundtrack synced to your video with its dialogue kept.
Mirelo SFX 2.0 is a music generation model from Mirelo, available on OttoPort's OpenAI-compatible API as the model ID mirelo-sfx-2.0 at $0.018 / second as of 2026-11-14.
Provider
Mirelo
Price
$0.018 / second
Model ID
mirelo-sfx-2.0
Type
music generation model
Create with Mirelo SFX 2.0
musicYour result appears here
Start with the example prompt or make it your own. Your OttoPort account is used securely for generation.
Mirelo SFX 2.0 API pricing
What OttoPort bills for Mirelo SFX 2.0, and what that works out to per unit. Rates are read from the same catalog the gateway meters against, and were current on 2026-11-14.
| Per second | $0.018 | |
|---|---|---|
| 30-second track | $0.54 | |
| 60-second track | $1.08 | |
| Seconds per $10 | 555 | of generated audio |
No subscription and no minimum — OttoPort bills prepaid credits against usage. See the full rate card.
Call Mirelo SFX 2.0 in three lines
Send "model": "mirelo-sfx-2.0" to POST https://ottoport.ai/api/v1/audio/music with an OttoPort key. No Mirelo account, no waitlist, no separate SDK.
curl https://ottoport.ai/api/v1/audio/music \
-H "Authorization: Bearer $OTTOPORT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "mirelo-sfx-2.0",
"prompt": "warm optimistic electronic instrumental, 110 BPM, no vocals",
"duration": 30
}'import requests
job = requests.post(
"https://ottoport.ai/api/v1/audio/music",
headers={"Authorization": "Bearer " + API_KEY},
json={
"model": "mirelo-sfx-2.0",
"prompt": "warm optimistic electronic instrumental, 110 BPM, no vocals",
"duration": 30,
},
).json()
print(job["status"])const res = await fetch("https://ottoport.ai/api/v1/audio/music", {
method: "POST",
headers: {
Authorization: `Bearer ${API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "mirelo-sfx-2.0",
prompt: "warm optimistic electronic instrumental, 110 BPM, no vocals",
duration: 30,
}),
});
const job = await res.json();Before you start
- 1. Create a key at /api-keys.
- 2. Top up credits — the smallest pack is $25.
- 3. Paste the request. It returns a job ID; poll it or pass a webhook_url.
Full reference at /docs, or drive it from an agent with the MCP server and CLI.
Request parameters
The body POST https://ottoport.ai/api/v1/audio/music accepts for Mirelo SFX 2.0.
| Field | Type | Required | Notes |
|---|---|---|---|
| model | string | Yes | Always mirelo-sfx-2.0 for Mirelo SFX 2.0. |
| prompt | string | No | The sounds to make, e.g. `heavy rain on a metal roof`. Required unless video_url is set. |
| video_url | string | No | An http(s) video to score. The soundtrack follows its action; without it the request is text-to-audio. |
| duration | number | No | Seconds, 1–600, default 15. The billed unit — with a video, set it to the clip's length. |
| preserve_speech | boolean | No | With video_url: keep the video's dialogue (default true). |
| negative_prompt | string | No | Sounds to keep out, e.g. `music, voices`. |
| format | string | No | wav (default), mp3, aac or flac. |
| seed | integer | No | Fix it to repeat a result. |
Mirelo SFX 2.0 direct vs through OttoPort
Mirelo SFX 2.0 is the same model either way — what changes is how many accounts, keys, and integrations you carry to reach it.
| Mirelo direct | Via OttoPort | |
|---|---|---|
| Accounts and keys | A Mirelo account, plus one more for every other model you add | One OttoPort account and one key for the whole catalog |
| Request shape | Mirelo's own SDK and response format | OpenAI-compatible — point baseURL at OttoPort and change the model string |
| Switching models | A new integration per provider | Replace mirelo-sfx-2.0 with any other model ID in the catalog |
| Billing | A separate invoice and contract per provider | Prepaid credits, no subscription, one usage ledger |
| Provider outages | Your call fails | Configured backup routes are tried in order on provider failure |
Set mood, genre, and energy.
Say whether vocals are wanted.
Describe the intended scene or usage.
Mirelo SFX 2.0 API questions
Cost, keys, and model IDs for Mirelo SFX 2.0 on OttoPort.
How much does the Mirelo SFX 2.0 API cost?
On OttoPort, Mirelo SFX 2.0 costs $0.018 / second as of 2026-11-14. For scale, 30-second track: $0.54. Billing is prepaid usage with no subscription and no minimum, and the current rate is always published at ottoport.ai/pricing.
How do I get a Mirelo SFX 2.0 API key?
You do not need a Mirelo key. Create an OttoPort account, generate a key at ottoport.ai/api-keys, and send it as "Authorization: Bearer <key>" to POST https://ottoport.ai/api/v1/audio/music with "model": "mirelo-sfx-2.0". The same key reaches every other model in the catalog.
What is the model ID for Mirelo SFX 2.0?
The OttoPort model ID for Mirelo SFX 2.0 is mirelo-sfx-2.0. Pass it as the model field on POST https://ottoport.ai/api/v1/audio/music, or list it programmatically from GET https://ottoport.ai/api/v1/models.
Is Mirelo SFX 2.0 generation synchronous?
No. POST https://ottoport.ai/api/v1/audio/music returns a job ID immediately. Poll GET https://ottoport.ai/api/v1/videos/generations/{id} for status, or pass webhook_url and webhook_secret and OttoPort will call you when the job settles. You are billed per second of output, so a failed job costs nothing.
Do I need a Mirelo account to use Mirelo SFX 2.0?
No. OttoPort connects to Mirelo on your behalf, so one OttoPort account covers Mirelo SFX 2.0 and every other model in the catalog — no per-provider contracts, keys, or invoices.
Other music generation models on the same API
Same endpoint, same key — swapping model is a one-string change from mirelo-sfx-2.0.
Suno v6 API
Suno
$0.152 / request
Suno v6 Mini API
Suno
$0.152 / request
Suno v6 Wild API
Suno
$0.152 / request
Lyria 2 API
$0.069 / second
Seed-Music API
ByteDance
$0.034 / second
Browse the full catalog — every model with its provider and per-unit price.