Skip to content
allitBeta
  • Models
  • UBIA
  • Chat
  • Hub
  • Studio
  • Pricing
  • API
  • Privacy
    • $ALL
    • WIT
    • Auction
    • Staking
Connect walletTry free
allitBeta
  • Models
  • UBIA
  • Chat
  • Hub
  • Studio
  • Pricing
  • API
  • Privacy

Token

  • $ALL
  • WIT
  • Auction
  • Staking
Try freeConnect wallet
Docs / Transcriptions
  • Getting started

    • Allwit docs
    • Wallet sign-in
  • $ALL token

    • $ALL token
    • Launch auction
    • Staking
    • Buyback and burn
  • WIT credits

    • WIT credits
    • The daily allowance
    • Buy WIT credits
    • Pricing and spending
  • Platform

    • Privacy and labels
    • Models
    • Hub
    • Agent Studio
  • API

    • Developer API
    • Authentication
    • Models and pricing
    • Chat completions
    • Images
    • Transcriptions
    • Speech
    • Videos
    • Errors
    • Rate limits
  • Reference

    • Parameters
    • Risks and disclaimer
  • Community

    • X
Docs
  • Getting started

    • Allwit docs
    • Wallet sign-in
  • $ALL token

    • $ALL token
    • Launch auction
    • Staking
    • Buyback and burn
  • WIT credits

    • WIT credits
    • The daily allowance
    • Buy WIT credits
    • Pricing and spending
  • Platform

    • Privacy and labels
    • Models
    • Hub
    • Agent Studio
  • API

    • Developer API
    • Authentication
    • Models and pricing
    • Chat completions
    • Images
    • Transcriptions
    • Speech
    • Videos
    • Errors
    • Rate limits
  • Reference

    • Parameters
    • Risks and disclaimer
  • Community

    • X

API

Transcriptions

POST /audio/transcriptions: speech to text from an uploaded file, processed in memory only.

Request

`POST /audio/transcriptions` takes `multipart/form-data` with a `file` part (the audio, up to 25 MB), `model` (a transcription model id from `/models`) and optional `language`, `prompt` and `response_format` (`json`, the default; `text`; or `verbose_json`). The audio is read into memory, transcribed and dropped; the transcript is returned once and not kept.

Transcription models are priced `per_minute`. The upload's size sets the reservation (at least one minute); the charge is the audio's actual length, by the started minute, as the provider reports it, in `allwit.wit_charged` and the `x-allwit-wit-charged` header. `verbose_json` carries the reported `duration`.

Pythonpython
from openai import OpenAI

client = OpenAI(
    base_url="https://www.allwit.ai/api/v1",
    api_key="aw_live_…",  # from /app/account/api-keys
)

with open("meeting.mp3", "rb") as audio:
    transcript = client.audio.transcriptions.create(
        model="<a transcription model id from GET /models>",
        file=audio,
        language="en",
    )
print(transcript.text)
JavaScriptjavascript
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://www.allwit.ai/api/v1",
  apiKey: process.env.ALLWIT_API_KEY, // aw_live_…
});

import fs from "node:fs";

const transcript = await client.audio.transcriptions.create({
  model: "<a transcription model id from GET /models>",
  file: fs.createReadStream("meeting.mp3"),
  language: "en",
});
console.log(transcript.text);
curlbash
curl https://www.allwit.ai/api/v1/audio/transcriptions \
  -H "Authorization: Bearer $ALLWIT_API_KEY" \
  -F model="<transcription model id>" \
  -F file=@meeting.mp3
PreviousImagesNext Speech

On this page

  1. Request
allit

Intelligence, open to everyone. One gateway to every AI model.

  • Allwit on X

© 2026 Allwit

Product

  • Models
  • Chat
  • Hub
  • Agent Studio
  • Pricing
  • UBIA

Developers

  • API
  • Docs
  • Whitepaper

Token

  • $ALL
  • WIT
  • Auction
  • Staking

Legal

  • Privacy
  • Terms
  • Cookies
  • Cookie settings

    Allwit uses no advertising or analytics cookies. Here is what it keeps in this browser.

    Strictly necessary

    The sign-in cookie and your chat history. Needed for Allwit to work.

    Always on

    Remember your light or dark theme on this device.

    Analytics and advertising cookies

    None. Page views are counted without cookies by analytics Allwit hosts itself, which stores nothing in your browser and never sees your wallet address. No advertising.

    No cookies

    Chat history

    Conversations saved in this browser. Deleting them here does not touch any encrypted copies you chose to sync. Manage encrypted history sync

    Read the cookie policy