Generate speech audio
Authorization
BearerAuth In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/speech" \ -H "Content-Type: application/json" \ -d '{ "input": "Hello, world!", "model": "gpro", "voice": "achernar" }'{ "credits_remaining": 0, "credits_used": 0, "url": "http://example.com", "usage": { "input_characters": -9007199254740991, "model": "string" }}