Vibeleaderboard
Index / tool
Visit github.com
Category
AI Tools
Rank
No. 1109Tools index

Previous survey · No. 1114 ·

Pricing
Open Source
Type
TOOL
Builder
bytedance
GitHub
627 stars
Date

About

NeurIPS 2025 paper code for consistent multi-subject identity and semantic control in diffusion transformers.

What it does

XVerse builds images from a text prompt plus one or more reference images. It maps each reference to its matching text tokens, then adjusts the diffusion model so individual subjects can retain identity or other visual traits. Users can generate through a local web interface or command line.

Why it's ranked here

The project exposes unusually detailed control over multiple referenced subjects, including per-image identity handling, captions, segmentation, face cropping, and tunable consistency. It also documents practical memory-saving modes. Setup remains research-oriented, with many checkpoints, environment variables, and GPU memory considerations before the first result.

What's good

Each active reference gets its own caption and identity choice, while placeholders keep complex prompts manageable. Controls expose the real quality tradeoff between subject consistency and natural-looking output. CPU offload and quantized diffusion options widen the usable GPU range, and the included benchmark workflow supports repeatable evaluation.

Tradeoffs

Prompt construction is strict: every active image description must appear in the main prompt, or generation fails. CPU offload significantly slows inference, while quantization may reduce performance and require retuning weights. Installation pins CUDA-oriented PyTorch and Flash Attention versions, and operation depends on several separately downloaded model checkpoints.

How to use it well

Use XVerse for research or controlled image-generation experiments where several referenced subjects must remain distinguishable while pose, style, lighting, or scene context changes. Start with the Gradio interface to tune captions and weights, then move stable settings into command-line runs and benchmark evaluation. It does not provide the planned ComfyUI integration or benchmark leaderboard.

Technical notes+

README.md documents a Python 3.10.16 Conda setup, pinned CUDA 12.4 PyTorch packages, Flash Attention, requirements.txt dependencies, multiple checkpoint environment variables, a Gradio interface, command-line inference, CPU offload, and GGUF or bitsandbytes-style quantization. src/flux/generate.py wraps a Diffusers FluxPipeline denoising loop with condition latents, token masks, modulation offsets, scheduled control weights, and optional attention-map handling. src/flux/block.py builds condition-aware attention masks and routes separate LoRA behavior for latent, text, and condition streams. src/flux/transformer.py injects condition tokens and modulation into Flux double and single transformer blocks. src/adapters/mod_adapters.py combines text and CLIP image features through Perceiver-style attention to produce global and per-block modulation outputs. src/utils/gpu_momory_utils.py moves registered modules between CPU and CUDA according to available memory. src/flux/condition.py also defines depth, edge, subject, coloring, deblurring, fill, super-resolution, and predicted-depth condition types, although the supplied usage guide concentrates on subject references.

Observed

License
Code is Apache 2.0. The dataset is CC0 subject to ByteDance intellectual property and the DreamBench++ license.
Primary language
Python
Install surface
Conda environment plus pip-installed pinned dependencies, Flash Attention, and separately downloaded model checkpoints
Interfaces
Local Gradio web interface and command-line inference
Model stack
PyTorch, Hugging Face Diffusers, Transformers, PEFT, CLIP, and FLUX
GPU support
CUDA-focused inference with CPU offload modes and quantized diffusion model support
Configuration
Model locations are supplied through environment variables; YAML configuration is also supported by the generation code

Read from README.md, requirements.txt, src/flux/block.py, src/flux/generate.py, src/flux/condition.py, src/flux/transformer.py, src/utils/data_utils.py, src/flux/pipeline_tools.py, src/flux/lora_controller.py, src/adapters/mod_adapters.py, src/utils/gpu_momory_utils.py.

What it can do

  • Generate images with multiple consistent subjects

    Text prompts describing multiple subjects and sceneGenerated images with consistent subject identities

  • Control semantic attributes in generated images

    Semantic control parameters and base image or promptImages with modified semantic properties

  • Maintain subject identity across different scenes

    Reference subject images and new scene descriptionsImages showing same subjects in different contexts

  • Train diffusion transformer models with identity consistency

    Training dataset with multi-subject images and annotationsTrained diffusion transformer model

  • Execute research experiments from NeurIPS 2025 paper

    Experimental configuration parametersExperimental results and performance metrics

Tags

diffusionditimage-generationresearchbytedance

Tech Stack

Python

Comments (0)

No comments yet

Editorially curated, with community endorsements as a secondary signal. Corrections welcome.