.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow. (showing first 20, more exist in .env.example)
DATABASE_URL
secret
LLM_USE
LLM "OPENAI" or "ANTHROPIC"(optional)
OPENAI_API_KEY
secret
OPENAI_MODEL
secret
gpt-4 or gpt-3.5-turbo-16k
ANTHROPIC_API_KEY
secret
ANTHROPIC_MODEL
secret
claude-instant-1 or claude-2
SPEECH_TO_TEXT_USE
Speech to text "LOCAL_WHISPER" or "OPENAI_WHISPER"(optional) or "GOOGLE"(optional)
GOOGLE_APPLICATION_CREDENTIALS
secret
OPEN_AI_WHISPER_API_KEY
secret
TEXT_TO_SPEECH_USE
Text to speech Only "ELEVEN_LABS" for now
ELEVEN_LABS_API_KEY
secret
PI_VOICE
Add voice id of your cloned voice. leave empty to use default voices
RAIDEN_VOICE
LOKI_VOICE
ELON_VOICE
BRUCE_VOICE
JOBS_VOICE
USE_AUTH
Enable basic auth leave empty to disable
AUTH_API_KEY
secret
EXPERIMENT_CONVERSATION_UTTERANCE
Experimental leave empty to disable allows to test the conversation with utterances
brew install flyctl && fly launch --from https://github.com/jimliu/realchar
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/jimliu/realchar
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/jimliu/realchar