- Python 3.12.10
- pip
-
Navigate to the backend directory:
cd backend -
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
- On Windows:
.\venv\Scripts\activate
- On macOS/Linux:
source venv/bin/activate
- On Windows:
-
Install the dependencies:
pip install -r requirements.txt
-
Create a
.envfile in the backend directory with your API keys:ELEVENLABS_API_KEY=your_elevenlabs_api_key_here JWT_SECRET=your-secret-key-change-in-production
You can get your ElevenLabs API key from https://elevenlabs.io/app/settings/api-keys
-
Run the backend server:
uvicorn main:app --reload
The API will be available at http://127.0.0.1:8000.
You can access the automatic documentation at http://127.0.0.1:8000/docs.
#test