Skip to content

Implement the new TTS file formats #1180

@GunniBusch

Description

@GunniBusch

Confirm this is an issue with the Python library and not an underlying OpenAI API

  • This is an issue with the Python library

Describe the bug

The speech api implementation is not up to date.
It doesn’t yet support the new Output formats like WAV
openai/openai-openapi#202

To Reproduce

  1. Create a speech request
  2. Try to use e.g. wav as the media type.

Code snippets

https://github.com/openai/openai-python/blob/a7115b5f33acd27326e5f78e19beb0d73bd3268e/src/openai/types/audio/speech_create_params.py#L29

OS

macOS

Python version

v3.11.3

Library version

v1.13.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions