video-editing
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseVideo 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 for real-time SSE responses, or 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"stream": false设置可获取实时SSE响应,设置则会在单次响应中返回完整结果。流式响应适用于在UI中展示处理进度;非流式响应更适用于脚本和自动化场景。
"stream": true"stream": falseEditing Capabilities
编辑功能
| Category | What You Can Do | Example Instruction |
|---|---|---|
| Color Grading | Adjust colors, contrast, mood | "Apply a moody teal and orange color grade" |
| Speed Control | Slow motion, timelapse, ramping | "Convert to smooth slow motion at 0.5x speed" |
| Style Transfer | Apply artistic styles | "Make this look like a Wes Anderson film" |
| Enhancement | Sharpen, denoise, stabilize | "Stabilize the shaky handheld footage" |
| Trimming | Cut and select portions | "Keep only the first 5 seconds of this clip" |
| Effects | Add visual effects | "Add a subtle lens flare when the sun appears" |
| Format | Change aspect ratio, crop | "Crop to 9:16 vertical for TikTok, focus on the center subject" |
| Transitions | Add 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:
| Style | Description |
|---|---|
| Teal & Orange | Cool shadows, warm highlights, popular blockbuster look |
| Film Noir | High contrast black and white, deep shadows, sharp highlights |
| Vintage Film | Lifted blacks, faded highlights, warm muted tones |
| Neon Cyberpunk | Saturated magentas and cyans, high contrast, dark blacks |
| Pastel Dream | Desaturated, lifted shadows, soft pink and blue tones |
| Documentary | Natural colors, slight desaturation, neutral contrast |
| Golden Hour | Warm amber tones, soft contrast, glowing highlights |
| Nordic Minimal | Cool 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
- 视频生成 — 从零开始生成视频
- 图片编辑 — 编辑单帧画面或缩略图
- 音效添加 — 为编辑后的视频添加音效
- 音乐生成 — 为视频编辑创作背景音乐