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

Dikshan1234
/
ImageGen

Text-to-Image
Diffusers
Safetensors
lora
stable-diffusion-xl
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use Dikshan1234/ImageGen with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("Dikshan1234/ImageGen")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
ImageGen / best
5.52 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
Dikshan1234's picture
Dikshan1234
validation grid @ step 2600
4a143e4 verified 17 days ago
  • adapter_config.json
    681 Bytes
    best @ step 2600 17 days ago
  • adapter_model.safetensors
    186 MB
    xet
    best @ step 2600 17 days ago
  • config.json
    1.91 kB
    best @ step 2000 17 days ago
  • diffusion_pytorch_model.safetensors
    5.32 GB
    xet
    best @ step 2000 17 days ago
  • val_grid_step_2000.png
    4.18 MB
    xet
    validation grid @ step 2000 17 days ago
  • val_grid_step_2600.png
    4.48 MB
    xet
    validation grid @ step 2600 17 days ago