eachlabs-video-edit
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseEachLabs Video Edit
EachLabs 视频编辑
Edit, transform, and enhance existing videos using 25+ AI models via the EachLabs Predictions API.
通过EachLabs Predictions API,使用25+种AI模型编辑、转换和增强现有视频。
Authentication
身份验证
Header: X-API-Key: <your-api-key>Set the environment variable. Get your key at eachlabs.ai.
EACHLABS_API_KEYHeader: X-API-Key: <your-api-key>设置环境变量。可在eachlabs.ai获取你的密钥。
EACHLABS_API_KEYModel Selection Guide
模型选择指南
Video Extension
视频拓展
| Model | Slug | Best For |
|---|---|---|
| Veo 3.1 Extend | | Best quality extension |
| Veo 3.1 Fast Extend | | Fast extension |
| PixVerse v5 Extend | | PixVerse extension |
| PixVerse v4.5 Extend | | Older PixVerse extension |
| 模型 | 标识(Slug) | 适用场景 |
|---|---|---|
| Veo 3.1 Extend | | 最佳质量视频拓展 |
| Veo 3.1 Fast Extend | | 快速视频拓展 |
| PixVerse v5 Extend | | PixVerse视频拓展 |
| PixVerse v4.5 Extend | | 旧版PixVerse视频拓展 |
Lip Sync & Talking Head
唇形同步与虚拟主播
| Model | Slug | Best For |
|---|---|---|
| Sync Lipsync v2 Pro | | Best lip sync quality |
| PixVerse Lip Sync | | PixVerse lip sync |
| LatentSync | | Open-source lip sync |
| Video Retalking | | Audio-based lip sync |
| 模型 | 标识(Slug) | 适用场景 |
|---|---|---|
| Sync Lipsync v2 Pro | | 最佳唇形同步质量 |
| PixVerse Lip Sync | | PixVerse唇形同步 |
| LatentSync | | 开源唇形同步 |
| Video Retalking | | 基于音频的唇形同步 |
Video Transformation
视频转换
| Model | Slug | Best For |
|---|---|---|
| Runway Gen4 Aleph | | Video transformation |
| Kling O1 Video Edit | | AI video editing |
| Kling O1 V2V Reference | | Reference-based edit |
| ByteDance Video Stylize | | Style transfer |
| Wan v2.2 Animate Move | | Motion animation |
| Wan v2.2 Animate Replace | | Object replacement |
| 模型 | 标识(Slug) | 适用场景 |
|---|---|---|
| Runway Gen4 Aleph | | 视频风格转换 |
| Kling O1 Video Edit | | AI视频编辑 |
| Kling O1 V2V Reference | | 基于参考的视频编辑 |
| ByteDance Video Stylize | | 风格迁移 |
| Wan v2.2 Animate Move | | 动态动画 |
| Wan v2.2 Animate Replace | | 物体替换 |
Video Upscaling & Enhancement
视频放大与增强
| Model | Slug | Best For |
|---|---|---|
| Topaz Upscale Video | | Best quality upscale |
| Luma Ray 2 Video Reframe | | Video reframing |
| Luma Ray 2 Flash Reframe | | Fast reframing |
| 模型 | 标识(Slug) | 适用场景 |
|---|---|---|
| Topaz Upscale Video | | 最佳质量视频放大 |
| Luma Ray 2 Video Reframe | | 视频重新构图 |
| Luma Ray 2 Flash Reframe | | 快速重新构图 |
Audio & Subtitles
音频与字幕
| Model | Slug | Best For |
|---|---|---|
| FFmpeg Merge Audio Video | | Merge audio track |
| MMAudio V2 | | Add audio to video |
| MMAudio | | Add audio to video |
| Auto Subtitle | | Generate subtitles |
| Merge Videos | | Concatenate videos |
| 模型 | 标识(Slug) | 适用场景 |
|---|---|---|
| FFmpeg Merge Audio Video | | 合并音轨 |
| MMAudio V2 | | 为视频添加音频 |
| MMAudio | | 为视频添加音频 |
| Auto Subtitle | | 生成字幕 |
| Merge Videos | | 拼接视频 |
Video Translation
视频翻译
| Model | Slug | Best For |
|---|---|---|
| Heygen Video Translate | | Translate video speech |
| 模型 | 标识(Slug) | 适用场景 |
|---|---|---|
| Heygen Video Translate | | 翻译视频语音 |
Motion Transfer
动作迁移
| Model | Slug | Best For |
|---|---|---|
| Motion Fast | | Fast motion transfer |
| Infinitalk V2V | | Talking head from video |
| 模型 | 标识(Slug) | 适用场景 |
|---|---|---|
| Motion Fast | | 快速动作迁移 |
| Infinitalk V2V | | 基于视频生成虚拟主播 |
Face Swap (Video)
视频换脸
| Model | Slug | Best For |
|---|---|---|
| Faceswap Video | | Swap face in video |
| 模型 | 标识(Slug) | 适用场景 |
|---|---|---|
| Faceswap Video | | 视频中的人脸替换 |
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 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请求 ,携带模型标识(slug)、版本
https://api.eachlabs.ai/v1/prediction,以及符合schema的输入参数"0.0.1" - 轮询 ,直到状态变为
GET https://api.eachlabs.ai/v1/prediction/{id}或"success""failed" - 提取响应中的输出视频URL
Examples
示例
Extend a Video with Veo 3.1
使用Veo 3.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": "veo3-1-extend-video",
"version": "0.0.1",
"input": {
"video_url": "https://example.com/video.mp4",
"prompt": "Continue the scene with the camera slowly pulling back"
}
}'bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "veo3-1-extend-video",
"version": "0.0.1",
"input": {
"video_url": "https://example.com/video.mp4",
"prompt": "Continue the scene with the camera slowly pulling back"
}
}'Lip Sync with Sync v2 Pro
使用Sync v2 Pro实现唇形同步
bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "sync-lipsync-v2-pro",
"version": "0.0.1",
"input": {
"video_url": "https://example.com/talking-head.mp4",
"audio_url": "https://example.com/new-audio.mp3"
}
}'bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "sync-lipsync-v2-pro",
"version": "0.0.1",
"input": {
"video_url": "https://example.com/talking-head.mp4",
"audio_url": "https://example.com/new-audio.mp3"
}
}'Add Subtitles
生成字幕
bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "auto-subtitle",
"version": "0.0.1",
"input": {
"video_url": "https://example.com/video.mp4"
}
}'bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "auto-subtitle",
"version": "0.0.1",
"input": {
"video_url": "https://example.com/video.mp4"
}
}'Merge Audio with 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": "ffmpeg-api-merge-audio-video",
"version": "0.0.1",
"input": {
"video_url": "https://example.com/video.mp4",
"audio_url": "https://example.com/music.mp3",
"start_offset": 0
}
}'bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "ffmpeg-api-merge-audio-video",
"version": "0.0.1",
"input": {
"video_url": "https://example.com/video.mp4",
"audio_url": "https://example.com/music.mp3",
"start_offset": 0
}
}'Upscale Video with Topaz
使用Topaz放大视频
bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "topaz-upscale-video",
"version": "0.0.1",
"input": {
"video_url": "https://example.com/low-res-video.mp4"
}
}'bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "topaz-upscale-video",
"version": "0.0.1",
"input": {
"video_url": "https://example.com/low-res-video.mp4"
}
}'Parameter Reference
参数参考
See references/MODELS.md for complete parameter details for each model.
有关每个模型的完整参数详情,请参阅references/MODELS.md。