Dža ko lil

Void Video Inpainting

Integriruj

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

Fajlo sar o misalo: $0.10 100 API krediti tire fajlo si merime angl-o phiripen Phir les kate

Lel API klidin
Open model Video ko Video #utility#editing

Mukhel avri jekh objekto andar jekh video jekhetane leske efekturenca pe scena, mask-video vaj tekstosko mask-promptesa

Open model · Video

Tiro prvo rezultato si kate

Ker tele jekh mangipen thaj phir les tire API klidinosa. E rezultatur si kopirime amare arakhipneste, vično vaj 7 dives bilačhes.

Ker jekh mangipen

O kontrolura kerde si katar e schemaske. O kodo thaj e cena menjinen sar tu len menjines.

•trubul

Opis savo sikavel sar te dikhel o background kana o objekto si vazdino.

•trubul video_url
Čhiv jekh fajl, vaj

Source video URL savo si o objekto savo trubuj te avel vazdino.

standardno
Čhiv jekh fajl, vaj

Removal-mask video URL; kana nashti, app kerel temporarno video masko le SAM-3 video endpoint-esa, labarindoj `mask_prompt`, thaj automatikone konvertinel les ande quadmask. Majlačhe rezultatonge, din VOID-style quadmask 4 grayscale vrednostenca: 255 vaš astardo background, 127 vaš affected region, 63 vaš overlap, thaj 0 vaš o vazdino objekto. Binary maska si len accepted, 255 vaš te astarel thaj 0 vaš te vazdel.

Lučhe mask_prompt · negative_prompt · num_inference_steps · guidance_scale · strength · num_frames · seed · enable_safety_checker

Mask-target instrukcije vaš SAM-3 te kerel temporarno mask video kana nashti si `quad_mask_video_url`. Identifikijar so te maskinel, sar objekto vaj manuš savo trubuj te avel vazdino katar o source video.

standardno The video is not of a...

Negative prompto savo opisarel na-manglune rezultatura te sikavel o keripe dur katar lende.

standardno 30

Gin e denoising step-engo. Kana bararel, lačharel o quality, numa addinďol latency.

standardno 1

Zor e classifier-free guidance-ki.

standardno 1

Denoising strength; 1.0 sikavel kompleto denoising.

standardno 85

Manglo temporal inference window, backend-este adaptirime ande jekh CogVideoX-safe size: 69, 77, 85, ..., 197. Lil pes o majpašutno size savo del temporal compression thaj patching.

Seed savo kontrolinel e slučajnost vaš ponovljive rezultatora.

POST /run/void-video-inpainting?wait=20 hesab → $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"

Phandel kava mangipen

Tiro kluč ačhel kadale browsereste: bičhalel pes numa ko Doitong API thaj šuvav pes (localStorage) numa te tiknes Remember. Le jekh API ključ

Palal Void Video Inpainting

Lel `video_url` thaj jek `prompt` savo sikavel o manglo palutno. Del `quad_mask_video_url`, vaj del `mask_prompt` te o maska te ovel kerdo. Kontrola si `num_frames` (1-197), `num_inference_steps` (1-50), `guidance_scale`, `strength` thaj opcionalno lokhesuno `enable_pass2_refinement` vaś temporalno jekhipe.

Parametra

Bičhalav vaj e kanonikano nav vaj e native nav, na duj. Kanonikane nava

NavTip standardnoMuklo Vakeripe
video_urltrubul video
Tipurl · video
Source video URL savo si o objekto savo trubuj te avel vazdino.
quad_mask_video_urlopcionalno
Tipurl · video
standardno
Removal-mask video URL; kana nashti, app kerel temporarno video masko le SAM-3 video endpoint-esa, labarindoj `mask_prompt`, thaj automatikone konvertinel les ande quadmask. Majlačhe rezultatonge, din VOID-style quadmask 4 grayscale vrednostenca: 255 vaš astardo background, 127 vaš affected region, 63 vaš overlap, thaj 0 vaš o vazdino objekto. Binary maska si len accepted, 255 vaš te astarel thaj 0 vaš te vazdel.
mask_promptopcionalno
Tipstring | null
Mask-target instrukcije vaš SAM-3 te kerel temporarno mask video kana nashti si `quad_mask_video_url`. Identifikijar so te maskinel, sar objekto vaj manuš savo trubuj te avel vazdino katar o source video.
prompttrubul
Tipstring
Opis savo sikavel sar te dikhel o background kana o objekto si vazdino.
enable_pass2_refinementopcionalno
Tipboolean
standardnofalse
Opcionalno VOID refinement savo trade-kerel majslow processing vaš potencialno majlačhi temporal consistency ande lungeder clipa. Likerel warped-noise refinement sar Pass 2 palal Pass 1.
negative_promptopcionalno
Tipstring
standardnoThe 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.
Negative prompto savo opisarel na-manglune rezultatura te sikavel o keripe dur katar lende.
num_inference_stepsopcionalno
Tipinteger
standardno30
1 – 50
Gin e denoising step-engo. Kana bararel, lačharel o quality, numa addinďol latency.
guidance_scaleopcionalno
Tipnumber
standardno1
0 – 20
Zor e classifier-free guidance-ki.
strengthopcionalno
Tipnumber
standardno1
0 – 1
Denoising strength; 1.0 sikavel kompleto denoising.
seedopcionalno
Tipinteger | null
Seed savo kontrolinel e slučajnost vaš ponovljive rezultatora.
num_framesopcionalno
Tipinteger
standardno85
1 – 197
Manglo temporal inference window, backend-este adaptirime ande jekh CogVideoX-safe size: 69, 77, 85, ..., 197. Lil pes o majpašutno size savo del temporal compression thaj patching.
enable_safety_checkeropcionalno
Tipboolean
standardnotrue
Aktivinel safety checks vaš kerdo contento.
trubul Kanonikano nav, vi akceptime

Fajloske parametra lel jekh publikano https:// URL, jekh data: URI dži 10 MB, vaj e file_url uploadoski. Fajlura

Rezultato

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"
  }
}
Tire fajlura, tiro alosaripenSako outputs[].url si kopija amare arakhipneste: vično (čargeime per GB-mase) vaj 7 dives bilačhes, tiro kontoskere regulaciatar vaj ?storage=.
Sa jekh forma sako modeloθartype, url, content_type, width, height thaj duration, varesave imajinake, video thaj audio-ke. output si o modelosko korkoro resultosko objekto.
Outputoske fieldura
video
object {url, content_type, file_name, file_size}Rezultirime video palal vazdimo e objektosko.
seed
integerSeed-valoro aplikovano ko generiripe.
timings
objectTiming details vaš sako pipeline stage.

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/void-video-inpainting.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt