How to use from the
Use from the
Diffusers library
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]

Zen3 Image Fast

Fast, few-step text-to-image generation.

Derived from black-forest-labs/FLUX.1-schnell (Apache-2.0); repackaged by Zen.

Overview

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.

Quick Start

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")

Model Details

Attribute Value
Base model black-forest-labs/FLUX.1-schnell
Pipeline FluxPipeline
License Apache 2.0

License & Attribution

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.

NOTICE

This product includes the FLUX.1-schnell model developed by Black Forest Labs, licensed under the Apache License 2.0.

Downloads last month
42
Safetensors
Model size
12B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for zenlm/zen3-image-fast

Finetuned
(77)
this model

Collections including zenlm/zen3-image-fast