A Flask-based web application that transcribes audio into code. Users can upload audio files, which are then transcribed into text, and use that text to generate functional code snippets via an AI-powered API.
git clone https://github.com/alihassanml/Speek-to-Code-AI.git
cd Speek-to-Code-AI
pip install -r requirements.txt
.env
file in the root directory and add your API key:
API_KEY=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
python app.py
/record
with a file upload. The response will contain the transcription of the audio./generate_code
with a JSON body containing the prompt
for code generation. The response will include the generated code.POST /record
: Uploads audio and returns transcription.POST /generate_code
: Accepts a prompt and returns generated code.This project is licensed under the MIT License.