To get started using the different Gowajee APIs check out our getting started guides below.
Create an account on
Generate an API key on
Start calling to Gowajee APIs
const axios = require('axios');
const fs = require('fs');
const FormData = require('form-data');
// Replace with your Gowajee API key
const API_KEY = 'YOUR_GOWAJEE_API_KEY';
// Replace with the path to your audio file
const AUDIO_FILE_PATH = 'path/to/your/audio/file.wav';
// Create a form to send the audio file
const form = new FormData();
form.append('audioData', fs.createReadStream(AUDIO_FILE_PATH));
// Make a request to the Gowajee Speech-to-Text API
axios.post('https://api.gowajee.ai/v1/speech-to-text/pulse/transcribe', form, {
headers: {
...form.getHeaders(),
'x-api-key': API_KEY
}
})
.then(response => {
console.log('Transcription:', response.data);
})
.catch(error => {
console.error('Error:', error);
});