Skip to content

"instructions" parameter for SpeechRequests with gpt-4o-mini-tts model #362

@pdeitel

Description

@pdeitel

Hi Shashir,

Thanks again for your Simple-OpenAI library.

In the latest OpenAI API for creating speech, https://platform.openai.com/docs/api-reference/audio/createSpeech, there is an “instructions” parameter. This is new for use with the gpt-4o-mini-tts model. It appears this option is not available in your SpeechRequest builder.

Do you have any plans to add it? It allows requests to add instructions for controlling tone and style in the generated speech.

Best,
Paul

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions