Njuolgga sisdollui

LTX 2.3 Quality · Inpaint · LoRA

Integrere

Modealla-id ltx-2.3-quality/inpaint/lora
# 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/inpaint/lora?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",
    "mask_video_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "loras": [
      {
        "path": "https://example.com/your-file.safetensors"
      }
    ]
  }'

# 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,304 $ 304 API-kreditta · ≈ 32,70 ₽ 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

Teaksta mii meroštallá sisdoalu ráhkadeami masku siskkáldas.

•gáibiduvvo video_url
Luoitte fiilla, dahje

Gáldo-video inpainting várás.

•gáibiduvvo
Luoitte fiilla, dahje

Video-masku mas čáhppes guovllut seailluhit gáldo-sisdoalu ja vielgat guovllut čájehit sisdoalu mii galgá ráhkaduvvot ođđasit.

standárda 121

Ráhkaduvvon boađusa rámma-lohku.

•gáibiduvvo

LoRA-lassemerkejumiid LTX-2.3 várás, juohkehaš gitta 3 GB rádjái ja eanemustá 3 merkejumi. Laddojeapmi dáhpáhuvvá dušše maŋŋá go registry SSRF-sihkkaris downloader lea viežžan juohke bálgá.

Viiddiduvvon negative_prompt · video_quality · video_write_mode · video_strength · frames_per_second · num_inference_steps · guidance_scale · seed · enable_prompt_expansion · enable_safety_checker
standárda color distortion, ove...

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

video_quality standárda high

Kvalitehta-heivehus mii geavahuvvo boađus-videui.

video_write_mode standárda balanced

Boađusvideo čájehanvuohki.

standárda 1

Mearrit man olu gáldo-video struktuvra seailluhuvvo vurkejuvvon sisdoalus, lasihemiin IC-LoRA video-stivrejeaddji nanusvuođa nannosit seailluheami várás.

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/inpaint/lora?wait=20 haddemearrádus → 0,304 $
# 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/inpaint/lora?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",
    "mask_video_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "loras": [
      {
        "path": "https://example.com/your-file.safetensors"
      }
    ]
  }'

# 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 · Inpaint · LoRA birra

Video-inpaint, mii gáibida maiddái `loras` listtu gitta 3 iešguđetlágan LoRA:in, juohkehaš gitta 3 GB. Addi `video_url`, `mask_video_url` (vilges ođasmahttojuvvo, čáhppes bisuhuvvo) ja `prompt` maskerejuvvon guvlui. `video_strength` (0 to 1) mearrida man ollu gáldu struktuvra bisuhuvvo. `num_frames` váldá 9 to 481.

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
Teaksta mii meroštallá sisdoalu ráhkadeami masku siskkáldas.
video_urlgáibiduvvo video
Šládjaurl · video
Gáldo-video inpainting várás.
mask_video_urlgáibiduvvo
Šládjaurl · video
Video-masku mas čáhppes guovllut seailluhit gáldo-sisdoalu ja vielgat guovllut čájehit sisdoalu mii galgá ráhkaduvvot ođđasit.
video_strengtheaktodáhtolaš
Šládjanumber
Standárda1
0 – 1
Mearrit man olu gáldo-video struktuvra seailluhuvvo vurkejuvvon sisdoalus, lasihemiin IC-LoRA video-stivrejeaddji nanusvuođa nannosit seailluheami várás.
num_frameseaktodáhtolaš
Šládjainteger
Standárda121
9 – 481
Ráhkaduvvon boađusa rámma-lohku.
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.
lorasgáibiduvvo
Šládjaobject[]
≤ 3 merki
LoRA-lassemerkejumiid LTX-2.3 várás, juohkehaš gitta 3 GB rádjái ja eanemustá 3 merkejumi. Laddojeapmi dáhpáhuvvá dušše maŋŋá go registry SSRF-sihkkaris downloader lea viežžan juohke bálgá.
loras[].pathgáibiduvvo
Šládjastring
≤ 2048 characters
Njuolggo HTTP(S)-URL LoRA .safetensors-fiilii, mii ii leat stuorát go 3 GB. Laddojeami ovddas lea viežžan SSRF-sihkkaris downloader.
loras[].scaleeaktodáhtolaš
Šládjanumber
Standárda1
0 – 2
LoRA váikkuhus ráhkaduvvon videui lassána go dát nanusvuohta lassána 0.0–2.0 rájáid siskkobealde.
loras[].transformereaktodáhtolaš
Šládjaenum
Standárdaboth
highlowboth
Transformer-válljema flag: 'both' heive measta buohkaide geavaheddjiide LTX-2.3:a, daningo modeallas lea dušše okta transformer. Flag gávdno boahttevaš arkiitektuvrraide máŋgga transformerain.
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/inpaint/lora",
  "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": 304,
    "usd": "0.304",
    "charged": 304,
    "refunded": 0
  },
  "input": {
    "loras": [
      {
        "path": "https://example.com/your-file.safetensors"
      }
    ],
    "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",
    "mask_video_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,
    "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/inpaint/lora.md. Buot modeallat ja ráđit: https://doitong.com/developers/llms.txt