Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: add /:agentId/speak endpoint for text-to-speech functionality #1528

Merged
merged 2 commits into from
Dec 28, 2024

Conversation

HowieDuhzit
Copy link
Contributor

@HowieDuhzit HowieDuhzit commented Dec 28, 2024

  • Implemented a new POST endpoint that allows users to send text to a specified agent.
  • The endpoint processes the message, generates a response, and converts it to speech using the ElevenLabs API.
  • Added error handling for missing text, agent not found, and ElevenLabs API errors.
  • Responses are streamed back as audio in MPEG format.

- Implemented a new POST endpoint that allows users to send text to a specified agent.
- The endpoint processes the message, generates a response, and converts it to speech using the ElevenLabs API.
- Added error handling for missing text, agent not found, and ElevenLabs API errors.
- Responses are streamed back as audio in MPEG format.
@odilitime odilitime changed the base branch from main to develop December 28, 2024 09:30
@odilitime odilitime merged commit d371fee into elizaOS:develop Dec 28, 2024
5 checks passed
1to3for5vi7ate9x pushed a commit to 1to3for5vi7ate9x/eliza that referenced this pull request Jan 26, 2025
feat: add /:agentId/speak endpoint for text-to-speech functionality
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants