Fish Model Get API Integration Guide

This endpoint is based on the official Fish Audio Model API and is used to retrieve the full details of a single cloned voice by _id. The address is GET https://api.acedata.cloud/fish/model/{id}.

To create a voice, refer to Fish Model Create API; for paginated searches, refer to Fish Model Query 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 logged in or registered, you will be automatically redirected to the login page to register and log in. Once completed, you will be automatically returned to the current page.

A general application's API Key can be used for services enabled for the account; a dedicated application's Key can be 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 your account; if the balance is insufficient, click the "Recharge" button.

📘 Full documentation: Fish Model API →

Path Parameters

Parameter Required Description
id Yes The voice's _id (a 32-character hexadecimal string). It can be obtained from the response when creating a voice with Fish Model Create, or retrieved through Fish Model Query.

No request body or query parameters.

Example: Retrieve the Full Details of a Public Spanish Voice

curl 'https://api.acedata.cloud/fish/model/8d2c17a9b26d4d83888ea67a1ee565b2' \
  -H 'authorization: Bearer {token}'

Response (tested; the signed query string in samples[].audio has been removed for readability):

{
  "_id": "8d2c17a9b26d4d83888ea67a1ee565b2",
  "type": "tts",
  "title": "Valentino Narración Biblica Fer",
  "description": "A mature and authoritative male voice with a calm, spiritual tone. It is well-suited for religious narration, educational content, and professional storytelling in Spanish.",
  "cover_image": "coverimage/8d2c17a9b26d4d83888ea67a1ee565b2",
  "train_mode": "fast",
  "state": "trained",
  "tags": [
    "male", "old", "narration", "calm", "serious",
    "authoritative", "professional", "clear", "Spanish"
  ],
  "samples": [
    {
      "title": "Default Sample",
      "text": "Hermanos míos, recordemos las palabras del Señor en estos tiempos difíciles. Como dice la Escritura, la fe mueve montañas, y el amor de Dios nos guía en cada paso del camino. Mantengamos firme nuestra confianza en Su divina providencia.",
      "task_id": "59ce7df6935c42249759327ddf70f37b",
      "audio": "https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/59ce7df6935c42249759327ddf70f37b.mp3?X-Amz-...signed..."
    }
  ],
  "created_at": "2025-03-13T08:11:10.326000Z",
  "updated_at": "2026-05-03T09:01:41.437000Z",
  "languages": ["es"],
  "visibility": "public",
  "lock_visibility": false,
  "dmca_taken_down": false,
  "default_text": "Hermanos míos, recordemos las palabras del Señor...",
  "quality": null,
  "like_count": 4344,
  "mark_count": 4409,
  "shared_count": 590,
  "task_count": 708461,
  "unliked": false,
  "liked": false,
  "marked": false,
  "author": {
    "_id": "1b82fb6a329c4462b67aa9ee0a42046f",
    "nickname": "Fernando Caicedo",
    "avatar": "avatars/1b82fb6a329c4462b67aa9ee0a42046f.jpg"
  }
}

Pass the retrieved _id directly to the reference_id field of Fish TTS to synthesize speech in the same voice:

curl -X POST 'https://api.acedata.cloud/fish/tts' \
  -H 'authorization: Bearer {token}' \
  -H 'content-type: application/json' \
  -d '{
    "text": "Hermanos míos, hoy es un buen día.",
    "reference_id": "8d2c17a9b26d4d83888ea67a1ee565b2",
    "format": "mp3"
  }'

Differences from the List Endpoint

Field GET /fish/model (list) GET /fish/model/{id} (details)
samples[].audio Short-term R2 cache URL Newly signed direct R2 link (with query signature)
unliked / liked / marked / dmca_taken_down Also present Also present
default_text / lock_visibility Also present Also present

If you only want to preview the audio, samples[].audio in the list endpoint is sufficient; for a more stable download link, using this endpoint is recommended.

Response Fields (Excerpt)

Field Type Description
_id string Voice ID (used as reference_id for /fish/tts).
type string Model type, usually tts.
title string Voice name.
description string Long description.
state string Training status: trained means available, while training means still in training.
tags string[] Public library tags.
samples object[] Preset samples, including title, text, task_id, and a direct audio link.
languages string[] Language codes for languages the voice is suited to.
visibility string public or private.
like_count integer Number of likes in the public library.
task_count integer Historical number of syntheses (can be used as a reference for popularity ranking).
author object Author information: _id / nickname / avatar.
created_at string ISO 8601 creation time.
updated_at string ISO 8601 last update time.

Billing

This endpoint is not billed—retrieving the details of a single voice by ID is free. Creating a voice (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: The id in the path is not in a valid format, or the voice model does not exist.
  • 401 invalid_token: The authentication token does not exist or is invalid.
  • 404 not_found: The voice model corresponding to the specified _id is inaccessible (the voice model was deleted, is private, or belongs to another account).
  • 429 too_many_requests: The account rate limit was triggered.
  • 500 api_error: Internal server error.

A request for a nonexistent ID may return 400 Model not found (observed in testing):

curl 'https://api.acedata.cloud/fish/model/test123' \
  -H 'authorization: Bearer {token}'

Response:

{ "status": 400, "message": "Model not found" }

Example error response:

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

Conclusion

When you know the voice model _id, use this endpoint directly to get the complete ModelEntity. The most common uses are: (1) preview samples[].audio, and (2) pass the _id to reference_id in /fish/tts to perform synthesis. If you only have a title or tag, first search using Fish Model Query.