Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Create an AI Voice Generator App in 5 minutes with Encore 🧠✨

Posted on Oct 17 This guide shows you how to build a web app in Go that uses ElevenLabs generative voice AI to create lifelike speech from text. You can then deploy it to the cloud using Encore's free development cloud.🚀 What we're doing:Install the Encore CLI to run your local environment:Create a new Encore application with this command and select the Empty app starter:You'll need an API key from ElevenLabs to use this package. You can get one by signing up for a free account at https://elevenlabs.io.Once you have the API key, save it as a secret using Encore's secret manager with the name ElevenLabsAPIKey, by running:Start your application locally by running:You can now open Encore's local development dashboard at http://localhost:9400 to see your app's API documentation, call the API using the API explorer and view traces, and more.Now let's play around a bit with our shiny new API!From the API Explorer in the local development dashboard, try calling the elevenlabs.DownloadAudio endpoint with the text input of your choice in the request body.This will use the API to generate an MP3 audio file and download it to your app root folder: speech.mp3.Now that we know it works, let's review the API endpoints in the elevenlabs package.Now let's make our app more user-friendly by adding a simple frontend.You should see this:— Congratulations, you now have a working AI Voice Generator! 🎉Deploy your app to a free cloud environment in Encore's development cloud by running:👉 Then head over to the Cloud Dashboard to monitor your deployment and find your production URL by going the overview page for the environment you just created. It will be something like: https://staging-[APP-ID].encr.app.Once you have your root API address and the deploy is complete, open your app in your browser: https://staging-[APP-ID].encr.app/frontend.Great job! You now have an AI-powered app running in the cloud.Keep building with Encore using these Open Source App Templates. 👈If you have questions or want to share your work, join the developer hangout in Encore's community Slack. 👈Templates let you quickly answer FAQs or store snippets for re-use. Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Noobiz Developer - Sep 20 Vinish Kapoor - Sep 25 Bap - Oct 12 Eric Allam - Oct 11 If you want to stop spending time on boring tasks and start being productive and creative, come check out Encore. It's free. Once suspended, encore will not be able to comment or publish posts until their suspension is removed. Once unsuspended, encore will be able to comment and publish posts again. Once unpublished, all posts by encore will become hidden and only accessible to themselves. If encore is not suspended, they can still re-publish their posts from their dashboard. Note: Once unpublished, this post will become invisible to the public and only accessible to marcuskohlberg. They can still re-publish the post if they are not suspended. Thanks for keeping DEV Community safe. Here is what you can do to flag encore: encore consistently posts content that violates DEV Community's code of conduct because it is harassing, offensive or spammy. Unflagging encore will restore default visibility to their posts. DEV Community — A constructive and inclusive social network for software developers. With you every step of your journey. Built on Forem — the open source software that powers DEV and other inclusive communities.Made with love and Ruby on Rails. DEV Community © 2016 - 2023. We're a place where coders share, stay up-to-date and grow their careers.



This post first appeared on VedVyas Articles, please read the originial post: here

Share the post

Create an AI Voice Generator App in 5 minutes with Encore 🧠✨

×

Subscribe to Vedvyas Articles

Get updates delivered right to your inbox!

Thank you for your subscription

×