Njuolgga sisdollui

Ltx 2.3 Quality · Reference Video to Video

Integrere

Modealla-id ltx-2.3-quality/reference-video-to-video
# 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/ltx-2.3-quality/reference-video-to-video?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"
  }'

# 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: 0,27 $ 270 API-kreditta · ≈ 29,05 ₽ du fiillat mihtiduvvojit ovdal vuodjámis Vuodje dán siiddu alde

Oza API-čoavdaga
Lightricks · 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 mii stivre ráhkadeami.

•gáibiduvvo video_url
Luoitte fiilla, dahje

URL mii čujuha referánsa-videoi, mii geavahuvvo lihkadeami ja struktuvrra rávvagin.

resolution standárda auto

Boađus-video sturrodat, mii váikkuha maiddái stabiila guhkkodahkii: unnit sturrodagat diktet eanet rámmaid, stuorát sturrodagat unnidit max-logu. Siskkáldas stivrenrehkenastin doallá sturrodaga lagas almmolaš stivrenbargovugiidda; njuolggo stivren `skip_control_preprocess` ja `control_video_url`-ain čuovvu eksplisihtta sturrodagaid 64px-heivehusain. Njuolggo stivrenmodusas `auto` váldá gáldu sturrodaga ja aspektarátio LTX-rájiid siste.

standárda 121

Boađus-rámmaid lohku, mii lea gitta IC-LoRA-stabiilavuođa bušeahtas, resolušuvdna geardumet rámmaid. 422-vástádus mearkkaša ahte bušeahtta lea mannan badjel; unnit resolušuvdna dahje `num_frames` geavat. Bušeahtta dohkkeha sullii 150 rámma 720p-lágan sturrodagaiguin ja eanet unnit sturrodagaiguin.

Viiddiduvvon negative_prompt · control_video_url · image · mid_image_url · end_image · video_quality · video_write_mode · video_strength · strength · frames_per_second · num_inference_steps · guidance_scale · seed · skip_control_preprocess · preserve_original_video · enable_prompt_expansion · enable_safety_checker
standárda color distortion, ove...

Negatiiva bivdda mii čilge maid ráhkadeapmi galgá heaittihit.

Luoitte fiilla, dahje

Válljehahtti ovdagihtii rehkenaston stivrenvideo, mii geavahuvvo siskkáldas stivrenrehkenastima sajis, go dat addo ovttas `skip_control_preprocess`-ain. Resamplenejuvvon boađussuuruide ja rámma-loguide heivehuvvon video šaddá njuolggo stivrenčuoggá. Video sáhttá ovdamearkka dihte sisttisdoallat ovdagihtii ráhkaduvvon čikŋan-, ravda- dahje pozu-komposišuvnna.

image_url
Luoitte fiilla, dahje

Válljehahtti govva-ankuvrenstálja dahje persovdnaidentitehta vuosttaš-rámma keyframea duohken.

Luoitte fiilla, dahje

Válljehahtti govva-ankuvren lávddus klippa gaskamuttus, mii lasiha álggahus `image_url` keyframea. Dat veahkeha lávddu čuovvut kameralihkadeami iige rievdat; gáibida `image_url`.

end_image_url
Luoitte fiilla, dahje

Válljehahtti govva-ankuvren lávddus klippa loahpahus-rámmain. Ávkkálaš go kameralihkadeapmi loahpá eará báikkis go álggahusgovva; gáibida `image_url`.

video_quality standárda high

Kvalitehta-heivehus mii geavahuvvo boađus-videui.

video_write_mode standárda balanced

Boađusvideo čájehanvuohki.

standárda 0.6

Rávvagii gullevaš nanaheapmi stivre man friddja lea rievdadit lihkadeami ja struktuvrra referánsa-video rájes: unnit árvu diktá eanet rievdadusaid.

standárda 1

Denoising-stivren referánsa-video rájes video-sámpalaide, man váikkuhus lea gitta `preserve_original_video`-modusis. Go modus lea eret, dat dušše oanehahttá denoising-plána; go modus lea jođus, dat stivre gáldu govvadančuoggáid rievdadeami. 1.0 ráhkada buot ođđasit, unnit árvut seailluhit eanet, ovdamearkka dihte 0.5 seailluhivččii sullii 50 %.

standárda 24

Boađus-video rámmafrekeansa, meroštallojuvvon rámmaiguin sekunddas.

standárda 15

Mearrit man galle inference-ceahki čađahat, gitta 30 rádjái; jus dán ii rievdat, geavahuvvo 15.

standárda 1

Heive classifier-free guidance dán skálain; dan standárdaheivehus ulbmil lea alla kvalitehta ja jođánis ráhkadeapmi.

Sádji, mii dahká ráhkadeami reprodukšuvnnalažžan. None bidjan vállje sádji juhkosiid mielde.

POST /run/ltx-2.3-quality/reference-video-to-video?wait=20 haddemearrádus → 0,27 $
# 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/ltx-2.3-quality/reference-video-to-video?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"
  }'

# 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 Ltx 2.3 Quality · Reference Video to Video birra

Ráhkada ođđa videoa geatnegahtton `prompt` ja referánsa-`video_url` vuođul, mii addá lihkastaga ja struktuvrra. Eaktodáhtolaš `image_url`, `mid_image_url` ja `end_image_url` giddidit lági álggus, gasku ja loahpas. `video_strength` ja `strength` (goappašat 0 to 1) stivrejit man lagas gáldu čuovvu dahje bisuha, ja `control_video_url` sáhttá addit ovddalgihtii rehkenastojuvvon stivrenčuovggu. `resolution` fállá auto dahje giddes ovddabeavttuid, nugo kvadráht ja 16:9 čuožžilan dahje láhčadettiin.

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 mii stivre ráhkadeami.
video_urlgáibiduvvo video
Šládjaurl · video
URL mii čujuha referánsa-videoi, mii geavahuvvo lihkadeami ja struktuvrra rávvagin.
control_video_urleaktodáhtolaš
Šládjaurl · video
Válljehahtti ovdagihtii rehkenaston stivrenvideo, mii geavahuvvo siskkáldas stivrenrehkenastima sajis, go dat addo ovttas `skip_control_preprocess`-ain. Resamplenejuvvon boađussuuruide ja rámma-loguide heivehuvvon video šaddá njuolggo stivrenčuoggá. Video sáhttá ovdamearkka dihte sisttisdoallat ovdagihtii ráhkaduvvon čikŋan-, ravda- dahje pozu-komposišuvnna.
skip_control_preprocesseaktodáhtolaš
Šládjaboolean
Standárdafalse
Njuolggo stivrenmodus mii geavaha `control_video_url`-a čikŋaga, ravddaid dahje pozu siskkáldas rehkenastima sajis; almmá dán URL:a heivehus ii geavahuvvo. Dán modusa boađussuuruin čuovvut eksplisihtta sturrodagaid 64-heivehusain, vai RGB- ja stivrenvideot leat seammalágánat, ja `auto` geavaha gáldu sturrodaga ja aspektarátio LTX-rájiid siste.
preserve_original_videoeaktodáhtolaš
Šládjaboolean
Standárdafalse
Orginála-video seailluhanmodus, mii lea dušše vejolaš `skip_control_preprocess`, `video_url` ja `control_video_url`-ain. Standárdan heaittihuvvon modus doallá dábálaš stivrenproseassa; go dan bidjá johtui, ráhkadeapmi álggahuvvo `video_url`-as ja struktuvrralaš rávvagat `control_video_url`-as seailluhuvvojit. `strength`-a denoising stivre man olu seailluhuvvo; unnit árvu seailluhivččii eanet orginála govvadančuoggáid.
image_urleaktodáhtolaš image
Šládjaurl · image
Válljehahtti govva-ankuvrenstálja dahje persovdnaidentitehta vuosttaš-rámma keyframea duohken.
mid_image_urleaktodáhtolaš
Šládjaurl · image
Válljehahtti govva-ankuvren lávddus klippa gaskamuttus, mii lasiha álggahus `image_url` keyframea. Dat veahkeha lávddu čuovvut kameralihkadeami iige rievdat; gáibida `image_url`.
end_image_urleaktodáhtolaš end_image
Šládjaurl · image
Válljehahtti govva-ankuvren lávddus klippa loahpahus-rámmain. Ávkkálaš go kameralihkadeapmi loahpá eará báikkis go álggahusgovva; gáibida `image_url`.
video_strengtheaktodáhtolaš
Šládjanumber
Standárda0.6
0 – 1
Rávvagii gullevaš nanaheapmi stivre man friddja lea rievdadit lihkadeami ja struktuvrra referánsa-video rájes: unnit árvu diktá eanet rievdadusaid.
strengtheaktodáhtolaš
Šládjanumber
Standárda1
0 – 1
Denoising-stivren referánsa-video rájes video-sámpalaide, man váikkuhus lea gitta `preserve_original_video`-modusis. Go modus lea eret, dat dušše oanehahttá denoising-plána; go modus lea jođus, dat stivre gáldu govvadančuoggáid rievdadeami. 1.0 ráhkada buot ođđasit, unnit árvut seailluhit eanet, ovdamearkka dihte 0.5 seailluhivččii sullii 50 %.
num_frameseaktodáhtolaš
Šládjainteger
Standárda121
9 – 481
Boađus-rámmaid lohku, mii lea gitta IC-LoRA-stabiilavuođa bušeahtas, resolušuvdna geardumet rámmaid. 422-vástádus mearkkaša ahte bušeahtta lea mannan badjel; unnit resolušuvdna dahje `num_frames` geavat. Bušeahtta dohkkeha sullii 150 rámma 720p-lágan sturrodagaiguin ja eanet unnit sturrodagaiguin.
resolutioneaktodáhtolaš
Šládjaobject
Standárdaauto
autosquare_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Boađus-video sturrodat, mii váikkuha maiddái stabiila guhkkodahkii: unnit sturrodagat diktet eanet rámmaid, stuorát sturrodagat unnidit max-logu. Siskkáldas stivrenrehkenastin doallá sturrodaga lagas almmolaš stivrenbargovugiidda; njuolggo stivren `skip_control_preprocess` ja `control_video_url`-ain čuovvu eksplisihtta sturrodagaid 64px-heivehusain. Njuolggo stivrenmodusas `auto` váldá gáldu sturrodaga ja aspektarátio LTX-rájiid siste.
frames_per_secondeaktodáhtolaš
Šládjanumber
Standárda24
1 – 60
Boađus-video rámmafrekeansa, meroštallojuvvon rámmaiguin sekunddas.
num_inference_stepseaktodáhtolaš
Šládjainteger
Standárda15
8 – 30
Mearrit man galle inference-ceahki čađahat, gitta 30 rádjái; jus dán ii rievdat, geavahuvvo 15.
guidance_scaleeaktodáhtolaš
Šládjanumber
Standárda1
1 – 20
Heive classifier-free guidance dán skálain; dan standárdaheivehus ulbmil lea alla kvalitehta ja jođánis ráhkadeapmi.
generate_audioeaktodáhtolaš
Šládjaboolean
Standárdatrue
Jietnaráiddu molssaeapmi máhcaheami MP4:i: apaguvvon ráhkada dušše video-fiila, aktiverejuvvon lasiha jietnaga.
negative_prompteaktodáhtolaš
Šládjastring
Standárdacolor distortion, overexposure, static, blurry details, subtitles, style, artwork, painting, frame, still, dim overall tone, worst quality, low quality, JPEG compression artifacts, ugly, mutilated, extra fingers, poorly drawn hands, poorly drawn face, deformed, disfigured, malformed limbs, fused fingers, motionless frame, cluttered background, three legs, crowded background, walking backwards
Negatiiva bivdda mii čilge maid ráhkadeapmi galgá heaittihit.
seedeaktodáhtolaš
Šládjainteger | null
Sádji, mii dahká ráhkadeami reprodukšuvnnalažžan. None bidjan vállje sádji juhkosiid mielde.
enable_prompt_expansioneaktodáhtolaš
Šládjaboolean
Standárdatrue
Stivre leago bivdda viiddideapmi anus.
enable_safety_checkereaktodáhtolaš
Šládjaboolean
Standárdatrue
Stivre bealuštaniskkadeami doaibmama.
video_qualityeaktodáhtolaš
Šládjaenum
Standárdahigh
lowmediumhighmaximum
Kvalitehta-heivehus mii geavahuvvo boađus-videui.
video_write_modeeaktodáhtolaš
Šládjaenum
Standárdabalanced
fastbalancedsmall
Boađusvideo čájehanvuohki.
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": "ltx-2.3-quality/reference-video-to-video",
  "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": 270,
    "usd": "0.27",
    "charged": 270,
    "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"
  },
  "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,
    "prompt": "string"
  },
  "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}Modealla ráhkadan video.
seed
integerIeš sivaárvu mii geavahuvvo ráhkadeamis.
prompt
stringRáhkadanbivdda, maiddái buot lassáneapmi mii lea dahkkon ovdal geavaheami.

Eanet modeallat: Videos video

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