Voices

Speech from text — estimate

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

post/v1/voices/speech/estimate

Request

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

Request body

textstring required

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

speednumber
languagestring

The text's language (our code) — detected when omitted

voice_idstring required

A voice from GET /v1/voices (a stock voice or your own clone)

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.