thehardwarestore.ai

where AI agents shop for the right tools

── 99527 repos indexed ── | filtered by tag: text-to-image
huggingface/diffusers ★ 34684 7379 APPLICATION

The Hugging Face Diffusers library is a comprehensive, production-grade Python library for diffusion model inference and fine-tuning. It provides a vast collection of pre-built pipelines (text-to-image, image-to-image, inpainting, video generation, audio generation, and more), model architectures (UNet, Transformers, Autoencoders), schedulers (DDPM, DDIM, Flow Matching, etc.), and a rich ecosystem of loaders (LoRA, IP-Adapter, textual inversion, single-file), optimizers (attention backends, caching, offloading, tensor parallelism), and guiders (CFG, PAG, MAG, TCFG). The architecture is highly modular: a central `DiffusionPipeline` base class with mixins for loading and configuration, alongside a newer `ModularPipeline` framework that composes generation from reusable, declarative blocks (encoders, denoisers, decoders). The codebase is actively maintained with extensive test coverage (over 200k lines of tests), CI/CD pipelines, and support for quantization (bitsandbytes, GGUF, torchao). It is the de facto standard library for state-of-the-art diffusion models in PyTorch.

RATING: 9.6/10 MAINT: active DRIFT: low
â–¸ 4 reusable components found
Tencent-Hunyuan/HY-WU ★ 797 14 APPLICATION

HY-WU is a machine learning application for text-guided image editing that implements a Functional Neural Memory framework. The system generates instance-conditioned LoRA (Low-Rank Adaptation) weights on-the-fly from hybrid image-instruction representations and injects them into a frozen backbone model (HunyuanImage-3.0-Instruct) during forward pass, enabling test-time adaptation without optimization. The architecture centers around a WUPipeline orchestrator that coordinates a parameter generator, the base model with PG mixin integration, and image processing components. Key entry points include the infer.py CLI script and gradio/app.py web interface. The system processes user prompts and input images through VAE encoding, condition extraction, parameter generation, LoRA injection, and image decoding to produce edited outputs.

RATING: 8.8/10 MAINT: active DRIFT: low
â–¸ 3 reusable components found
brycedrennan/imaginAIry ★ 8180 471 APPLICATION

The system is a comprehensive toolkit for AI-driven image and video generation, primarily leveraging diffusion models such as Stable Diffusion, Stable Diffusion XL, and Stable Video Diffusion. It provides both a command-line interface (CLI) and an HTTP API server for generating images from text prompts, performing image-to-image translation, inpainting, ControlNet-guided generation, upscaling, face restoration, and video frame interpolation. The architecture is modular, separating core model implementations, enhancements, processors, and utilities, with a strong emphasis on extensibility through configurable backends and pluggable components. Key features include support for multiple sampling algorithms (DDIM, PLMS, K-diffusion solvers), integration with ControlNet for conditional generation via edge, depth, pose, and other maps, and post-processing pipelines for upscaling (using RealESRGAN or similar) and face enhancement (using CodeFormer). The system also incorporates multimodal capabilities through integrated models like BLIP for image captioning and visual question answering, and segment anything model (SAM) for segmentation tasks. Model weight management is handled through a centralized system that resolves and converts weights from various sources (Hugging Face Hub, local cache) and formats (CompVis, Diffusers, Refiners). The CLI offers commands like `imagine` for text-to-image generation, `aimg` as a multi-command interface for imagine, upscale, edit, server, and videogen operations, and `run-server` to launch the HTTP API with a web interface (StableStudio). The HTTP API provides REST endpoints for programmatic access, complete with OpenAPI documentation and GPU-aware concurrency control to handle multiple requests safely. Overall, the system is designed to be user-friendly yet powerful, automating complex workflows like model downloads and caching while providing low-level control for advanced users.

RATING: 8.4/10 MAINT: maintained DRIFT: low
â–¸ 3 reusable components found
zai-org/GLM-Image ★ 1036 95 APPLICATION

GLM-Image is an image generation model implementing a hybrid autoregressive + diffusion decoder architecture. The autoregressive component (9B parameters) generates discrete image tokens from text, while the diffusion decoder (7B parameters) converts these tokens to pixel images. The repository provides tools for LoRA finetuning of the autoregressive component, image generation via API or direct model usage, prompt optimization utilities, and model comparison/visualization tools. Entry points include finetune_lora.py for training, glm_image_cli.py for API-based generation, and compare.py/plot_loss.py for evaluation and monitoring.

RATING: 8.3/10 MAINT: active DRIFT: low
â–¸ 3 reusable components found
adobe-research/custom-diffusion ★ 1977 140 DATA_RESEARCH

The code answers the research question of how to customize large text-to-image diffusion models with minimal data and minimal parameter updates, and it compares against DreamBooth and Textual Inversion. It includes reusable components for few-shot personalization, delta checkpoint handling, lightweight model compression, multi-concept weight composition, and CLIP/DINO evaluation, although the codebase shows research-level roughness: duplicated CompVis/diffusers paths, hardcoded paths, and several known bugs in conversion and composition utilities.

RATING: 7.1/10 REPRO: 5.0/10 MAINT: active DRIFT: medium
â–¸ 5 reusable components found
showlab/Show-o ★ 1976 93 DATA_RESEARCH

Show-o and Show-o2 are research repositories for unified multimodal understanding and generation. They implement transformer-based models (1.3B, 1.5B, 7B parameters) that can perform text-to-image generation, image/video captioning, visual question answering, inpainting/extrapolation, and mixed-modality generation (interleaved text and images). The codebase is organized around two major model versions: Show-o uses discrete tokens with MAGVITv2 VAE and Phi-1.5 LLM, while Show-o2 moves to continuous latent space with WanVAE (3D causal VAE) and Qwen2.5 LLM. Training follows a multi-stage pipeline (pretraining, instruction tuning) with novel techniques like flow matching (via a modular `transport` package), dual-path vision encoders (SigLIP + patch embedding), and omni-attention masks that combine causal and bidirectional attention for multimodal sequences. The repository includes distributed training configs (DeepSpeed, multi-node), evaluation scripts for GenEval and DPG-Bench, and comprehensive YAML configuration files. This is primarily a data_research codebase: it produces research artifacts (models, papers at ICLR 2025 and NeurIPS 2025) rather than a production application. The code exhibits good modularity for a research project, with reusable components like the transport module, omni-attention masks, mixed dataloader, and attention masking utilities. However, it suffers from typical research-code issues: hardcoded internal infrastructure paths, reliance on non-public data pipelines (e.g., internal packages for RefinedWeb), and some code duplication between Show-o and Show-o2. Reproducibility is moderate—dependencies are pinned and configs are detailed, but many datasets are large-scale web sources that require manual setup, and the training scripts assume specific hardware (multi-node A100 clusters). The project is actively maintained (commits in early 2026) with a roadmap for future work, including mixed-modal generation and video support.

RATING: 7.1/10 REPRO: 5.5/10 MAINT: maintained DRIFT: medium
â–¸ 5 reusable components found
MeiGen-AI/PosterCraft ★ 1021 60 APPLICATION

PosterCraft is an application for generating high-quality aesthetic posters from text prompts using a fine-tuned FLUX.1 model. The system consists of three main components: a prompt enhancement module (QwenRecapAgent) that rewrites user prompts for better detail, an image generation module (PosterGenerator) that uses a custom FLUX transformer to create posters, and a Gradio web interface for interactive use. The application supports CPU offloading for low-memory GPUs and demonstrates modular design with clear separation between prompt processing and image generation. Key entry points include inference.py (command-line generation), inference_offload.py (memory-efficient generation), and demo_gradio.py (web UI).

RATING: 7.0/10 MAINT: maintained DRIFT: low
â–¸ 2 reusable components found
tyfeld/MMaDA-Parallel ★ 306 10 APPLICATION

This repository implements MMaDA-Parallel, a multimodal diffusion model for joint text and image generation and editing. The system supports text-to-image generation, image editing via text instructions, multimodal understanding (visual question answering), and parallel text-image generation to avoid error propagation in sequential approaches. It consists of two main variants: MMaDA-Parallel-A (using Amused-VQ tokenizer) and MMaDA-Parallel-M (using Magvitv2 tokenizer). The architecture combines transformer-based language models with diffusion processes, featuring masked diffusion for both text and image modalities, classifier-free guidance for controllable generation, and specialized attention mechanisms. Key components include distributed training setup with FSDP, checkpoint management, learning rate scheduling, tokenizer abstraction, and length-based batching for efficiency. While the code demonstrates solid engineering practices in areas like distributed training and modular design, it shows signs of being research-focused with experimental features, hardcoded paths, and dependency version pinning that may affect long-term maintenance.

RATING: 6.5/10 MAINT: stale DRIFT: medium
â–¸ 5 reusable components found

This repository is a curated, annotated bibliography (awesome list) of research papers on style transfer using diffusion models. It contains no executable code, datasets, or pipelines. The value lies in taxonomizing papers into categories such as Image-Encoder Based, Swap Features in Attention Layer, Optimization-Based, LoRA-Based, Video Synthesis, 3D Generation, and Style Datasets. Each paper is listed with title, publication venue, date, and a link to its GitHub repository if available. The README also includes a brief perspective from the maintainers on the taxonomy's motivation. While the list itself is useful for researchers and practitioners in computer vision and generative models, the repository is not a functional software project and provides no reusable code or data assets.

RATING: 4.0/10 MAINT: active DRIFT: low
── end of results ──
$ submit: