video-editing

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Video Editing

视频编辑

Edit and transform existing videos with AI-powered tools using each::sense — the intelligent AI agent that automatically selects the best model for your request.
使用each::sense这款AI驱动工具编辑和转换现有视频——它是一款智能AI Agent,可自动为你的请求选择最佳模型。

Quick Start

快速开始

Requires an each::labs API key. Get one at eachlabs.ai.
需要each::labs API key。可前往eachlabs.ai获取。

Using curl

使用curl

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "messages": [{"role": "user", "content": [
              {"type": "text", "text": "Apply a warm cinematic color grade to this video. Boost the orange tones in highlights and teal in the shadows, add slight film grain."},
              {"type": "image_url", "image_url": {"url": "https://example.com/raw-footage.mp4"}}
            ]
          }
    ],
    "stream": false
  }'
bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "messages": [{"role": "user", "content": [
              {"type": "text", "text": "Apply a warm cinematic color grade to this video. Boost the orange tones in highlights and teal in the shadows, add slight film grain."},
              {"type": "image_url", "image_url": {"url": "https://example.com/raw-footage.mp4"}}
            ]
          }
    ],
    "stream": false
  }'

Using Python (OpenAI SDK)

使用Python(OpenAI SDK)

python
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_EACHLABS_API_KEY",
    base_url="https://eachsense-agent.core.eachlabs.run/v1"
)

response = client.chat.completions.create(
    model="eachsense/beta",
    messages=[{"role": "user", "content": "Apply a warm cinematic color grade to this video. Boost the orange tones in highlights and teal in the shadows, add slight film grain."}],
    # Images are included in the message content array above
)

print(response.choices[0].message.content)
python
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_EACHLABS_API_KEY",
    base_url="https://eachsense-agent.core.eachlabs.run/v1"
)

response = client.chat.completions.create(
    model="eachsense/beta",
    messages=[{"role": "user", "content": "Apply a warm cinematic color grade to this video. Boost the orange tones in highlights and teal in the shadows, add slight film grain."}],
    # Images are included in the message content array above
)

print(response.choices[0].message.content)

With Reference Image

使用参考图片

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "messages": [{"role": "user", "content": [
              {"type": "text", "text": "Apply the color grading and visual style from this reference image to my video clip"},
              {"type": "image_url", "image_url": {"url": "https://example.com/my-video.mp4"}},
              {"type": "image_url", "image_url": {"url": "https://example.com/style-reference.jpg"}}
            ]
          }
    ],
    "stream": false
  }'
Images are sent inside messages using the OpenAI multimodal content format. Maximum 4 images per request.
bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "messages": [{"role": "user", "content": [
              {"type": "text", "text": "Apply the color grading and visual style from this reference image to my video clip"},
              {"type": "image_url", "image_url": {"url": "https://example.com/my-video.mp4"}},
              {"type": "image_url", "image_url": {"url": "https://example.com/style-reference.jpg"}}
            ]
          }
    ],
    "stream": false
  }'
图片需采用OpenAI多模态内容格式嵌入消息中。每次请求最多支持4张图片。

Streaming

流式响应

Set
"stream": true
for real-time SSE responses, or
"stream": false
for complete result in a single response. Streaming is useful for showing progress in UIs; non-streaming is simpler for scripts and automation.
设置
"stream": true
可获取实时SSE响应,设置
"stream": false
则会在单次响应中返回完整结果。流式响应适用于在UI中展示处理进度;非流式响应更适用于脚本和自动化场景。

Editing Capabilities

编辑功能

CategoryWhat You Can DoExample Instruction
Color GradingAdjust colors, contrast, mood"Apply a moody teal and orange color grade"
Speed ControlSlow motion, timelapse, ramping"Convert to smooth slow motion at 0.5x speed"
Style TransferApply artistic styles"Make this look like a Wes Anderson film"
EnhancementSharpen, denoise, stabilize"Stabilize the shaky handheld footage"
TrimmingCut and select portions"Keep only the first 5 seconds of this clip"
EffectsAdd visual effects"Add a subtle lens flare when the sun appears"
FormatChange aspect ratio, crop"Crop to 9:16 vertical for TikTok, focus on the center subject"
TransitionsAdd transition effects"Add a smooth fade-in at the start and fade-out at the end"
类别可实现功能示例指令
Color Grading调整色彩、对比度、氛围"Apply a moody teal and orange color grade"
Speed Control慢动作、延时摄影、变速渐变"Convert to smooth slow motion at 0.5x speed"
Style Transfer应用艺术风格"Make this look like a Wes Anderson film"
Enhancement锐化、降噪、画面稳定"Stabilize the shaky handheld footage"
Trimming裁剪视频片段"Keep only the first 5 seconds of this clip"
Effects添加视觉特效"Add a subtle lens flare when the sun appears"
Format修改宽高比、裁剪画面"Crop to 9:16 vertical for TikTok, focus on the center subject"
Transitions添加转场效果"Add a smooth fade-in at the start and fade-out at the end"

Prompt Tips

提示词技巧

Describe the Target Look

描述目标视觉效果

Be specific about the visual outcome you want:
"Make this look like it was shot on 35mm Kodak Portra 400 film.
Desaturate slightly, add warm highlights, lift the blacks,
and include subtle film grain."
请明确描述你想要的视觉效果:
"Make this look like it was shot on 35mm Kodak Portra 400 film.
Desaturate slightly, add warm highlights, lift the blacks,
and include subtle film grain."

Specify Temporal Changes

指定时间范围的修改

When edits should apply to specific moments:
"Slow motion from 0:02 to 0:04 when the ball is in the air,
then return to normal speed."
当编辑需要应用于视频特定时段时:
"Slow motion from 0:02 to 0:04 when the ball is in the air,
then return to normal speed."

Reference-Based Editing

基于参考的编辑

Use a second image or frame as a style reference:
"Match the color grading of the reference image.
Apply the same contrast, saturation, and color temperature."
使用另一张图片或视频帧作为风格参考:
"Match the color grading of the reference image.
Apply the same contrast, saturation, and color temperature."

Examples

示例

Cinematic Color Grade

电影级Color Grading

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "messages": [{"role": "user", "content": [
              {"type": "text", "text": "Apply a cinematic color grade inspired by Blade Runner 2049. Push shadows toward deep blue, highlights toward warm amber. High contrast, slightly desaturated midtones, add atmospheric haze effect."},
              {"type": "image_url", "image_url": {"url": "https://example.com/city-footage.mp4"}}
            ]
          }
    ],
    "stream": false
  }'
bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "messages": [{"role": "user", "content": [
              {"type": "text", "text": "Apply a cinematic color grade inspired by Blade Runner 2049. Push shadows toward deep blue, highlights toward warm amber. High contrast, slightly desaturated midtones, add atmospheric haze effect."},
              {"type": "image_url", "image_url": {"url": "https://example.com/city-footage.mp4"}}
            ]
          }
    ],
    "stream": false
  }'

Slow Motion Effect

慢动作效果

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "messages": [{"role": "user", "content": [
              {"type": "text", "text": "Convert this video to smooth slow motion at 0.25x speed. Use frame interpolation to keep the motion fluid and artifact-free. Maintain the original resolution."},
              {"type": "image_url", "image_url": {"url": "https://example.com/action-clip.mp4"}}
            ]
          }
    ],
    "stream": false
  }'
bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "messages": [{"role": "user", "content": [
              {"type": "text", "text": "Convert this video to smooth slow motion at 0.25x speed. Use frame interpolation to keep the motion fluid and artifact-free. Maintain the original resolution."},
              {"type": "image_url", "image_url": {"url": "https://example.com/action-clip.mp4"}}
            ]
          }
    ],
    "stream": false
  }'

Style Transfer to Animation

风格迁移至动画

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "messages": [{"role": "user", "content": [
              {"type": "text", "text": "Transform this real-world video into a Studio Ghibli anime style. Keep the motion and composition, but render everything as hand-painted animation with soft colors and visible brushstrokes."},
              {"type": "image_url", "image_url": {"url": "https://example.com/nature-walk.mp4"}}
            ]
          }
    ],
    "stream": false
  }'
bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "messages": [{"role": "user", "content": [
              {"type": "text", "text": "Transform this real-world video into a Studio Ghibli anime style. Keep the motion and composition, but render everything as hand-painted animation with soft colors and visible brushstrokes."},
              {"type": "image_url", "image_url": {"url": "https://example.com/nature-walk.mp4"}}
            ]
          }
    ],
    "stream": false
  }'

Social Media Reformat

社交媒体格式转换

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "messages": [{"role": "user", "content": [
              {"type": "text", "text": "Reformat this 16:9 landscape video to 9:16 vertical for TikTok. Intelligently crop to keep the main subject centered. Add a quick zoom-in effect at the beginning for engagement."},
              {"type": "image_url", "image_url": {"url": "https://example.com/horizontal-clip.mp4"}}
            ]
          }
    ],
    "stream": false
  }'
bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "messages": [{"role": "user", "content": [
              {"type": "text", "text": "Reformat this 16:9 landscape video to 9:16 vertical for TikTok. Intelligently crop to keep the main subject centered. Add a quick zoom-in effect at the beginning for engagement."},
              {"type": "image_url", "image_url": {"url": "https://example.com/horizontal-clip.mp4"}}
            ]
          }
    ],
    "stream": false
  }'

Vintage Film Effect

复古胶片效果

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "messages": [{"role": "user", "content": [
              {"type": "text", "text": "Make this video look like it was recorded on a VHS camcorder from the 1990s. Add scan lines, tracking artifacts, slight color bleeding, a date stamp in the corner reading 08/15/1994, and lower the resolution slightly."},
              {"type": "image_url", "image_url": {"url": "https://example.com/modern-video.mp4"}}
            ]
          }
    ],
    "stream": false
  }'
bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "messages": [{"role": "user", "content": [
              {"type": "text", "text": "Make this video look like it was recorded on a VHS camcorder from the 1990s. Add scan lines, tracking artifacts, slight color bleeding, a date stamp in the corner reading 08/15/1994, and lower the resolution slightly."},
              {"type": "image_url", "image_url": {"url": "https://example.com/modern-video.mp4"}}
            ]
          }
    ],
    "stream": false
  }'

Color Grading Presets

Color Grading预设

Common color grading descriptions to use in your prompts:
StyleDescription
Teal & OrangeCool shadows, warm highlights, popular blockbuster look
Film NoirHigh contrast black and white, deep shadows, sharp highlights
Vintage FilmLifted blacks, faded highlights, warm muted tones
Neon CyberpunkSaturated magentas and cyans, high contrast, dark blacks
Pastel DreamDesaturated, lifted shadows, soft pink and blue tones
DocumentaryNatural colors, slight desaturation, neutral contrast
Golden HourWarm amber tones, soft contrast, glowing highlights
Nordic MinimalCool desaturated blues and grays, low contrast, clean
可在提示词中使用以下常见Color Grading描述:
风格描述
Teal & Orange冷色调阴影、暖色调高光,是热门大片常用风格
Film Noir高对比度黑白风格,深邃阴影、锐利高光
Vintage Film提亮暗部、淡化高光,暖色调低饱和度
Neon Cyberpunk高饱和度洋红与青色,高对比度、深黑色
Pastel Dream低饱和度、提亮阴影,柔和粉蓝调
Documentary自然色彩、轻微降饱和、中性对比度
Golden Hour暖琥珀色调、柔和对比度、高光发光效果
Nordic Minimal冷色调低饱和蓝灰,低对比度、简洁风格

Common Pitfalls

常见误区

  • Vague instructions like "make it look cool" give inconsistent results. Describe the specific look.
  • Ignoring temporal context when the edit should apply to specific moments in the clip.
  • Expecting frame-accurate cuts from natural language. For precise trimming, include timestamps.
  • Over-processing by requesting too many effects at once. Apply edits in stages for best results.
  • Forgetting source quality matters. Low-resolution input limits what enhancements can achieve.
  • 模糊指令:比如“让它看起来很酷”这类指令会导致结果不一致,请描述具体的视觉效果。
  • 忽略时间上下文:当编辑需要应用于视频特定时段时,需明确指定时间范围。
  • 依赖自然语言实现帧级精准裁剪:如需精准裁剪,请包含时间戳。
  • 过度处理:一次性请求过多特效会影响效果,建议分阶段应用编辑。
  • 忽略源素材质量:低分辨率输入会限制增强效果的上限。

Related Skills

相关技能

  • Video Generation — Generate videos from scratch
  • Image Editing — Edit individual frames or thumbnails
  • Sound Effects — Add audio effects to edited videos
  • Music Generation — Create background music for video edits
  • 视频生成 — 从零开始生成视频
  • 图片编辑 — 编辑单帧画面或缩略图
  • 音效添加 — 为编辑后的视频添加音效
  • 音乐生成 — 为视频编辑创作背景音乐

Documentation

文档