POST https://api.acedata.cloud/fish/model.
If you only need to temporarily use a reference voice, there is no need to create a model; you can directly use thereferencesof the Fish TTS API for one-time instant cloning. For paginated retrieval of existing voice types, please refer to the Fish Model Query API; for querying details of a single voice type by_id, please refer to the Fish Model Get API.
Application Process
To use the Fish Model API, first obtain your API Token from the Ace Data Cloud Console for future use.
If you are not logged in or registered, you will be automatically redirected to the login page to invite you to register and log in, and will return to the current page upon completion.
One API Token can call all services on the platform, and there is no need to apply separately for each service. The first application will grant a free quota for a trial experience; when the quota is insufficient, you can recharge the general balance in the console.
📘 Complete documentation: Fish Model API →
Request Body Fields
The fields are completely consistent with the upstream; please also refer to the Fish Official Documentation.
Example: Create a Private Cloned Voice
Note:A successful response directly returns the ModelEntity object from the Fish platform (the following is the smallest usable voice we have tested, with some long fields removed for readability):voicesmust be a string (single audio URL), not an array. Passing it as["..."]will be rejected by the upstream.
_id can be used as the value of the reference_id field in subsequent Fish TTS API calls to synthesize speech using this cloned voice:
Sample Requirements
Experience values (consistent with upstream, can refer to Fish Official Documentation):- Duration is recommended to be over 30 seconds and within 5 minutes for best results; exceeding 10 minutes yields diminishing returns.
- Sampling rate of 16 kHz or higher, mono or stereo is acceptable.
- Content should be as clean as possible: no background music, echoes, or significant environmental noise; same speaker.
- Recommended formats are
mp3/wav.
enhance_audio_quality: true to let the upstream enhance the audio quality first.
Billing Instructions
Creating a voice clone model (POST /fish/model) is free of charge; there are no fees for querying voice types (Fish Model Query, Fish Model Get). Fees are only incurred when subsequently calling Fish TTS to synthesize speech based on usage.
Error Handling
400 token_mismatched: Missing or invalid request parameters (most commonly,voicesis not a URL, or it is passed as an array).401 invalid_token: Authentication token does not exist or is invalid.429 too_many_requests: Account rate limit triggered.500 api_error: Internal server error.
Conclusion
To call this interface, you only need to prepare a publicly accessible sample audio URL, place it in thevoices field to obtain the _id, and then feed it to the reference_id of /fish/tts to complete the end-to-end “clone → synthesis.” A common pitfall is that voices must be a string, not an array.
