| license: creativeml-openrail-m | |
| library_name: diffusers | |
| tags: | |
| - Safetensors | |
| - stable-diffusion | |
| - stable-diffusion-diffusers | |
| - text-to-image | |
| pipeline_tag: text-to-image | |
| # CyberRealistic | |
| ## v4.2 | |
|  | |
| ### Description: | |
| > <p>Several features developed for CyberRealistic Classic 3.1 have been incorporated into this version along with some additional enhancements. Furthermore, the foundation of CyberRealistic has been slightly adjusted.</p><p>Most sample images use a test negative TI (which still is in development), which can be downloaded from Huggingface.</p><p><u>More explicit than earlier editions. Disregard this version if it's not what you're looking for.</u></p> | |
| ### Creator: Cyberdelia | |
| ### Civitai Page: https://civitai.com/models/15003 | |
| You can use this with the [🧨Diffusers library](https://github.com/huggingface/diffusers) | |
| ### Diffusers | |
| ```py | |
| from diffusers import StableDiffusionPipeline | |
| import torch | |
| model_id = "sam749/CyberRealistic-v4-2" | |
| pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16) | |
| pipe = pipe.to("cuda") | |
| prompt = "masterpiece, best quality, 1girl, (colorful),(delicate eyes and face), volumatic light, ray tracing, bust shot ,extremely detailed CG unity 8k wallpaper,solo,smile" | |
| image = pipe(prompt).images[0] | |
| image.save("result.png") | |
| ``` | |