This document introduces the Fish Model Query API (Documentation Index
Fetch the complete documentation index at: https://docs.xhuoapi.ai/llms.txt
Use this file to discover all available pages before exploring further.
GET /fish/model) integration instructions. This interface is fully compatible with the Fish Audio Official OpenAPI, and is used for paginated querying of clone voice models visible to the current account or across the entire platform.
For creating voices, please refer to Fish Model Create API. To query details of a single voice model by _id, see Fish Model Get API.
Application Process
To use the API, you need to first apply for the corresponding service on the Fish Model API page. After entering the page, click the “Acquire” button. If you are not logged in or registered, you will be automatically redirected to the login page to register and log in. After login or registration, you will be redirected back to the current page. During your first application, a free quota will be granted, allowing you to use this API free of charge.Differences from the Official API
- Authentication Method: Uses
Authorization: Bearer {token}, where{token}is the key applied for on this platform. - Response Structure: Directly passes through Fish upstream’s paginated response without platform envelope wrapping; in case of errors, uses the platform’s standard structure
{success:false, error:{code,message}, trace_id}.
Request Example
Query Parameters
Consistent with Fish official:page_size: Number of items per page, default 10.page_number: Page number, starting from 1.title: Fuzzy search by title.tag: Filter by tags.self: When set totrue, only returns voices created by the current account.author_id: Filter by creator.language: Filter by voice language.title_language: Filter by title language.
Response Example
Successful responses directly pass through Fish platform’s paginated structure:_id can be used as the reference_id in the Fish TTS API for speech synthesis with this clone voice.
Billing Information
This API is free of charge — paginated querying of voice models is free. Only when creating a new voice withPOST /fish/model and including the voices field in the request body is billing applicable.
Error Handling
400 token_mismatched: Missing or invalid request parameters.400 api_not_implemented: Unsupported request method or parameters.401 invalid_token: Missing or invalid authentication information.429 too_many_requests: Exceeded the rate limit for the current account.500 api_error: Internal server error.

