Text-to-Speech
Generates audio from text input (text-to-speech).
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://api.vivgrid.com/v1/audio/speech" \ -H "Content-Type: application/json" \ -d '{ "input": "Hello, world! Welcome to Vivgrid text-to-speech.", "voice": "zf_001", "response_format": "mp3" }'"string"{
"error": {
"message": "string",
"type": "string",
"param": "string",
"code": "string"
}
}