Avatars

Create an avatar — estimate

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

post/v1/avatars/estimate

Request

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

Request body

namestring required

Your name for the avatar

type'photo' | 'digital_twin'

photo = one portrait photo · digital_twin = 15–600 s of footage of one person speaking (clones the voice too)

image_urlstring uri

photo: a clear, front-facing portrait (jpg / png)

video_urlstring uri

digital_twin: the training footage (mp4 / webm, 15–600 s, one person facing the camera, speaking)

consent_idstring

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

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.