# Seeking detailed parameter docs on Wav2Vec via API

**URL:** <https://discuss.huggingface.co/t/seeking-detailed-parameter-docs-on-wav2vec-via-api/4408>\
**Category:** Beginners\
**Created:** [March 15, 2021, 9:59am UTC](https://discuss.huggingface.co/t/seeking-detailed-parameter-docs-on-wav2vec-via-api/4408 "2021-03-15T09:59:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![boxabirds](https://avatars.discourse-cdn.com/v4/letter/b/c57346/32.png) [@boxabirds](https://discuss.huggingface.co/u/boxabirds)\
**Post date:** [March 15, 2021, 9:59am UTC](https://discuss.huggingface.co/t/seeking-detailed-parameter-docs-on-wav2vec-via-api/4408/1 "2021-03-15T09:59:49Z")

</div>

Hi y’all I’m trying to find docs on how to call the Wav2Vec model for TTS via the API.

1. The [detailed API docs on parameters](https://api-inference.huggingface.co/docs/python/html/detailed_parameters.html) don’t seem yet to have information on the format of the API request for that model
2. Trying to infer it from the demo page fails because of a CORS error in Chrome:

```auto
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

```

---

<div class="post-metadata">

**Author:** ![valhalla](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/valhalla/32/4179_2.png) [@valhalla](https://discuss.huggingface.co/u/valhalla)\
**Post date:** [March 15, 2021, 4:02pm UTC](https://discuss.huggingface.co/t/seeking-detailed-parameter-docs-on-wav2vec-via-api/4408/2 "2021-03-15T16:02:25Z")

</div>

cc @patrickvonplaten

---

<div class="post-metadata">

**Author:** ![patrickvonplaten](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/patrickvonplaten/32/2171_2.png) [@patrickvonplaten](https://discuss.huggingface.co/u/patrickvonplaten)\
**Post date:** [March 15, 2021, 4:27pm UTC](https://discuss.huggingface.co/t/seeking-detailed-parameter-docs-on-wav2vec-via-api/4408/3 "2021-03-15T16:27:55Z")

</div>

Wav2Vec2 is not yet included in the official inference-api - it should be included soon though 🙂

---

<div class="post-metadata">

**Author:** ![boxabirds](https://avatars.discourse-cdn.com/v4/letter/b/c57346/32.png) [@boxabirds](https://discuss.huggingface.co/u/boxabirds)\
**Post date:** [March 16, 2021, 8:50am UTC](https://discuss.huggingface.co/t/seeking-detailed-parameter-docs-on-wav2vec-via-api/4408/4 "2021-03-16T08:50:14Z")

</div>

Ah ok thanks @patrickvonplaten – sign me up for notifications when it is! Very interested in pricing too. The STT marketplace is rapidly maturing so I’m looking for the next price-driven challenger in this space.

---

<div class="post-metadata">

**Author:** ![Narsil](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/narsil/32/40029_2.png) [@Narsil](https://discuss.huggingface.co/u/Narsil)\
**Post date:** [May 4, 2021, 3:19pm UTC](https://discuss.huggingface.co/t/seeking-detailed-parameter-docs-on-wav2vec-via-api/4408/5 "2021-05-04T15:19:47Z")

</div>

ASR was added to the list of parameters. You basically need to send the raw audio file.

> **[Detailed parameters](https://huggingface.co/docs/api-inference/detailed_parameters)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

Cheers,  
Nicolas
