title: Google speech API v1beta1 (syncrecognize and asyncrecognize API call)
body: <p>I am a Java developer and I have couple of questions related to Google speech API V1Beta1.</p>
  
  <h3>Question1 (Syncrecognize case):</h3>
  
  <p>I tried to upload (through GCS) small size (less than one min running file) audio file to google speech api it is working But the confidence output level is <code>0.32497215</code> only. That is my result is not exactly same to my audio input.</p>
  
  <p>How to increase the confidence level output?    </p>
  
  <h3>Question 2 (Asyncrecognize case):</h3>
  
  <p>I tried big size audio file (more than one min running file). This case I used the <strong>API call</strong>:</p>
  
  <pre><code>https://speech.googleapis.com/v1beta1/speech:asyncrecognize?key=XXXXXXXXXXXXXXXXXXXX
  </code></pre>
  
  <p>and <strong>Payload</strong>:</p>
  
  <pre><code>"{"config":{"encoding":"LINEAR16","sample_rate": 16000},"audio":{"uri":"gs://" + bucketName +"/"+ objectName + ""}}"
  </code></pre>
  
  <p>Here I got the <strong>output json</strong> like</p>
  
  <pre><code>{"name": "57...........................95"}.
  </code></pre>
  
  <p>After getting this output I make new API call (Operation interface) with this name value.</p>
  
  <pre><code>https://speech.googleapis.com/v1beta1/operations/57.................................95?key=XXXXXXXXXXXXXXXXX
  </code></pre>
  
  <p>I got the output </p>
  
  <pre><code>{
   "name": "57....................................95",
   "done": true,
   "response": {
     "@type": "type.googleapis.com/google.cloud.speech.v1beta1.AsyncRecognizeResponse"
   }
  }
  </code></pre>
  
  <p>How to proceed the work with this value? I need to get audio speech text.</p>
  
  <p>Please help me to fix this issues. Thanks in advance.</p>