Peke ki ngā ihirangi

MMAudio V2

Whakauru

id tauira mmaudio-v2
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Tēnei tono: $ 0.005 5 whiwhinga API Whakahaerehia ki tēnei whārangi

Tikina he kī API
Sony AI Ororongo 1–30 s #sound-effects#foley#video-to-audio

Ka tāpiri pānga oro me te taiao oro kua taurite ki tētahi ataata wahangū mai i tētahi whakaahuatanga kuputuhi poto.

Ngā tauira

Tāuru
Putanga · ~20 s

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

5 s$ 0.005 · 5 whiwhinga API

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

•e hiahiatia ana

Tohutohu e whakaahua ana i te ororongo hei hanga.

•e hiahiatia ana video_url
Whakataka he kōnae,

URL ataata i whakamahia hei pūtake mō te whakaputa ororongo.

Te roa o te ororongo kua whakaputaina.

Arā atu negative_prompt · num_steps · cfg_strength · seed · mask_away_clip
taunoa

Tohutohu tōraro e tohu ana i ngā mea hei aukati i te whakaputa ororongo.

taunoa 25

Te tatau hipanga i whakamahia mō te whakaputa ororongo.

taunoa 4.5

Kaha Classifier Free Guidance.

Uara kākano i whakamahia e te kaiwhakaputa tau matapōkere.

POST /run/mmaudio-v2?wait=20 utu → $ 0.005
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō MMAudio V2

Ka mātaki a MMAudio V2 i te ataata, ka whakaputa i te ororongo e hāngai ana: ngā tapuwae ki te takitaki, ngā pakū wai, ngā pūkaha, te mano tāngata me te hau o te rūma, ka ārahina e tō tohutohu me tētahi tohutohu tōraro kōwhiringa. Ka whakaputa i te 1 ki te 30 hēkona ororongo, ā, ka whakahoki i te ataata me te ara oro hou.

Ngā tawhā

Tukuna te ingoa tōmua, te ingoa taketake rānei, kaua e rua. Ngā ingoa tōmua

IngoaMomo TaunoaE whakaaetia ana Whakamārama
video_urle hiahiatia ana video
Momourl · video
URL ataata i whakamahia hei pūtake mō te whakaputa ororongo.
prompte hiahiatia ana
Momostring
Tohutohu e whakaahua ana i te ororongo hei hanga.
negative_promptkōwhiringa
Momostring
Taunoa
Tohutohu tōraro e tohu ana i ngā mea hei aukati i te whakaputa ororongo.
seedkōwhiringa
Momointeger | null
0 – 65,535
Uara kākano i whakamahia e te kaiwhakaputa tau matapōkere.
num_stepskōwhiringa
Momointeger
Taunoa25
4 – 50
Te tatau hipanga i whakamahia mō te whakaputa ororongo.
durationkōwhiringa
Momonumber
Taunoa8
1 – 30
Te roa o te ororongo kua whakaputaina.
cfg_strengthkōwhiringa
Momonumber
Taunoa4.5
0 – 20
Kaha Classifier Free Guidance.
mask_away_clipkōwhiringa
Momoboolean
Taunoafalse
Ka whakahaere mēnā ka hunatia te topenga.
e hiahiatia ana Ingoa tōmua, e whakaaetia ana hoki

Mō ngā tawhā kōnae, whakamahia he URL tūmatanui https://, he URI data: tae atu ki te 10 MB, he file_url rānei o tētahi tukuake. Ngā kōnae

Putanga

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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
video
object {url, content_type, file_name, file_size}Ataata putanga kei roto ngā nekehanga ngutu kua tukutahia.

Ētahi atu tauira: Ororongo

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/mmaudio-v2.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt