Text-to-Image
Diffusers
Safetensors
Korean
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
korean
Instructions to use kyujinpy/KO-anything-v4-5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use kyujinpy/KO-anything-v4-5 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("kyujinpy/KO-anything-v4-5", 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
| language: | |
| - ko | |
| license: creativeml-openrail-m | |
| tags: | |
| - stable-diffusion | |
| - stable-diffusion-diffusers | |
| - text-to-image | |
| - diffusers | |
| - korean | |
| inference: true | |
| duplicated_from: andite/anything-v4.0 | |
| Fantasy.ai is the official and exclusive hosted AI generation platform that holds a commercial use license for Anything V4.0, you can use their service at https://Fantasy.ai/ | |
| # Note | |
| - Github: [KOrean-stable-diffusion-anything](https://github.com/KyujinHan/KO-stable-diffusion-anything) | |
| - I use [bingsu's CLIP](https://huggingface.co/Bingsu/clip-vit-large-patch14-ko) | |
| ## Examples | |
|  | |
| **Prompt: ๊ฑธ์, ์ต๊ณ ํ์ง, 1์๋ , ํฐ ๋จธ๋ฆฌ, ๊ณ ์์ด ๊ท, ๋์ ๊ฐ๊ณ , ๋ณด๋ ์ฌ๋, ๊ท์ฌ์ด, ์ค์นดํ, ์ฌํท, ์ฅ์ธ, ๊ฑฐ๋ฆฌ** | |
|  | |
| **Prompt: ํ๊ฒฝ, ์ง, ์ผ์ธ, ํ๋, ๊ตฌ๋ฆ** | |
|  | |
| **Prompt: 1์๋ , ์์๊ธด, ์ค๋ด, ์์์๋, ์ปคํผ ์, ์ปคํผ ํ ์** | |
|  | |
| **Prompt: 1์๋ , ๊ฐ์์ง ๊ท, ๊ท์ฌ์ด, ํฐ์ ์ค์นดํ, ๋, ๊ด์ฐฐ์** | |
| # KO-Anything-V4.5 | |
| Welcome to Anything V4 - a latent diffusion model for weebs. The newest version of Anything. This model is intended to produce high-quality, highly detailed anime style with just a few prompts. Like other anime-style Stable Diffusion models, it also supports danbooru tags to generate images. | |
| e.g. **_1girl, white hair, golden eyes, beautiful eyes, detail, flower meadow, cumulonimbus clouds, lighting, detailed sky, garden_** | |
| **Korean ver.** | |
| e.g. **_๊ฑธ์, ์ต๊ณ ํ์ง, 1์๋ , ํฐ ๋จธ๋ฆฌ, ๊ณ ์์ด ๊ท, ๋์ ๊ฐ๊ณ , ๋ณด๋ ์ฌ๋, ๊ท์ฌ์ด, ์ค์นดํ, ์ฌํท, ์ฅ์ธ, ๊ฑฐ๋ฆฌ_** | |
| ## ๐งจ Diffusers | |
| This model can be used just like any other Stable Diffusion model. For more information, | |
| please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion). | |
| You can also export the model to [ONNX](https://huggingface.co/docs/diffusers/optimization/onnx), [MPS](https://huggingface.co/docs/diffusers/optimization/mps) and/or [FLAX/JAX](). | |
| ```python | |
| from diffusers import StableDiffusionPipeline | |
| import torch | |
| model_id = "kyujinpy/KO-anything-v4.5" | |
| pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16) | |
| pipe = pipe.to("cuda") | |
| prompt = "1์๋ , ๊ฐ์์ง ๊ท, ๊ท์ฌ์ด, ํฐ์ ์ค์นดํ, ๋, ๊ด์ฐฐ์" | |
| image = pipe(prompt).images[0] | |
| image.save("./hatsune_miku.png") | |
| ``` | |
| ## License | |
| This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage. | |
| The CreativeML OpenRAIL License specifies: | |
| [Please read the full license here](https://huggingface.co/spaces/CompVis/stable-diffusion-license) |