Skip to content

TTSVoice type is missing currently supported OpenAI voices #4534

Closed

Description

@sylvesterkaczmarek

Describe the bug

TTSModelSettings.voice is typed as TTSVoice, but the current TTSVoice literal is missing OpenAI speech voices that are supported by the underlying OpenAI Python client: ballad, verse, marin, and cedar.

As a result, valid OpenAI TTS configurations using those built-in voices are rejected by static type checkers even though OpenAITTSModel forwards the value to audio.speech.create() and the OpenAI API supports it.

Current type

TTSVoice = Literal[
    "alloy", "ash", "coral", "echo", "fable", "onyx", "nova", "sage", "shimmer"
]

Expected behavior

The Agents SDK's built-in TTS voice type should include the currently supported built-in OpenAI voices, including ballad, verse, marin, and cedar.

Scope

This only requires updating the public voice literal; runtime request behavior is already capable of forwarding these string values.

Activity

  1. changed the title [-]placeholder[/-] [+]TTSVoice type is missing currently supported OpenAI voices[/+] on Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions