Skip to content

ComfyUI + FLUX from scratch

ComfyUI feels odd at first because it doesn't hide the process. That's precisely its strength: every node makes clear which model, prompt, size, seed, and output produce your image.

  • Install ComfyUI in a separate environment.
  • Create a first image with a simple workflow.
  • Save the workflow so you can repeat and debug results.

Basic installation

Terminal
git clone https://github.com/comfy-org/ComfyUI.git
cd ComfyUI
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python main.py

First visual assignment

Terminal
Objective:
Create a 16:9 cover for a lesson on secure RAG.

Prompt:
clean editorial illustration, teacher desk, private documents, vector database,
warm practical classroom, precise labels, no brand logos, no readable private data

Parameters to save:
- model
- resolution
- seed
- steps
- sampler
- workflow name
- date

Clean folder structure

Terminal
proyecto-generativo/
  workflows/
    portada-rag-v1.json
  prompts/
    portada-rag.md
  outputs/
    portada-rag-seed-1042.png
  manifests/
    portada-rag-v1.json
Complete Aulafy mapSee how this lesson fits without leaving your path.

Complete Aulafy map

How all courses connect

This is not a checklist. Start with the foundation, choose an outcome, and go deeper only when your project needs more control.

  1. 1Understand
  2. 2Apply or build
  3. 3Operate with confidence
01

Choose an application

Turn the foundation into a visible outcome: a website, a business improvement, media, or an interactive experience.

Continue into the technical branch when you need to maintain code, data, or infrastructure.

02

Build with code

Prepare your environment, work with coding agents, and run models while keeping control of your projects.

This branch prepares you to design and operate reliable AI systems.

03

Take systems to production

Combine retrieval, agents, evaluation, security, deployment, and model adaptation when the problem requires it.

You do not need every course: choose the component your system needs and return as it grows.

View full catalogue