tts-1 is retired by OpenAI on 6 January 2027

Aperta
#862 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
35/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go, python
Ambito
cli

Direzione di ricerca

The reference to the retired model is in cmd/commandline/plugin/templates/python/tts.yaml, line 1, under the plugin templates in the Go command-line tool. Before editing, confirm with a maintainer whether the template should move to the Realtime API, since the issue says the replacement does not work through /v1/audio/speech. Done means the template no longer names tts-1 and the new setup has been checked with a few real prompts.

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

Descrizione

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

OpenAI removes tts-1 from the API on 6 January 2027 (OpenAI deprecations page). After that date, calls to it fail.
tts-1 is used here: https://github.com/langgenius/dify-plugin-daemon/blob/main/cmd/commandline/plugin/templates/python/tts.yaml#L1
OpenAI's recommended replacement (as of 20 November 2026): tts-1 → gpt-realtime-2.1-mini. Current advice, kept up to date: https://aidriftline.com/models/tts-1/

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
Go
Stelle
462
Fork
326
Merge medio
22h 15m
PR unite (30g)
8

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

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 langgenius/dify-plugin-daemon

Tutte le issue di langgenius/dify-plugin-daemon

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.