Dža ko lil

LTX 2.3 Quality · Inpaint · LoRA

Integriruj

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

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

Lel API klidin
Lightricks · 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

Texto savo phenel o contento te kerel ande o maska.

•trubul video_url
Čhiv jekh fajl, vaj

Source video vaš inpainting.

•trubul
Čhiv jekh fajl, vaj

Video maska kaj le kale thana rakhen source contento, a le parne thana sikaven contento vaš keripe nevesko.

standardno 121

Kadronge gin vaš o kerdo rezultato.

•trubul

LoRA dodatki vaš LTX-2.3, sako limitime pe 3 GB, thaj numa dži 3 entry. Loading kerel pes numa pala registry SSRF-safe downloader lel sako path.

Lučhe negative_prompt · video_quality · video_write_mode · video_strength · frames_per_second · num_inference_steps · guidance_scale · seed · enable_prompt_expansion · enable_safety_checker
standardno color distortion, ove...

Negative prompto savo phenel so o keripe na trubul te kerel.

video_quality standardno high

Quality preset aplikime pe o rezultato video.

video_write_mode standardno balanced

Pisimen modo vaš o rezultato-video.

standardno 1

Thaven keci source-video struktura ačhel ande o rakhlardo contento, vazden le IC-LoRA video guide-eski strength vaš zorut rakhipe.

standardno 24

E rezultatoske videoski frekvencija e kadronengi, merimi kadronenca pe sekunda.

standardno 15

Thaven keci inference steps te keren, dži ko 30; te na paruven, labarel 15.

standardno 1

Paruven classifier-free guidance kadale scale-sa; lesko standardno tuning targetinel baro quality thaj sig keripe.

Seed savo kerel o generiripe reproducibilno. Te postavil pes pe None, randomno kidel pes seed.

POST /run/ltx-2.3-quality/inpaint/lora?wait=20 hesab → $0.304
# 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/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.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 LTX 2.3 Quality · Inpaint · LoRA

Video inpainting savo mangela vi `loras` list-a dži ko 3 personalizime LoRA, sako dži ko 3 GB. Dena `video_url`, `mask_video_url` (parno regenerirrel, kalo rakinel) thaj `prompt` maskime rigake. `video_strength` (0 to 1) kontrolinel keci originalosko struktura rakinel. `num_frames` priminel 9 to 481.

Parametra

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

NavTip standardnoMuklo Vakeripe
prompttrubul
Tipstring
Texto savo phenel o contento te kerel ande o maska.
video_urltrubul video
Tipurl · video
Source video vaš inpainting.
mask_video_urltrubul
Tipurl · video
Video maska kaj le kale thana rakhen source contento, a le parne thana sikaven contento vaš keripe nevesko.
video_strengthopcionalno
Tipnumber
standardno1
0 – 1
Thaven keci source-video struktura ačhel ande o rakhlardo contento, vazden le IC-LoRA video guide-eski strength vaš zorut rakhipe.
num_framesopcionalno
Tipinteger
standardno121
9 – 481
Kadronge gin vaš o kerdo rezultato.
frames_per_secondopcionalno
Tipnumber
standardno24
1 – 60
E rezultatoske videoski frekvencija e kadronengi, merimi kadronenca pe sekunda.
num_inference_stepsopcionalno
Tipinteger
standardno15
8 – 30
Thaven keci inference steps te keren, dži ko 30; te na paruven, labarel 15.
guidance_scaleopcionalno
Tipnumber
standardno1
1 – 20
Paruven classifier-free guidance kadale scale-sa; lesko standardno tuning targetinel baro quality thaj sig keripe.
generate_audioopcionalno
Tipboolean
standardnotrue
Audio-track toggle vaš o MP4 savo aven: off kerel numa video fajlo, on thavel audio.
negative_promptopcionalno
Tipstring
standardnocolor 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
Negative prompto savo phenel so o keripe na trubul te kerel.
seedopcionalno
Tipinteger | null
Seed savo kerel o generiripe reproducibilno. Te postavil pes pe None, randomno kidel pes seed.
enable_prompt_expansionopcionalno
Tipboolean
standardnotrue
Kontrolisarel te si aktivno prompto barvalipen.
enable_safety_checkeropcionalno
Tipboolean
standardnotrue
Kontrolinel, si li aktivno o bezbednostno proveripe.
video_qualityopcionalno
Tipenum
standardnohigh
lowmediumhighmaximum
Quality preset aplikime pe o rezultato video.
video_write_modeopcionalno
Tipenum
standardnobalanced
fastbalancedsmall
Pisimen modo vaš o rezultato-video.
lorastrubul
Tipobject[]
≤ 3 artiklura
LoRA dodatki vaš LTX-2.3, sako limitime pe 3 GB, thaj numa dži 3 entry. Loading kerel pes numa pala registry SSRF-safe downloader lel sako path.
loras[].pathtrubul
Tipstring
≤ 2048 characters
Direktno HTTP(S) URL vaš LoRA .safetensors fajlo savo si na bareder sar 3 GB. Loadingeske angluno si retrieval le SSRF-safe downloader-esa.
loras[].scaleopcionalno
Tipnumber
standardno1
0 – 2
LoRA influence pe o kerdo video barol kana kadava strength vazdel pes ande o 0.0–2.0 range.
loras[].transformeropcionalno
Tipenum
standardnoboth
highlowboth
Transformer alosaripasko flag: 'both' si lačho skoro savorenge save labaren LTX-2.3, golese kaj o modelo si les numa jekh transformer. Flag si dino vaš avutne architektura le buter transformerenca.
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": "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.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 kerdo le modelostar.
seed
integerRealno seed aplikime ande o keripe.
prompt
stringKeriепe prompto, le sako expansion-esa aplikime angl te labaren les.

Bute modeli: Video ko Video

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/ltx-2.3-quality/inpaint/lora.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt