eachlabs-video-generation
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseEachLabs Video Generation
EachLabs 视频生成
Generate new videos from text prompts, images, or reference inputs using 165+ AI models via the EachLabs Predictions API. For editing existing videos (upscaling, lip sync, extension, subtitles), see the skill.
eachlabs-video-edit借助EachLabs Predictions API,通过165+种AI模型,基于文本提示词、图片或参考输入生成新视频。若要编辑现有视频(如分辨率提升、唇形同步、视频延长、添加字幕),请查看技能。
eachlabs-video-editAuthentication
身份验证
Header: X-API-Key: <your-api-key>Set the environment variable or pass it directly. Get your key at eachlabs.ai.
EACHLABS_API_KEYHeader: X-API-Key: <your-api-key>可以设置环境变量,或者直接传入API密钥。请前往eachlabs.ai获取你的密钥。
EACHLABS_API_KEYQuick Start
快速开始
1. Create a Prediction
1. 创建生成任务
bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "pixverse-v5-6-text-to-video",
"version": "0.0.1",
"input": {
"prompt": "A golden retriever running through a meadow at sunset, cinematic slow motion",
"resolution": "720p",
"duration": "5",
"aspect_ratio": "16:9"
}
}'bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "pixverse-v5-6-text-to-video",
"version": "0.0.1",
"input": {
"prompt": "A golden retriever running through a meadow at sunset, cinematic slow motion",
"resolution": "720p",
"duration": "5",
"aspect_ratio": "16:9"
}
}'2. Poll for Result
2. 查询生成结果
bash
curl https://api.eachlabs.ai/v1/prediction/{prediction_id} \
-H "X-API-Key: $EACHLABS_API_KEY"Poll until is or . The output video URL is in the response.
status"success""failed"bash
curl https://api.eachlabs.ai/v1/prediction/{prediction_id} \
-H "X-API-Key: $EACHLABS_API_KEY"持续查询直到变为或。输出视频的URL会包含在响应结果中。
status"success""failed"Model Selection Guide
模型选择指南
Text-to-Video
文本转视频
| Model | Slug | Best For |
|---|---|---|
| Pixverse v5.6 | | General purpose, audio generation |
| XAI Grok Imagine | | Fast creative |
| Kandinsky 5 Pro | | Artistic, high quality |
| Seedance v1.5 Pro | | Cinematic quality |
| Wan v2.6 | | Long/narrative content |
| Kling v2.6 Pro | | Motion control |
| Pika v2.2 | | Stylized, effects |
| Minimax Hailuo V2.3 Pro | | High fidelity |
| Sora 2 Pro | | Premium quality |
| Veo 3 | | Google's best quality |
| Veo 3.1 | | Latest Google model |
| LTX v2 Fast | | Fastest generation |
| Moonvalley Marey | | Cinematic style |
| Ovi | | General purpose |
| 模型 | 标识(Slug) | 适用场景 |
|---|---|---|
| Pixverse v5.6 | | 通用场景、支持音频生成 |
| XAI Grok Imagine | | 快速创意生成 |
| Kandinsky 5 Pro | | 艺术风格、高质量生成 |
| Seedance v1.5 Pro | | 电影级画质 |
| Wan v2.6 | | 长视频/叙事类内容 |
| Kling v2.6 Pro | | 运动控制 |
| Pika v2.2 | | 风格化、特效制作 |
| Minimax Hailuo V2.3 Pro | | 高保真度 |
| Sora 2 Pro | | 旗舰级画质 |
| Veo 3 | | Google旗舰级模型 |
| Veo 3.1 | | Google最新模型 |
| LTX v2 Fast | | 最快生成速度 |
| Moonvalley Marey | | 电影风格 |
| Ovi | | 通用场景 |
Image-to-Video
图片转视频
| Model | Slug | Best For |
|---|---|---|
| Pixverse v5.6 | | General purpose |
| XAI Grok Imagine | | Creative edits |
| Wan v2.6 Flash | | Fastest |
| Wan v2.6 | | High quality |
| Seedance v1.5 Pro | | Cinematic |
| Kandinsky 5 Pro | | Artistic |
| Kling v2.6 Pro I2V | | Best Kling quality |
| Kling O1 | | Latest Kling model |
| Pika v2.2 I2V | | Effects, PikaScenes |
| Minimax Hailuo V2.3 Pro | | High fidelity |
| Sora 2 I2V | | Premium quality |
| Veo 3.1 I2V | | Google's latest |
| Runway Gen4 Turbo | | Fast, film quality |
| Veed Fabric 1.0 | | Social media |
| 模型 | 标识(Slug) | 适用场景 |
|---|---|---|
| Pixverse v5.6 | | 通用场景 |
| XAI Grok Imagine | | 创意编辑 |
| Wan v2.6 Flash | | 最快生成速度 |
| Wan v2.6 | | 高质量生成 |
| Seedance v1.5 Pro | | 电影级画质 |
| Kandinsky 5 Pro | | 艺术风格 |
| Kling v2.6 Pro I2V | | Kling系列最高画质 |
| Kling O1 | | Kling最新模型 |
| Pika v2.2 I2V | | 特效制作、PikaScenes场景 |
| Minimax Hailuo V2.3 Pro | | 高保真度 |
| Sora 2 I2V | | 旗舰级画质 |
| Veo 3.1 I2V | | Google最新模型 |
| Runway Gen4 Turbo | | 快速生成、电影级画质 |
| Veed Fabric 1.0 | | 社交媒体适用 |
Transitions & Effects
转场与特效
| Model | Slug | Best For |
|---|---|---|
| Pixverse v5.6 Transition | | Smooth transitions |
| Pika v2.2 PikaScenes | | Scene effects |
| Pixverse v4.5 Effect | | Video effects |
| Veo 3.1 First Last Frame | | Interpolation |
| 模型 | 标识(Slug) | 适用场景 |
|---|---|---|
| Pixverse v5.6 Transition | | 平滑转场 |
| Pika v2.2 PikaScenes | | 场景特效 |
| Pixverse v4.5 Effect | | 视频特效 |
| Veo 3.1 First Last Frame | | 帧插值 |
Motion Control & Animation
运动控制与动画
| Model | Slug | Best For |
|---|---|---|
| Kling v2.6 Pro Motion | | Pro motion control |
| Kling v2.6 Standard Motion | | Standard motion |
| Motion Fast | | Fast motion transfer |
| Motion Video 14B | | High quality motion |
| Wan v2.6 R2V | | Reference-based |
| Kling O1 Reference I2V | | Reference-based |
| 模型 | 标识(Slug) | 适用场景 |
|---|---|---|
| Kling v2.6 Pro Motion | | 专业级运动控制 |
| Kling v2.6 Standard Motion | | 标准运动控制 |
| Motion Fast | | 快速动作迁移 |
| Motion Video 14B | | 高质量动作生成 |
| Wan v2.6 R2V | | 参考素材驱动 |
| Kling O1 Reference I2V | | 参考素材驱动 |
Talking Head & Lip Sync
数字人播报与唇形同步
| Model | Slug | Best For |
|---|---|---|
| Bytedance Omnihuman v1.5 | | Full body animation |
| Creatify Aurora | | Audio-driven avatar |
| Infinitalk I2V | | Image talking head |
| Infinitalk V2V | | Video talking head |
| Sync Lipsync v2 Pro | | Lip sync |
| Kling Avatar v2 Pro | | Pro avatar |
| Kling Avatar v2 Standard | | Standard avatar |
| Echomimic V3 | | Face animation |
| Stable Avatar | | Stable talking head |
| 模型 | 标识(Slug) | 适用场景 |
|---|---|---|
| Bytedance Omnihuman v1.5 | | 全身动画 |
| Creatify Aurora | | 音频驱动虚拟形象 |
| Infinitalk I2V | | 图片生成数字人播报 |
| Infinitalk V2V | | 视频生成数字人播报 |
| Sync Lipsync v2 Pro | | 唇形同步 |
| Kling Avatar v2 Pro | | 专业级虚拟形象 |
| Kling Avatar v2 Standard | | 标准虚拟形象 |
| Echomimic V3 | | 面部动画 |
| Stable Avatar | | 稳定数字人播报 |
Prediction Flow
生成任务流程
- Check model — validates the model exists and returns the
GET https://api.eachlabs.ai/v1/model?slug=<slug>with exact input parameters. Always do this before creating a prediction to ensure correct inputs.request_schema - POST with model slug, version
https://api.eachlabs.ai/v1/prediction, and input parameters matching the schema"0.0.1" - Poll until status is
GET https://api.eachlabs.ai/v1/prediction/{id}or"success""failed" - Extract the output video URL from the response
- 验证模型:调用—— 验证模型是否存在,并返回包含精确输入参数的
GET https://api.eachlabs.ai/v1/model?slug=<slug>。创建生成任务前务必执行此步骤,确保输入参数正确。request_schema - 提交请求:调用,传入模型标识、版本
POST https://api.eachlabs.ai/v1/prediction,以及符合schema要求的输入参数。"0.0.1" - 轮询结果:调用,直到状态变为
GET https://api.eachlabs.ai/v1/prediction/{id}或"success"。"failed" - 提取结果:从响应中获取输出视频的URL。
Examples
示例
Image-to-Video with Wan v2.6 Flash
基于Wan v2.6 Flash的图片转视频
bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "wan-v2-6-image-to-video-flash",
"version": "0.0.1",
"input": {
"image_url": "https://example.com/photo.jpg",
"prompt": "The person turns to face the camera and smiles",
"duration": "5",
"resolution": "1080p"
}
}'bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "wan-v2-6-image-to-video-flash",
"version": "0.0.1",
"input": {
"image_url": "https://example.com/photo.jpg",
"prompt": "The person turns to face the camera and smiles",
"duration": "5",
"resolution": "1080p"
}
}'Video Transition with Pixverse
基于Pixverse的视频转场
bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "pixverse-v5-6-transition",
"version": "0.0.1",
"input": {
"prompt": "Smooth morphing transition between the two images",
"first_image_url": "https://example.com/start.jpg",
"end_image_url": "https://example.com/end.jpg",
"duration": "5",
"resolution": "720p"
}
}'bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "pixverse-v5-6-transition",
"version": "0.0.1",
"input": {
"prompt": "Smooth morphing transition between the two images",
"first_image_url": "https://example.com/start.jpg",
"end_image_url": "https://example.com/end.jpg",
"duration": "5",
"resolution": "720p"
}
}'Motion Control with Kling v2.6
基于Kling v2.6的运动控制
bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "kling-v2-6-pro-motion-control",
"version": "0.0.1",
"input": {
"image_url": "https://example.com/character.jpg",
"video_url": "https://example.com/dance-reference.mp4",
"character_orientation": "video"
}
}'bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "kling-v2-6-pro-motion-control",
"version": "0.0.1",
"input": {
"image_url": "https://example.com/character.jpg",
"video_url": "https://example.com/dance-reference.mp4",
"character_orientation": "video"
}
}'Talking Head with Omnihuman
基于Omnihuman的数字人播报
bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "bytedance-omnihuman-v1-5",
"version": "0.0.1",
"input": {
"image_url": "https://example.com/portrait.jpg",
"audio_url": "https://example.com/speech.mp3",
"resolution": "1080p"
}
}'bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "bytedance-omnihuman-v1-5",
"version": "0.0.1",
"input": {
"image_url": "https://example.com/portrait.jpg",
"audio_url": "https://example.com/speech.mp3",
"resolution": "1080p"
}
}'Prompt Tips
提示词技巧
- Be specific about motion: "camera slowly pans left" rather than "nice camera movement"
- Include style keywords: "cinematic", "anime", "3D animation", "cyberpunk"
- Describe timing: "slow motion", "time-lapse", "fast-paced"
- For image-to-video, describe what should change from the static image
- Use negative prompts to avoid unwanted elements (where supported)
- 明确描述运动细节:比如用“镜头缓慢向左平移”而非“不错的镜头运动”
- 加入风格关键词:如“电影感”、“动漫风格”、“3D动画”、“赛博朋克”
- 说明节奏:如“慢动作”、“延时摄影”、“快节奏”
- 图片转视频场景中,描述静态图片需要发生的变化
- 支持的模型可使用负面提示词排除不需要的元素
Parameter Reference
参数参考
See references/MODELS.md for complete parameter details for each model.
请查看references/MODELS.md获取每个模型的完整参数详情。