关于 video-watermark
video-watermark 是基于 each::sense 的视频水印编辑技能,面向需要添加品牌标识或清除水印的视频创作者。可控制水印样式、位置与动态效果,也支持批量处理。
主要功能
- 01添加 Logo 或文字水印
- 02调整透明度、样式和位置
- 03制作动态或移动水印
- 04移除视频中的水印
- 05批量处理多个视频
- 06通过多轮会话调整水印
适用场景
- 01为视频添加品牌 Logo 或版权文字
- 02制作带半透明标识的内容预览
- 03清理已获授权素材中的水印
- 04为多个视频应用一致的标记
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ eachlabs/ skills --skill video-watermark安装后在 Claude Code 中输入/video-watermark确认已加载。
附带文件references/SSE-EVENTS.md
详细介绍
视频水印
使用 each::sense 为视频添加专业水印,或移除不需要的水印。此技能可满足各种水印处理需求,包括放置徽标、添加文字叠加、制作动态水印,以及智能移除水印。
功能
- 添加徽标水印:为视频添加品牌徽标,并自定义不透明度和位置
- 添加文字水印:添加文字叠加,并自定义字体、颜色和样式
- 透明水印:添加半透明水印,避免遮挡内容
- 位置控制:将水印放在角落、中央或自定义位置
- 动态水印:添加移动或脉冲效果的水印,强化品牌形象
- 动态位置水印:水印在视频播放过程中改变位置
- 移除水印:智能移除视频中已有的水印
- 移除 TikTok 水印:移除视频中的 TikTok 徽标和用户名
- 素材视频清理:为已获授权的内容移除素材视频水印
- 批量处理:高效为多个视频添加水印
快速开始
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": "Add a logo watermark to this video in the bottom right corner with 50% opacity"}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/my-video.mp4", "https://example.com/my-logo.png"]
}'
水印位置参考
| 位置 | 描述 | 最适用场景 |
|---|---|---|
| 右下角 | 最常见的位置 | 企业视频、视频博客 |
| 左下角 | 另一个角落位置 | 右下角有内容时 |
| 右上角 | 上方角落 | 新闻风格、直播 |
| 左上角 | 上方角落 | 纪录片风格 |
| 中央 | 画面中央 | 预览/草稿水印 |
| 全画面 | 沿视频对角线分布 | 素材视频保护 |
使用场景示例
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": "Add this logo as a watermark to the video. Place it in the bottom right corner with 40% opacity. Keep the logo small, about 10% of the video width."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/product-video.mp4", "https://example.com/company-logo.png"]
}'
2. 添加文字水印
添加版权声明或频道名称等文字水印。
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": "Add a text watermark to this video saying \"Copyright 2024 MyBrand\" in white text with black outline. Position it in the bottom left corner, make it subtle but readable."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/my-video.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": "Add a very subtle transparent watermark with my logo. Use only 20% opacity so it is barely visible but still present. Position in the bottom right corner."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/cinematic-video.mp4", "https://example.com/watermark-logo.png"]
}'
4. 设置水印位置(角落和中央)
精准控制水印位置,以适应不同的视频风格。
# Corner placement for vlog style
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": "Add my channel logo in the top left corner of this video. Make it small and semi-transparent. The watermark should have a slight drop shadow for visibility on light backgrounds."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/vlog-video.mp4", "https://example.com/channel-logo.png"]
}'
# Center placement for preview/draft
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": "Add a large DRAFT watermark text diagonally across the center of this video. Use white text with black stroke, 50% opacity. This is for preview purposes."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/preview-video.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": "Add an animated watermark to this video. The logo should have a subtle pulsing glow effect. Place it in the bottom right corner. The animation should loop smoothly every 2 seconds."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/promo-video.mp4", "https://example.com/animated-logo.gif"]
}'
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": "Remove the watermark from this video. There is a logo watermark in the bottom right corner that needs to be removed cleanly without affecting the rest of the video."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/watermarked-video.mp4"]
}'
7. 移除 TikTok 水印
移除下载视频中的 TikTok 徽标和用户名水印。
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": "Remove the TikTok watermark from this video. There is a TikTok logo and username in the corner that needs to be removed. Preserve the original video quality and ensure no artifacts remain."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/tiktok-video.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": "Remove the stock footage watermark from this video. It has a repeating diagonal text watermark across the entire frame saying the stock site name. I have licensed this footage and need a clean version."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/stock-footage-preview.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": "Add a dynamic watermark to this video that changes position every 5 seconds. The watermark should move between all four corners of the video. Use my logo with 30% opacity. This makes the watermark harder to remove."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/protected-content.mp4", "https://example.com/brand-logo.png"]
}'
10. 为多个视频批量添加水印
在一次会话中为多个视频添加统一的水印。
# First video in batch
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 need to add the same watermark to multiple videos. Start with this first video. Add my logo in the bottom right corner with 35% opacity. Remember these settings for the next videos."}],
"model": "eachsense/beta",
"stream": true,
"session_id": "batch-watermark-001",
"mode": "eco",
"image_urls": ["https://example.com/video-1.mp4", "https://example.com/company-logo.png"]
}'
# Second video (same session for consistency)
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 watermark settings to this second video."}],
"model": "eachsense/beta",
"stream": true,
"session_id": "batch-watermark-001",
"mode": "eco",
"image_urls": ["https://example.com/video-2.mp4"]
}'
# Third video (same session)
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 watermark settings to this third video."}],
"model": "eachsense/beta",
"stream": true,
"session_id": "batch-watermark-001",
"mode": "eco",
"image_urls": ["https://example.com/video-3.mp4"]
}'
最佳实践
添加水印
- 不透明度:低调的品牌标识建议使用 20-40% 的不透明度,醒目的保护水印建议使用 50-70%
- 尺寸:徽标水印宽度保持在视频宽度的 5-15%,以呈现专业效果
- 位置:通常放在底部角落;除草稿或预览外,避免放在中央
- 对比度:为水印添加阴影或描边,使其在不同背景上清晰可见
- 一致性:所有内容均使用相同的水印设置
移除水印
- 质量:源视频质量越高,移除效果越好
- 简单背景:位于简单/均匀区域上的水印更容易移除
- 多个水印:指定所有水印的位置,以便彻底移除
- 合法使用:仅移除你拥有或已获授权内容中的水印
模式选择
生成前请询问用户:
“你想要快速且低成本,还是高质量?”
| 模式 | 适用场景 | 速度 | 质量 |
|---|---|---|---|
max | 最终输出、专业内容、移除水印 | 较慢 | 最高 |
eco | 批量处理、草稿、测试位置 | 较快 | 良好 |
多轮水印迭代
使用 session_id 优化水印位置:
# Initial watermark
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": "Add my logo watermark to this video in the bottom right corner"}],
"model": "eachsense/beta",
"stream": true,
"session_id": "watermark-project-001",
"image_urls": ["https://example.com/my-video.mp4", "https://example.com/logo.png"]
}'
# Adjust based on feedback
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 watermark is too large and too opaque. Make it 50% smaller and reduce opacity to 25%"}],
"model": "eachsense/beta",
"stream": true,
"session_id": "watermark-project-001"
}'
# Final adjustment
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": "Move it slightly more to the center to avoid the video controls overlay area"}],
"model": "eachsense/beta",
"stream": true,
"session_id": "watermark-project-001"
}'
错误处理
| 错误 | 原因 | 解决方案 |
|---|---|---|
Failed to create prediction: HTTP 422 | 余额不足 | 在 eachlabs.ai 充值 |
| 内容策略违规 | 内容被禁止 | 确保内容符合服务条款 |
| 超时 | 视频处理耗时较长 | 将客户端超时时间设为至少 10 分钟 |
| 视频格式无效 | 格式不受支持 | 转换为 MP4、MOV 或 WebM |
| 未检测到水印 | AI 无法定位水印 | 更精确地指定水印位置 |
相关技能
each-sense- 核心 API 文档video-generation- 从零开始创建视频video-edit- 通用视频编辑功能image-edit- 图像水印和编辑
评论
支持 Markdown