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

SurjoLabs
/
Surjo-Image-Preview

Text-to-Image
Diffusers
Safetensors
English
surjo_image_preview
small
dit
flow-matching
custom_code
Model card Files Files and versions
xet
Community

Instructions to use SurjoLabs/Surjo-Image-Preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use SurjoLabs/Surjo-Image-Preview with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("SurjoLabs/Surjo-Image-Preview", 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
Surjo-Image-Preview
434 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
spitfire4794's picture
spitfire4794
Super-squash branch 'main' using huggingface_hub
28db2ee about 6 hours ago
  • samples
    Super-squash branch 'main' using huggingface_hub about 6 hours ago
  • .gitattributes
    8.63 kB
    Super-squash branch 'main' using huggingface_hub about 6 hours ago
  • README.md
    7.23 kB
    Super-squash branch 'main' using huggingface_hub about 6 hours ago
  • agni-logo-dark.svg
    8.75 kB
    Super-squash branch 'main' using huggingface_hub about 6 hours ago
  • config.json
    511 Bytes
    Super-squash branch 'main' using huggingface_hub about 6 hours ago
  • configuration_surjo_image_preview.py
    1.77 kB
    Super-squash branch 'main' using huggingface_hub about 6 hours ago
  • diffusion_pytorch_model.safetensors
    433 MB
    xet
    Super-squash branch 'main' using huggingface_hub about 6 hours ago
  • modeling_surjo_image_preview.py
    15.7 kB
    Super-squash branch 'main' using huggingface_hub about 6 hours ago