Skip to content

Ltx 2.3 Quality · Outpaint

Integrate

Model 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"

Files like the example: $0.27 270 API credits your files are measured before the run Run it on this page

Get API key
Lightricks · Video

Your first result goes here

Build a request below and run it with your API key. Outputs are copied to our storage, kept forever or 7 days for free.

Build a request

Controls are generated from the model schema. The code and the price update as you change them.

•required

Text directing generation of the video's outpainted regions.

•required video_url
Drop a file, or

Source video whose spatial boundaries will be extended through outpainting.

aspect_ratio default 16:9

Outpainting aspect ratio; for example, a 4:3 input can be expanded to 16:9. Select a ratio different from the source's to extend the frame cleanly.

output_resolution default 720p

Output resolution tier, defaulting to the balanced 720p option. Choose 480p for faster generation or 1080p for a larger canvas, provided it fits within LTX limits.

resolution default landscape_16_9

Exact canvas dimensions using the legacy setting, retained for backward compatibility. New requests should instead use `aspect_ratio` together with `output_resolution`.

default 121

Frame count for the generated output.

Advanced 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
default color distortion, ove...

Negative prompt specifying what generation should avoid.

video_quality default high

Quality preset applied to the output video.

video_write_mode default balanced

Write mode for the resulting video.

default 1

Source-video scale within the target canvas before outpainting; reducing it introduces a zoom-out border and makes results less stable. For true aspect-ratio expansion, such as 4:3 to 16:9, the recommended 1.0 setting fits the source at the largest possible size within the canvas.

default 1

Control retention of the original video within the outpainted canvas through IC-LoRA video guidance; increasing its strength preserves the source more closely.

default 24

Output video frame rate, measured in frames per second.

default 15

Set how many inference steps to run, up to 30; leaving this unchanged uses 15.

default 1

Adjust classifier-free guidance using this scale; its default tuning targets both high quality and fast generation.

Seed that makes generation reproducible. Setting it to None selects a seed randomly.

POST /run/ltx-2.3-quality/outpaint?wait=20 quote → $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"

Run this request

Your key stays in this browser: it is sent only to the Doitong API and saved (localStorage) only if you tick Remember. Get an API key

About Ltx 2.3 Quality · Outpaint

Spatially expands a source video to a new canvas. Choose a target `aspect_ratio` (21:9, 16:9, 4:3, 1:1, 3:4, 9:16 or 9:21) and an `output_resolution` of 480p, 720p or 1080p. `source_scale` (0.25 to 1) sets how large the original sits inside the canvas, and `video_strength` controls how much of it is preserved. A `prompt` guides the new areas.

Parameters

Send either the canonical name or the native name, not both. Canonical names

NameType DefaultAllowed Description
promptrequired
Typestring
Text directing generation of the video's outpainted regions.
video_urlrequired video
Typeurl · video
Source video whose spatial boundaries will be extended through outpainting.
aspect_ratiooptional
Typeenum
Default16:9
21:916:94:31:13:49:169:21
Outpainting aspect ratio; for example, a 4:3 input can be expanded to 16:9. Select a ratio different from the source's to extend the frame cleanly.
output_resolutionoptional
Typeenum
Default720p
480p720p1080p
Output resolution tier, defaulting to the balanced 720p option. Choose 480p for faster generation or 1080p for a larger canvas, provided it fits within LTX limits.
resolutionoptional
Typeobject
Defaultlandscape_16_9
autosquare_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Exact canvas dimensions using the legacy setting, retained for backward compatibility. New requests should instead use `aspect_ratio` together with `output_resolution`.
source_scaleoptional
Typenumber
Default1
0.25 – 1
Source-video scale within the target canvas before outpainting; reducing it introduces a zoom-out border and makes results less stable. For true aspect-ratio expansion, such as 4:3 to 16:9, the recommended 1.0 setting fits the source at the largest possible size within the canvas.
video_strengthoptional
Typenumber
Default1
0 – 1
Control retention of the original video within the outpainted canvas through IC-LoRA video guidance; increasing its strength preserves the source more closely.
num_framesoptional
Typeinteger
Default121
9 – 481
Frame count for the generated output.
frames_per_secondoptional
Typenumber
Default24
1 – 60
Output video frame rate, measured in frames per second.
num_inference_stepsoptional
Typeinteger
Default15
8 – 30
Set how many inference steps to run, up to 30; leaving this unchanged uses 15.
guidance_scaleoptional
Typenumber
Default1
1 – 20
Adjust classifier-free guidance using this scale; its default tuning targets both high quality and fast generation.
generate_audiooptional
Typeboolean
Defaulttrue
Audio-track toggle for the returned MP4: off produces a video-only file, and on includes audio.
negative_promptoptional
Typestring
Defaultcolor 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 prompt specifying what generation should avoid.
seedoptional
Typeinteger | null
Seed that makes generation reproducible. Setting it to None selects a seed randomly.
enable_prompt_expansionoptional
Typeboolean
Defaulttrue
Controls whether prompt expansion is enabled.
enable_safety_checkeroptional
Typeboolean
Defaulttrue
Controls whether safety checking is enabled.
video_qualityoptional
Typeenum
Defaulthigh
lowmediumhighmaximum
Quality preset applied to the output video.
video_write_modeoptional
Typeenum
Defaultbalanced
fastbalancedsmall
Write mode for the resulting video.
required Canonical name, also accepted

File parameters take a public https:// URL, a data: URI up to 10 MB, or the file_url of an upload. Files

Output

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"
  }
}
Your files, your choiceEvery outputs[].url is a copy on our storage: kept forever (paid per GB-month) or 7 days for free, by your account setting or ?storage=.
Same shape on every modeltype, url, content_type, width, height and duration, for images, video and audio alike. output is the model’s own result object.
Fields of output
video
object {url, content_type, file_name, file_size}Video produced by the model.
seed
integerActual seed applied during generation.
prompt
stringGeneration prompt, including any expansion applied before use.

More models: Video to Video

For AI agents: this page as Markdown is at https://doitong.com/developers/models/ltx-2.3-quality/outpaint.md. All models and guides: https://doitong.com/developers/llms.txt