Fox Models (image gen)
Collection
All the fox models for image generation. • 2 items • Updated • 1
How to use teolm30/fox-1.0-image with Diffusers:
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]WARNING: This model is deprecated. Please use Fox 1.2 (FLUX.1-schnell) instead!
Fox 1.2 is 100x more powerful - based on FLUX.1-schnell (12B params, Apache 2.0).
https://huggingface.co/black-forest-labs/FLUX.1-schnell
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')
"
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
Base: Realistic Vision v5.1 | Steps: ~35 | Quality: Good
License: Realistic Vision v5.1 license