# README
Golang API for Speech-to-Text with ProsaAI and Cloudinary
This Golang API is designed to perform speech-to-text conversion using ProsaAI and allows users to upload audio files to Cloudinary for processing. It leverages the power of ProsaAI's speech-to-text capabilities and Cloudinary's file storage and processing features.
Getting Started
Follow the steps below to set up and run the Golang API on your local machine.
Prerequisites
-
Go installed on your machine. Download and install Go
-
ProsaAI API key. Sign up for ProsaAI to get your API key.
-
Cloudinary account. Sign up for Cloudinary to obtain your Cloudinary API key, API secret, and Cloud name.
Installation
-
Clone the repository:
git clone https://github.com/febriandani/golang-stt-prosaAI-cloudinary cd your-repo
-
Clone the repository:
go mod tidy
-
Create a
config/app.yaml
file in the project root and add your ProsaAI and Cloudinary credentials:CLOUDINARY: CLOUDINARY_URL : cloudinary:// CLOUD_API_KEY: 418138124125412512321 CLOUD_API_SECRET: Vb13fBX CLOUD_CLOUDNAME: ds14123 URL_DOMAIN: https://api.cloudinary.com/v1_1/ PROSA: API_KEY: eyJhbGciOiJSUzI1NiIsImtpZCI6Ik5XSTBNemRsTXprdE5tSmtNa URL: wss://s-api.prosa.ai/v2/speech/stt
-
Run the application:
make run
The API should now be running at http://localhost:8004
.
Feedback
If you have any feedback, please reach out to us at [email protected]