Talking videos

Make a talking-avatar video — estimate

Price the request without executing it. Same body as POST /v1/avatars/videos.

post/v1/avatars/videos/estimate

Request

  • Base URL: https://apihub.co.il
  • URL: https://apihub.co.il/v1/avatars/videos/estimate
  • Auth: HTTP bearer

Request body

speednumber

Speaking speed with script

titlestring
engine'avatar_iii' | 'avatar_iv' | 'avatar_v'

avatar_v (the newest and most lifelike, the looks that support it — GET /v1/avatars says which) · avatar_iv (default: the newest that animates every photo and twin) · avatar_iii (cheaper, rougher). The price differs per engine — ask /estimate

scriptstring

What the avatar says (up to 5,000 characters). Pauses: <break time="1s"/>

languagestring

The script's language (our code, e.g. he, en, ru, uk) — an accent hint for multilingual voices

voice_idstring

With script: a voice from GET /v1/voices (a digital twin speaks in its own voice when omitted)

audio_urlstring uri

Or your own speech (mp3 / wav, up to 10 minutes) — a recording, or a voice-over from /v1/ai/voice

avatar_idstring

Your avatar (GET /v1/avatars)

image_urlstring uri

Or animate a photo directly, without saving an avatar (Avatar IV). Needs consent

consent_idstring

A consent you recorded before (the dashboard records one when you tick the box)

resolution'720p' | '1080p' | '4k'
aspect_ratio'9:16' | '16:9' | '1:1' | '4:5' | '5:4' | 'auto'
motion_promptstring

Body motion and gestures, e.g. "gesturing with hands while presenting" (Avatar IV / V)

expressiveness'low' | 'medium' | 'high'

How lively a photo avatar is (Avatar IV)

background_colorstring

Response

Estimate

operationstring
estimated_creditsnumber
credits_to_reservenumber
estimated_usageobject
notestring nullable
sufficientboolean

Changes

No recorded changes to this operation across all 2 revisions of this API.