Skip to content

Conversation

azhuchkov
Copy link

@azhuchkov azhuchkov commented Jul 27, 2025

This patch adds support for an optional instructions parameter to OpenAIService. When provided, it is forwarded to OpenAI TTS to guide the speech style.

Default is None, preserving existing behavior.

The parameter can be set globally at service instantiation and overridden per voiceover() call.

Note: instructions is supported by gpt-4o-mini-tts; older models like tts-1 / tts-1-hd may ignore it.

@azhuchkov azhuchkov marked this pull request as ready for review July 27, 2025 14:45
@azhuchkov azhuchkov requested a review from osolmaz as a code owner July 27, 2025 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant