Njuolgga sisdollui

MMAudio V2

Integrere

Modealla-id mmaudio-v2
# 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/mmaudio-v2?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/dev-api/2026/10/21/req_qicb9wfr7rqfo46hqcxollq6/0-QQGxyL6x8ywkCEWdZ94UY_YyJVjs3R.mp4",
    "prompt": "Gentle waves lapping against a wooden boat, oars creaking, seagulls calling in the distance, light wind",
    "duration": 5
  }'

# 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"

Dát ohcamuš: 0,005 $ 5 API-kreditta · ≈ 0,53 ₽ Vuodje dán siiddu alde

Oza API-čoavdaga
Sony AI Jietna 1–30 s #sound-effects#foley#video-to-audio

Lasihit synkroniserejuvvon jietaeffekta ja birrasa jietahis videon oanehis tekstadilálašvuođa vuođul.

Ovdamearkkat

Sisa-addi
Boađus · ~20 s

PromptaGentle waves lapping against a wooden boat, oars creaking, seagulls calling in the distance, light wind

5 s0,005 $ · 5 API-kreditta

Ráhkat jearaldaga

Kontrollat ráhkaduvvojit modealla skeama vuođul. Koda ja haddi ođasmahttojuvvojit go rievddadat daid.

•gáibiduvvo

Bivdda mii čilge jiena ráhkadeami.

•gáibiduvvo video_url
Luoitte fiilla, dahje

Video URL geavahuvvon jietna ráhkadeami gáldun.

Ráhkaduvvon jiena guhkkodat.

Viiddiduvvon negative_prompt · num_steps · cfg_strength · seed · mask_away_clip
standárda

Negatiivvalaš bivdda mii meroštallá maid ii galgga leat jietna ráhkadeamis.

standárda 25

Láddjema lágiid lohku jietna ráhkadeamis.

standárda 4.5

Classifier Free Guidance-dávda.

Seed-árvu juhkkojuvvon nummirráhkadeaddjái.

POST /run/mmaudio-v2?wait=20 haddemearrádus → 0,005 $
# 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/mmaudio-v2?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/dev-api/2026/10/21/req_qicb9wfr7rqfo46hqcxollq6/0-QQGxyL6x8ywkCEWdZ94UY_YyJVjs3R.mp4",
    "prompt": "Gentle waves lapping against a wooden boat, oars creaking, seagulls calling in the distance, light wind",
    "duration": 5
  }'

# 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"

Geavat dán ohcamuša

Du key báhcá dán fierpmádatlogan: dat sáddejuvvo dušše Doitong API:ii ja vurkejuvvo (localStorage) dušše jos válljet Remember. Viečča API-keya

Dát lea MMAudio V2 birra

MMAudio V2 geahččá video ja ráhkada dasa heivvolaš jiena: láhppamat rytmma mielde, čáhcerávkkit, mohtorat, olmmoščoahkádus ja lanja birrasjietna, stivrejuvvon du promptain ja válljehahtti negatiivapromptain. Ráhkada 1 gitta 30 sekundda jiena ja máhcaha videon ođđa jietabáikkiin.

Parametterat

Sádde kanonala nama dahje iežas nama, ii goappašiid. Kanonala namat

NammaŠládja StandárdaDohkkehuvvon Govvádus
video_urlgáibiduvvo video
Šládjaurl · video
Video URL geavahuvvon jietna ráhkadeami gáldun.
promptgáibiduvvo
Šládjastring
Bivdda mii čilge jiena ráhkadeami.
negative_prompteaktodáhtolaš
Šládjastring
Standárda
Negatiivvalaš bivdda mii meroštallá maid ii galgga leat jietna ráhkadeamis.
seedeaktodáhtolaš
Šládjainteger | null
0 – 65 535
Seed-árvu juhkkojuvvon nummirráhkadeaddjái.
num_stepseaktodáhtolaš
Šládjainteger
Standárda25
4 – 50
Láddjema lágiid lohku jietna ráhkadeamis.
durationeaktodáhtolaš
Šládjanumber
Standárda8
1 – 30
Ráhkaduvvon jiena guhkkodat.
cfg_strengtheaktodáhtolaš
Šládjanumber
Standárda4.5
0 – 20
Classifier Free Guidance-dávda.
mask_away_clipeaktodáhtolaš
Šládjaboolean
Standárdafalse
Stivre leago klippa maskerejuvvon eret.
gáibiduvvo Kanonala namma, maid sáhttá geavahit

Fiilaparametterat váldet almmolaš https:// URL:a, data: URI:a gitta 10 MB, dahje uploada file_url:a. Fiillat

Boađus

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "mmaudio-v2",
  "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": 5,
    "usd": "0.005",
    "charged": 5,
    "refunded": 0
  },
  "input": {
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "prompt": "Night forest ambience, soft paws running on grass, crickets, gentle magical chimes",
    "duration": 6
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    }
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "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"
  }
}
Du fiillat, du válljenJuohke outputs[].url lea kopia min vurkemis: bisuhuvvo álo (mákso GB-mánu mielde) dahje 7 beaivvi nuvttá, du konto­o heiveheami dahje ?storage= mielde.
Seammá hápmi juohke modeallastype, url, content_type, width, height ja duration, govvii, videoii ja jienai seammá ládje. output lea modealla iežas boađusobjekta.
Outputa giettit
video
object {url, content_type, file_name, file_size}Boađusvideo, mas njálbmerievdadusat leat synkroniserejuvvon.

Eanet modeallat: Jietna

AI-agenttaide: dán siidu Markdowna lea dáppe https://doitong.com/se/developers/models/mmaudio-v2.md. Buot modeallat ja ráđit: https://doitong.com/developers/llms.txt