Dža ko lil

Ltx 2.3 Quality · Outpaint

Integriruj

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

Fajlo sar o misalo: $0.27 270 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 direktinel o keripe le videoske outpainted regionenge.

•trubul video_url
Čhiv jekh fajl, vaj

Source video savo spatial boundary lungarel pes le outpainting-esa.

aspect_ratio standardno 16:9

Outpainting aspect ratio; misaleste, 4:3 inputo šaj bararel pes ko 16:9. Alosar ratio aver le source-esko te lungaren o kadro šukares.

output_resolution standardno 720p

Rezultato rezolucija tier, standardno pe balanced 720p option. Alosar 480p vaš sigeder keripe vaj 1080p vaš bareder canvas, te fitinel ande LTX limitura.

resolution standardno landscape_16_9

Exactno canvas-dimensije, save purani settingos, astarďi pala kompatibiliteta. Neve mangipena te len `aspect_ratio` jekhetane `output_resolution`-enca.

standardno 121

Kadronge gin vaš o kerdo rezultato.

Lučhe negative_prompt · video_quality · video_write_mode · source_scale · 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

Fonte-video skala andro ciloso canvas angle outpaintingosko; te ciknarel, kerel zoom-out border thaj rezultatora keren pe maj-nesigurno. Čačuno aspect-ratio bararipen, sar 4:3 ando 16:9, si rekomendime 1.0, savo thovel e fonte ando canvas ando maj-baro šajutno size.

standardno 1

Kontrolirarel sar o originalno video ačhol andro outpaintime canvas, IC-LoRA video guidance-esa; maj-bari zor maj-feder ačharel e fonte.

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/outpaint?wait=20 hesab → $0.27
# 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/outpaint?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.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 · Outpaint

Spatialno barjarel source video ande nevo canvas. Alosar target `aspect_ratio` (21:9, 16:9, 4:3, 1:1, 3:4, 9:16 or 9:21) thaj `output_resolution` 480p, 720p or 1080p. `source_scale` (0.25 to 1) del sar baro o original si ande canvas, thaj `video_strength` kontrolinel keci lesko rakinel. Jekh `prompt` džiavrel e neve regionen.

Parametra

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

NavTip standardnoMuklo Vakeripe
prompttrubul
Tipstring
Texto savo direktinel o keripe le videoske outpainted regionenge.
video_urltrubul video
Tipurl · video
Source video savo spatial boundary lungarel pes le outpainting-esa.
aspect_ratioopcionalno
Tipenum
standardno16:9
21:916:94:31:13:49:169:21
Outpainting aspect ratio; misaleste, 4:3 inputo šaj bararel pes ko 16:9. Alosar ratio aver le source-esko te lungaren o kadro šukares.
output_resolutionopcionalno
Tipenum
standardno720p
480p720p1080p
Rezultato rezolucija tier, standardno pe balanced 720p option. Alosar 480p vaš sigeder keripe vaj 1080p vaš bareder canvas, te fitinel ande LTX limitura.
resolutionopcionalno
Tipobject
standardnolandscape_16_9
autosquare_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Exactno canvas-dimensije, save purani settingos, astarďi pala kompatibiliteta. Neve mangipena te len `aspect_ratio` jekhetane `output_resolution`-enca.
source_scaleopcionalno
Tipnumber
standardno1
0.25 – 1
Fonte-video skala andro ciloso canvas angle outpaintingosko; te ciknarel, kerel zoom-out border thaj rezultatora keren pe maj-nesigurno. Čačuno aspect-ratio bararipen, sar 4:3 ando 16:9, si rekomendime 1.0, savo thovel e fonte ando canvas ando maj-baro šajutno size.
video_strengthopcionalno
Tipnumber
standardno1
0 – 1
Kontrolirarel sar o originalno video ačhol andro outpaintime canvas, IC-LoRA video guidance-esa; maj-bari zor maj-feder ačharel e fonte.
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.
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/outpaint",
  "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.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/outpaint.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt