计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
ltx-video【效率与协作】LTX-Video | AI Video Generation. Generate videos from text prompts with aspect ratio and resolution control. Triggers: ltx, ltx-video, text to video, video generation, ai video
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Generate videos from text prompts or input images with configurable aspect ratio, resolution, and inference steps. LTX-Video works best with long, descriptive prompts.
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-video",
"version": "0.0.1",
"input": {
"prompt": "best quality, 4k, HDR, a tracking shot of a beautiful coastal scene with waves rolling onto sandy beach at golden hour",
"aspect_ratio": "16:9",
"length": 97,
"steps": 30,
"cfg": 3
}
}'
| Parameter | Type | Default | Description |
|---|---|---|---|
| aspect_ratio | string | 3:2 | Output aspect ratio. enum: 1:1, 1:2, 2:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 9:21, 21:9 |
| cfg | number | 3 | How strongly the video follows the prompt |
| image | string | - | Optional input image to use as the starting frame |
| length | integer | 97 | Number of frames |
| negative_prompt | string | low quality, worst quality, deformed, distorted | Things you do not want to see in your video |
| prompt | string | best quality, 4k, HDR... | Text prompt for the video. Works best with long descriptive prompts |
| seed | integer | - | Set a seed for reproducibility. Random by default |
| steps | integer | 30 | Number of steps |
| target_size | integer | 640 | Target resolution size |
Landscape video with image input:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "ltx-video",
"version": "0.0.1",
"input": {
"prompt": "best quality, 4k, HDR, a slow panning shot across a misty mountain valley with sunlight breaking through clouds, cinematic lighting",
"image": "https://example.com/mountain-scene.jpg",
"aspect_ratio": "21:9",
"steps": 40,
"cfg": 3.5
}
}'
Portrait-style video:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "ltx-video",
"version": "0.0.1",
"input": {
"prompt": "best quality, 4k, a woman walking through a neon-lit Tokyo street at night, rain reflections on the ground, cyberpunk atmosphere",
"aspect_ratio": "9:16",
"length": 97,
"steps": 30,
"negative_prompt": "low quality, blurry, distorted faces, ugly",
"seed": 12345
}
}'