AI Image Generation
Project Overview
The need was to generate prompts for creating large image collections via ComfyUI.For this project, I used Python and FastAPI for the backend, SvelteKit for the frontend, and Redis with its queue system to ensure the proper execution of image generation tasks (handling errors, retries, and abandonment).A very interesting project centered around AI!
ComfyUIFastAPIPythonSveltekitRedis
Key Features
- Development of an API for managing image collections and automatically generating multiple prompts
- Integration of ComfyUI's API for workflow management and generation
- Dependency inversion (FastAPI documentation often shows examples using the database directly in controllers, but I strictly avoid this practice!)
- Clean Architecture
- Queuing of prompts with Celery + Redis
- Frontend interface for managing image collections, generation criteria, and real-time display of progress and images using SvelteKit.