AP Workflows for ComfyUI

AP Trainer 1.0
Train
AP Plot 2.0
Evaluate
APW 12.0
Generate
AP Workflows allow you to build your own, private, Midjourney.

AP Workflows are used by organizations all around the world as a blueprint to develop enterprise and consumer applications.

Here are some of the use cases these organizations use AP Workflows for:

  • Fast idea prototyping for interior/industrial/game design
  • AI Cinema image generation for film storyboarding
  • Light and weather generation for location scouting
  • Creative upscaling of images for fashion photography
  • Remote model casting for fashion collections, ads, or TV commercials
  • Face swap for stunt scenes
  • Vintage film restoration
  • Virtual try-on for e-commerce and retail point of sale
AP Workflows can be adapted to any use case that requires the generation or manipulation of images and videos, as well as text and audio.
Whether you are:

  • a fashion brand
  • an e-commerce giant
  • a photography studio
  • an ad agency
  • an interior design or architecture studio
  • a gaming company
  • an AI-first startup
  • or an innovative artist
if you want to incorporate AI in your creative process, and you want to scale, you need automation.
When you need to automate media production with AI models like FLUX or Stable Diffusion, you need ComfyUI.

  • Individual artists and small design studios can use ComfyUI to imbue FLUX or Stable Diffusion images with their distinctive style in a matter of minutes, rather than hours or days.
  • Large organizations can use ComfyUI to generate or modify images and videos at industrial scale for commercial applications.
  • AI-first startups can use ComfyUI automation pipelines to create services similar to Midjourney or Magnific AI.
But ComfyUI is not easy to master.
AP Workflows are the ultimate jumpstart to automate FLUX and Stable Diffusion with ComfyUI.

They contain all the building blocks necessary to turn a simple prompt into one sophisticated image or video. Or thousands of them!

AP Workflows also contain all the building blocks to allow your company, your team, or your clients, to generate AI images and videos with none of the ComfyUI complexity.

AP Workflows allow you to build your own, private, Midjourney.

AP Workflows allow you to design and prototype an automation pipeline for media production at a fraction of the complexity required to build a custom application.

AP Workflows do not require you to hire a software developer.

AP Workflows are also free.

Jumpstart

How to Download AP Plot

AP Plot is currently available in the following versions:

Version
Focus
Access
Support
New Features
Next Release
Stability
Free for everyone
No
In 2-3 months
Support for the newest AI models and bleeding-edge new features
Early Access Program members
Not guaranteed, on Discord
In 1-2 weeks

To Download AP Plot 1.0

  1. Download the AP Workflows Nodes Snapshot for ComfyUI Manager.
  2. Download the AP Plot 1.0 json file.
  3. Follow the installation steps.
  4. Open AP Plot from ComfyUI Manager with CTRL/CMD+O.

What’s new in AP Plot 1.0

First version.

To Download AP Plot 2.0 EA3

  1. Join the AP Workflows Early Access program.
  2. Join the Discord server for Early Access program members (you'll receive an email with invite)
  3. Download the AP Workflows Nodes Snapshot for ComfyUI Manager from the Discord server.
  4. Download the AP Plot 2.0 EA3 json file from the Discord server.
  5. Follow the installation steps.
  6. Open AP Plot 2.0 EA3 from ComfyUI Manager with CTRL/CMD+O.

What's New in AP Plot 2.0 EA3

AP Plot 2.0 early access features available now:
  • [EA3] AP Plot sports a completely new design to help you compare three main models (Flux.1 Dev, PixelWave 0.3, and Stable Diffusion 3.5 Large) and nine LoRAs for FLUX.
  • [EA3] AP Plot now comes with 14 prompts to use for comparisons.
  • [EA3] SDXL models are no more part of the comparison.

Early Access Program

Get an Early Access membership via Patreon or Ko-fi, and you'll have access to a dedicated Discord server where Alessandro shares the pre-release versions of all AP Workflows as he progresses in its development.

Pros

  • You'll gain a competitive edge at work!
  • You'll be able to provide early feedback on AP Workflows' design and potentially influence its development.
  • You'll support the future development of the AP Workflows.
Cons

  • There will be no documentation.
  • Things might change without notice.
  • There is no guarantee you'll receive support.

Stay In The Loop
Sign up to to receive notifications when a new Early Access pre-release is available.

Work with Alessandro

AP Workflows are provided as they are, for research and education purposes only.

However, Alessandro can assist your company on a wide range of activities:

  • Workflow Design Workshop
  • LoRA Training & Model Fine Tuning Workshop [coming soon]
  • Customized Workflow Design
  • Remote Consulting
Learn more here.

Where to Start?

AP Plot features a modular design. There’s no wire going from one group to another. Which means that you can move groups around to completely change the design of AP Plot.

Four areas are dedicated to the workflow configuration, three areas are dedicated to image generation, and three areas are dedicated to image inspection and saving.

Workflow Configuration

0 – The control panel where you centrally enable or disable all the other groups.

1 – The list of models being compared.

2 – The prompt builder.
As AP Plot is not meant to replace AP Workflow in any way, this is very simple and only allows you to choose between a few alternatives.

3 – The configuration parameters Alessandro recommends.
These should not be touched as they are only used by group #5.

Image Generation

4 – Image generation according to the parameters indicated by each model author (Approach 1).
These recommendations are retrieved from the Civitai pages indicated in the Notes. Occasionally, the recommendations are not crystal clear and I had to guess a bit.
This is NOT an apple-to-apple comparison.

5 – Image generation according to the parameters I recommend, identical for each model (Approach 2).
These parameters are defined in group #3.
This is an apple-to-apple comparison, even if an unfair one.

6 – Image generation according to parameters defined by you (Approach 3).
Customize this area for experimentation as you like.

Image Inspection and Saving

7 – Image comparison for different approaches for each tested mode.
By default, each node is configured to compare Approach 1 and Approach 2, but you can modify it to compare 1 and 3, or 2 and 3.

8 – Individual image saver.
You can disable this group if you just want to have a composite image, but this is where you do your main inspection.

9 – Composite image saver.
It arranges individual images in a grid and adds a small label in the top left corner.
At the moment, I cannot create a single image with all 18 images, so this is split into two composite images with 9 images each. In the future, there will be a single grid.

Installation

Required Custom Nodes

AP Workflows depend on multiple custom nodes to work. You must download and install ComfyUI Manager, and then install the required custom nodes suites to be sure you can run this workflow.

Instructions:

  1. Install ComfyUI in a new folder to create a clean, new environment (a Python 3.10 venv is recommended).
  2. Install ComfyUI Manager.
  3. Shut down ComfyUI.
  4. Download the snapshot.
  5. Move/copy the snapshot to the /ComfyUI/custom_nodes/ComfyUI-Manager/snapshots folder.
  6. Restart ComfyUI.
  7. Open ComfyUI Manager and then the new Snapshot Manager.
  8. Restore the APW 11.0 Nodes Snapshot.
  9. Restart ComfyUI.

Required AI Models

The SDXL fine-tuned models compared in AP Plot 1.0 can be found on the Civitai website or on the Hugging Face website.

AP Plot only compares models that are publicly available and free to access.

Should a model become paywalled, it will be removed from AP Plot.

Node XYZ failed to install or import

Occasionally, AP Workflow users can’t install or import a custom node suite necessary to run AP Workflow. This happens when you try to use AP Workflow in a pre-existing ComfyUI environment that you have installed loooooooooong time ago.

If you have a similar problem, be sure to:

  1. Have all your packages up to date in your Python virtual environment for ComfyUI.

    To do so:

    1. Terminate ComfyUI.
    2. Manually activate its Python virtual environment with source /venv/bin/activate.
    3. Run pip install -U pip to upgrade pip.
    4. Run pip install -U setuptools to upgrade setuptools.
    5. Run pip install -U wheel to upgrade wheel.
    6. Run pip install -U -r requirements.txt to upgrade all the packages in the virtual environment.
  2. Check the installation instructions of the custom node suite you are having troubles with.

If you have installed ComfyUI in a new environment and you still fail to install or import a custom node suite, open an issue on the GitHub repository of the author.

Extras

Special Thanks

AP Workflow wouldn’t exist without the dozen of custom nodes created by very generous members of the AI community.

In particular, special thanks to:

@rgthree:

  • His Fast Groups Muters node powers AP Plot control panel.
  • His Image Comparer node is critical to inspect and compare the behavior of the models in AP Plot.

@kijai:

  • His Set and Get nodes enable the modular design of AP Plot.
  • His ImageGridComposite node generates a convenient XY Plot image.

@receyuki:

  • His SD Parameter Generator node is the most powerful and convenient way to define the Generation Parameters in AP Plot.

@ltdrdata:

  • His ComfyUI Manager is critical to manage package and model dependencies in AP Plot.

Thanks to all of you, and to all other custom node creators for their help in debugging and enhancing their great nodes.

Full Changelog

1.0

  • Initial Release.