-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
44 lines (35 loc) · 1.76 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Twilio API credentials
# Get these from your Twilio dashboard: https://www.twilio.com/console
TWILIO_ACCOUNT_SID=your_account_sid
TWILIO_AUTH_TOKEN=your_auth_token
TWILIO_PHONE_NUMBER=your_twilio_phone_number # Format: +1234567890
# Base URL for callbacks (use ngrok for local development)
# When testing locally with ngrok, use the HTTPS URL provided by ngrok
# Example: https://a1b2c3d4.ngrok.io
BASE_URL=https://your-ngrok-url.ngrok-free.app
# ElevenLabs API for enhanced Text-to-Speech
# Sign up at https://elevenlabs.io to get your API key
ELEVEN_LABS_API_KEY=your_eleven_labs_api_key
# Define voice options for Eleven Labs as a JSON object
# Format: {"voice_name": "voice_id", ...}
# Get voice IDs from your Eleven Labs account
ELEVENLABS_VOICES={"adam":"voice_id_here","bella":"voice_id_here","charlie":"voice_id_here"}
# Advanced Eleven Labs settings (optional)
ELEVENLABS_STABILITY=0.5 # Range: 0-1, higher values for more stable but less expressive speech
ELEVENLABS_SIMILARITY=0.75 # Range: 0-1, higher values for more similar to original voice
# Flask configuration
FLASK_ENV=development
DEBUG=True
SECRET_KEY=your_secret_key_here # Used for session security
PORT=5005 # The port the application will run on
# MP3 file settings
MAX_MP3_SIZE=16 # Maximum MP3 file size in MB
MAX_SIMULTANEOUS_CALLS=10 # Default maximum number of simultaneous calls
DEFAULT_CALL_DELAY=5 # Default delay between calls in seconds
# Authentication settings
ADMIN_USERNAME=admin # Username for accessing the application
ADMIN_PASSWORD=password # Password for accessing the application
# Flask session secret key
FLASK_SECRET_KEY=generate_a_secure_random_key_here
# Define voice options for Eleven Labs as a JSON object
ELEVENLABS_VOICE_OPTIONS={"stability": 0.5, "similarity_boost": 0.75}