> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sunbird.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Changelog

> API changes, new endpoints, and deprecations

This page tracks notable changes to the Sunbird AI API. Use the **version dropdown** at the top of the sidebar to switch between the current API (**v2 · Latest**) and the older endpoints (**v1 · Deprecated**).

<Update label="2026-06" description="v2 — Unified audio, chat, and translation endpoints">
  ## Unified endpoints

  We consolidated the speech, text-to-speech, and conversational AI surfaces into a smaller set of unified endpoints. The old routes still work but are **deprecated** and now return `Deprecation` and `Sunset` response headers. They are documented under the **v1 · Deprecated** version.

  ### Migration map

  | Area              | Deprecated (v1)                                                                                                                                                                                | Use instead (v2)                                                                                                         |
  | :---------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------- |
  | Speech to Text    | `POST /tasks/stt`, `POST /tasks/modal/stt`, `POST /tasks/stt_from_gcs`, `POST /tasks/org/stt`                                                                                                  | `POST /tasks/audio/transcriptions`                                                                                       |
  | Text to Speech    | `POST /tasks/tts`, `POST /tasks/modal/tts` (+ `/stream`, `/stream-with-url`, `/refresh-url`, `/speakers`), `POST /tasks/modal/orpheus/tts` (+ `/batch`, `/speakers`), `POST /tasks/runpod/tts` | `POST /tasks/audio/speech`, `POST /tasks/audio/speech/batch`, `GET /tasks/voice/speakers`, `GET /tasks/audio/speech/url` |
  | Conversational AI | `POST /tasks/sunflower_inference`, `POST /tasks/sunflower_simple`                                                                                                                              | `POST /tasks/chat/completions` (OpenAI-compatible)                                                                       |
  | Summarization     | `POST /tasks/summarise`                                                                                                                                                                        | `POST /tasks/chat/completions` with a summarization instruction prompt                                                   |

  ### Highlights

  * **Speech to Text** — a single `POST /tasks/audio/transcriptions` endpoint routes to the Modal (Whisper large-v3) or RunPod backend, with optional speaker diarization.
  * **Text to Speech** — `POST /tasks/audio/speech` exposes two models (`orpheus-3b-tts` and `spark-tts`), plus batch synthesis, voice discovery, and signed-URL refresh.
  * **Conversational AI** — `POST /tasks/chat/completions` is OpenAI-compatible, so the official OpenAI SDKs work by changing only the base URL and API key. It supports multi-turn conversations and streaming.
  * **Translation** — `POST /tasks/translate` (Sunflower) now translates between any pair of 32 languages, with optional source-language inference.

  ### New endpoints

  * `PUT /auth/profile` — Update Profile
  * `GET /auth/profile/status` — Profile Status
  * `POST /tasks/classify_language` — Classify Language
</Update>

<Note>
  Migrating an existing integration? See the per-feature [Guides](/guides/speech-to-text) for full request/response examples, or jump straight to the relevant endpoint page in this API Reference.
</Note>
