leoyishou/personal-ai-company/digital-human

Claude Code and agent skill by leoyishou/personal-ai-company

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

使用火山引擎OmniHuman1.5生成数字人视频,输入IP形象图片+音频,输出数字人说话视频。

Install

npx vskill@latest install leoyishou/personal-ai-company/digital-human

SKILL.md

The same SKILL.md was published earlier as leoyishou/personal-ai-company/digital-human.

数字人视频生成工具 (OmniHuman1.5)

通过火山引擎 OmniHuman1.5 API 生成数字人说话视频。输入一张IP形象图片和一段音频,输出数字人口型同步的说话视频。

⚠️ 重要说明

API 要求使用 URL 参数:图片和音频必须是公开可访问的 URL。本地文件需要先上传到 Supabase Storage。

快速开始

环境配置
  1. 设置火山引擎 AK/SK:
bash
export VOLC_ACCESSKEY="your_access_key"
export VOLC_SECRETKEY="your_secret_key"
  1. 配置 Supabase(用于上传本地文件):
bash
export SUPABASE_URL="https://your-project.supabase.co"
export SUPABASE_KEY="your-service-role-key"
export SUPABASE_BUCKET="video-magic"
使用 URL(推荐)
bash
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"
使用本地文件(自动上传到 Supabase)
bash
uv run python scripts/digital_human.py \
--image "path/to/avatar.png" \
--audio "path/to/speech.mp3"
添加提示词控制动作
bash
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不下载视频,只输出URLfalse
--no-query不查询状态,仅提交任务false
--poll-interval轮询间隔秒数30
--max-polls最大轮询次数20
--debug保存调试信息false
输出尺寸控制

默认情况下,输出视频尺寸根据输入图片自动计算,可能导致人物被裁剪。

推荐:使用 `--vertical` 生成竖屏视频

bash
# 生成 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

常用尺寸预设:

用途宽度高度比例
抖音/TikTok108019209:16
视频号108019209:16
B站横屏1920108016:9
正方形108010801:1

工作流程

  1. 上传文件(如使用本地文件)
  • 自动调用 supabase-upload skill 上传到 Supabase Storage
  • 获取公开访问 URL
  1. 提交任务
  • 使用 image_url 和 audio_url 参数调用 CVSubmitTask
  • 返回 task_id
  1. 轮询结果
  • 每 30 秒调用 CVGetResult 查询状态
  • 状态为 done 时获取 video_url
  1. 下载视频
  • 自动下载到 output 目录

支持的输入格式

图片
  • 格式: PNG, JPG, JPEG
  • 建议: 正面照,面部清晰
  • 支持: 真人、动漫、宠物等
音频
  • 格式: MP3, WAV, M4A
  • 建议: 清晰的人声,时长 5-60 秒

技术细节

  • API端点: https://visual.volcengineapi.com
  • Action: CVSubmitTask / CVGetResult
  • Version: 2022-08-31
  • req_key: jimeng_realman_avatar_picture_omni_v15
  • 认证: 火山引擎 HMAC-SHA256 签名
  • 参数格式: image_url + audio_url(不是 base64)

故障排查

错误 50215 "Input invalid for this service"
  • 原因: 使用了 base64 参数而不是 URL 参数
  • 解决: 确保使用 image_url 和 audio_url
图片/音频 URL 无法访问
  • 原因: Supabase bucket 未设为 public
  • 解决: 在 Supabase Dashboard 设置 bucket 为 Public
其他问题
  1. 确认 AK/SK 已正确设置
  2. 确认 Supabase 配置正确
  3. 检查图片是否为清晰的正面照
  4. 检查音频是否为清晰的人声

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/leoyishou/personal-ai-company/digital-human/badge)](https://verified-skill.com/skills/leoyishou/personal-ai-company/digital-human)

Something wrong with this skill or its page? Tell us.