Skip to content

LTX Video-0.9.7 13B Distilled · Extend

Integrate

Model id ltx-video-13b-distilled/extend
# 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-video-13b-distilled/extend?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": {
      "video_url": "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"

This request: $0.04 40 API credits Run it on this page

Get API key
Lightricks Video to Video Fastup to 720p #video#ltx-video#video-to-video#extend-video

Extends an existing video using the 0.9.7 distilled 13B model and a text prompt

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 instructions that guide generation.

resolution default 720p

Resolution for the output video.

aspect_ratio default auto

Video aspect ratio.

•required

Source video for extension.

Advanced negative_prompt · num_frames · first_pass_num_inference_steps · second_pass_num_inference_steps · second_pass_skip_initial_steps · frame_rate · temporal_adain_factor · tone_map_compression_ratio · constant_rate_factor · seed · expand_prompt · reverse_video · enable_safety_checker · enable_detail_pass · loras
default worst quality, incons...

Negative text instructions for generation.

default 121

Total frame count for the video.

default 8

Inference step count for the first pass.

default 8

Inference step count for the second pass.

default 5

Initial inference-step count to omit during the second pass, shifting that pass toward fine-detail work rather than large-scale changes.

default 24

Frame rate for the video.

default 0.5

Adaptive instance normalization (AdaIN) strength, balancing color consistency at higher settings against greater color variation at lower settings. It operates on generated chunks except the first, normalizing color distributions throughout the video to help counter a progressive rise in saturation or contrast.

default 0

Tone-mapping compression level, ranging from no compression at 0.0 to maximum compression at 1.0. Compressing the video's dynamic range this way improves visual quality.

default 29

Constant rate factor (CRF) used for input compression, which may improve motion quality by bringing the supplied media closer to the model's training data.

Seed controlling randomness during generation.

default []

LoRA weights applied during generation.

POST /run/ltx-video-13b-distilled/extend?wait=20 quote → $0.04
# 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-video-13b-distilled/extend?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": {
      "video_url": "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 Video-0.9.7 13B Distilled · Extend

Continues the clip given in `video`, steered by a required `prompt`. Output is 480p or 720p, with `aspect_ratio` auto, 9:16, 1:1 or 16:9, and `num_frames` from 9 to 1441. `constant_rate_factor` (0 to 51) controls input compression, and `loras` accepts custom weights.

Parameters

NameType DefaultAllowed Description
promptrequired
Typestring
Text instructions that guide generation.
negative_promptoptional
Typestring
Defaultworst quality, inconsistent motion, blurry, jittery, distorted
Negative text instructions for generation.
lorasoptional
Typeobject[]
Default[]
LoRA weights applied during generation.
loras[].pathrequired
Typestring
Location of the LoRA weights, given as a URL or path.
loras[].weight_nameoptional
Typestring | null
LoRA weight name for selecting among multiple weights in a HuggingFace repository; only repositories containing multiple weights require it. This setting has no effect unless `path` identifies a HuggingFace repository.
loras[].scaleoptional
Typenumber
Default1
0 – 4
Multiplier that scales the LoRA weight as it is loaded.
resolutionoptional
Typeenum
Default720p
480p720p
Resolution for the output video.
aspect_ratiooptional
Typeenum
Defaultauto
9:161:116:9auto
Video aspect ratio.
seedoptional
Typeinteger | null
Seed controlling randomness during generation.
num_framesoptional
Typeinteger
Default121
9 – 1,441
Total frame count for the video.
first_pass_num_inference_stepsoptional
Typeinteger
Default8
2 – 12
Inference step count for the first pass.
second_pass_num_inference_stepsoptional
Typeinteger
Default8
2 – 12
Inference step count for the second pass.
second_pass_skip_initial_stepsoptional
Typeinteger
Default5
1 – 11
Initial inference-step count to omit during the second pass, shifting that pass toward fine-detail work rather than large-scale changes.
frame_rateoptional
Typeinteger
Default24
1 – 60
Frame rate for the video.
expand_promptoptional
Typeboolean
Defaultfalse
Prompt expansion through a language model.
reverse_videooptional
Typeboolean
Defaultfalse
Reversal of the video's playback order.
enable_safety_checkeroptional
Typeboolean
Defaulttrue
Safety-checking switch whose off setting is honored only for authorized accounts. All requests without that authorization undergo safety checks.
enable_detail_passoptional
Typeboolean
Defaultfalse
Optional second refinement pass that improves video detail when enabled.
temporal_adain_factoroptional
Typenumber
Default0.5
0 – 1
Adaptive instance normalization (AdaIN) strength, balancing color consistency at higher settings against greater color variation at lower settings. It operates on generated chunks except the first, normalizing color distributions throughout the video to help counter a progressive rise in saturation or contrast.
tone_map_compression_ratiooptional
Typenumber
Default0
0 – 1
Tone-mapping compression level, ranging from no compression at 0.0 to maximum compression at 1.0. Compressing the video's dynamic range this way improves visual quality.
constant_rate_factoroptional
Typeinteger
Default29
0 – 51
Constant rate factor (CRF) used for input compression, which may improve motion quality by bringing the supplied media closer to the model's training data.
videorequired
Typeobject
Source video for extension.
video.video_urlrequired
Typeurl · video
Conditioning video supplied by URL.
video.start_frame_numoptional
Typeinteger
Default0
0 – 1,440
Conditioning start position in the video, specified as a frame number divisible by 8.
video.strengthoptional
Typenumber
Default1
0 – 1
Conditioning intensity: 0.0 disables conditioning, while 1.0 applies it fully.
video.limit_num_framesoptional
Typeboolean
Defaultfalse
Video frame-limit switch: enabling it makes `max_num_frames` the cap on frames taken from the video.
video.max_num_framesoptional
Typeinteger
Default1441
1 – 1,441
Video frame-use cap, with None selecting the entire video rather than a limited frame count.
video.resample_fpsoptional
Typeboolean
Defaultfalse
Video frame-rate conversion switch: enabling it resamples the video at the rate specified by `target_fps`.
video.target_fpsoptional
Typeinteger
Default24
1 – 60
Resampling frame rate in FPS, applicable only with `resample_fps` enabled.
video.reverse_videooptional
Typeboolean
Defaultfalse
Video-order reversal for tasks that need conditioning to follow the frames backward.
required

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "ltx-video-13b-distilled/extend",
  "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": 40,
    "usd": "0.04",
    "charged": 40,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "video": {
      "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
    },
    "prompt": "Woman walking on a street in Tokyo",
    "seed": 42
  },
  "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 file produced by generation.
prompt
stringPrompt that was used to generate the output.
seed
integerSeed value applied during generation.

More models: Video to Video

For AI agents: this page as Markdown is at https://doitong.com/developers/models/ltx-video-13b-distilled/extend.md. All models and guides: https://doitong.com/developers/llms.txt