协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
heygen-avatar-lite【开发与工程】Create AI digital human videos with HeyGen API. Free starter guide.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Create professional AI-generated videos with your own digital human avatar!
HeyGen Account (Creator plan or above)
Custom Avatar (optional)
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Your App │────▶│ HeyGen API │────▶│ Video │
│ (trigger) │ │ (generate) │ │ Output │
└─────────────┘ └─────────────┘ └─────────────┘
│ │
▼ ▼
┌─────────┐ ┌─────────────┐
│ Text │ │ Avatar + │
│ Input │ │ Voice │
└─────────┘ └─────────────┘
HEYGEN_API_KEY="your_api_key_here"
curl -X GET "https://api.heygen.com/v2/avatars" \
-H "X-Api-Key: $HEYGEN_API_KEY" | jq '.data.avatars[:5]'
curl -X GET "https://api.heygen.com/v2/voices" \
-H "X-Api-Key: $HEYGEN_API_KEY" | jq '.data.voices[:5]'
curl -X POST "https://api.heygen.com/v2/video/generate" \
-H "X-Api-Key: $HEYGEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"video_inputs": [{
"character": {
"type": "avatar",
"avatar_id": "YOUR_AVATAR_ID",
"avatar_style": "normal"
},
"voice": {
"type": "text",
"input_text": "Hello! This is my AI avatar speaking.",
"voice_id": "YOUR_VOICE_ID"
}
}],
"dimension": {
"width": 1280,
"height": 720
}
}'
VIDEO_ID="your_video_id"
curl -X GET "https://api.heygen.com/v1/video_status.get?video_id=$VIDEO_ID" \
-H "X-Api-Key: $HEYGEN_API_KEY"
| Format | Dimensions | Use Case |
|---|---|---|
| Landscape | 1280x720 | YouTube, Website |
| Portrait | 720x1280 | TikTok, Reels, Shorts |
| Square | 1080x1080 |
| Plan | Price | Credits |
|---|---|---|
| Creator | $29/month | 15 min/month |
| Business | $89/month | 30 min/month |
| Per-minute overage | ~$1-2/min | - |
Premium Version includes:
Get it on Virtuals ACP: Find @LittleLobster
Made with 🦞 by LittleLobster