Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计提醒

ltx-videoLTX 视频

Agent Skill

用于辅助视频生成、动画合成、脚本化剪辑或 Remotion 等视频项目开发。它适合让 Agent 组织镜头、生成素材说明、维护合成代码或排查渲染问题。使用时需要确认分辨率、时长、素材路径和导出格式;涉及外部素材、人物肖像或商业发布时,应先核对版权授权和内容审核要求。

总安装

11,407

周安装

490

GitHub Stars

公开资料未说明

下载量

3,998
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ltx-video(LTX 视频)
来源仓库:https://github.com/pauldelavallaz/ltx-video
安装命令:
openclaw skills install ltx-video
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install ltx-video

简介

通过LTX-2.3 API生成文本到视频、图像到视频等多种形式内容。

  • 支持音频口型同步与视频扩展重拍功能。ltx-video 属于开发类 Skill,可作为该场景下的辅助能力补充。
  • 适用于创意短片、广告素材或教学动画制作。
  • 高分辨率输出消耗算力较大,建议按需选择画质档位。
  • 商用前请确认API许可范围,避免违规使用。

SKILL.md

name
ltx-video
description
|

LTX-2.3 Video API

API Reference

Base URL: https://api.ltx.video/v1 Auth: Authorization: Bearer <API_KEY> Response: MP4 binary (direct download, no polling)

Endpoints

EndpointInputUse
/v1/text-to-videopromptGenerate video from text
/v1/image-to-videoimage_uri + promptAnimate a still image
/v1/audio-to-videoaudio_uri + image_uri + promptLip-sync video from audio + image
/v1/extendvideo_uri + promptExtend a video at start or end
/v1/retakevideo_uri + time rangeRegenerate a section of a video

Models

ModelSpeedQuality
ltx-2-3-fast~17sGood (use for tests)
ltx-2-3-pro~30-60sBest (use for final)

Supported Resolutions

  • 1920x1080 (landscape 16:9)
  • 1080x1920 (portrait 9:16 — native vertical, trained on vertical data)
  • 1440x1080, 4096x2160 (text-to-video only)

audio-to-video only supports: 1920x1080 or 1080x1920


Quick Examples

Text to Video

curl -X POST "https://api.ltx.video/v1/text-to-video" \
  -H "Authorization: Bearer $LTX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A man in a navy blue suit sits at a luxury restaurant table...",
    "model": "ltx-2-3-pro",
    "duration": 8,
    "resolution": "1920x1080"
  }' -o output.mp4

Audio to Video (Lip-sync)

curl -X POST "https://api.ltx.video/v1/audio-to-video" \
  -H "Authorization: Bearer $LTX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "audio_uri": "https://example.com/voice.mp3",
    "image_uri": "https://example.com/portrait.jpg",
    "prompt": "A man speaks directly to camera...",
    "model": "ltx-2-3-pro",
    "resolution": "1920x1080"
  }' -o output.mp4

Python Wrapper

import requests

def ltx_audio_to_video(audio_url, image_url, prompt, api_key,
                        model="ltx-2-3-pro", resolution="1920x1080",
                        output_path="output.mp4"):
    r = requests.post(
        "https://api.ltx.video/v1/audio-to-video",
        headers={"Authorization": f"Bearer {api_key}",
                 "Content-Type": "application/json"},
        json={"audio_uri": audio_url, "image_uri": image_url,
              "prompt": prompt, "model": model, "resolution": resolution},
        timeout=300, stream=True
    )
    if r.status_code != 200:
        raise RuntimeError(f"LTX error {r.status_code}: {r.text}")
    with open(output_path, "wb") as f:
        for chunk in r.iter_content(8192): f.write(chunk)
    return output_path

⚠️ Critical Rules (learned from experience)

File Hosting

  • URLs must be HTTPS — HTTP is rejected
  • Files must return correct MIME type (not application/octet-stream)
  • uguu.se works: upload with curl -F "files[]=@file.mp3" https://uguu.se/upload
  • Audio: upload as MP3 (not WAV) → uguu returns audio/mpeg
  • 4K images fail → resize to 1920x1080 before uploading
# Upload MP3 to uguu.se
AUDIO_URL=$(curl -s -F "files[]=@audio.mp3" "https://uguu.se/upload" | \
  python3 -c "import sys,json; print(json.load(sys.stdin)['files'][0]['url'])")

# Upload image
IMAGE_URL=$(curl -s -F "files[]=@portrait.jpg" "https://uguu.se/upload" | \
  python3 -c "import sys,json; print(json.load(sys.stdin)['files'][0]['url'])")

Image Size Limit

# Resize large images before upload
ffmpeg -y -i input_4k.png -vf "scale=1920:1080" output_1080.jpg

Face Consistency

  • Avoid prompts where the character looks down — breaks face consistency
  • Keep head level and gaze forward throughout
  • Place objects already in frame instead of having character reach below frame

Last Frame

  • LTX does not support first+last frame natively
  • Workaround: generate clip A, generate clip B, then use /v1/extend to chain them

Prompting Guide (LTX-2.3)

LTX-2.3 has a much stronger text connector. Specificity wins.

1. Use Verbs, Not Nouns

"A dramatic portrait of a man standing""A man stands on a rooftop. His coat flaps in the wind. He adjusts his collar and steps forward as the camera tracks right."

2. Block the Scene Like a Director

  • Specify left vs right, foreground vs background
  • Describe who moves, what moves, how they move, what the camera does
  • Spatial relationships are now respected

3. Describe Audio Explicitly (for text-to-video)

  • Name the type of sound: dialogue, ambient, music
  • Specify tone and intensity
  • Example: "His voice is clear and warm. Restaurant ambient sound softly in the background."

4. Avoid Static Photo-Like Prompts

  • If the prompt reads like a still image → the output behaves like one
  • Add wind, motion, breathing, gestures, camera movement

5. Describe Texture and Material

  • Hair, fabric, surface finish, lighting fall-off
  • "Individual hair strands visible in the backlight" → now renders correctly

6. Portrait (9:16) Native

  • resolution: "1080x1920" → trained on vertical data
  • Frame for vertical intentionally, don't treat as cropped landscape

7. Complex Shots Work Now

  • Layer multiple actions: "He picks up the banana, raises it to his ear, and smirks"
  • Combine character performance + environment + camera motion

Lip-Sync Prompt Template

A [description of person] sits/stands [location]. He/she speaks directly 
to camera, lips moving in perfect sync with his/her voice. [Gesture details]. 
Head stays level and gaze remains locked on camera throughout. 
[Environment description softly blurred in background]. 
[Lighting]. [Camera: holds steady at eye level, front-on].

ComfyUI Node

Custom nodes for ComfyUI (no manual API calls):

cd ComfyUI/custom_nodes
git clone https://github.com/PauldeLavallaz/comfyui-ltx-node

Nodes: LTX Text to Video, LTX Image to Video, LTX Extend Video Category: LTX Video


API Key

Paul's key: stored in ~/clawd/.env as LTX_API_KEY

ltxv_RfSU5hdKJb_g5dwbECZWnilE1P8dJzbavz6niP_0LQJ942ARHIVhrBCfebcytEL1efLVx_63S_PJyWTzicrBcWEkOXfCbGTl8JSzlJJk329MwRViEgOoE2KnE9LIA5t6QSFeBy7DLnTIcX0AZNbV9Jv0TuC7qcq2gV33G6ROhUVUDCuN

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

79.37%
按下载量换算3,173

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills