跳到正文
Skillpedia
视频剪辑75k · #2670

ltx2

它能做什么

这项技能使用 LTX-2 模型生成短 AI 视频片段。适合需要空镜素材、动态背景或让图片动起来的视频制作者。

适用场景

  • ✓当你需要空镜素材或动态背景片段时。
  • ✓当你想让静态图片有轻柔的动态效果时。
  • ✓当你需要根据文字描述生成一段短片段时。

技能链接

https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/ltx2/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/ltx2/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请让这张照片缓慢地推移镜头动起来,让它可以作为我片头的背景。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会把提示词,以及可选的图片,发送到 LTX-2 服务。它会设置尺寸、帧数和质量,然后保存生成的片段。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

LTX-2.3 Video Generation

Generate ~5 second video clips from text prompts or images using the LTX-2.3 22B DiT model. Runs on Modal (A100-80GB). Requires MODAL_LTX2_ENDPOINT_URL in .env.

Quick Reference

# Text-to-video
python3 tools/ltx2.py --prompt "A sunset over the ocean, golden light on waves, cinematic" --output sunset.mp4

# Image-to-video (animate a still image)
python3 tools/ltx2.py --prompt "Gentle camera drift, soft ambient motion" --input photo.jpg --output animated.mp4

# Custom resolution and duration
python3 tools/ltx2.py --prompt "..." --width 1024 --height 576 --num-frames 161 --output wide.mp4

# Fast mode (fewer steps, quicker)
python3 tools/ltx2.py --prompt "..." --quality fast --output quick.mp4

# Reproducible output
python3 tools/ltx2.py --prompt "..." --seed 42 --output reproducible.mp4

Parameters

Parameter Default Description
--prompt (required) Text description of the video
--input - Input image for image-to-video
--width 768 Video width (divisible by 64)
--height 512 Video height (divisible by 64)
--num-frames 121 Frame count, must satisfy (n-1) % 8 == 0
--fps 24 Frames per second
--quality standard standard (30 steps) or fast (15 steps)
--steps 30 Override inference steps directly
--seed random Seed for reproducibility
--output auto Output file path
--negative-prompt sensible default What to avoid

Valid Frame Counts

(n - 1) % 8 == 0: 25 (1s), 49 (2s), 73 (3s), 97 (4s), 121 (~5s default), 161 (6.7s), 193 (8s max practical).

Common Resolutions

Resolution Ratio Notes
768x512 3:2 Default, good balance
512x512 1:1 Square, fastest
1024x576 16:9 Widescreen
576x1024 9:16 Portrait/vertical

Prompting Guide

LTX-2 responds well to cinematographic descriptions. Layer these dimensions:

  • Camera: "Slow dolly forward", "Aerial drone shot", "Tracking shot", "Static wide angle"
  • Lighting: "Golden hour", "Cinematic lighting", "Neon-lit", "Soft diffused light"
  • Motion: "Timelapse of...", "Slow motion", "Gentle camera drift", "Gradually transitions"
  • Style: "Shot on 35mm film", "Documentary style", "Clean minimal aesthetic"
  • Negative: Always implicitly avoids "worst quality, blurry, jittery, watermark, text, logo"

Keep prompts under 200 words. Be specific about the scene.

Good Prompts

# Atmospheric b-roll
"Aerial drone shot slowly flying over turquoise ocean waves breaking on white sand, golden hour sunlight, cinematic"

# Product/tech scene
"Close-up of hands typing on a mechanical keyboard, shallow depth of field, soft desk lamp lighting, cozy atmosphere"

# Abstract background
"Dark moody abstract background with flowing blue light streaks, subtle geometric grid, bokeh particles floating, cinematic tech atmosphere"

# Animate a portrait
"Professional headshot, subtle natural head movement, confident warm expression, studio lighting, shallow depth of field"

# Animate a slide/screenshot
"Gentle subtle particle effects floating across a presentation slide, soft ambient light shifts, very slight camera drift"

Bad Prompts

# Too vague
"A cool video"

# Too many competing ideas
"A cat riding a skateboard while juggling fire on the moon during a thunderstorm"

# Describing text/UI (model can't render text reliably)
"A website showing the text 'Welcome to our platform'"

Video Production Use Cases

B-Roll Clips

Generate atmospheric 5s shots for cutaways between narrated scenes:

python3 tools/ltx2.py --prompt "Futuristic holographic interface, glowing data visualizations, clean workspace, cinematic" --output broll_tech.mp4
python3 tools/ltx2.py --prompt "Aerial view of European city at golden hour, modern architecture" --output broll_europe.mp4

Animated Slide Backgrounds

Feed a slide screenshot and add subtle motion:

python3 tools/ltx2.py --prompt "Gentle particle effects, soft ambient light shifts, very slight camera drift" --input slide.png --output animated_slide.mp4

Animated Portraits

Bring still headshots to life:

python3 tools/ltx2.py --prompt "Subtle natural head movement, warm expression, professional lighting" --input headshot.png --output animated_portrait.mp4

Branded Intro/Outro

Generate abstract motion background

常见问题

每个片段有多长?

默认约为五秒,帧数可以更改。

我能让结果可以重复生成吗?

可以。使用种子编号可以让输出结果可复现。

我需要服务端点吗?

需要。这项技能需要你在 .env 文件中设置 LTX-2 服务的端点 URL。

详情

作者的原始描述

AI video generation with LTX-2.3 22B — text-to-video, image-to-video clips for video production. Use when generating video clips, animating images, creating b-roll, animated backgrounds, or motion content. Triggers include video generation, animate image, b-roll, motion, video clip, text-to-video, image-to-video.

repo: calesthio/OpenMontage

热度

GitHub 星标
75k
排名
#2670
许可证
AGPL-3.0
更新时间
2026/10/28

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能