huggingface/diffusers
🤗 Diffusers: State-of-the-art diffusion models for image, video, and audio generation in PyTorch.
https://skillcdn.ai/gh/huggingface/diffusersConnect this address to your AI to use these skills. How to connect
- Unverified
- Default branch
main - Commit
2232c16 - License
Apache-2.0 - Searchwords
Explore this repository
Searches the original text of skills and documents, and the translations of skills when you search in their language.
Documents
- AutoModelThe [AutoModel] class automatically detects and loads the correct model class (UNet, transformer, VAE) from a config.json file. You don't need to know the specific model class name ahead of time. It…docs/source/en/using-diffusers/automodel.md
- Batch inferenceBatch inference processes multiple prompts at once to increase throughput. A batch keeps the GPU busy, while a single prompt leaves it underused.docs/source/en/using-diffusers/batched_inference.md
- Pipeline callbacksA callback runs at the end of a denoising step and can change pipeline state or tensors for later steps. Use it to adjust attributes or tensor variables for new behavior without rewriting the pipelin…docs/source/en/using-diffusers/callback.md
- Command line interfacediffusers-cli is a command line client for running, inspecting, and packaging Diffusers pipelines.docs/source/en/using-diffusers/cli.md
- Text-to-image[[open-in-colab]]docs/source/en/using-diffusers/conditional_image_generation.md
- Controlled generationControlling outputs generated by diffusion models has been long pursued by the community and is now an active research topic. In many popular diffusion models, subtle changes in inputs, both images a…docs/source/en/using-diffusers/controlling_generation.md
- ControlNetControlNet steers a pretrained diffusion model with a structural control image (edges, depth, or pose) while you keep a text prompt. It freezes the base model and adds a parallel network whose residu…docs/source/en/using-diffusers/controlnet.md
- Community pipelines and componentsCommunity pipelines are [DiffusionPipeline] classes that are different from the original paper implementation. They provide additional functionality or extend the original pipeline implementation.docs/source/en/using-diffusers/custom_pipeline_overview.md
- Text-guided depth-to-image generation[[open-in-colab]]docs/source/en/using-diffusers/depth2img.md
- DreamBoothDreamBooth personalizes a pretrained model to a specific subject from a few images (for example, your cat) by fine-tuning the full weights and binding that subject to a unique identifier in the promp…docs/source/en/using-diffusers/dreambooth.md
- GuidersClassifier-free guidance steers model generation that better match a prompt and is commonly used to improve generation quality, control, and adherence to prompts. There are different types of guidanc…docs/source/en/using-diffusers/guiders.md
- FreeUFreeU improves image detail by rebalancing how much the UNet decoder draws from backbone features versus skip-connection features. Skip connections can drown out the backbone's semantic features, whi…docs/source/en/using-diffusers/image_quality.md
- Image-to-image[[open-in-colab]]docs/source/en/using-diffusers/img2img.md
- Inpainting[[open-in-colab]]docs/source/en/using-diffusers/inpaint.md
- IP-AdapterIP-Adapter steers a pretrained diffusion model with a reference image while you keep a text prompt. It freezes the base model and adds a small set of image cross-attention layers, which makes it prac…docs/source/en/using-diffusers/ip_adapter.md
- Legacy adaptersThese methods are still supported, especially on Stable Diffusion–family checkpoints. For new work, prefer LoRA, IP-Adapter, and ControlNet.docs/source/en/using-diffusers/legacy_adapters.md
- Legacy checkpointsThese settings apply mainly to older Stable Diffusion family checkpoints.docs/source/en/using-diffusers/legacy_checkpoints.md
- DiffusionPipelineDiffusion models consist of multiple components like UNets or diffusion transformers (DiTs), text encoders, variational autoencoders (VAEs), and schedulers. The [DiffusionPipeline] wraps all of these…docs/source/en/using-diffusers/loading.md
- Model formatsDiffusion models are typically stored in the Diffusers format or single-file format. Model files can be stored in various file types such as safetensors or ckpt.docs/source/en/using-diffusers/other-formats.md
- Sharing pipelines and modelsShare your pipelines, models, and schedulers on the Hub with [~utils.PushToHubMixin]. This mixin:docs/source/en/using-diffusers/push_to_hub.md
- ReproducibilityDiffusion is a random process that generates a different output every time. For use cases like testing and replicating results, you want to generate the same result each time, across releases and pla…docs/source/en/using-diffusers/reusing_seeds.md
- SchedulersA scheduler tells the denoising loop how much noise to remove at each step. Different schedulers trade speed for quality.docs/source/en/using-diffusers/schedulers.md
- Video generationVideo generation models extend image generation (can be considered a 1-frame video) to also process data related to space and time. Making sure all this data - text, space, time - remain consistent a…docs/source/en/using-diffusers/text-img2vid.md
- Unconditional image generation[[open-in-colab]]docs/source/en/using-diffusers/unconditional_image_generation.md
- PromptingPrompts describe what a model should generate. Good prompts are detailed, specific, structured, and they generate better images and videos.docs/source/en/using-diffusers/weighted_prompts.md
- Understanding pipelines, models and schedulers[[open-in-colab]]docs/source/en/using-diffusers/write_own_pipeline.md
Skipped (50)
These manifests were not served. Fix them and push: the next commit is indexed again.
.ai/skills/model-integration/SKILL.mdlink_missing5 links name no file of the repository (references/modular.md, references/models.md, references/pipelines.md, ...)docs/source/en/advanced_inference/outpaint.mdlink_missing2 links name no file of the repository (../using-diffusers/inpaint, ../api/pipelines/stable_diffusion/stable_diffusion_xl)docs/source/en/api/loaders/ip_adapter.mdlink_missinga link names no file of the repository (../../using-diffusers/ip_adapter)docs/source/en/api/loaders/lora.mdlink_missing25 links name no file of the repository (../../api/pipelines/stable_diffusion/stable_diffusion_xl, ../pipelines/flux, ../pipelines/cogvideox, ...)docs/source/en/api/loaders/peft.mdlink_missinga link names no file of the repository (../../tutorials/using_peft_for_inference)docs/source/en/api/loaders/single_file.mdlink_missinga link names no file of the repository (../../using-diffusers/other-formats)docs/source/en/api/loaders/textual_inversion.mdlink_missinga link names no file of the repository (../../using-diffusers/legacy_adapters#textual-inversion)docs/source/en/api/loaders/transformer_sd3.mdlink_missing2 links name no file of the repository (lora#diffusers.loaders.SD3LoraLoaderMixin, ../../tutorials/using_peft_for_inference)docs/source/en/api/loaders/unet.mdlink_missinga link names no file of the repository (../../tutorials/using_peft_for_inference)docs/source/en/api/models/anyflow_far_transformer3d.mdlink_missing3 links name no file of the repository (../pipelines/anyflow#diffusers.AnyFlowFARPipeline, ../pipelines/anyflow, anyflow_transformer3d)docs/source/en/api/models/anyflow_transformer3d.mdlink_missing3 links name no file of the repository (../pipelines/anyflow#diffusers.AnyFlowPipeline, ../pipelines/anyflow, anyflow_far_transformer3d)docs/source/en/api/models/autoencoderkl_p_image_oss.mdlink_missinga link names no file of the repository (./autoencoderkl_minimax_h3)docs/source/en/api/models/rfd4_proteina_autoencoder.mdlink_missinga link names no file of the repository (../pipelines/rfd4_proteina)docs/source/en/api/models/rfd4_proteina_transformer.mdlink_missinga link names no file of the repository (../pipelines/rfd4_proteina)docs/source/en/api/parallel.mdlink_missinga link names no file of the repository (../training/distributed_inference)docs/source/en/api/pipelines/allegro.mdlink_missing3 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines, ../../quantization/overview)docs/source/en/api/pipelines/animatediff.mdlink_missing2 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines)docs/source/en/api/pipelines/anyflow.mdlink_missing2 links name no file of the repository (../models/anyflow_transformer3d, ../models/anyflow_far_transformer3d)docs/source/en/api/pipelines/audioldm2.mdlink_missing6 links name no file of the repository (./stable_diffusion/overview, ./audioldm2#diffusers.AudioLDM2ProjectionModel, ./audioldm2#diffusers.AudioLDM2UNet2DConditionModel, ...)docs/source/en/api/pipelines/aura_flow.mdlink_missing3 links name no file of the repository (../pipelines/stable_diffusion/stable_diffusion_3, ../../quantization/overview, ../../quantization/gguf)docs/source/en/api/pipelines/auto_pipeline.mdlink_missinga link names no file of the repository (../../tutorials/autopipeline)docs/source/en/api/pipelines/bria_fibo2.mdlink_missinga link names no file of the repository (../../optimization/attention_backends)docs/source/en/api/pipelines/cogvideox.mdlink_missing2 links name no file of the repository (../../optimization/memory, ../../optimization/fp16#torchcompile)docs/source/en/api/pipelines/cogview3.mdlink_missing2 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines)docs/source/en/api/pipelines/cogview4.mdlink_missing2 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines)docs/source/en/api/pipelines/controlnet.mdlink_missing2 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines)docs/source/en/api/pipelines/controlnet_flux.mdlink_missing2 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines)docs/source/en/api/pipelines/controlnet_hunyuandit.mdlink_missing2 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines)docs/source/en/api/pipelines/controlnet_sd3.mdlink_missing2 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines)docs/source/en/api/pipelines/controlnet_sdxl.mdlink_missing2 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines)docs/source/en/api/pipelines/cosmos.mdlink_missing2 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines)docs/source/en/api/pipelines/cosmos3.mdlink_missing4 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines, ../../quantization/modelopt, ...)docs/source/en/api/pipelines/ddpm.mdlink_missing2 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines)docs/source/en/api/pipelines/deepfloyd_if.mdlink_missing2 links name no file of the repository (../../optimization/memory#model-offloading, ../../optimization/fp16#torchcompile)docs/source/en/api/pipelines/dit.mdlink_missing2 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines)docs/source/en/api/pipelines/easyanimate.mdlink_missinga link names no file of the repository (../../quantization/overview)docs/source/en/api/pipelines/flux.mdlink_missing4 links name no file of the repository (../../optimization/cache, ../../using-diffusers/ip_adapter, ../../optimization/memory#group-offloading, ...)docs/source/en/api/pipelines/flux2.mdlink_missinga link names no file of the repository (../../optimization/cache)docs/source/en/api/pipelines/flux3.mdlink_missing7 links name no file of the repository (../../modular_diffusers/overview, ../../modular_diffusers/quickstart, ../../modular_diffusers/coming_from_diffusion_pipeline, ...)docs/source/en/api/pipelines/framepack.mdlink_missing2 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines)docs/source/en/api/pipelines/helios.mdlink_missing5 links name no file of the repository (../../optimization/memory, ../../optimization/fp16#torchcompile, ../../optimization/attention_backends, ...)docs/source/en/api/pipelines/hidream.mdlink_missinga link names no file of the repository (../../optimization/cache)docs/source/en/api/pipelines/hunyuan_video.mdlink_missing2 links name no file of the repository (../../optimization/memory, ../../optimization/fp16#torchcompile)docs/source/en/api/pipelines/hunyuan_video15.mdlink_missing3 links name no file of the repository (../../optimization/memory, ../../optimization/attention_backends, ../../using-diffusers/guiders)docs/source/en/api/pipelines/hunyuandit.mdlink_missing5 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines, ./stable_diffusion/stable_diffusion_xl#base-to-refiner-model, ...)docs/source/en/api/pipelines/hunyuanimage21.mdlink_missing2 links name no file of the repository (../../optimization/cache, ../../using-diffusers/guiders)docs/source/en/api/pipelines/kandinsky.mdlink_missing4 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines, ./stable_diffusion/stable_diffusion_xl, ...)docs/source/en/api/pipelines/kandinsky3.mdlink_missing2 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines)docs/source/en/api/pipelines/kandinsky6.mdlink_missing4 links name no file of the repository (../../optimization/memory, ../../optimization/memory#model-offloading, ../../optimization/memory#cpu-offloading, ...)docs/source/en/api/pipelines/kandinsky_s2v.mdlink_missinga link names no file of the repository (../../modular_diffusers/overview)