HeyGen Avatar 4 Digital Twin
heygen/heygen-avatar4/digital-twinHeygen Avatar4 Digital Twin is HeyGen's text-to-video AI model. Turn written scripts and prompts into professional-quality video clips with realistic motion, lighting, and scene composition.
- Base price
- $0.50USD / run
- Execution
- async
- Model type
- video
- Input fields
- 4
Try the model
Playground
Your output will appear here
Complete the inputs, then click Run.
Model card
Specifications
Pricing
- Base price
- $0.50 / run
Context & modalities
- Input
- Schema-defined
- Output
- video
Capabilities
- Chat
- Not supported
- Vision
- Not supported
- Reasoning
- Not supported
- Structured output
- Not supported
- Function calling
- Not supported
- Audio input
- Not supported
Access
- Provider
- HeyGen
- Model ID
- heygen/heygen-avatar4/digital-twin
- Execution
- async
- Base URL
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
API README
HeyGen Avatar 4 Digital Twin
heygen/heygen-avatar4/digital-twin creates a talking digital-human video whose facial movement, timing, and expression follow supplied speech or creative direction. Avatar 4 Digital Twin emphasizes lifelike portrait motion, expressive gestures, and reliable identity across repeated presenter videos. This combination makes the model a practical choice when the creative outcome depends on those qualities rather than on a generic media conversion.
For production work with heygen/heygen-avatar4/digital-twin, the workflow suits explainers, training, localization, personalized outreach, and presenter-led content where a reusable human presence needs to deliver changing material. The result is most reliable when the source material and creative brief clearly describe the intended subject, progression, visual or sonic character, and the qualities that must remain unchanged.
Highlights
Speech-driven facial animation aligns mouth shapes, expression, and timing with the performance.
Avatar 4 expression produces lifelike facial movement and presenter gestures.
Presenter consistency supports repeated videos without reshooting the same person.
Expressive performance turns scripted material into an engaging on-camera delivery.
Pricing
| Generated or processed duration | Price |
|---|---|
| Per second | $0.100 |
When to Use
| ✅ Good fit | ❌ Consider alternatives |
|---|---|
| The model's named workflow matches the source material and intended output | A different input modality or model route is required |
| A managed asynchronous result is suitable for the production pipeline | A synchronous, interactive editor is essential |
| The documented controls cover the required duration, framing, or format | The project needs controls outside this endpoint's schema |
| Creative iteration benefits from a repeatable request structure | Exact deterministic pixels, frames, geometry, or samples are mandatory |
| A finished downloadable media asset is the desired deliverable | Editable source layers or a native project file are required |
Prompt Guide
For audio transformation, state the intended result first, then add the subject or source treatment, progression, style, and delivery constraints. Keep one creative variable per phrase, use the documented field names for controls, and change one setting at a time when comparing results.
{
"aspect_ratio": "16:9",
"audio": "https://example.com/source.wav"
}
Technical Specs
| Spec | Value |
|---|---|
| Model ID | heygen/heygen-avatar4/digital-twin |
| Inputs | aspect_ratio, audio, avatar_id, voice |
| Required inputs | None |
| Output fields | content_type, url |
| Execution | Async (submit, then poll for result) |
| Aspect Ratio | 21:9 / 16:9 / 3:2 / 4:3 / 5:4 / 1:1 / 4:5 / 3:4 / 2:3 / 9:16 |
Related Models
Start building
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "heygen/heygen-avatar4/digital-twin"
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"Choose your model
Compare models
| Model | Type | Default price | Released |
|---|---|---|---|
HeyGen Avatar 4 Digital TwinThis model HeyGen | Video | $0.50 / run | Feb 23, 2026 |
HeyGen | Video | $0.60 / run | May 20, 2026 |
HeyGen | Video | $1.02 / run | Apr 16, 2026 |
HeyGen | Video | $0.50 / run | Apr 16, 2026 |
HeyGen | Video | $0.25 / run | Apr 16, 2026 |
HeyGen | Video | $0.50 / run | Feb 23, 2026 |
Questions
FAQ
How do I call HeyGen Avatar 4 Digital Twin through SandBase?
Create a SandBase API key, then send requests with the model ID "heygen/heygen-avatar4/digital-twin" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.
Do I need a separate HeyGen account?
No. One SandBase API key and balance gives you access to HeyGen Avatar 4 Digital Twin and the other models in the catalog; you do not need to sign up with HeyGen separately.
