heygen-best-practices
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWhen to use
使用场景
Use this skill whenever you are dealing with HeyGen API code to obtain domain-specific knowledge for creating AI avatar videos, managing avatars, handling video generation workflows, and integrating with HeyGen's services.
当你在处理HeyGen API代码,需要获取创建AI数字人视频、管理数字人、处理视频生成工作流以及与HeyGen服务集成的领域特定知识时,使用本技能。
How to use
使用方法
Read individual rule files for detailed explanations and code examples:
阅读单个规则文件以获取详细说明和代码示例:
Foundation
基础部分
- rules/authentication.md - API key setup, X-Api-Key header, and authentication patterns
- rules/quota.md - Credit system, usage limits, and checking remaining quota
- rules/video-status.md - Polling patterns, status types, and retrieving download URLs
- rules/assets.md - Uploading images, videos, and audio for use in video generation
- rules/authentication.md - API密钥设置、X-Api-Key请求头和认证模式
- rules/quota.md - 信用体系、使用限制和剩余配额查询
- rules/video-status.md - 轮询模式、状态类型和下载URL获取
- rules/assets.md - 上传图片、视频和音频以用于视频生成
Core Video Creation
核心视频创作
- rules/avatars.md - Listing avatars, avatar styles, and avatar_id selection
- rules/voices.md - Listing voices, locales, speed/pitch configuration
- rules/scripts.md - Writing scripts, pauses/breaks, pacing, and structure templates
- rules/video-generation.md - POST /v2/video/generate workflow and multi-scene videos
- rules/video-agent.md - One-shot prompt video generation with Video Agent API
- rules/dimensions.md - Resolution options (720p/1080p) and aspect ratios
- rules/avatars.md - 数字人列表、数字人风格和avatar_id选择
- rules/voices.md - 语音列表、语言区域、语速/音调配置
- rules/scripts.md - 脚本编写、停顿/间隔、节奏和结构模板
- rules/video-generation.md - POST /v2/video/generate工作流和多场景视频
- rules/video-agent.md - 使用Video Agent API实现一键提示词视频生成
- rules/dimensions.md - 分辨率选项(720p/1080p)和宽高比
Video Customization
视频定制
- rules/backgrounds.md - Solid colors, images, and video backgrounds
- rules/text-overlays.md - Adding text with fonts and positioning
- rules/captions.md - Auto-generated captions and subtitle options
- rules/backgrounds.md - 纯色、图片和视频背景
- rules/text-overlays.md - 添加带字体和位置设置的文本
- rules/captions.md - 自动生成字幕和字幕选项
Advanced Features
高级功能
- rules/templates.md - Template listing and variable replacement
- rules/video-translation.md - Translating videos, quality/fast modes, and dubbing
- rules/streaming-avatars.md - Real-time interactive avatar sessions
- rules/photo-avatars.md - Creating avatars from photos (talking photos)
- rules/webhooks.md - Registering webhook endpoints and event types
- rules/templates.md - 模板列表和变量替换
- rules/video-translation.md - 视频翻译、高质量/快速模式和配音
- rules/streaming-avatars.md - 实时交互式数字人会话
- rules/photo-avatars.md - 从照片创建数字人(会说话的照片)
- rules/webhooks.md - 注册webhook端点和事件类型
Integration
集成
- rules/remotion-integration.md - Using HeyGen avatar videos in Remotion compositions
- rules/remotion-integration.md - 在Remotion合成中使用HeyGen数字人视频