.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
OPENAI_API_KEY
secret
OPENAI_BASE_URL
secret
OPENAI_MODEL
secret
MAX_MUSIC_DURATION_SECONDS
brew install flyctl && fly launch --from https://github.com/xiaoduolu/midra
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/xiaoduolu/midra
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/xiaoduolu/midra