GET
/v1/schemas/fish-audio/audio/v1/voice-design?kind=output
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace698642cc0dd247e854fa9711b7d1d26916770ad466e2ae77dc9d983379dc5647{
"fetchedAt": 1794288623,
"extractorVersion": "2",
"verifiedAt": null
} |
Response body
1 properties · 1 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| candidates* | VoiceDesignCandidate[] | Generated voice candidates. |
Types
1 $defsVoiceDesignCandidateobject
| id* | string | Stable candidate identifier. | |
| index* | integer | Candidate index in this response. | n ≥ 0 |
| audio_base64* | string | Base64 encoded generated audio. | |
| sample_rate* | integer | Audio sample rate in Hz. | n > 0 |
| duration_ms* | integer | Audio duration in milliseconds. | n ≥ 0 |
| text | string | Preview text associated with this generated voice, when available. | nullable |
| instruct | string | Instruction text associated with this candidate, when available. | nullable |
| language | string | Detected or requested candidate language, when available. | nullable |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fish-audio","endpointId":"v1/voice-design","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}