eachlabs-video-edit

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

EachLabs 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
EACHLABS_API_KEY
environment variable. Get your key at eachlabs.ai.
Header: X-API-Key: <your-api-key>
设置
EACHLABS_API_KEY
环境变量。可在eachlabs.ai获取你的密钥。

Model Selection Guide

模型选择指南

Video Extension

视频拓展

ModelSlugBest For
Veo 3.1 Extend
veo3-1-extend-video
Best quality extension
Veo 3.1 Fast Extend
veo3-1-fast-extend-video
Fast extension
PixVerse v5 Extend
pixverse-v5-extend
PixVerse extension
PixVerse v4.5 Extend
pixverse-v4-5-extend
Older PixVerse extension
模型标识(Slug)适用场景
Veo 3.1 Extend
veo3-1-extend-video
最佳质量视频拓展
Veo 3.1 Fast Extend
veo3-1-fast-extend-video
快速视频拓展
PixVerse v5 Extend
pixverse-v5-extend
PixVerse视频拓展
PixVerse v4.5 Extend
pixverse-v4-5-extend
旧版PixVerse视频拓展

Lip Sync & Talking Head

唇形同步与虚拟主播

ModelSlugBest For
Sync Lipsync v2 Pro
sync-lipsync-v2-pro
Best lip sync quality
PixVerse Lip Sync
pixverse-lip-sync
PixVerse lip sync
LatentSync
latentsync
Open-source lip sync
Video Retalking
video-retalking
Audio-based lip sync
模型标识(Slug)适用场景
Sync Lipsync v2 Pro
sync-lipsync-v2-pro
最佳唇形同步质量
PixVerse Lip Sync
pixverse-lip-sync
PixVerse唇形同步
LatentSync
latentsync
开源唇形同步
Video Retalking
video-retalking
基于音频的唇形同步

Video Transformation

视频转换

ModelSlugBest For
Runway Gen4 Aleph
runway-gen4-aleph
Video transformation
Kling O1 Video Edit
kling-o1-video-to-video-edit
AI video editing
Kling O1 V2V Reference
kling-o1-video-to-video-reference
Reference-based edit
ByteDance Video Stylize
bytedance-video-stylize
Style transfer
Wan v2.2 Animate Move
wan-v2-2-14b-animate-move
Motion animation
Wan v2.2 Animate Replace
wan-v2-2-14b-animate-replace
Object replacement
模型标识(Slug)适用场景
Runway Gen4 Aleph
runway-gen4-aleph
视频风格转换
Kling O1 Video Edit
kling-o1-video-to-video-edit
AI视频编辑
Kling O1 V2V Reference
kling-o1-video-to-video-reference
基于参考的视频编辑
ByteDance Video Stylize
bytedance-video-stylize
风格迁移
Wan v2.2 Animate Move
wan-v2-2-14b-animate-move
动态动画
Wan v2.2 Animate Replace
wan-v2-2-14b-animate-replace
物体替换

Video Upscaling & Enhancement

视频放大与增强

ModelSlugBest For
Topaz Upscale Video
topaz-upscale-video
Best quality upscale
Luma Ray 2 Video Reframe
luma-dream-machine-ray-2-video-reframe
Video reframing
Luma Ray 2 Flash Reframe
luma-dream-machine-ray-2-flash-video-reframe
Fast reframing
模型标识(Slug)适用场景
Topaz Upscale Video
topaz-upscale-video
最佳质量视频放大
Luma Ray 2 Video Reframe
luma-dream-machine-ray-2-video-reframe
视频重新构图
Luma Ray 2 Flash Reframe
luma-dream-machine-ray-2-flash-video-reframe
快速重新构图

Audio & Subtitles

音频与字幕

ModelSlugBest For
FFmpeg Merge Audio Video
ffmpeg-api-merge-audio-video
Merge audio track
MMAudio V2
mm-audio-v-2
Add audio to video
MMAudio
mmaudio
Add audio to video
Auto Subtitle
auto-subtitle
Generate subtitles
Merge Videos
merge-videos
Concatenate videos
模型标识(Slug)适用场景
FFmpeg Merge Audio Video
ffmpeg-api-merge-audio-video
合并音轨
MMAudio V2
mm-audio-v-2
为视频添加音频
MMAudio
mmaudio
为视频添加音频
Auto Subtitle
auto-subtitle
生成字幕
Merge Videos
merge-videos
拼接视频

Video Translation

视频翻译

ModelSlugBest For
Heygen Video Translate
heygen-video-translate
Translate video speech
模型标识(Slug)适用场景
Heygen Video Translate
heygen-video-translate
翻译视频语音

Motion Transfer

动作迁移

ModelSlugBest For
Motion Fast
motion-fast
Fast motion transfer
Infinitalk V2V
infinitalk-video-to-video
Talking head from video
模型标识(Slug)适用场景
Motion Fast
motion-fast
快速动作迁移
Infinitalk V2V
infinitalk-video-to-video
基于视频生成虚拟主播

Face Swap (Video)

视频换脸

ModelSlugBest For
Faceswap Video
faceswap-video
Swap face in video
模型标识(Slug)适用场景
Faceswap Video
faceswap-video
视频中的人脸替换

Prediction Flow

预测流程

  1. Check model
    GET https://api.eachlabs.ai/v1/model?slug=<slug>
    — validates the model exists and returns the
    request_schema
    with exact input parameters. Always do this before creating a prediction to ensure correct inputs.
  2. POST
    https://api.eachlabs.ai/v1/prediction
    with model slug, version
    "0.0.1"
    , and input matching the schema
  3. Poll
    GET https://api.eachlabs.ai/v1/prediction/{id}
    until status is
    "success"
    or
    "failed"
  4. Extract the output video URL from the response
  1. 检查模型
    GET https://api.eachlabs.ai/v1/model?slug=<slug>
    — 验证模型是否存在,并返回包含确切输入参数的
    request_schema
    。在创建预测前务必执行此步骤,以确保输入正确。
  2. 发送POST请求
    https://api.eachlabs.ai/v1/prediction
    ,携带模型标识(slug)、版本
    "0.0.1"
    ,以及符合schema的输入参数
  3. 轮询
    GET https://api.eachlabs.ai/v1/prediction/{id}
    ,直到状态变为
    "success"
    "failed"
  4. 提取响应中的输出视频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