readme: ---
  language:
  - en
  tags:
  - stable-diffusion
  - stable-diffusion-diffusers
  - text-to-image
  - art
  - artistic
  - diffusers
  inference: true
  license: creativeml-openrail-m
  ---
  
  # Protogen_v5.8 by [darkstorm2150](https://instagram.com/officialvictorespinoza)
  
  Protogen was warm-started with [Stable Diffusion v1-5](https://huggingface.co/runwayml/stable-diffusion-v1-5) and 
  is rebuilt using dreamlikePhotoRealV2.ckpt as a core, adding small amounts during merge checkpoints.
  
  ## Model Weights
  
  ![alt text](https://huggingface.co/darkstorm2150/Protogen_x5.8_Official_Release/resolve/main/Model%20Weights.png)
  
  ## Space
  
  We support a [Gradio](https://github.com/gradio-app/gradio) Web UI:
  [![Open In Spaces](https://camo.githubusercontent.com/00380c35e60d6b04be65d3d94a58332be5cc93779f630bcdfc18ab9a3a7d3388/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f25463025394625413425393725323048756767696e67253230466163652d5370616365732d626c7565)](https://huggingface.co/spaces/darkstorm2150/Stable-Diffusion-Protogen-webui)
  ### CompVis
  
  [Download ProtoGen_X5.8.ckpt) (7.2GB)](https://huggingface.co/darkstorm2150/Protogen_v5.8_Official_Release/blob/main/ProtoGen_X5.8.ckpt)
  
  ### 🧨 Diffusers
  
  This model can be used just like any other Stable Diffusion model. For more information,
  please have a look at the [Stable Diffusion Pipeline](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
  
  ```python
  from diffusers import StableDiffusionPipeline, DPMSolverMultistepScheduler
  import torch
  
  prompt = (
  "modelshoot style, (extremely detailed CG unity 8k wallpaper), full shot body photo of the most beautiful artwork in the world, "
  "english medieval witch, black silk vale, pale skin, black silk robe, black cat, necromancy magic, medieval era, "
  "photorealistic painting by Ed Blinkey, Atey Ghailan, Studio Ghibli, by Jeremy Mann, Greg Manchess, Antonio Moro, trending on ArtStation, "
  "trending on CGSociety, Intricate, High Detail, Sharp focus, dramatic, photorealistic painting art by midjourney and greg rutkowski"
  )
  
  model_id = "darkstorm2150/Protogen_v5.8_Official_Release"
  pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
  pipe.scheduler = DPMSolverMultistepScheduler.from_config(pipe.scheduler.config)
  pipe = pipe.to("cuda")
  
  image = pipe(prompt, num_inference_steps=25).images[0]
  
  image.save("./result.jpg")
  ```
  
  License
  
  This model is licesed under a modified CreativeML OpenRAIL-M license.
  
      You are not allowed to host, finetune, or do inference with the model or its derivatives on websites/apps/etc. If you want to, please email us at contact@dreamlike.art
  
      You are free to host the model card and files (Without any actual inference or finetuning) on both commercial and non-commercial websites/apps/etc. Please state the full model name (Dreamlike Photoreal 2.0) and include the license as well as a link to the model card (https://huggingface.co/dreamlike-art/dreamlike-photoreal-2.0)
  
      You are free to use the outputs (images) of the model for commercial purposes in teams of 10 or less
  
      You can't use the model to deliberately produce nor share illegal or harmful outputs or content
  
      The authors claims no rights on the outputs you generate, you are free to use them and are accountable for their use which must not go against the provisions set in the license
  
      You may re-distribute the weights. If you do, please be aware you have to include the same use restrictions as the ones in the license and share a copy of the modified CreativeML OpenRAIL-M to all your users (please read the license entirely and carefully) Please read the full license here: https://huggingface.co/dreamlike-art/dreamlike-photoreal-2.0/blob/main/LICENSE.md