Fish Model Query API Integration Guide

This interface is based on the official Fish Audio Model API and is used to retrieve voices from the Fish public voice library or cloned voices under the current account with pagination. The address is GET https://api.acedata.cloud/fish/model.

To create a voice, refer to the Fish Model Create API; to query the details of a single voice by _id, refer to the Fish Model Get API.

Application Process

To use the Fish Model API, first go to the Ace Data Cloud Console to obtain your API Token for later use.

If you have not yet logged in or registered, you will be automatically redirected to the login page to register and log in, and then automatically returned to the current page.

A general-purpose application's API Key can be used for services enabled for the account; a dedicated application's Key is used within that application's service scope. Please check the Key's permissions, validity period, and limits, and confirm that the application balance is sufficient to pay for this request. Available trial credits are subject to what is displayed in the account; if the balance is insufficient, click the "Recharge" button.

📘 Full documentation: Fish Model API →

Query Parameters

Parameter Type Default Description
page_size integer 10 Number of items per page.
page_number integer 1 Page number starting at 1.
title string — Fuzzy search by title.
tag string — Filter by a single tag.
self boolean — When true, only return voices created and saved through this platform by the current calling account.
author_id string — Filter by voice author ID.
language string — Filter by voice language, such as en, zh, or es.
title_language string — Filter by title language in the public voice library.
sort_by string — Sort field; when self=true, created_at and task_count are supported.

Example 1: Default Pagination (by page_size)

curl -G 'https://api.acedata.cloud/fish/model' \
  -H 'authorization: Bearer {token}' \
  --data-urlencode 'page_size=2'

Response (tested; the public library contains approximately 1.8 million entries; some long fields are omitted from the example below for readability):

{
  "total": 1829200,
  "items": [
    {
      "_id": "8d2c17a9b26d4d83888ea67a1ee565b2",
      "type": "tts",
      "title": "Valentino Narración Biblica Fer",
      "description": "A mature and authoritative male voice with a calm, spiritual tone...",
      "cover_image": "coverimage/8d2c17a9b26d4d83888ea67a1ee565b2",
      "train_mode": "fast",
      "state": "trained",
      "tags": ["male", "old", "narration", "calm", "Spanish"],
      "samples": [
        {
          "title": "Default Sample",
          "text": "Hermanos míos, recordemos las palabras del Señor...",
          "task_id": "59ce7df6935c42249759327ddf70f37b",
          "audio": "https://platform.r2.fish.audio/task/59ce7df6935c42249759327ddf70f37b.mp3"
        }
      ],
      "languages": ["es"],
      "visibility": "public",
      "like_count": 4344,
      "task_count": 708461,
      "author": {
        "_id": "1b82fb6a329c4462b67aa9ee0a42046f",
        "nickname": "Fernando Caicedo"
      }
    },
    {
      "_id": "90e65eaaf50e4470b8e6d43ee6afd7d5",
      "type": "tts",
      "title": "Super Smash Bros. 4/Ultimate Announcer",
      "tags": ["male", "old", "announcer", "gaming", "cinematic"],
      "languages": ["en"],
      "visibility": "public"
    }
  ],
  "has_more": null
}
curl -G 'https://api.acedata.cloud/fish/model' \
  -H 'authorization: Bearer {token}' \
  --data-urlencode 'title=narration' \
  --data-urlencode 'page_size=2'

Response (tested):

{
  "total": 161,
  "items": [
    {
      "_id": "fb8fe4a94658429d9be70efd4eec35a2",
      "type": "tts",
      "title": "Miles Morales ( Narration Paw )",
      "tags": ["male", "middle-aged", "entertainment", "storytelling", "Children's Content"],
      "languages": ["en"],
      "visibility": "public",
      "task_count": 770
    },
    {
      "_id": "76b55591c758444cb95253708696dfad",
      "type": "tts",
      "title": "Joe NARRATION",
      "tags": ["male", "middle-aged", "narration", "deep", "raspy"],
      "languages": ["en"],
      "visibility": "public"
    }
  ],
  "has_more": null
}

Note that title uses "global fuzzy matching" and will match all voices in the Fish public library (not just your own).

Example 3: List Only Voices You Created (self=true)

curl -G 'https://api.acedata.cloud/fish/model' \
  -H 'authorization: Bearer {token}' \
  --data-urlencode 'self=true' \
  --data-urlencode 'page_size=5'

Example response:

{
  "total": 1,
  "items": [
    {
      "_id": "e5c6db52c3ed417f9cb2e5a33fb04667",
      "type": "tts",
      "title": "copilot-smoke-test",
      "description": "smoke test from api.acedata.cloud",
      "state": "trained",
      "languages": ["zh"],
      "visibility": "public",
      "samples": [
        {
          "title": "Default Sample",
          "text": "师父,[语气坚定]我真的受够了这山上的清冷日子!...",
          "task_id": "6a1bf398dfae49dca0e23159214342a0",
          "audio": "https://platform.r2.fish.audio/task/6a1bf398dfae49dca0e23159214342a0.mp3"
        }
      ],
      "created_at": "2026-05-10T03:52:55.601000Z",
      "author": {
        "_id": "780f2b2f862d41a08c0507bbbda77eb6",
        "nickname": "Penny Conrad"
      }
    }
  ],
  "has_more": false
}

self=true lists voices created and saved through this platform by the actual calling account; voices created using different API Tokens under the same account are also listed together. Results are paginated in reverse order of creation time, and author_id can further filter these voices by author ID. This parameter only filters the list; the voices remain publicly available.

self=true does not support title_language; to search by title language, query the public voice library.

Example 4: Filter by Language + Tag

curl -G 'https://api.acedata.cloud/fish/model' \
  -H 'authorization: Bearer {token}' \
  --data-urlencode 'language=zh' \
  --data-urlencode 'tag=narration' \
  --data-urlencode 'page_size=5'

tag matching is relatively loose; if the number of matches is 0, consider using title for fuzzy matching instead.

Response Fields

Each item in items[] is a complete ModelEntity object. Common fields:

Field Type Description
_id string Voice ID, used as the value of reference_id in /fish/tts.
type string Model type, usually tts.
title string Voice name.
description string Voice description.
state string Training status: trained indicates that it is available.
tags string[] Public library tags.
languages string[] Languages the voice is suited for.
visibility string public or private.
samples object[] Preset samples (including direct audio links).
like_count integer Number of likes in the public library.
task_count integer Number of past synthesis operations.
author object Voice author information: _id / nickname / avatar.
total (top-level) integer Total number of matching items.
has_more boolean? A Boolean when self=true; may be null for public voice library queries.

Billing

This endpoint is free of charge—paginated voice list queries are free operations. Creating voices (Fish Model Create) is also free; charges are incurred based on usage only when calling Fish TTS to synthesize speech.

Error Handling

  • 400 token_mismatched: Request parameters are missing or invalid.
  • 401 invalid_token: The authentication token does not exist or is invalid.
  • 429 too_many_requests: The account rate limit has been reached.
  • 500 api_error: Internal server error.

Example error response:

{
  "success": false,
  "error": {
    "code": "api_error",
    "message": "fetch failed"
  },
  "trace_id": "2cf86e86-22a4-46e1-ac2f-032c0f2a4e89"
}

Conclusion

To select a voice from the Fish public library for the reference_id in /fish/tts, first use this endpoint with title / tag / language to search and locate the target _id, then use Fish Model Get to obtain samples for listening. To list voices you have created, simply pass self=true.