Dža ko lil

ID-V2V

Integriruj

Modelosko 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.com/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Fajlo sar o misalo: $1.013 1,013 API krediti tire fajlo si merime angl-o phiripen Phir les kate

Lel API klidin
Open model Video ko Video dži 720p #stylized#transform#editing

Restilizil jekh video andar jekh restilizome angluno kadro, rakhindoj e identiteta thaj o lavipe e subjektesko

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

Prompto savo phenel manglo restyled video.

•trubul video_url
Čhiv jekh fajl, vaj

Motioneski thaj framing referenca vaś keripe, dino sar sorsosko videosko URL.

•trubul image_url
Čhiv jekh fajl, vaj

Identitetoski thaj styloski referenca vaś video-regeneration, dino sar URL savo dikhel restyled angluno kadro.

resolution standardno 720p

Alosar 720p vaš 1280×720 vaj 720×1280 rezultato, vaj 480p vaš 832×480 vaj 480×832 rezultato. E izvornoske videoski orientacija del savo dimenzije te aplicirin.

standardno 81

Limituj kabor kadro te kerel; te o sorsos lel maj cikno kadro-ginipen, lesko ginipen si upper bound.

Lučhe segmentation_prompt · num_inference_steps · guidance_scale · vace_scale · seed · enable_safety_checker · keyframes
0 / 100

Subjectosko alosaripasko prompto vaś SAM-3, savo identifikuil o regionosko pixelo save te vodil o keripe. Avri katar o segmentime subjecto, o keripe si bi-limitime.

standardno 30

Cliposki kvaliteta thaj sigutnipen, phenime sar diffusion sampling-steposko ginipen vaś jekh clip: maj but stepa lačharel kvalitet, numa lel maj but vaxt.

standardno 5

Classifier-free guidance zuralipen, balansirindoj promptoski vernosta thaj kreativita.

standardno 1

Strukturalno vernosta e sorsoske videoske, paruvime katar VACE conditioning scale.

Random sidlo jekhetano savore clipenca kana kerel but clipa, vaš reprodukciako keripe.

Opcionalne identitetoske ankore vaš lunge video: de palem stilizime šerutne kadra e rezultatoske kadrenge indeksenca, kaj von trubun te sikljon.

POST /run/id-v2v?wait=20 hesab → $1.013
# 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/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.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 ID-V2V

Kerel palem jekh źanglo video (`video_url`) ande dikhavipen le nevo-stilalno anglune framesko (`image_url`), vodime jekh `prompt`-esa. Dži 5 `keyframes` šaj te phandel identiteta ande lunge klipura. O outputo si 480p vaj 720p le `num_frames`-sa 17 dži 241, thaj `segmentation_prompt` (standardno person) alosarel o subjektos savo pixelura kontrolin o rezultato.

Parametra

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

NavTip standardnoMuklo Vakeripe
prompttrubul
Tipstring
Prompto savo phenel manglo restyled video.
video_urltrubul video
Tipurl · video
Motioneski thaj framing referenca vaś keripe, dino sar sorsosko videosko URL.
image_urltrubul image
Tipurl · image
Identitetoski thaj styloski referenca vaś video-regeneration, dino sar URL savo dikhel restyled angluno kadro.
keyframesopcionalno
Tipobject[]
≤ 5 artiklura
Opcionalne identitetoske ankore vaš lunge video: de palem stilizime šerutne kadra e rezultatoske kadrenge indeksenca, kaj von trubun te sikljon.
keyframes[].image_urltrubul
Tipurl · image
Restyled kipesko URL vaś identitetosko anchor andro lungo video; kipesko aspect ratio na tromal te razlikujil katar outputosko maj but 0.1. O kipo dikhel bi-paruvipasa andro `frame_index`.
keyframes[].frame_indextrubul
Tipinteger
≥ 1
Thov o keyframe andro outputoski pozicia najmanšo 1 thaj tele outputoske total frame-countosko, uzarindoj 0-based indexing. Pozicia 0 si rezervime vaś restyled startosko kadro vaj `image_url`.
resolutionopcionalno
Tipenum
standardno720p
480p720p
Alosar 720p vaš 1280×720 vaj 720×1280 rezultato, vaj 480p vaš 832×480 vaj 480×832 rezultato. E izvornoske videoski orientacija del savo dimenzije te aplicirin.
num_framesopcionalno
Tipinteger
standardno81
17 – 241
Limituj kabor kadro te kerel; te o sorsos lel maj cikno kadro-ginipen, lesko ginipen si upper bound.
segmentation_promptopcionalno
Tipstring
standardnoperson
≤ 100 simbolura
Subjectosko alosaripasko prompto vaś SAM-3, savo identifikuil o regionosko pixelo save te vodil o keripe. Avri katar o segmentime subjecto, o keripe si bi-limitime.
num_inference_stepsopcionalno
Tipinteger
standardno30
2 – 40
Cliposki kvaliteta thaj sigutnipen, phenime sar diffusion sampling-steposko ginipen vaś jekh clip: maj but stepa lačharel kvalitet, numa lel maj but vaxt.
guidance_scaleopcionalno
Tipnumber
standardno5
1 – 10
Classifier-free guidance zuralipen, balansirindoj promptoski vernosta thaj kreativita.
vace_scaleopcionalno
Tipnumber
standardno1
0 – 2
Strukturalno vernosta e sorsoske videoske, paruvime katar VACE conditioning scale.
seedopcionalno
Tipinteger | null
Random sidlo jekhetano savore clipenca kana kerel but clipa, vaš reprodukciako keripe.
enable_safety_checkeropcionalno
Tipboolean
standardnotrue
Aktivizirarel safety-checka vaj inputo thaj rezultato.
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": "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.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}Video-fajlo kerdino generiripeça.
seed
integerSeed-valoro aplikovano ko generiripe.

Bute modeli: Video ko Video

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