跳转到内容

LTX Video-0.9.7 13B Distilled

集成

模型 id ltx-video-13b-distilled
# 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-video-13b-distilled?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"
  }'

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

与示例类似的文件: $0.202 202 API 积分 · ≈ ₽21.73 运行前会测量你的文件 在此页面运行

获取 API 密钥
Lightricks 文生视频 快速最高 720p #video#ltx-video#text-to-video

使用旧版 0.9.7 蒸馏 13B 模型的文本转视频,支持 LoRA 和较长帧数

Lightricks · 视频

你的第一个结果将在此显示

在下方构建请求,并使用你的 API 密钥运行。输出会复制到我们的存储中,可永久保存或免费保存 7 天。

构建请求

控件根据模型架构生成。更改控件时,代码和价格会同步更新。

•必填

引导生成的文本指令。

resolution 默认 720p

输出视频的分辨率。

aspect_ratio 默认 16:9

结果视频的宽高比。

默认 121

视频的总帧数。

高级 negative_prompt · first_pass_num_inference_steps · second_pass_num_inference_steps · second_pass_skip_initial_steps · frame_rate · temporal_adain_factor · tone_map_compression_ratio · seed · expand_prompt · reverse_video · enable_safety_checker · loras
默认 worst quality, incons...

用于生成的负面文本指令。

默认 8

第一遍的推理步数。

默认 8

第二遍的推理步数。

默认 5

第二遍中要省略的初始推理步数,使该遍更偏向细节处理而非大范围变化。

默认 24

视频的帧率。

默认 0.5

自适应实例归一化(AdaIN)强度:较高值侧重色彩一致性,较低值允许更大的色彩变化。它作用于除第一段外的生成片段,通过在整个视频中归一化色彩分布,帮助抑制逐渐增加的饱和度或对比度。

默认 0

色调映射压缩级别,范围从 0.0 的无压缩到 1.0 的最大压缩。以此方式压缩视频动态范围可改善视觉质量。

控制生成随机性的种子。

默认 []

生成期间应用的 LoRA 权重。

POST /run/ltx-video-13b-distilled?wait=20 报价 → $0.202
# 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-video-13b-distilled?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"
  }'

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

运行此请求

你的密钥会保留在此浏览器中:仅发送到 Doitong API;只有勾选“记住”后才会保存到 localStorage。 获取 API 密钥

关于 LTX Video-0.9.7 13B Distilled

使用 0.9.7 蒸馏模型,根据必需的 `prompt` 生成视频。分辨率为 480p 或 720p,宽高比为 9:16、1:1 或 16:9,`num_frames` 可为 9 到 1441,帧率为 1 到 60。两次采样过程的步数分别为 2 到 12。支持可选的 `loras`、额外细节处理和提示词扩展。

参数

名称类型 默认值允许值 描述
prompt必填
类型string
引导生成的文本指令。
negative_prompt可选
类型string
默认值worst quality, inconsistent motion, blurry, jittery, distorted
用于生成的负面文本指令。
loras可选
类型object[]
默认值[]
生成期间应用的 LoRA 权重。
loras[].path必填
类型string
LoRA 权重的位置,以 URL 或路径提供。
loras[].weight_name可选
类型string | null
用于在 HuggingFace 仓库的多个权重中进行选择的 LoRA 权重名称;仅包含多个权重的仓库需要此项。除非 `path` 标识 HuggingFace 仓库,否则此设置无效。
loras[].scale可选
类型number
默认值1
0 – 4
加载 LoRA 权重时对其进行缩放的乘数。
resolution可选
类型enum
默认值720p
480p720p
输出视频的分辨率。
aspect_ratio可选
类型enum
默认值16:9
9:161:116:9
结果视频的宽高比。
seed可选
类型integer | null
控制生成随机性的种子。
num_frames可选
类型integer
默认值121
9 – 1,441
视频的总帧数。
first_pass_num_inference_steps可选
类型integer
默认值8
2 – 12
第一遍的推理步数。
second_pass_num_inference_steps可选
类型integer
默认值8
2 – 12
第二遍的推理步数。
second_pass_skip_initial_steps可选
类型integer
默认值5
1 – 11
第二遍中要省略的初始推理步数,使该遍更偏向细节处理而非大范围变化。
frame_rate可选
类型integer
默认值24
1 – 60
视频的帧率。
expand_prompt可选
类型boolean
默认值false
通过语言模型扩展提示词。
reverse_video可选
类型boolean
默认值false
反转视频的播放顺序。
enable_safety_checker可选
类型boolean
默认值true
安全检查开关;关闭设置仅对已授权账户生效。所有未获得该授权的请求都会进行安全检查。
enable_detail_pass可选
类型boolean
默认值false
可选的第二次细化阶段,启用后可改善视频细节。
temporal_adain_factor可选
类型number
默认值0.5
0 – 1
自适应实例归一化(AdaIN)强度:较高值侧重色彩一致性,较低值允许更大的色彩变化。它作用于除第一段外的生成片段,通过在整个视频中归一化色彩分布,帮助抑制逐渐增加的饱和度或对比度。
tone_map_compression_ratio可选
类型number
默认值0
0 – 1
色调映射压缩级别,范围从 0.0 的无压缩到 1.0 的最大压缩。以此方式压缩视频动态范围可改善视觉质量。
必填

输出

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "ltx-video-13b-distilled",
  "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": 202,
    "usd": "0.202",
    "charged": 202,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "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": "A cinematic fast-tracking shot follows a vintage, teal camper van as it descends a winding mountain trail. The van, slightly weathered but well-maintained, is the central focus, its retro design emphasized by the motion blur. Medium shot reveals the dusty, ochre trail, edged with vibrant green pine trees. Close-up on the van's tires shows the gravel spraying, highlighting the speed and rugged terrain. Sunlight filters through the trees, casting dappled shadows on the van and the trail. The background is a hazy, majestic mountain range bathed in warm, golden light. The overall mood is adventurous and exhilarating. High resolution 4k movie scene.",
    "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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
你的文件,由你选择每个 outputs[].url 都是存储中的副本:可永久保存(按 GB-月付费),也可免费保存 7 天,由账户设置或 ?storage= 决定。
每个模型的结构相同图像、视频和音频均包含 type、url、content_type、width、height 和 duration。output 是模型自身的结果对象。
输出字段
video
object {url, content_type, file_name, file_size}生成得到的视频文件。
prompt
string用于生成输出的提示词。
seed
integer生成期间应用的种子值。

更多模型:文生视频

对于 AI 代理:此页面的 Markdown 版本位于 https://doitong.com/zh/developers/models/ltx-video-13b-distilled.md. 所有模型和指南: https://doitong.com/developers/llms.txt