HTTP response codes from the API are used to indicate general classes of success and error. Error responses contain more detail about the error in the response body, in the "code" and "message" properties.

HTTP Status CodecodemessageDescription
40040118Cannot use as a templateThe request body could not be decoded as JSON.
Invalid querying parameterQuerying parameters or requests body is invalid.
429400123Exceed rate limitExceed the rate limit.
40140102UnauthorizedThis request is not supported.
40040056Failed to generate audioThe request body does not match the schema for the expected parameters. Check the "message" property for more details.