Skip to content

Conversation

zeta987
Copy link

@zeta987 zeta987 commented Mar 22, 2025

  • Updated info.json to include new voice options: "ash", "ballad", "coral", "fable", "sage", and "verse".
  • Added an "instructions" input field for tone guidance.
  • Modified main.js to handle the new "instructions" parameter in the TTS payload when using the "gpt-4o-mini-tts" model.

zeta987 added 2 commits March 23, 2025 04:04
- Updated `info.json` to include new voice options: "ash", "ballad", "coral", "fable", "sage", and "verse".
- Added an "instructions" input field for tone guidance.
- Modified `main.js` to handle the new "instructions" parameter in the TTS payload when using the "gpt-4o-mini-tts" model.
- Updated the TTS function in `main.js` to trim whitespace from the instructions input when using the "gpt-4o-mini-tts" model. This ensures that any leading or trailing spaces do not affect the payload sent to the TTS service.
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