AI on demand: openai/whisper-large-v3: Difference between revisions

From MediaWiki
Jump to navigation Jump to search
 
Line 29: Line 29:
</syntaxhighlight>
</syntaxhighlight>


[[Category:AI on demand]]
[[Category: AI on Demand]]
[[Category: Audio models]]

Latest revision as of 11:31, 18 October 2026

Calling the model

# Set your personal key:
STONEY_KEY=sk-...

# Set the desired model:
MODEL=openai/whisper-large-v3

# Path to the audio file to transcribe:
AUDIO_FILE=your-audio-file.wav

curl https://llm.stoney-cloud.com/v1/audio/transcriptions \
        --silent --fail --show-error \
        --header "Authorization: Bearer $STONEY_KEY" \
        --form "file=@$AUDIO_FILE" \
        --form "model=$MODEL" \
        | jq

Example output:

{
  "text": "Hello and welcome to the Stepping Stone LLM Gateway.",
  "usage": {
    "type": "duration",
    "seconds": 4
  }
}