Njuolgga sisdollui

ID-V2V

Integrere

Modealla-id id-v2v
# 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/id-v2v?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

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

Fiillat nugo ovdamearka: 1,013 $ 1 013 API-kreditta · ≈ 106,83 ₽ du fiillat mihtiduvvojit ovdal vuodjámis Vuodje dán siiddu alde

Oza API-čoavdaga
Open model Videos video gitta 720p #stylized#transform#editing

Ođasmahttá videoa ođasmahtton vuosttaš rámmá vuođul, seailluhettiin ášši identitehta ja lihkadeami

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

Bivdda dárbbašlaš ođasmahttojuvvon videoi.

•gáibiduvvo video_url
Luoitte fiilla, dahje

Lihkadus- ja kártenreferánsa ráhkadeapmái, addojuvvon gáldovideo URL:an.

•gáibiduvvo image_url
Luoitte fiilla, dahje

Identitehta- ja stílareferánsa video-ođasmahttimii, addojuvvon URL:an ođasmahttojuvvon vuosttaš rámmaii.

resolution standárda 720p

Vállje 720p 1280×720 dahje 720×1280 boađussii, dahje 480p 832×480 dahje 480×832 boađussii. Gálgagovvva orien­te­ren mearrida guđe sturrodagat geavahuvvojit.

standárda 81

Rádje ráhkaduvvon rámmaid lohku; jos gáldus leat unnit rámma, dan rámma-lohku šaddá bajimus rádjin.

Viiddiduvvon segmentation_prompt · num_inference_steps · guidance_scale · vace_scale · seed · enable_safety_checker · keyframes
0 / 100

Ávdnaselekte­renbivdda SAM-3:i, mii meroštallá guovllu man pixelat bagadit ráhkadeami. Dán segmenterejuvvon ávdnaguovllu olggobealde ráhkadeapmi ii leat rádjejuvvon.

standárda 30

Clip-kvalitehta ja leavttus, meroštallojuvvon diffusion-sampling-ceahkkiid lohkun juohke clipas: eanet ceahkit buoridit kvalitehta, muhto váldet guhkit áiggi.

standárda 5

Classifier-free guidance-nanneheapmi, mii dárbbašlaččat ovttasta bivddu čuovvuma ja kreatiivavuođa.

standárda 1

Gálgavideo struktuvrra čuovvun, heivehuvvon VACE-konditionerenskálain.

Random-vuođđos juohkása buot clipaide máŋgga clipa ráhkadeamis, vai ráhkadeapmi lea ođasmáhtti.

Válljehahtti identitehta-ankorat guhkes videoide: sádde ođasmahttojuvvon čájehahtti rámmaid boađus-rámmaindeksiiguin gos dat galget leat.

POST /run/id-v2v?wait=20 haddemearrádus → 1,013 $
# 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/id-v2v?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# 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 ID-V2V birra

Ođasmahttá gálduvideoa (`video_url`) ođasmahtton vuosttaš rámmá (`image_url`) lági mielde, `prompt` jođihemiin. Gitta 5 `keyframes` sáhttet nannet identitehta guhkes klippain. Boađus lea 480p dahje 720p, `num_frames` 17 gitta 241, ja `segmentation_prompt` (standarda person) vállje ášši man pixelat eaktudit boađusa.

Parametterat

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

NammaŠládja StandárdaDohkkehuvvon Govvádus
promptgáibiduvvo
Šládjastring
Bivdda dárbbašlaš ođasmahttojuvvon videoi.
video_urlgáibiduvvo video
Šládjaurl · video
Lihkadus- ja kártenreferánsa ráhkadeapmái, addojuvvon gáldovideo URL:an.
image_urlgáibiduvvo image
Šládjaurl · image
Identitehta- ja stílareferánsa video-ođasmahttimii, addojuvvon URL:an ođasmahttojuvvon vuosttaš rámmaii.
keyframeseaktodáhtolaš
Šládjaobject[]
≤ 5 merki
Válljehahtti identitehta-ankorat guhkes videoide: sádde ođasmahttojuvvon čájehahtti rámmaid boađus-rámmaindeksiiguin gos dat galget leat.
keyframes[].image_urlgáibiduvvo
Šládjaurl · image
Ođasmahttojuvvon govvva URL identitehta-ankorii guhkes videos; govvva aspektaratio sáhttá earret boađusa ráti eanemustá 0.1. Govvva ihtá rievdadusa haga `frame_index`-sajádagas.
keyframes[].frame_indexgáibiduvvo
Šládjainteger
≥ 1
Bija čájehahtti rámma boađussajádagii unnimusat 1 ja vuollelis boađusa rámma-lohkui, 0-vuođđoindeksain. Sajádat 0 lea várrejuvvon ođasmahttojuvvon álggahansáhka rámmai `image_url`:as.
resolutioneaktodáhtolaš
Šládjaenum
Standárda720p
480p720p
Vállje 720p 1280×720 dahje 720×1280 boađussii, dahje 480p 832×480 dahje 480×832 boađussii. Gálgagovvva orien­te­ren mearrida guđe sturrodagat geavahuvvojit.
num_frameseaktodáhtolaš
Šládjainteger
Standárda81
17 – 241
Rádje ráhkaduvvon rámmaid lohku; jos gáldus leat unnit rámma, dan rámma-lohku šaddá bajimus rádjin.
segmentation_prompteaktodáhtolaš
Šládjastring
Standárdaperson
≤ 100 mearkka
Ávdnaselekte­renbivdda SAM-3:i, mii meroštallá guovllu man pixelat bagadit ráhkadeami. Dán segmenterejuvvon ávdnaguovllu olggobealde ráhkadeapmi ii leat rádjejuvvon.
num_inference_stepseaktodáhtolaš
Šládjainteger
Standárda30
2 – 40
Clip-kvalitehta ja leavttus, meroštallojuvvon diffusion-sampling-ceahkkiid lohkun juohke clipas: eanet ceahkit buoridit kvalitehta, muhto váldet guhkit áiggi.
guidance_scaleeaktodáhtolaš
Šládjanumber
Standárda5
1 – 10
Classifier-free guidance-nanneheapmi, mii dárbbašlaččat ovttasta bivddu čuovvuma ja kreatiivavuođa.
vace_scaleeaktodáhtolaš
Šládjanumber
Standárda1
0 – 2
Gálgavideo struktuvrra čuovvun, heivehuvvon VACE-konditionerenskálain.
seedeaktodáhtolaš
Šládjainteger | null
Random-vuođđos juohkása buot clipaide máŋgga clipa ráhkadeamis, vai ráhkadeapmi lea ođasmáhtti.
enable_safety_checkereaktodáhtolaš
Šládjaboolean
Standárdatrue
Sihkarvuođa dárkkisteamit sihke sisa-addi ja boađusain.
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": "id-v2v",
  "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": 1013,
    "usd": "1.013",
    "charged": 1013,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "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
  },
  "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}Ráhkadeami bokte buvttaduvvon videofiila.
seed
integerRáhkadeamis geavahuvvon sádjiárvu.

Eanet modeallat: Videos video

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