Cast

Preview one directed line

Synchronously renders a single line for quick preview. Long-form renders must use render jobs. Requires cast:render.

post/v1/cast/speech

Request

  • Base URL: https://api.pyai.com
  • URL: https://api.pyai.com/v1/cast/speech
  • Auth: one of:
    • HTTP bearer
    • API key in header x-api-key

Request body

textstring required
voicestring required
emotionstring required

Response

WAV preview audio.

Changes

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