App: Diffusers
Developer: Hugging Face, Inc.
Genres: Unterhaltung, Foto und Video

Diffusers is a native Mac app to generate images from a text description of what you want. It uses state-of-the-art models contributed by the community to the Hugging Face Hub, optimized and converted to Core ML for maximum performance. It is the Mac counterpart to the Diffusers open source library.

Privacy

Models are downloaded on demand, and then cached in your Mac's hard drive. You don't need credits for online services and won't experience long queues – just generate all the images you want and use them for fun or work. Privacy is guaranteed: your prompts and images are yours to use, and will never leave your computer (unless you choose to share them with your friends or colleagues).

Performance

Diffusers leverages the best technologies to offer you the most convenient way to access Diffusion models like Stable Diffusion:
- Native Swift app designed for macOS that will feel at home in your Dock.
- Core ML models optimized for CPU, GPU and Apple Neural Engine.
- Diffusers library from Hugging Face, ported to Swift for maximum performance.

Model Selection

Diffusers launches with a set of 5 models, downloaded from the Hugging Face Hub:
- Stable Diffusion 1.4. This is the original Stable Diffusion model that changed the landscape of AI image generation.
- Stable Diffusion 1.5. Same architecture as 1.4, but trained on additional images with a focus on aesthetics.
- Stable Diffusion 2. Improved model, heavily retrained on millions of additional images.
- Stable Diffusion 2.1. The last reference in the Stable Diffusion family. Works great with "negative prompts" (see below) for details.
- OFA small v0. This is a special so-called distilled model, half the size of the others. It runs faster and requires less RAM, try it out if you find generation slow!

Generation Settings

Diffusers allows you to tweak the generation parameters to help you achieve the images you want. These are the settings you can control:
- Model to use. Each model has its own personality and style, so people like to use different ones depending on the subject. Feel free to explore!
- Prompt and (optionally) negative prompt. The prompt is the description of what you want, and the negative prompt is what you _don't want_. Use it to tweak a previous generation (by removing unwanted items), or to provide hints for the model. For example, many people like to use negative prompts such as "ugly, bad quality" to make the model try harder. Or consider excluding terms like "3d" or "realistic" if you're after particular drawing styles.
- Guidance scale. Indicates how much the image should resemble the prompt. Low values produce more varied results, while excessively high ones may result in image artifacts such as posterization. Values between 7 and 10 are usually good choices, but results depend on the model too. Try it out!
- Seed. This is a number that allows you to reproduce a previous generation. Use it like this: select a seed and write a prompt, then generate an image. Next, maybe add a negative prompt or tweak the prompt slightly, and see how the result changes. Rinse and repeat until you are satisfied, or select a new seed to start over.
- Steps. How many "diffusion" steps is the image generation going to take. More steps can provide slightly better quality, and less steps makes the process run faster. The default value (25 steps) produces great quality in a reasonable amount of time.

Open Source

Diffusers was created by Hugging Face. We are on a mission to democratize good machine learning, one commit at a time. Diffusers is fully open source and has a permissive license that allows you to build on it to create your own products. Check our support URL for details!

Coming Soon

Stay tuned for more features, additional models and iOS/iPadOS support!

Release notes:
Version 1.1 of Diffusers is about Quality, Performance and UI improvements.

Performance
- Generate images up to twice as fast! We benchmarked across different computers and came up with simple heuristics to choose the best hardware (CPU, GPU and Neural Engine) where your models run. Speed improvements depend on your hardware.
- You can override the default selection to experiment yourself.

UI / New Features
- Guidance Scale can be configured.
- Safety checker can be disabled.
- Easily reuse a random seed.
- Display downloaded status for models.
- Provide additional info on models and generation settings.
- Display configured settings even when controls are not expanded.
- Reveal model folder in Finder.
- Allow generations to be canceled.

Quality
- Improve model download method to prevent errors and double downloads.
- Improved error reporting all around.

Diffusers is open source, we welcome bug reports, suggestions or contributions at https://github.com/huggingface/swift-coreml-diffusers