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

speak api #1001

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

speak api #1001

wants to merge 1 commit into from

Conversation

pelikhan
Copy link
Member

@pelikhan pelikhan commented Jan 13, 2025


  • Added TranscriptionModelType: Introduce a new type TranscriptionModelType to specify options or string values for transcription models, enhancing the flexibility of model selection.
  • Enhanced TranscriptionOptions Interface: Updated the TranscriptionOptions interface to include the newly introduced model field with the type TranscriptionModelType, expanding its capabilities.
  • Added SpeechModelType: Introduced a new type SpeechModelType for specifying speech synthesis models, allowing for different options in audio generation.
  • Implemented New Function speak: Added a new function speak(text: string, options?: SpeechModelType): Promise<Uint8Array> to convert text into spoken audio, expanding the toolkit for generating voice output.

AI-generated content by pr-describe may be incorrect

Copy link

Investigator report

, 9a1e587

AI-generated content by gai may be incorrect

Copy link

LGTM 🚀

AI-generated content by pr-review may be incorrect

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