Zen3 Generation
Collection
Zen 3 generation — legacy zen-3-*, zen3-*, omni, nano, guard, image, reranker, 3d. • 5 items • Updated
How to use zenlm/zen3-image-fast with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("zenlm/zen3-image-fast", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]Fast, few-step text-to-image generation.
Derived from black-forest-labs/FLUX.1-schnell (Apache-2.0); repackaged by Zen.
This repository repackages Black Forest Labs FLUX.1-schnell (FluxPipeline, dual CLIP+T5 text encoders). No weights were trained from scratch by Zen.
Developed/repackaged by Hanzo AI and the Zoo Labs Foundation.
from diffusers import FluxPipeline
import torch
pipe = FluxPipeline.from_pretrained("zenlm/zen3-image-fast", torch_dtype=torch.bfloat16)
pipe = pipe.to("cuda")
image = pipe("A serene mountain landscape at sunset", num_inference_steps=4, guidance_scale=0.0).images[0]
image.save("output.png")
| Attribute | Value |
|---|---|
| Base model | black-forest-labs/FLUX.1-schnell |
| Pipeline | FluxPipeline |
| License | Apache 2.0 |
Apache 2.0. This is a derivative repackaging of FLUX.1-schnell by Black Forest Labs, released under the Apache License 2.0. All rights and attribution for the underlying model belong to the original authors.
This product includes the FLUX.1-schnell model developed by Black Forest Labs, licensed under the Apache License 2.0.
Base model
black-forest-labs/FLUX.1-schnell