Njuolgga sisdollui

Void Video Inpainting

Integrere

Modealla-id void-video-inpainting
# 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/void-video-inpainting?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",
    "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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Fiillat nugo ovdamearka: 0,10 $ 100 API-kreditta du fiillat mihtiduvvojit ovdal vuodjámis Vuodje dán siiddu alde

Oza API-čoavdaga
Open model Videos video #utility#editing

Váldá dávtta video eret ja dan váikkuhusaid scene:s, geavahettiin maskavideo dahje teavstamaskaprompta

Open model · Video

Dát lea du vuosttaš bohtos

Daga jearaldaga vuolábealde ja vuodje dan iežat API-čoavddain. Boađusat kopierejuvvojit min vurkemii, bisuhuvvojit álo dahje 7 beaivvi nuvttá.

Ráhkat jearaldaga

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

•gáibiduvvo

Govvádus das, movt duogáš galgá orrut go áhta lea jávkkaštuvvon.

•gáibiduvvo video_url
Luoitte fiilla, dahje

Gáldovideo URL-čujuhus, mas lea jávkkaštuvvon áhta.

standárda
Luoitte fiilla, dahje

Jávkkašanmaskevидео URL-čujuhus; jus dat váilu, prográmma ráhkada gaskaboddosaš videomaske SAM-3-videoloahppačuoggá bokte geavahettiin `mask_prompt`, ja rievdada dan dasto automáhtalaččat quadmask-hápmái. Buoremus bohtosiid várás atte VOID-stiilla quadmask mas leat 4 ránesárvvu: 255 seailluhuvvon duogáža várás, 127 guoskevaš guovllu várás, 63 badjálasvuođa várás ja 0 jávkkaštuvvon áđa várás. Maiddái bináralaš maskejuvvon govat dohkkehuvvojit, main 255 seailluha ja 0 jávkkašta.

Viiddiduvvon mask_prompt · negative_prompt · num_inference_steps · guidance_scale · strength · num_frames · seed · enable_safety_checker

Maskečuozáhaga ávžžuhusat SAM-3 várás gaskaboddosaš maskevидео ráhkadeapmái, go `quad_mask_video_url` ii leat addojuvvon. Muital maid galgá masket, ovdamearkka dihte gáldovideos jávkkaštuvvon áđa dahje olbmo.

standárda The video is not of a...

Negatiivvalaš bivdda, mii govvida bohtosiid maid ii hálit ráhkadit.

standárda 30

Šuohkka jávkkašanlávkkiid lohku. Lasiheapmi buorida kvalitehta muhto lasiha maŋŋoneami.

standárda 1

Classifer-free rávvema nanaivuohta.

standárda 1

Šuohkka jávkkašteami nanusvuohta; 1.0 mearkkaša ollislaš šuohkka jávkkašteami.

standárda 85

Sihtton áiggi mielde árvvoštallanláse, man duogášvuogádat heiveha ovtta CogVideoX-sihkkaris sturrodahkii 69, 77, 85, ..., 197. Lagaš sturrodat válljejuvvo áiggi mielde čohkken ja bihttáid juohkima heiveheapmái.

Seed mii stivre sluččadusa, nu ahte boađus sáhttá ođđasit ráhkaduvvot.

POST /run/void-video-inpainting?wait=20 haddemearrádus → 0,10 $
# 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/void-video-inpainting?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",
    "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.com/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 Void Video Inpainting birra

Váldá `video_url` ja `prompt`-a, mii čilge háliiduvvon duogáža. Bija `quad_mask_video_url`, dahje atte `mask_prompt` maska ráhkadeapmái. Gaskaoamit leat `num_frames` (1-197), `num_inference_steps` (1-50), `guidance_scale`, `strength` ja eaktun geavaheaddji, njoazibut `enable_pass2_refinement`, mii buorida áiggeoktavuođa.

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
Gáldovideo URL-čujuhus, mas lea jávkkaštuvvon áhta.
quad_mask_video_urleaktodáhtolaš
Šládjaurl · video
Standárda
Jávkkašanmaskevидео URL-čujuhus; jus dat váilu, prográmma ráhkada gaskaboddosaš videomaske SAM-3-videoloahppačuoggá bokte geavahettiin `mask_prompt`, ja rievdada dan dasto automáhtalaččat quadmask-hápmái. Buoremus bohtosiid várás atte VOID-stiilla quadmask mas leat 4 ránesárvvu: 255 seailluhuvvon duogáža várás, 127 guoskevaš guovllu várás, 63 badjálasvuođa várás ja 0 jávkkaštuvvon áđa várás. Maiddái bináralaš maskejuvvon govat dohkkehuvvojit, main 255 seailluha ja 0 jávkkašta.
mask_prompteaktodáhtolaš
Šládjastring | null
Maskečuozáhaga ávžžuhusat SAM-3 várás gaskaboddosaš maskevидео ráhkadeapmái, go `quad_mask_video_url` ii leat addojuvvon. Muital maid galgá masket, ovdamearkka dihte gáldovideos jávkkaštuvvon áđa dahje olbmo.
promptgáibiduvvo
Šládjastring
Govvádus das, movt duogáš galgá orrut go áhta lea jávkkaštuvvon.
enable_pass2_refinementeaktodáhtolaš
Šládjaboolean
Standárdafalse
Eaktodáhtolaš VOID-buorideapmi, mii sáhttá buoridit guhkit bihtáid áiggi mielde ovttaláganvuođa, muhto dagaha gieđahallama njoazibun. Dat geavaha geavžžiduvvon šuohkka buorideami Pass 2 muttus, Pass 1 maŋŋá.
negative_prompteaktodáhtolaš
Šládjastring
StandárdaThe video is not of a high quality, it has a low resolution. Watermark present in each frame. The background is solid. Strange body and strange trajectory. Distortion.
Negatiivvalaš bivdda, mii govvida bohtosiid maid ii hálit ráhkadit.
num_inference_stepseaktodáhtolaš
Šládjainteger
Standárda30
1 – 50
Šuohkka jávkkašanlávkkiid lohku. Lasiheapmi buorida kvalitehta muhto lasiha maŋŋoneami.
guidance_scaleeaktodáhtolaš
Šládjanumber
Standárda1
0 – 20
Classifer-free rávvema nanaivuohta.
strengtheaktodáhtolaš
Šládjanumber
Standárda1
0 – 1
Šuohkka jávkkašteami nanusvuohta; 1.0 mearkkaša ollislaš šuohkka jávkkašteami.
seedeaktodáhtolaš
Šládjainteger | null
Seed mii stivre sluččadusa, nu ahte boađus sáhttá ođđasit ráhkaduvvot.
num_frameseaktodáhtolaš
Šládjainteger
Standárda85
1 – 197
Sihtton áiggi mielde árvvoštallanláse, man duogášvuogádat heiveha ovtta CogVideoX-sihkkaris sturrodahkii 69, 77, 85, ..., 197. Lagaš sturrodat válljejuvvo áiggi mielde čohkken ja bihttáid juohkima heiveheapmái.
enable_safety_checkereaktodáhtolaš
Šládjaboolean
Standárdatrue
Bidjá ráhkaduvvon sisdoalu dorvvolašvuođadárkkistemiid atnui.
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": "void-video-inpainting",
  "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": 100,
    "usd": "0.10",
    "charged": 100,
    "refunded": 0
  },
  "input": {
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "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
    },
    "seed": 42,
    "timings": {}
  },
  "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"
  }
}
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}Video áđa jávkkašteami maŋŋá.
seed
integerRáhkadeamis geavahuvvon sádjiárvu.
timings
objectGieđahallama muttuid áigegeavaheami dárkilis dieđut.

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