GPT Image 2.5 is live — OpenAI's newest image model, targeted edits that leave the rest of the frame alone

Audio

MiniMax ASR 1.0

Transcribe audio with MiniMax ASR 1.0 (asr-1.0) across 20 languages, speaker diarization, word-level timestamps, and JSON, verbose_json, SRT, or VTT output.

MiniMax ASR 1.0 (asr-1.0) converts spoken audio up to 50 MB and 500 seconds into clean transcripts, speaker-labeled segments (verbose_json), or ready-to-publish srt and vtt subtitle files across 20 languages and mixed Chinese–English speech. On reAPI, you can upload local binary audio via POST /v1/audio/transcriptions or submit a public audio URL via POST /v1/audio/generations using the same asynchronous task polling contract. See the MiniMax ASR 1.0 model page for live hourly pricing and the interactive playground.

Quick example

curl -X POST https://api.reapi.ai/v1/audio/transcriptions \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -F 'model=asr-1.0' \
  -F '[email protected]' \
  -F 'response_format=verbose_json' \
  -F 'timestamp_level=sentence'
curl -X POST https://api.reapi.ai/v1/audio/generations \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "asr-1.0",
    "audio_url": "https://cdn.example.com/meeting.wav",
    "response_format": "verbose_json",
    "timestamp_level": "sentence"
  }'
import time
import requests

API_KEY = "YOUR_API_KEY"
AUTH = {"Authorization": f"Bearer {API_KEY}"}

# Option A: Direct binary file upload via POST /v1/audio/transcriptions
with open("meeting.wav", "rb") as audio_file:
    submit = requests.post(
        "https://api.reapi.ai/v1/audio/transcriptions",
        headers=AUTH,
        files={"file": ("meeting.wav", audio_file, "audio/wav")},
        data={
            "model": "asr-1.0",
            "response_format": "verbose_json",
            "timestamp_level": "sentence",
        },
        timeout=120,
    )
submit.raise_for_status()
task_id = submit.json()["id"]

while True:
    poll = requests.get(
        f"https://api.reapi.ai/v1/tasks/{task_id}?include=billing",
        headers=AUTH,
        timeout=30,
    )
    poll.raise_for_status()
    task = poll.json()
    if task["status"] in ("completed", "failed"):
        print(task)
        break
    time.sleep(2)
import { readFile } from 'node:fs/promises';

const auth = { Authorization: 'Bearer YOUR_API_KEY' };
const form = new FormData();
form.append('model', 'asr-1.0');
form.append('response_format', 'srt');
form.append('timestamp_level', 'word');
form.append(
  'file',
  new Blob([await readFile('meeting.wav')], { type: 'audio/wav' }),
  'meeting.wav'
);

const submit = await fetch('https://api.reapi.ai/v1/audio/transcriptions', {
  method: 'POST',
  headers: auth,
  body: form,
});
if (!submit.ok) throw new Error(`HTTP ${submit.status}`);
const { id: taskId } = await submit.json();

for (;;) {
  const res = await fetch(
    `https://api.reapi.ai/v1/tasks/${taskId}?include=billing`,
    { headers: auth }
  );
  if (!res.ok) throw new Error(`HTTP ${res.status}`);
  const task = await res.json();
  if (task.status === 'completed' || task.status === 'failed') {
    console.log(task);
    break;
  }
  await new Promise((r) => setTimeout(r, 2000));
}
package main

import (
	"encoding/json"
	"fmt"
	"net/http"
	"strings"
	"time"
)

func main() {
	body := strings.NewReader(`{"model":"asr-1.0","audio_url":"https://cdn.example.com/meeting.wav","response_format":"verbose_json","timestamp_level":"sentence"}`)
	req, err := http.NewRequest("POST", "https://api.reapi.ai/v1/audio/generations", body)
	if err != nil {
		panic(err)
	}
	req.Header.Set("Authorization", "Bearer YOUR_API_KEY")
	req.Header.Set("Content-Type", "application/json")
	client := &http.Client{Timeout: 60 * time.Second}
	res, err := client.Do(req)
	if err != nil {
		panic(err)
	}
	defer res.Body.Close()
	if res.StatusCode != http.StatusOK {
		panic(res.Status)
	}
	var task struct {
		ID string `json:"id"`
	}
	if err := json.NewDecoder(res.Body).Decode(&task); err != nil {
		panic(err)
	}
	fmt.Println(task.ID)
}

Endpoints and authentication

MiniMax ASR 1.0 supports two submission endpoints that feed the same asynchronous task pipeline:

  • Multipart or JSON transcriptions: POST https://api.reapi.ai/v1/audio/transcriptions (accepts multipart/form-data with a binary file upload up to 50 MB, or application/json with audio_url)
  • Unified JSON audio tasks: POST https://api.reapi.ai/v1/audio/generations (accepts application/json with audio_url)
  • Poll status: GET https://api.reapi.ai/v1/tasks/TASK_ID (append ?include=billing to inspect exact millisecond billing evidence)

Send Authorization: Bearer YOUR_API_KEY. Keep your API key on the server. Each POST creates an independent task; if a network timeout leaves submission state uncertain, inspect your task history before resubmitting.

Available model

Model IDCapabilityLimits
asr-1.0Multilingual speech recognition, speaker diarization (S1, S2, ...), sentence/word timestamps, and SRT/VTT caption exportUp to 50 MB and 500 seconds per request across 8 audio containers

Request parameters

ParameterTypeDefaultConstraints & notes
modelstringRequiredMust be "asr-1.0".
filebinary fileConditionalRequired on multipart/form-data requests to POST /v1/audio/transcriptions. Max 50 MB, max 500 seconds.
audio_urlstring (URL)ConditionalPublic http:// or https:// audio URL. Required on JSON requests to POST /v1/audio/generations or POST /v1/audio/transcriptions. Base64 data URIs are rejected.
languagestringAutoOmit for automatic multilingual detection and Chinese–English code-switching, or pass one of 20 BCP-47 tags below. On POST /v1/audio/transcriptions, may also be passed in the language request header (if both header and form field are sent with different values, the request is rejected with HTTP 400).
response_formatstring"json"One of json, verbose_json, srt, or vtt. text is not supported.
timestamp_levelstring"sentence""sentence" (merges adjacent same-speaker tokens into readable utterances) or "word" (character-level Chinese, word-level English, retaining speaker). Applies to verbose_json, srt, and vtt; ignored when response_format is "json".
streambooleanfalseMust be false or omitted on asynchronous transcription tasks.

Model-specific extensions on JSON requests pass through verbatim; acceptance of an undocumented parameter does not by itself verify a behavioral change.

Supported audio containers and limits

ContainerExtensionsNotes
WAV.wavRecommended mono 16 kHz PCM WAV for speech.
AIFF.aiff, .aifUncompressed PCM inside AIFF container.
FLAC.flacLossless compression, stays well below 50 MB for 500s speech.
M4A.m4aAAC or ALAC inside MP4 audio container.
MP3.mp3Widely supported lossy codec.
AAC.aacRaw ADTS / AAC stream.
Opus.opusCompact speech codec, ideal for long clips.
OGG.oggOgg container (Vorbis or Opus).
  • Raw headerless PCM is not accepted. Wrap PCM in a WAV or AIFF header before submitting.
  • File size cap: 50 MB (52,428,800 bytes). Five hundred seconds of uncompressed 48 kHz stereo 16-bit WAV is ~92 MB and will exceed 50 MB—downsample to mono 16 kHz WAV (~15 MB) or encode to MP3/AAC/Opus first.
  • Duration cap: 500 seconds per request. Clips longer than 500 seconds are rejected rather than silently truncated; split longer recordings into chunks of 500 seconds or less before calling the API.

Supported languages (language)

Leave language omitted for automatic detection across supported languages and natural Chinese–English code-switching. Pin an explicit BCP-47 tag only when you know the recording is single-language (for example, to stabilize recognition in noisy environments):

CodeLanguageCodeLanguage
zhMandarin ChinesetrTurkish
yueCantonesefrFrench
enEnglishdeGerman
jaJapaneseesSpanish
koKoreanitItalian
thThaiptPortuguese
viVietnameseplPolish
idIndonesianruRussian
msMalayukUkrainian
filFilipinoarArabic

Task response and output formats

A successful POST /v1/audio/transcriptions or POST /v1/audio/generations returns:

{
  "id": "task_example",
  "status": "processing",
  "model": "asr-1.0"
}

Polling GET /v1/tasks/task_example until status is "completed" returns a hosted transcript file URL and its format:

{
  "id": "task_example",
  "status": "completed",
  "model": "asr-1.0",
  "output": {
    "url": "https://cdn.reapi.ai/media/tasks/task_example/0.json",
    "format": "verbose_json"
  }
}

Downloaded transcript shapes

  • response_format: "json" (0.json):
{
  "text": "Good morning everyone, let's review the release checklist.",
  "duration": 4.218
}
  • response_format: "verbose_json" (0.json, with speaker diarization):
{
  "text": "Good morning everyone. Ready when you are.",
  "duration": 4.218,
  "n_speakers": 2,
  "segments": [
    {
      "id": 0,
      "start": 0.0,
      "end": 2.14,
      "speaker": "S1",
      "text": "Good morning everyone."
    },
    {
      "id": 1,
      "start": 2.32,
      "end": 4.218,
      "speaker": "S2",
      "text": "Ready when you are."
    }
  ]
}
  • response_format: "srt" (0.srt) and response_format: "vtt" (0.vtt): standard SubRip or WebVTT caption tracks timed at sentence or word granularity.

Billing and pricing dimensions

  • MiniMax ASR 1.0 is billed strictly by measured input audio duration at the live per-hour rate shown on the MiniMax ASR 1.0 pricing table.
  • Metering resolves to millisecond precision (0.001–500.000 seconds)—clips are not rounded up to full minutes.
  • Speaker diarization (verbose_json), word timestamps, srt/vtt subtitle export, and explicit language hints add no surcharge.
  • Submission reserves credits from the probed clip duration and settles to the exact reported audio duration at your submission-time rate.
  • Failed or rejected tasks release the full reservation automatically. Append ?include=billing to GET /v1/tasks/TASK_ID to inspect settlement evidence.

Errors and scope boundaries

  • Synchronous HTTP 4xx on submit: Authentication errors, insufficient balance, missing audio_url / file, unsupported file extensions or files > 50 MB on multipart upload, conflicting language header vs form field, unprobeable audio URLs, or audio clips exceeding 500 seconds return synchronous HTTP 4xx before any credits are kept. (Staged multipart uploads are cleaned up automatically if admission fails.)
  • Asynchronous parameter validation (status: "failed" + full refund): Because JSON parameters pass through to the recognition engine so new vendor options are never blocked locally, unsupported values such as response_format: "text", invalid language codes, or stream: true on /v1/audio/generations may fail asynchronously when polling GET /v1/tasks/TASK_ID, releasing reserved credits in full.
  • Scope boundaries: MiniMax ASR 1.0 is transcription-only (no audio translation endpoint), asynchronous polling only (stream: true is rejected), and a hosted API with no open-weight checkpoint for local self-hosting.