gpt-4o-mini-tts is retired by OpenAI on 6 January 2027

Aperta
#711 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
42/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript
Ambito
api, backend

Direzione di ricerca

The deprecated model is passed in api/tts/speak.js around line 92, so start there and check how the request is built and sent. The issue says the replacement model is not served by the /v1/audio/speech endpoint and needs the Realtime API, so first confirm which endpoint the handler calls and what response it expects. Done means the handler produces audio from the replacement path, and a few sample prompts give output the handler can still return to callers.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Hi! A heads-up in case it's useful:

OpenAI removes gpt-4o-mini-tts from the API on 6 January 2027 (OpenAI deprecations page). After that date, calls to it fail.
gpt-4o-mini-tts is used here: https://github.com/nirholas/three.ws/blob/main/api/tts/speak.js#L92
OpenAI's recommended replacement (as of 20 November 2026): gpt-4o-mini-tts → gpt-realtime-2.1-mini. Current advice, kept up to date: https://aidriftline.com/models/gpt-4o-mini-tts/

Note: moving off it is more than a new model name. OpenAI calls this a change of API workflow: the replacement isn't a model for /v1/audio/speech and runs through the Realtime API. (guide: https://developers.openai.com/api/docs/guides/text-to-speech)

A new model can answer the same prompt differently (format, length, JSON), so it may be worth running a few real prompts on it before switching.

(I found this with a small scanner I built for these dates, in case you want to check the rest of the repo: npx -y @aidriftline/driftline .)

Lingua principale
JavaScript
Stelle
230
Fork
63
Merge medio
15h 29m
PR unite (30g)
192

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nirholas/three.ws

Tutte le issue di nirholas/three.ws

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.