Request
Example:Bearer {{YOUR_API_KEY}}
Body Params multipart/form-data
Available options: public, unlist, private
Model type, tts is for text to speech
Model cover image, this is required if the model is public
Upload voices files that will be used to tune the model
Texts corresponding to the voices, if unspecified, ASR will be performed on the voices
enhance_audio_quality
boolean
optionalRequest samples
curl --location --request POST 'https://api.302.ai/fish-audio/model' \
--header 'Authorization: Bearer sk-mfYQzy0XTFfz4P16vRE4gFrKK1Nly4TozsMqbbb9PSiJUvFO' \
--form 'visibility="private"' \
--form 'type="tts"' \
--form 'title=""' \
--form 'description=""' \
--form 'cover_image=@""' \
--form 'train_mode="fast"' \
--form 'voices=@""' \
--form 'texts=""' \
--form 'tags=""' \
--form 'enhance_audio_quality="false"'
Responses
application/json Modified at 2024-09-20 10:16:55