coreml stable-diffusion text-to-image not-for-all-audiences license:creativeml-openrail-m region:us
---
license: creativeml-openrail-m
tags:
- coreml
- stable-diffusion
- text-to-image
- not-for-all-audiences
---
# Core ML Converted SDXL Model:

  - This model was converted to [Core ML for use on Apple Silicon devices](https://github.com/apple/ml-stable-diffusion). Conversion instructions can be found [here](https://github.com/godly-devotion/MochiDiffusion/wiki/How-to-convert-ckpt-or-safetensors-files-to-Core-ML).
  - Provide the model to an app such as **Mochi Diffusion** [Github](https://github.com/godly-devotion/MochiDiffusion) / [Discord](https://discord.gg/x2kartzxGv) to generate images.
  - `original` version is only compatible with `CPU & GPU` option.
  - Resolution is the `SDXL` default of `1024x1024` UNLESS NOTED OTHERWISE.
  - This model requires macOS 14.0 or later to run properly.
  - This model is quantized to `8-bits`.
  - This model was converted with a `vae-encoder` for use with `image2image`.
  - Descriptions are posted as-is from original model source.
  - Not all features and/or results may be available in `CoreML` format.
  - This model does not have the [unet split into chunks](https://github.com/apple/ml-stable-diffusion#-converting-models-to-core-ml).
  - This model does not include a `safety checker` (for NSFW content).
  - This model can not be used with ControlNet.
<br>

# NightVisionXL-v0770_SDXL_8bit:
Source(s): [CivitAI](https://civitai.com/models/128607/nightvision-xl-photorealistic-or-portrait-or-photography-or-hyperreal-or-architecture-or-interior-design-no-refiner-needed?modelVersionId=201643)<br>

## NightVision XL  v0.7.7.0

### This is an SDXL base model converted and quantized to 8-bits.<br><br>

![image](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/67712659-346e-47f3-9015-03d17f60ad67/width=450/00003-2023-10-27-1608781737.jpeg)

![image](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/3d536c11-842b-4534-983a-375f535eb130/width=450/00046-2023-10-27-3366014813.jpeg)

![image](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/71bb99f7-3744-4f1f-95a7-9f07da85494a/width=450/00082-2023-10-27-4166885000.jpeg)

![image](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/a83d0f15-dcdd-4007-b36f-782446c30ab6/width=450/00152-2023-10-27-2927155277.jpeg)

### This is NightVision XL, a lightly trained base SDXL model that is then further refined with community LORAs to get it to where it is now.

NightVision XL has been refined and biased to produce touched-up photorealistic portrait output that is ready-stylized for Social media posting! NightVision XL has nice coherency and is avoiding some of the weird body issues and biases that are starting to plague some of the other photorealistic models. Further, NightVision XL produces rich deep blacks and great evening/night time scenes. It can also produce ridiculously bright output as well!

NightVision XL is capable of both SFW and NSFW output. As with all of my other models, tools and embeddings, NightVision XL is easy to use, preferring simple prompts and letting the model do the heavy lifting for scene building.

NOTE - This version includes a baked VAE, no need to download or use the "suggested" external VAE.

**WARNING - DO NOT USE SDXL REFINER WITH NIGHTVISION XL**

The SDXL refiner is incompatible and you will have reduced quality output if you try to use the base model refiner with NightVision XL.

### v0.7.7.0 Release Notes

This update I have added some detail fine tuning. You should see more details in each scene, giving it a more "lived in" feeling for realistic imagery. NV still targets photorealistic portraits and responds really well to photography keywords.

A word of note on sizzle - this model operates best in the 3.5 to 5 CFG range. While you can generate images at 7.5 CFG (the defaults for both A1111 and Comfy for some dumb reason), they're gonna look fried and overbaked and sizzled 🥓 with crushed colors and blown out whites. Lower that CFG down to 5 if you want your colors to pop, or to 3.5 if you want nice neutral color temps that you can toy with to your liking in post.

**Changelog 10/27/23**

- Added new LoRA SCG-Detailer-V2 (internal only detailer LoRA)

**Known Issues**

- Hands
- Male Genitalia
- Eyes and faces at distance are still iffy. It's getting better, but this is a WIP.