Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement the new TTS file formats #1180

Closed
1 task done
GunniBusch opened this issue Feb 22, 2024 · 2 comments
Closed
1 task done

Implement the new TTS file formats #1180

GunniBusch opened this issue Feb 22, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@GunniBusch
Copy link

GunniBusch commented Feb 22, 2024

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

@GunniBusch GunniBusch added the bug Something isn't working label Feb 22, 2024
@microsoftbuild
Copy link

This is strange. I have been using client.audio.speech.with_streaming_response.create() with the response_format= "wav" without any issues.

openai package v1.8.0
python version 3.11.7

@rattrayalex
Copy link
Collaborator

This is done: #1189

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants