git404hub

what is photoquilt fr?

kooroshrh/photoquilt — explained in plain English

Analysis updated 2026-05-18

7PythonAudience · researcherComplexity · 4/5Setup · hard

tl;dr

Research code that generates very high resolution, photomosaic style images from diffusion models like FLUX and Stable Diffusion, without any extra training.

vibe map

mindmap
  root((PhotoQuilt))
    What it does
      Arbitrary resolution images
      Tiled denoising
      Training free
    Tech stack
      Python
      PyTorch
      Diffusers
    Use cases
      High res generation
      Gallery mosaics
      Paper reproduction
    Audience
      ML researchers
      Diffusion model users

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

what do people make with this?

VIBE 1

Generate an ultra high resolution AI image, such as an 8192 by 8192 picture, from a text prompt.

VIBE 2

Turn a group photo or reference image folder into a photomosaic where each tile echoes one of the references.

VIBE 3

Reproduce the paper's benchmark results by running the same FLUX.1, FLUX.2, or Stable Diffusion 2.1 configurations.

what's the stack?

PythonPyTorchDiffusersCUDA

how it stacks up fr

kooroshrh/photoquiltalx-code/lingbot-video-1.3b-fp8andrevicencio/tmux-flash
Stars777
LanguagePythonPythonPython
Setup difficultyhardeasy
Complexity4/52/5
Audienceresearcherdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · hard time til it works · 1h+

Requires a CUDA GPU and manual PyTorch install matched to your CUDA version before installing requirements.

in plain english

PhotoQuilt is the official code release for a research paper about generating photomosaic style images at very high, arbitrary resolutions without training a new model. It works as an add on technique on top of existing diffusion image generators, currently supporting FLUX.1, the smaller distilled FLUX.2 Klein model, and Stable Diffusion 2.1. The method works in a few steps. First, it generates or accepts a low resolution starting image that fixes the overall layout and composition of the final picture. That image is then upscaled and given fresh noise. From there, the model denoises the enlarged canvas in fixed size tiles rather than all at once, so each tile can become its own detailed, convincing image while the overall scene still reads as one coherent picture, similar to how a photomosaic is built from many smaller photos that together form a larger image. The paper defines a strength value as the fraction of denoising steps spent on the noise re injection stage, and the README gives example command line settings for each supported model. A gallery mode lets a user supply a folder of reference images so each tile in the final composition is generated to resemble one of those references, using FLUX.1's Redux feature or FLUX.2's built in reference conditioning depending on which model is used. There is also support for splitting the tiled denoising step across multiple GPUs so larger images can be generated faster. The project is written in Python and depends on PyTorch plus the diffusers library, downloading model weights from Hugging Face automatically the first time it runs. It requires a CUDA GPU, though CPU offload is enabled automatically on the FLUX backends when available video memory is limited. The code builds on layout and scripting conventions from an earlier research project called SEGA, and the authors ask that anyone who finds it useful cite the accompanying arXiv paper.

prompts (copy fr)

prompt 1
Help me install PhotoQuilt and run the FLUX.1 quick start example on my GPU.
prompt 2
Explain what the noise-steps and steps flags control in PhotoQuilt's tiled denoising process.
prompt 3
Walk me through setting up PhotoQuilt's gallery mode with my own folder of reference images.
prompt 4
Show me how to split PhotoQuilt's tile denoising across two GPUs for a faster run.

Frequently asked questions

what is photoquilt fr?

Research code that generates very high resolution, photomosaic style images from diffusion models like FLUX and Stable Diffusion, without any extra training.

What language is photoquilt written in?

Mainly Python. The stack also includes Python, PyTorch, Diffusers.

How hard is photoquilt to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is photoquilt for?

Mainly researcher.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.