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

From MediaWiki
Jump to navigation Jump to search
(Created page with "== Calling the model == <syntaxhighlight lang="bash"> # 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 -s 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 </syntaxhi...")
 
 
Line 10: Line 10:
AUDIO_FILE=your-audio-file.wav
AUDIO_FILE=your-audio-file.wav


curl -s https://llm.stoney-cloud.com/v1/audio/transcriptions \
curl https://llm.stoney-cloud.com/v1/audio/transcriptions \
         --silent --fail --show-error \
         --silent --fail --show-error \
         --header "Authorization: Bearer $STONEY_KEY" \
         --header "Authorization: Bearer $STONEY_KEY" \

Latest revision as of 00:03, 8 May 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
  }
}