Image Gen
Generate AI images using Replicate's API
The following is an app that allows you to generate AI images. The current map uses replicate's api to generate images but can be easily modified to use other image generation services.
Setup
To run this app locally, install Reflex and run:
reflex init --template image_gen
To run the app, set the REPLICATE_API_TOKEN
:
export REPLICATE_API_TOKEN=your_api_token_here
Then run:
pip install -r requirements.txt reflex run
Note: You can get your replicate api token here.
Customizing the Inference
You can customize the app by modifying the generation.py
file replacing replicate's api with that of other image generation services.
More Templates
View All