This simple AI image generator is built using Python and Flet, utilizing the Flux.1 model, including both the ‘dev’ and ‘schnell’ variants, served via the DeepInfra API. To use it, you will need a DeepInfra API key. Currently, it is only compatible with macOS.
- Visit DeepInfra and sign up for an account.
- Obtain your API key from your account dashboard.
- Navigate to the settings page by clicking on the settings icon (cog wheel).
- Paste your API key.
- Save and exit the settings page.
- Input Prompt: Enter your desired image prompt in the text field.
- Select Model: Choose either the
dev
orschnell
variant of the Flux.1 model. The default isschnell
. - Select Image Dimensions: Choose your image dimensions. The default is
512
by512
. - Generate Image: Click the "Generate Image" button to generate the image.
- View Image: The generated image will be displayed in the image widget. You can download the image using the "Download Image" button.
- User-friendly interface built with Flet.
- Image generation using Flux.1 AI models (
dev
andschnell
) through the DeepInfra API. - View and download generated images.
- Light and dark mode support.
- Prompt: Create an image of three puppies standing against a wall with colorful, artistic graffiti. The puppies should be playful and curious, each having a unique expression.
- Output:
This project is still under development.