explaingit

lesilva/comfyui-workflows

13Audience · designerComplexity · 3/5Setup · moderate

TLDR

A collection of ready-made ComfyUI workflow JSON files for AI image and video tasks including product photo generation, background swapping, 4K upscaling, face swap, virtual try-on, and Wan 2.1/2.2 video generation.

Mindmap

mindmap
  root((repo))
    What it does
      Ready-made workflows
      API format JSON
      No code to write
    Image Tasks
      Product photo generation
      Background swapping
      Relighting portraits
      Upscaling to 4K or 8K
      Face swap and try-on
    Video Tasks
      Wan 2.1 and 2.2 models
      Text to video
      First and last frame
      Motion transfer
    Setup
      ComfyUI required
      Custom nodes via Manager
      Model weights separate
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Generate professional product photos with AI-swapped backgrounds without a photo studio.

USE CASE 2

Upscale and repair low-quality images to 4K or 8K resolution using a prebuilt AI workflow.

USE CASE 3

Create short AI-generated videos from a text prompt or by animating the transition between two images.

USE CASE 4

Try on clothing virtually by extracting a garment and placing it on a different subject.

Tech stack

ComfyUIJSON

Getting it running

Difficulty · moderate Time to first run · 30min

Requires a working ComfyUI installation and separately downloaded model weights, missing custom nodes must be installed via ComfyUI Manager.

No license is stated, usage rights are unclear, check with the author before using commercially.

In plain English

This repository is a collection of ready-made workflow files for ComfyUI, a node-based interface used to run AI image and video generation models. The README is in Chinese, but the content is straightforward. The workflows are saved as JSON files in an API format, meaning they are designed to be called programmatically or loaded into tools that support ComfyUI's API, rather than arranged for visual drag-and-drop use. The collection covers a wide range of image and video tasks. For image work, there are workflows for generating product photos with AI backgrounds, swapping product backgrounds while keeping the subject intact, relighting portraits and objects, upscaling and repairing images to 2K, 4K, or 8K resolution, face swapping, clothing extraction and virtual try-on, outpainting an existing image beyond its edges, and generating anime or illustrated styles. For video, there are workflows built around the Wan 2.1 and Wan 2.2 video generation models, covering text-to-video, first-and-last-frame video, motion transfer, and animated character videos. To use a workflow, you download or clone the repository, pick a JSON file from the workflows_api folder, replace the placeholder image or video paths with your own files, install any missing custom nodes using ComfyUI Manager, and then run it via the ComfyUI API or a compatible tool. The files do not include model weights, API keys, or example images. Those must be obtained separately. The repository is described as a public sharing version of a personal workflow library and has no stated license.

Copy-paste prompts

Prompt 1
I have a product photo with a plain white background. Using the comfyui-workflows background-swap workflow, walk me through the exact steps to replace it with a lifestyle scene inside ComfyUI.
Prompt 2
I want to upscale an old 720p photo to 4K using comfyui-workflows. Which workflow file do I load, what custom nodes do I install via ComfyUI Manager, and how do I point it at my input image?
Prompt 3
Using the Wan 2.2 text-to-video workflow from comfyui-workflows, write me a Python script that calls the ComfyUI API with a text prompt and saves the output video to disk.
Prompt 4
How do I use the outpainting workflow in comfyui-workflows to extend a portrait image beyond its original frame? What parameters control the direction and size of the extension?
Prompt 5
Which workflow in comfyui-workflows generates anime-style images, and what model weights do I need to download separately to make it run?
Open on GitHub → Explain another repo

← lesilva on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.