Speech to text conversion

Version: 1.0.0
speech/recognize
superface

Converts speech to text.

Speech recognition

Real-time speech recognition.

Audio content
Language code
Audio encoding
Maximum alternatives
Results

1. Install

npx @superfaceai/cli install speech/recognize

2. Use in your code

const { SuperfaceClient } = require('@superfaceai/one-sdk');

const sdk = new SuperfaceClient();

async function run() {
  // Load the installed profile
  const profile = await sdk.getProfile('speech/recognize');

  // Use the profile
  const result = await profile
    .getUseCase('Recognize')
    .perform({
      audioContent: '<base64 encoded wav audio>',
      languageCode: 'en-US'
    });

  return result.unwrap();
}

run();

3. Add providers