Problem#
GET /v1/providers has no Fish Audio provider. Fish Audio (https://api.fish.audio) has text-to-speech, speech-to-text, and voice models. TanStack AI cannot add a generated, type-checked Fish Audio adapter without a document.
Ask#
- Add a
fish-audio provider with an OpenAPI document for its REST API. The source is the Fish Audio API reference at docs.fish.audio.
- Cover at least text-to-speech (
POST /v1/tts), speech-to-text (POST /v1/asr), and the voice model endpoints (/model).
- Add the Fish Audio models to
/v1/models with their activities (speech, transcription) and pricing.
Acceptance#
GET /v1/openapi/fish-audio returns a document with POST /v1/tts and POST /v1/asr.
GET /v1/models?provider=fish-audio lists the text-to-speech models.
TanStack AI generates its provider HTTP clients from GET /v1/openapi/{provider} with Kubb and type-checks each request body against the result (TanStack/ai#2104, TanStack/ai#2105).