readme: ---
  language:
  - en
  tags:
  - stable-diffusion
  - stable-diffusion-diffusers
  - text-to-image
  - art
  - artistic
  - diffusers
  - protogen
  inference: true
  license: creativeml-openrail-m
  ---
  <center><img src="https://huggingface.co/darkstorm2150/Protogen_x3.4_Official_Release/resolve/main/Protogen_x3.4-512.png" style="height:690px; border-radius: 8%; border: 10px solid #663380; padding-top:0px;" span title="Protogen x3.4 Raw Output"></center>
  
  
  
  <center><h1>Protogen x3.4 (Photorealism) Official Release</h1></center>
  <center><p><em>Research Model by <a href="https://instagram.com/officialvictorespinoza">darkstorm2150</a></em></p></center>
  </div>
  
  ## Table of contents
  * [General info](#general-info)
  * [Granular Adaptive Learning](#granular-adaptive-learning)
  * [Trigger Words](#trigger-words)
  * [Setup](#setup)
  * [Space](#space)
  * [CompVis](#compvis)
  * [Diffusers](#🧨-diffusers)
  * [Checkpoint Merging Data Reference](#checkpoint-merging-data-reference)
  * [License](#license)
  
  ## General info
  Protogen x3.4
  
  Protogen was warm-started with [Stable Diffusion v1-5](https://huggingface.co/runwayml/stable-diffusion-v1-5) and fine-tuned on various high quality image datasets.
  Version 3.4 continued training from [ProtoGen v2.2](https://huggingface.co/darkstorm2150/Protogen_v2.2_Official_Release) with added photorealism.
  
  ## Granular Adaptive Learning
  
  Granular adaptive learning is a machine learning technique that focuses on adjusting the learning process at a fine-grained level, rather than making global adjustments to the model. This approach allows the model to adapt to specific patterns or features in the data, rather than making assumptions based on general trends.
  
  Granular adaptive learning can be achieved through techniques such as active learning, which allows the model to select the data it wants to learn from, or through the use of reinforcement learning, where the model receives feedback on its performance and adapts based on that feedback. It can also be achieved through techniques such as online learning where the model adjust itself as it receives more data.
  
  Granular adaptive learning is often used in situations where the data is highly diverse or non-stationary and where the model needs to adapt quickly to changing patterns. This is often the case in dynamic environments such as robotics, financial markets, and natural language processing.
  
  ## Trigger Words
  
  modelshoot style, analog style, mdjrny-v4 style, nousr robot
  
  Trigger words are available for the hassan1.4 and f222, might have to google them :)
  
  ## Setup
  To run this model, download the model.ckpt or model.safetensor and install it in your "stable-diffusion-webui\models\Stable-diffusion" directory
  
  ## 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
  
  ## CKPT
  [Download ProtoGen x3.4.ckpt (5.98GB)](https://huggingface.co/darkstorm2150/Protogen_x3.4_Official_Release/resolve/main/ProtoGen_X3.4.ckpt)
  
  [Download ProtoGen X3.4-pruned-fp16.ckpt (1.89 GB)](https://huggingface.co/darkstorm2150/Protogen_x3.4_Official_Release/resolve/main/ProtoGen_X3.4-pruned-fp16.ckpt)
  
  ## Safetensors
  [Download ProtoGen x3.4.safetensors (5.98GB)](https://huggingface.co/darkstorm2150/Protogen_x3.4_Official_Release/resolve/main/ProtoGen_X3.4.safetensors)
  
  [Download ProtoGen x3.4-pruned-fp16.safetensors (1.89GB)](https://huggingface.co/darkstorm2150/Protogen_x3.4_Official_Release/resolve/main/ProtoGen_X3.4-pruned-fp16.safetensors)
  
  
  ### 🧨 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_x3.4_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")
  ```
  
  ![img](https: