Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
multipart/form-data
import Spitch from 'spitch';
const client = new Spitch({
  apiKey: 'My API Key',
});
const transcription = await client.speech.transcribe({ language: 'yo' });
console.log(transcription.request_id);{
  "request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "text": "<string>",
  "timestamps": [
    {
      "text": "<string>",
      "start": 123,
      "end": 123
    }
  ]
}import Spitch from 'spitch';
const client = new Spitch({
  apiKey: 'My API Key',
});
const transcription = await client.speech.transcribe({ language: 'yo' });
console.log(transcription.request_id);{
  "request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "text": "<string>",
  "timestamps": [
    {
      "text": "<string>",
      "start": 123,
      "end": 123
    }
  ]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?