Hi y’all I’m trying to find docs on how to call the Wav2Vec model for TTS via the API.
- The detailed API docs on parameters don’t seem yet to have information on the format of the API request for that model
- Trying to infer it from the demo page fails because of a CORS error in Chrome:
Access to fetch at 'https://api-audio-frontend.huggingface.co/models/facebook/wav2vec2-large-960h-lv60-self' from origin 'https://huggingface.co' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
bundle.7995df3.js:1 POST https://api-audio-frontend.huggingface.co/models/facebook/wav2vec2-large-960h-lv60-self net::ERR_FAILED
run_api @ bundle.7995df3.js:1
handleClick @ bundle.7995df3.js:1
async function (async)
handleClick @ bundle.7995df3.js:1
(anonymous) @ bundle.7995df3.js:1