Instructions to use Tasty-Rice/Lingyun_Colorful_Realm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Tasty-Rice/Lingyun_Colorful_Realm with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Tasty-Rice/Lingyun_Colorful_Realm", 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 Settings
- Draw Things
- DiffusionBee
| license_name: cc-by-nc-sa-4.0 | |
| license: cc-by-nc-sa-4.0 | |
| license_link: https://freedevproject.org/faipl-1.0-sd/ | |
| pipeline_tag: text-to-image | |
| library_name: diffusers | |
| tags: | |
| - art | |
| - stable-diffusion | |
| - stable-diffusion-diffusers | |
| - SDXL | |
| Model Description | |
| ## 禁止融合 禁止融合 禁止融合 | |
| ## Merging models is not allowed。Merging models is not allowed。Merging models is not allowed | |
| Users of the all version can consider the scope of use by themselves but are prohibited from merging models, and are solely responsible for any problems that arise during use. I do not limit the scope of user use. | |
| - **Developed by (English name):** [Tasty-Rice](https://huggingface.co/Tasty-Rice) | |
| - **Developed by (Chinese name):** [米饭不好吃](https://www.liblib.art/userpage/99d29ad5db474146abbd70752f534981/publish) | |
| - **Model type:** [Diffusion based text to image generative model] | |
| - **Language(s) (NLP):** [English] | |
| - **License:** [CC-BY-NC-SA-4.0](https://spdx.org/licenses/CC-BY-NC-SA-4.0) | |
| - **merge model [optional]:**[《好吃米-幻彩维度(SDXL-国风动漫)](https://huggingface.co/Tasty-Rice/Illusionary_dimension/tree/main)the english name《Illusionary dimension》[《好吃米-纸上魔法(SDXL-二次元国风动漫)》](https://huggingface.co/Tasty-Rice/Magic_on_paper/tree/main)the english name《Magic_on_paper》] | |
| ### Sample Picture | |
| <style> | |
| .title-container { | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| height: 100vh; /* Adjust this value to position the title vertically */ | |
| } | |
| .title2 { | |
| font-size: 2.5em; | |
| text-align: center; | |
| color: #333; | |
| font-family: 'Helvetica Neue', sans-serif; | |
| text-transform: uppercase; | |
| letter-spacing: 0.1em; | |
| padding: 0.5em 0; | |
| background: transparent; | |
| } | |
| .title1 { | |
| font-size: 2.5em; | |
| text-align: center; | |
| color: #333; | |
| font-family: 'Helvetica Neue', sans-serif; | |
| text-transform: uppercase; | |
| letter-spacing: 0.1em; | |
| padding: 0.5em 0; | |
| background: transparent; | |
| } | |
| .title2 span { | |
| background: -webkit-linear-gradient(45deg, #7ed56f, #28b485); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| } | |
| .title1 span { | |
| background: -webkit-linear-gradient(45deg, #7ed56f, #28b485); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| } | |
| .custom-table { | |
| table-layout: fixed; | |
| width: 100%; | |
| border-collapse: collapse; | |
| margin-top: 2em; | |
| } | |
| .custom-table td { | |
| width: 50%; | |
| vertical-align: top; | |
| padding: 10px; | |
| box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.15); | |
| } | |
| .custom-image-container { | |
| position: relative; | |
| width: 100%; | |
| margin-bottom: 0em; | |
| overflow: hidden; | |
| border-radius: 10px; | |
| transition: transform .7s; | |
| /* Smooth transition for the container */ | |
| } | |
| .custom-image-container:hover { | |
| transform: scale(1.05); | |
| /* Scale the container on hover */ | |
| } | |
| .custom-image { | |
| width: 100%; | |
| height: auto; | |
| object-fit: cover; | |
| border-radius: 10px; | |
| transition: transform .7s; | |
| margin-bottom: 0em; | |
| } | |
| .nsfw-filter { | |
| filter: blur(8px); /* Apply a blur effect */ | |
| transition: filter 0.3s ease; /* Smooth transition for the blur effect */ | |
| } | |
| .custom-image-container:hover .nsfw-filter { | |
| filter: none; /* Remove the blur effect on hover */ | |
| } | |
| .overlay { | |
| position: absolute; | |
| bottom: 0; | |
| left: 0; | |
| right: 0; | |
| color: white; | |
| width: 100%; | |
| height: 40%; | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: center; | |
| align-items: center; | |
| font-size: 1vw; | |
| font-style: bold; | |
| text-align: center; | |
| opacity: 0; | |
| /* Keep the text fully opaque */ | |
| background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 60%, rgba(0, 0, 0, 0) 100%); | |
| transition: opacity .5s; | |
| } | |
| .custom-image-container:hover .overlay { | |
| opacity: 1; | |
| } | |
| .overlay-text { | |
| background: linear-gradient(45deg, #7ed56f, #28b485); | |
| -webkit-background-clip: text; | |
| color: transparent; | |
| text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); | |
| .overlay-subtext { | |
| font-size: 0.75em; | |
| margin-top: 0.5em; | |
| font-style: italic; | |
| } | |
| .overlay, | |
| .overlay-subtext { | |
| text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); | |
| } | |
| ![image/png]() | |
| </style> | |
| <h1 class="title2"> | |
| <span>Lingyun_Colorful_Realm-v2</span> | |
| </h1> | |
| <table class="custom-table"> | |
| <tr> | |
| <td> | |
| <div class="custom-image-container"> | |
| <img class="custom-image" src="https://cdn-uploads.huggingface.co/production/uploads/6545c5a508deaa0c91b9c6f9/Jm3md3uUyfi4iJkMZMppr.png" alt="sample1"> | |
| </div> | |
| <div class="custom-image-container"> | |
| <img class="custom-image" src="https://cdn-uploads.huggingface.co/production/uploads/6545c5a508deaa0c91b9c6f9/lynqMRYy18rKsHBEs_7Z3.png" alt="sample4"> | |
| </div> | |
| </td> | |
| <td> | |
| <div class="custom-image-container"> | |
| <img class="custom-image" src="https://cdn-uploads.huggingface.co/production/uploads/6545c5a508deaa0c91b9c6f9/DHeN4ppwUOAfv2UzShpHJ.png" alt="sample2"> | |
| </div> | |
| <div class="custom-image-container"> | |
| <img class="custom-image" src="https://cdn-uploads.huggingface.co/production/uploads/6545c5a508deaa0c91b9c6f9/Vl8dxxU0H2g4o9lehvPqv.png" alt="sample3"> | |
| </td> | |
| <td> | |
| <div class="custom-image-container"> | |
| <img class="custom-image" src="https://cdn-uploads.huggingface.co/production/uploads/6545c5a508deaa0c91b9c6f9/w9anBytg9zwntdUSNv0vL.png" alt="sample1"> | |
| </div> | |
| <div class="custom-image-container"> | |
| <img class="custom-image" src="https://cdn-uploads.huggingface.co/production/uploads/6545c5a508deaa0c91b9c6f9/RhZF2g0Iyl6fkFrSPOCaL.png" alt="sample4"> | |
| </div> | |
| </td> | |
| </tr> | |
| </table> | |
| <h1 class="title1"> | |
| <span>Lingyun_Colorful_Realm-v1</span> | |
| </h1> | |
| <table class="custom-table"> | |
| <tr> | |
| <td> | |
| <div class="custom-image-container"> | |
| <img class="custom-image" src="https://cdn-uploads.huggingface.co/production/uploads/6545c5a508deaa0c91b9c6f9/oSO5R2MtyMLph6sU5AJPs.png" alt="sample1"> | |
| </div> | |
| <div class="custom-image-container"> | |
| <img class="custom-image" src="https://cdn-uploads.huggingface.co/production/uploads/6545c5a508deaa0c91b9c6f9/jGBfHbHPouEqOc6ExWSAg.png" alt="sample4"> | |
| </div> | |
| </td> | |
| <td> | |
| <div class="custom-image-container"> | |
| <img class="custom-image" src="https://cdn-uploads.huggingface.co/production/uploads/6545c5a508deaa0c91b9c6f9/-rQHRdfak_in1MLSHF4ac.png" alt="sample2"> | |
| </div> | |
| <div class="custom-image-container"> | |
| <img class="custom-image" src="https://cdn-uploads.huggingface.co/production/uploads/6545c5a508deaa0c91b9c6f9/KuXV6ezMM-17DjCxs29b0.png" alt="sample3"> | |
| </td> | |
| <td> | |
| <div class="custom-image-container"> | |
| <img class="custom-image" src="https://cdn-uploads.huggingface.co/production/uploads/6545c5a508deaa0c91b9c6f9/Jqvh_rQltnvUZKEi3dF1P.png" alt="sample1"> | |
| </div> | |
| <div class="custom-image-container"> | |
| <img class="custom-image" src="https://cdn-uploads.huggingface.co/production/uploads/6545c5a508deaa0c91b9c6f9/UkwAH79EmYxODctmKliP1.png" alt="sample4"> | |
| </div> | |
| </td> | |
| </tr> | |
| </table> | |
| --- | |
| ### Multi Aspect Resolution | |
| 并非所有的分辨率都支持的非常好,但遵循这样的分辨率使用你将得到更好的体验。 | |
| Not all resolutions support very well, but following these resolutions will give you a better experience. | |
| This model supports generating images at the following dimensions: | |
| | Dimensions | Aspect Ratio |Dimensions | Aspect Ratio | | |
| |-------------------|-------------------| -----------------| -----------------| | |
| | `1024 x 1024` | 1:1 Square | | |
| | `704×1408` | 1:2 | `1408×704 ` | 2:1 | | |
| | `1472×704` | 23:11 | `704×1344 ` | 11:21 | | |
| | `960×1024` | 15:16 | `1024×960 ` | 16:15 | | |
| | `960×1088` | 15:17 | `1088×960 ` | 17:15 | | |
| | `896×1088` | 14:17 | `1088×896 ` | 17:14 | | |
| | `896×1152` | 7:9 | `1152×896 ` | 9:7 | | |
| | `832×1152` | 13:18 | `1152×832 ` | 18:13 | | |
| | `832×1216` | 13:19 | `1216×832 ` | 19:13 | | |
| | `768×1280` | 3:5 | `1280×768 ` | 5:3 | | |
| | `768×1344` | 4:7Vertical | `1344×768 ` | 7:4Horizontal | | |
| | `1536×640` | 12:5 | `1600×640 ` | 5:2 | | |
| mix on model1_name and model2_name, Lingyun_Colorful_Realm falls under [CC-BY-NC-SA-4.0](https://spdx.org/licenses/CC-BY-NC-SA-4.0) license, which is compatible with Stable Diffusion models’ license. Key points: | |
| 1. **Modification Sharing:** If you modify Lingyun_Colorful_Realm any version, you must share both your changes and the original license. | |
| 2. **Source Code Accessibility:** If your modified version is network-accessible, provide a way (like a download link) for others to get the source code. This applies to derived models too. | |
| 3. **Distribution Terms:** Any distribution must be under this license or another with similar rules. | |
| 4. **Compliance:** Non-compliance must be fixed within 30 days to avoid license termination, emphasizing transparency and adherence to open-source values. | |
| model1_name: [好吃米-幻彩维度(SDXL-国风动漫)](https://huggingface.co/Tasty-Rice/Illusionary_dimension/tree/main) | |
| model2_name: [好吃米-纸上魔法(SDXL-二次元国风动漫)](https://huggingface.co/Tasty-Rice/Magic_on_paper/tree/main) | |
| --- | |
| ### Model Sources [optional] | |
| Users of all version can consider the scope of use by themselves but are prohibited from merging models, and are solely responsible for any problems that arise during use. I do not limit the scope of user use. | |
| **Notice/The content of the additional terms** | |
| | Number | Terms and Conditions | | |
| |------------|---------------------------------------------------------------------------------------------------| | |
| | 1 | Do not host this model or its derivatives on websites/applications that generate income or donations. For commercial use, please contact the owner through the platform. | | |
| | 2 | Do not directly sell generated images unless they have undergone sufficient manual modification and are deemed personal works. Violators will be subject to legal consequences. | | |
| | 3 | Do not intentionally create or share illegal or harmful content. Please abide by public order and morality, and use it for positive purposes. | | |
| | 4 | By using this model, you agree to all terms and conditions. | | |
| | 5 | The model is limited to personal use and cannot be used for commercial purposes. | | |
| | 6 | Do not use the model for illegal or harmful purposes, such as infringing rights, spreading false information, etc. | | |
| | 7 | Users shall abide by all applicable laws and regulations, including safety, data protection, etc. | | |
| | 8 | Respect the rights of others and do not infringe the rights of third parties. | | |
| | 9 | Disputes or lawsuits shall be borne by the user's own legal responsibility. | | |
| | 10 | Take necessary technical and management measures to ensure data security and confidentiality. | | |
| | 11 | Comply with intellectual property laws and do not infringe the intellectual property rights of third parties. | | |
| | 12 | Do not exploit or harm minors, and do not involve content, activities, or services related to minors. | | |
| | 13 | Do not generate or disseminate verifiable false information or content that harms others. | | |
| | 14 | Do not defame, discredit, or harass others in any other way. | | |
| | 15 | Do not make fully automated decisions that adversely affect the legitimate rights of individuals or create legal obligations. | | |
| | 16 | Do not discriminate or harm individuals or groups, including based on social behavior or known characteristics. | | |
| | 17 | Do not exploit the vulnerabilities of specific groups, distort related behaviors, and cause or potentially cause physical or psychological harm. | | |
| | 18 | Do not discriminate or harm based on protected characteristics or categories. | | |
| | 19 | Do not use for medical consultation or interpretation of medical results. | | |
| | 20 | Do not generate or disseminate information for judicial, law enforcement, immigration, or asylum proceedings, such as predicting criminal behavior. | |