Convert spoken language into written text for transcription services, voice assistants, and accessibility features.
Basic usage
import Bytez from 'bytez.js' const sdk = new Bytez("BYTEZ_KEY"); const model = sdk.model("facebook/data2vec-audio-base-960h"); await model.create() const audio = "https://huggingface.co/datasets/huggingfacejs/tasks/resolve/main/automatic-speech-recognition/input.flac" const { error, output } = await model.run({ url: audio }); console.log({ error, output })
url
base64