with one click
digital-human
使用火山引擎OmniHuman1.5生成数字人视频,输入IP形象图片+音频,输出数字人说话视频。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
使用火山引擎OmniHuman1.5生成数字人视频,输入IP形象图片+音频,输出数字人说话视频。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
火山引擎语音识别 - 将音频/视频转文字,支持长音频分段识别。
Use when publishing an Obsidian plugin to the community plugin store, creating GitHub Releases for Obsidian plugins, or submitting PRs to obsidianmd/obsidian-releases
一键部署静态网站到 Vercel 和 Cloudflare Pages。支持 HTML/React/Vue 等任意静态项目。
将 Expo/React Native 项目通过 EAS Build 构建 iOS 包并提交到 TestFlight。支持从零配置 EAS、构建、提交全流程。
综合画图工具 - AI 生图 (Nanobanana/Gemini) + 图片后处理(拼接/抠图/圆形裁剪/合成)。支持中英文自然语言画图。
统一搜索与抓取能力层 - 整合所有外部信息获取接口(搜索、抓取、下载)
| name | digital-human |
| description | 使用火山引擎OmniHuman1.5生成数字人视频,输入IP形象图片+音频,输出数字人说话视频。 |
| allowed-tools | Bash(python:*), Read, Write |
通过火山引擎 OmniHuman1.5 API 生成数字人说话视频。输入一张IP形象图片和一段音频,输出数字人口型同步的说话视频。
API 要求使用 URL 参数:图片和音频必须是公开可访问的 URL。本地文件需要先上传到 Supabase Storage。
export VOLC_ACCESSKEY="your_access_key"
export VOLC_SECRETKEY="your_secret_key"
export SUPABASE_URL="https://your-project.supabase.co"
export SUPABASE_KEY="your-service-role-key"
export SUPABASE_BUCKET="video-magic"
cd .claude/skills/digital-human
uv run python scripts/digital_human.py \
--image-url "https://your-storage.com/avatar.png" \
--audio-url "https://your-storage.com/speech.mp3"
uv run python scripts/digital_human.py \
--image "path/to/avatar.png" \
--audio "path/to/speech.mp3"
uv run python scripts/digital_human.py \
--image-url "https://..." \
--audio-url "https://..." \
--prompt "人物微笑,轻微点头"
| 参数 | 说明 | 默认值 |
|---|---|---|
| --image | 本地图片路径(自动上传) | - |
| --image-url | 图片URL(推荐) | - |
| --audio | 本地音频路径(自动上传) | - |
| --audio-url | 音频URL(推荐) | - |
| --prompt | 提示词(控制动作、表情) | 无 |
| --output | 输出视频路径 | output/digital_human_[timestamp].mp4 |
| --width | 输出视频宽度 | 自动(根据输入图片) |
| --height | 输出视频高度 | 自动(根据输入图片) |
| --vertical | 竖屏快捷方式 (1080x1920) | false |
| --callback-url | 回调URL | 无 |
| --no-download | 不下载视频,只输出URL | false |
| --no-query | 不查询状态,仅提交任务 | false |
| --poll-interval | 轮询间隔秒数 | 30 |
| --max-polls | 最大轮询次数 | 20 |
| --debug | 保存调试信息 | false |
默认情况下,输出视频尺寸根据输入图片自动计算,可能导致人物被裁剪。
推荐:使用 --vertical 生成竖屏视频
# 生成 9:16 竖屏视频 (1080x1920)
uv run python scripts/digital_human.py \
--image-url "https://..." \
--audio-url "https://..." \
--vertical
# 自定义尺寸
uv run python scripts/digital_human.py \
--image-url "https://..." \
--audio-url "https://..." \
--width 1280 --height 1920
常用尺寸预设:
| 用途 | 宽度 | 高度 | 比例 |
|---|---|---|---|
| 抖音/TikTok | 1080 | 1920 | 9:16 |
| 视频号 | 1080 | 1920 | 9:16 |
| B站横屏 | 1920 | 1080 | 16:9 |
| 正方形 | 1080 | 1080 | 1:1 |
上传文件(如使用本地文件)
提交任务
image_url 和 audio_url 参数调用 CVSubmitTask轮询结果
done 时获取 video_url下载视频
https://visual.volcengineapi.comCVSubmitTask / CVGetResult2022-08-31jimeng_realman_avatar_picture_omni_v15image_url + audio_url(不是 base64)image_url 和 audio_url