Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

OzzyGT
/
krea2_reference_blocks

Text-to-Image
Diffusers
image-to-image
reference-image
modular-diffusers
diffusion
krea
Model card Files Files and versions
xet
Community

Instructions to use OzzyGT/krea2_reference_blocks with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use OzzyGT/krea2_reference_blocks with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("OzzyGT/krea2_reference_blocks", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
krea2_reference_blocks
94.5 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
OzzyGT's picture
OzzyGT HF Staff
add readme
7bd7cb5 2 days ago
  • .gitattributes
    1.52 kB
    initial commit 6 days ago
  • .gitignore
    26 Bytes
    krea-2 reference blocks 6 days ago
  • README.md
    4.1 kB
    add readme 2 days ago
  • __init__.py
    1.91 kB
    krea-2 reference blocks 6 days ago
  • krea2_reference.py
    76 kB
    krea-2 reference blocks 6 days ago
  • krea2_vision_attention.py
    8.91 kB
    krea-2 reference blocks 6 days ago
  • modular_config.json
    237 Bytes
    krea-2 reference blocks 6 days ago
  • modular_model_index.json
    1.75 kB
    krea-2 reference blocks 6 days ago