mcpField
V
video-color-grading

video-color-grading

github.com/eachlabs创意与媒体44633 次安装今天更新
代码仓库

关于 video-color-grading

video-color-grading 是通过 each::sense 为视频添加风格化色彩并进行技术校正的技能,适合需要处理影像风格、修正色彩问题或统一多个片段色调的视频创作者。

主要功能

  1. 01电影感与胶片风格
  2. 02基于氛围的色彩风格
  3. 03白平衡与曝光校正
  4. 04复古与黑白处理
  5. 05HDR 增强与片段匹配

适用场景

  1. 01为叙事视频添加电影感调色
  2. 02模拟 Kodak 或 Fuji 胶片效果
  3. 03修正偏色与曝光
  4. 04统一剪辑中多个片段的色调

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/eachlabs/skills --skill video-color-grading

安装后在 Claude Code 中输入/video-color-grading确认已加载。

附带文件references/SSE-EVENTS.md

详细介绍

视频调色

使用 each::sense 对视频进行专业调色和色彩校正。此技能支持电影感色调、胶片模拟、基于情绪的色彩处理和技术性色彩校正。

功能

  • 电影感调色:适用于叙事内容的好莱坞风格色彩处理
  • 胶片模拟:Kodak、Fuji 和其他经典胶片的视觉效果
  • 风格开发:橙青色、暗调、明亮通透等风格
  • 色彩校正:修复白平衡、曝光和偏色问题
  • 复古风格:80 年代、90 年代、VHS 和怀旧色彩处理
  • 黑白效果:可控制色调的电影感单色转换
  • HDR 增强:扩展动态范围并进行色调映射
  • 色彩匹配:匹配不同片段之间的色调

快速开始

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Apply a cinematic color grade to this video with teal shadows and warm highlights"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "video_urls": ["https://example.com/my-video.mp4"]
  }'

调色风格

风格描述适用场景
电影感压暗黑位、色彩对比、胶片质感叙事、剧情
橙青色温暖的肤色、冷调背景动作片、商业大片
胶片模拟Kodak/Fuji 胶片的特征独立电影、音乐视频
暗调低调、低饱和、富有氛围感惊悚片、恐怖片
明亮通透提亮阴影、柔和的粉彩色调婚礼、生活方式内容
复古风格褪色、暖调、怀旧音乐视频、广告
黑白效果电影感单色艺术电影、剧情片
HDR 增强扩展动态范围、色彩鲜明自然、旅行

使用场景示例

1. 电影感调色
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Apply a cinematic color grade to this video. I want crushed blacks, slightly desaturated midtones, and a subtle teal push in the shadows with warm highlights. Make it look like a modern Hollywood film."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "video_urls": ["https://example.com/raw-footage.mp4"]
  }'
2. 胶片模拟(Kodak Vision3)
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Color grade this video to look like it was shot on Kodak Vision3 500T film stock. I want that classic film look with natural skin tones, rich shadows, and subtle grain. Tungsten balanced with warm color science."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "video_urls": ["https://example.com/digital-footage.mp4"]
  }'
3. 橙青色风格
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Apply the classic orange and teal color grade to this video. Push warm orange tones into the skin and highlights, and cool teal into the shadows and backgrounds. Make it punchy like a Michael Bay film but not over the top."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "video_urls": ["https://example.com/action-scene.mp4"]
  }'
4. 复古风格调色
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Give this video a vintage 1980s look. Faded blacks, warm color cast, reduced saturation with boosted reds and yellows. Add subtle softness and that nostalgic analog feel. Think retro music video aesthetic."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "video_urls": ["https://example.com/modern-footage.mp4"]
  }'
5. 黑白转换
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Convert this video to cinematic black and white. I want high contrast with deep blacks and bright highlights. Focus on dramatic tonal separation. Think classic film noir or modern prestige drama. Rich monochrome, not flat."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "video_urls": ["https://example.com/color-footage.mp4"]
  }'
6. 色彩校正(修复白平衡)
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "This video was shot with incorrect white balance - it has a strong orange/yellow color cast from tungsten lighting. Please correct the white balance to neutral, fix the skin tones to look natural, and balance the overall exposure. Keep it looking natural, just properly corrected."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "video_urls": ["https://example.com/bad-white-balance.mp4"]
  }'
7. 匹配片段之间的色彩
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "I have two video clips that need to match. The first video is my reference with the color grade I like. Please apply the same color grade to the second video so they look consistent when edited together. Match the contrast, saturation, color temperature, and overall tone."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "video_urls": [
      "https://example.com/reference-clip.mp4",
      "https://example.com/clip-to-match.mp4"
    ]
  }'
8. 暗调调色
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Apply a moody, dark color grade to this video. I want crushed shadows, desaturated colors with selective color pops, and a cold blue-green tint. Think David Fincher or Denis Villeneuve - atmospheric and brooding. Low-key lighting feel even if the original is brighter."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "video_urls": ["https://example.com/scene-footage.mp4"]
  }'
9. 明亮通透调色
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Give this video a bright and airy look perfect for wedding or lifestyle content. Lift the shadows, add soft pastel tones, slightly warm skin tones, and reduce contrast for that dreamy quality. Clean, fresh, and romantic feeling. Keep it natural but elevated."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "video_urls": ["https://example.com/wedding-footage.mp4"]
  }'
10. HDR 增强
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Enhance this video with HDR-style color grading. Expand the dynamic range, bring out detail in both shadows and highlights, boost color vibrancy without oversaturation. Make skies more dramatic, colors more vivid, and overall image more impactful. Great for landscape and travel footage."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "video_urls": ["https://example.com/landscape-video.mp4"]
  }'

最佳实践

调色技巧
  • 参考图像:描述具体的电影或视觉参考,以确保效果一致
  • 描述具体:说明阴影颜色、高光暖度、对比度和饱和度
  • 肤色:如果需要保留自然肤色,请务必说明
  • 先确定情绪:先说明想要的情绪或氛围,再提供技术细节
技术注意事项
  • 素材质量:源素材质量越高,调色效果越好
  • 一致性:使用 session_id 为多个片段调出相同风格
  • 先预览:使用 eco 模式快速预览,使用 max 模式生成最终输出
常用术语
术语描述
Lift调整阴影亮度
Gamma调整中间调亮度
Gain调整高光亮度
Crush将黑位压得比纯黑更深
Push为某个色调范围添加色彩倾向
Color Cast图像整体出现不需要的色彩倾向

模式选择

生成前询问用户:

“您希望速度快、成本低,还是追求高质量?”

模式适用场景速度质量
max最终交付、客户项目较慢最高
eco快速预览、探索风格、草稿较快良好

多轮创意迭代

使用 session_id 迭代调色:

# Initial grade
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Apply a cinematic teal and orange grade to this video"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "color-grade-project-001",
    "video_urls": ["https://example.com/my-video.mp4"]
  }'

# Refine the grade
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "The teal is too strong in the shadows. Can you reduce it and add more warmth to the skin tones?"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "color-grade-project-001"
  }'

# Apply to additional clips
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Apply the same grade we developed to this new clip"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "color-grade-project-001",
    "video_urls": ["https://example.com/second-clip.mp4"]
  }'

批量调色

为多个片段调出相同风格:

# Grade first clip and establish look
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Apply a moody cinematic grade to this video - this will be my hero look for the project"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "music-video-grade",
    "video_urls": ["https://example.com/clip-01.mp4"]
  }'

# Apply same look to remaining clips
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Apply the same color grade to these additional clips for consistency"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "music-video-grade",
    "video_urls": [
      "https://example.com/clip-02.mp4",
      "https://example.com/clip-03.mp4",
      "https://example.com/clip-04.mp4"
    ]
  }'

错误处理

错误原因解决方案
Failed to create prediction: HTTP 422余额不足前往 eachlabs.ai 充值
内容政策违规内容被禁止确保视频符合内容政策
超时视频处理复杂将客户端超时设置为至少 10 分钟
视频过长超出处理限制将视频拆分为较短片段

色彩分级提示词技巧

请求色彩分级时,请包含以下细节:

  1. 参考:电影、导演或视觉风格参考
  2. 氛围:情绪基调(忧郁、明亮、戏剧化、柔和)
  3. 阴影处理:色彩和深度(压暗、提亮、着色)
  4. 高光处理:暖度、衰减、色彩
  5. 饱和度:整体和局部色彩强度
  6. 对比度:高、低或特定曲线形状
  7. 肤色:自然、暖色或风格化
提示词结构示例
"Apply a [style] color grade to this video.
I want [shadow description] shadows and [highlight description] highlights.
The mood should be [mood/emotion].
Reference: [film or visual reference].
[Specific requirements like skin tones, saturation, etc.]"

相关技能

  • each-sense - 核心 API 文档
  • video-generation - 从零开始生成视频
  • video-editing - 编辑和修改视频内容
  • image-color-grading - 为静态图像进行色彩分级

评论

支持 Markdown