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

Merged
merged 4 commits into from
Jan 14, 2025
Merged

speak api #1001

merged 4 commits into from
Jan 14, 2025

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

@pelikhan pelikhan merged commit 195df26 into main Jan 14, 2025
13 checks passed
@pelikhan pelikhan deleted the speak branch January 14, 2025 20:32
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