界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

ltx-v-2-image-to-video

ltx-v-2-image-to-video

【效率与协作】Ltx v2 | Image to Video. Animate images into videos with audio using the LTX V2 model. Triggers: ltx, image to video, animate image, video generation

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: ltx-v-2-image-to-video description: "Ltx v2 | Image to Video. Animate images into videos with audio using the LTX V2 model. Triggers: ltx, image to video, animate image, video generation" allowed-tools: Bash(curl *), WebFetch

Ltx v2 | Image to Video

Animate still images into videos with optional audio generation using the LTX V2 model. Supports configurable duration, resolution up to 2160p, and adjustable frame rate.

Quick Start

Requires an each::labs API key. Get one at eachlabs.ai.

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "ltx-v-2-image-to-video",
    "version": "0.0.1",
    "input": {
      "image_url": "https://example.com/beach-sunset.jpg",
      "prompt": "Waves gently rolling onto the shore as the sun sets on the horizon",
      "duration": 8,
      "resolution": "1080p",
      "generate_audio": true
    }
  }'

Parameters

ParameterTypeDefaultDescription
aspect_ratiostring16:9The aspect ratio of the generated video. enum: 16:9
durationinteger6The duration of the generated video in seconds
fpsinteger25The frames per second of the generated video
generate_audiobooleantrueWhether to generate audio for the generated video
image_urlstringURL of the image to generate the video from
promptstringThe prompt to generate the video from
resolutionstring1080pThe resolution of the generated video. enum: 1080p, 1440p, 2160p

Examples

4K video with audio:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "ltx-v-2-image-to-video",
    "version": "0.0.1",
    "input": {
      "image_url": "https://example.com/forest-path.jpg",
      "prompt": "Walking through the forest path with leaves rustling and birds chirping",
      "duration": 10,
      "resolution": "2160p",
      "fps": 30,
      "generate_audio": true
    }
  }'

Quick animation without audio:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "ltx-v-2-image-to-video",
    "version": "0.0.1",
    "input": {
      "image_url": "https://example.com/portrait-photo.jpg",
      "prompt": "Person slowly looks up and smiles warmly",
      "duration": 6,
      "resolution": "1080p",
      "generate_audio": false
    }
  }'

Related Models

Documentation

我的收藏