Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

MirageML
/
fantasy-sword

Text-to-Image
Diffusers
Safetensors
English
StableDiffusionPipeline
stable-diffusion
Model card Files Files and versions
xet
Community
4

Instructions to use MirageML/fantasy-sword with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use MirageML/fantasy-sword with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("MirageML/fantasy-sword", 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
  • Draw Things
  • DiffusionBee
fantasy-sword
11 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 5 commits
amankishore's picture
amankishore
patrickvonplaten's picture
patrickvonplaten
Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`. (#4)
21bd883 about 3 years ago
  • feature_extractor
    Upload to HuggingFace over 3 years ago
  • safety_checker
    Adding `safetensors` variant of this model (#3) about 3 years ago
  • scheduler
    Upload to HuggingFace over 3 years ago
  • text_encoder
    Adding `safetensors` variant of this model (#3) about 3 years ago
  • tokenizer
    Upload to HuggingFace over 3 years ago
  • unet
    Adding `safetensors` variant of this model (#3) about 3 years ago
  • vae
    Adding `safetensors` variant of this model (#3) about 3 years ago
  • .gitattributes
    1.52 kB
    Upload to HuggingFace over 3 years ago
  • README.md
    906 Bytes
    Upload to HuggingFace over 3 years ago
  • model_index.json
    576 Bytes
    Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`. (#4) about 3 years ago
  • output.png
    3.96 MB
    xet
    Upload to HuggingFace over 3 years ago