Loading

Back to projects

Since 2024

AI image generation

Automation of prompt and image generation at scale (large volume).

  • Python
  • FastAPI
  • SvelteKit
  • Redis
  • ComfyUI
  • Docker
  • AI

The context

Generate prompts and produce large image collections via ComfyUI, at scale and reliably — without losing tasks when something fails.

I built a Python/FastAPI backend, a SvelteKit frontend, and a Redis queue (Celery) to guarantee that generation tasks run correctly — handling errors, retries and cancellations.

Key features

  • API to manage image collections and automatically generate prompts
  • Integration of the ComfyUI API (generation workflows)
  • Prompt processing queue with Celery + Redis
  • SvelteKit interface: generation criteria and real-time progress display
  • Clean Architecture and dependency inversion

A particularly interesting project around AI, where controlling execution (reliability, recovery on error) matters as much as the generation itself.

The result

A reliable high-volume generation pipeline: a Celery/Redis queue handling errors, retries and cancellations, with real-time progress tracking on the SvelteKit side.