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("teolm30/fox-1.0-image", dtype=torch.bfloat16, device_map="cuda")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]

Fox 1.0 Image Model - DEPRECATED

WARNING: This model is deprecated. Please use Fox 1.2 (FLUX.1-schnell) instead!


UPGRADE TO FOX 1.2

Fox 1.2 is 100x more powerful - based on FLUX.1-schnell (12B params, Apache 2.0).

Use Fox 1.2 (FLUX.1-schnell):

https://huggingface.co/black-forest-labs/FLUX.1-schnell

Ollama Command:

Note: FLUX.1-schnell is a diffusers model, not an Ollama model. Use with Python/diffusers instead:

python -c "
from diffusers import FluxPipeline
import torch
pipe = FluxPipeline.from_pretrained('black-forest-labs/FLUX.1-schnell', torch_dtype=torch.bfloat16)
pipe.to('cuda')
image = pipe('Your prompt', num_inference_steps=4, guidance_scale=0.0).images[0]
image.save('output.png')
"

API Server:

curl -X POST "http://127.0.0.1:7860/generate" -d "prompt=Your prompt"

First: Accept license at https://huggingface.co/black-forest-labs/FLUX.1-schnell


Fox 1.0 (Legacy - DEPRECATED)

Base: Realistic Vision v5.1 | Steps: ~35 | Quality: Good

License: Realistic Vision v5.1 license

Downloads last month
49
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Collection including teolm30/fox-1.0-image