Generated by API Evangelist
Written by API Evangelist tooling for Hugging Face's API. It is a proposal applied on top of the contract, not a document Hugging Face publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Hugging Face Audio API
version: 1.0.0
extends: openapi/hugging-face-audio-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-10-01'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/models/{model_id}/automatic-speech-recognition'].post
update:
x-apievangelist-phrasing:
intent: Transcribe audio with a specific Hub model
effect: write
questions:
- Can I send an audio clip straight to a particular speech recognition model on the Hub and get text back?
- Which serverless inference route runs a chosen ASR model like Whisper by its model ID?
instructions:
- text: Transcribe this recording using the speech recognition model {model_id}.
slots:
model_id: path.model_id
- text: Run automatic speech recognition inference on model {model_id} for my audio clip.
slots:
model_id: path.model_id
method: generated
generated: '2026-10-01'
- target: $.paths['/v1/audio/transcriptions'].post
update:
x-apievangelist-phrasing:
intent: Transcribe an uploaded audio file
effect: write
questions:
- Is there an audio transcriptions endpoint where I upload a file and pick the model?
- Can I tell the transcriber what language the audio is in and give it a guiding prompt?
- What output formats can a file transcription come back in, like plain text or JSON?
instructions:
- text: Upload {file} and transcribe it with model {model}.
slots:
file: requestBody.file
model: requestBody.model
- text: Transcribe audio file {file} with {model}, treating the spoken language as {language}.
slots:
file: requestBody.file
model: requestBody.model
language: requestBody.language
- text: Transcribe {file} using {model} and hint the vocabulary with the prompt {prompt}.
slots:
file: requestBody.file
model: requestBody.model
prompt: requestBody.prompt
method: generated
generated: '2026-10-01'
- target: $.paths['/v1/audio/speech'].post
update:
x-apievangelist-phrasing:
intent: Turn text into spoken audio
effect: write
questions:
- Can I convert a paragraph of text into a spoken audio file with Hugging Face?
- Which voices can I choose from when generating speech, and can I change the speaking speed?
instructions:
- text: Read {input} aloud using text-to-speech model {model}.
slots:
input: requestBody.input
model: requestBody.model
- text: Generate speech for {input} with model {model} in the {voice} voice at speed {speed}.
slots:
input: requestBody.input
model: requestBody.model
voice: requestBody.voice
speed: requestBody.speed
method: generated
generated: '2026-10-01'
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.