A web interface for OpenRouter AI API, supporting both chat and image generation capabilities.
- Chat with AI models
- Generate images from text descriptions
- Fork this repository
- Create a new Web Service on Render.com
- Connect your GitHub repository
- Add environment variable:
- Key:
OPENROUTER_API_KEY - Value: Your OpenRouter API key
- Key:
- Deploy the application
- Install dependencies:
pip install -r requirements.txt- Set up environment variables in
.env:
OPENROUTER_API_KEY=your_api_key_here
- Run the application:
python app.py