Google Speech Api V1 or V2 still working ?

1,248 views
Skip to first unread message

Florin

unread,
Nov 19, 2014, 3:06:56 AM11/19/14
to chromi...@chromium.org
Hi guys. I was trying to follow other working examples from August 2014 using the google speech API but nothing is working so far. Basically I was trying to use speech to text using a .flac file but no example works (tried multiple examples that worked in august 2014 and now nothing works). Tried using this link : https://www.google.com/speech-api/v1/recognize?client=chromium&lang= or this : https://www.google.com/speech-api/v2/recognize/ . Nothing seems to work. Can someone please tell me if any of the links still works ?

Kind Regards,
Florin

晖贾

unread,
Nov 19, 2014, 4:03:34 AM11/19/14
to chromi...@chromium.org
The second link works right.
You need a "key" parameter in the link.
Like this:
curl -X POST --data-binary @tada.wav --user-agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.77 Safari/535.7" --header "Content-Type: audio/L16; rate=44100;" "https://www.google.com/speech-api/v2/recognize?client=chromium&lang=zh-CN&maxresults=5&pfilter=2&key=<your key>"


在 2014年11月19日星期三UTC上午8时06分56秒,Florin写道:
Reply all
Reply to author
Forward
0 new messages