GET
/v1/schemas/openai/audio/audio%2Fvoices?kind=output
Accept:
Response body
6 properties · 5 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| object* | enum | The object type, which is always `audio.voice`. | audio.voice |
| id* | string | The voice identifier, which can be referenced in API endpoints. | |
| type* | enum | How the voice was created. | audio_sample | prompt |
| name* | string | The name of the voice. | |
| created_at* | integer | The Unix timestamp (in seconds) for when the voice was created. | format: unixtime |
| prompt | string | The original text prompt used to create the voice. Present for prompt-generated voices with a stored prompt; omitted for audio-sample voices and older voices without a stored prompt. |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"openai","endpointId":"audio/voices","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}