post https://app.coqui.ai/api/v2/samples/from-prompt
If you set the format
query argument to wav
or the Accept
header to audio/wav
, this request will redirect you immediately to the synthesized audio file, rather than returning the JSON metadata with audio URL. The metadata will still be created and available via the List Samples endpoint. Make sure your client or HTTP request library is set up to follow redirects!