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

krea
/
Krea-2-Raw

Text-to-Image
Diffusers
Safetensors
English
Krea2Pipeline
Model card Files Files and versions
xet
Community
4

Instructions to use krea/Krea-2-Raw with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use krea/Krea-2-Raw with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("krea/Krea-2-Raw", torch_dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "A small, dark-colored cat is captured mid-stride, walking down the center of a narrow, abandoned street. The street is paved and appears cracked and worn. On either side of the street are tall, dilapidated buildings with visible brickwork and windows. A street lamp stands on the right side. The entire image is rendered in a monochromatic blue, with a distinct halftone dot pattern overlaying the scene, giving it a retro or printed appearance. The focus is soft, and the lighting is diffused, creating a hazy, atmospheric effect. The perspective is from ground level, looking down the length of the street, which narrows into the distance., halftone texture"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee

Access Krea 2 Raw

Access to Krea 2 Raw is gated. Please provide the information below and agree to the license to request access.

By clicking "Agree", you agree to the Krea 2 Community License Agreement and acknowledge the Acceptable Use Policy.

Log in or Sign Up to review the conditions and access this model content.

Gated model
You can list files but not access them

Preview of files found in this repository
  • images
    Raw header: pick good-quality subset, uniform layout about 1 month ago
  • scheduler
    Squash history about 1 month ago
  • text_encoder
    Squash history about 1 month ago
  • tokenizer
    Squash history about 1 month ago
  • transformer
    Squash history about 1 month ago
  • vae
    Squash history about 1 month ago
  • .gitattributes
    3.54 kB
    Header: taller layout + JPEG about 1 month ago
  • LICENSE.pdf
    138 kB
    xet
    Update LICENSE.pdf (Krea 2 Community License Agreement) about 1 month ago
  • README.md
    25.2 kB
    Serve license via jsDelivr (renders inline in browser) 6 days ago
  • model_index.json
    587 Bytes
    Squash history about 1 month ago
  • raw.safetensors
    26.3 GB
    xet
    Upload raw.safetensors about 1 month ago