🚀 Dreamlike Anime 1.0
Dreamlike Anime 1.0 是一款高質量的動漫模型,由 dreamlike.art 製作。它可用於文本到圖像、圖像到圖像的轉換,為用戶生成精美的動漫風格圖像。
🚀 快速開始
如果你想在網站、應用程序等中使用 Dreamlike 模型,請先查看底部的許可證!
提示詞技巧
- 在提示詞中添加 anime,可使生成的圖像更具動漫風格。
- 在提示詞中添加 photo,可使生成的圖像更具真實感,人體結構更合理。
分辨率建議
該模型在 768x768px 的圖像上進行訓練,因此建議使用 768x768px、704x832px、832x704px 等分辨率。更高的分辨率或非方形的寬高比可能會產生偽影。
最佳提示詞開頭
為獲得最佳效果,請在提示詞開頭添加以下內容:
photo anime, masterpiece, high quality, absurdres
負向提示詞
使用負向提示詞可獲得更好的效果,例如:
simple background, duplicate, retro style, low quality, lowest quality, 1980s, 1990s, 2000s, 2005 2006 2007 2008 2009 2010 2011 2012 2013, bad anatomy, bad proportions, extra digits, lowres, username, artist name, error, duplicate, watermark, signature, text, extra digit, fewer digits, worst quality, jpeg artifacts, blurry
不同主體提示詞效果
使用 1girl、girl 等提示詞會產生略有不同的結果,你可以自由嘗試,看看更喜歡哪種效果!
示例展示

📦 安裝指南
模型下載
🧨 Diffusers 使用
該模型可以像其他 Stable Diffusion 模型一樣使用。更多信息,請查看 Stable Diffusion Pipeline。
💻 使用示例
基礎用法
from diffusers import StableDiffusionPipeline
import torch
model_id = "dreamlike-art/dreamlike-anime-1.0"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
pipe = pipe.to("cuda")
prompt = "anime, masterpiece, high quality, 1girl, solo, long hair, looking at viewer, blush, smile, bangs, blue eyes, skirt, medium breasts, iridescent, gradient, colorful, besides a cottage, in the country"
negative_prompt = 'simple background, duplicate, retro style, low quality, lowest quality, 1980s, 1990s, 2000s, 2005 2006 2007 2008 2009 2010 2011 2012 2013, bad anatomy, bad proportions, extra digits, lowres, username, artist name, error, duplicate, watermark, signature, text, extra digit, fewer digits, worst quality, jpeg artifacts, blurry'
image = pipe(prompt, negative_prompt=negative_prompt).images[0]
image.save("./result.jpg")

📄 許可證
該模型遵循 修改後的 CreativeML OpenRAIL - M 許可證。
- 禁止事項:不得在網站、應用程序等上託管、微調該模型或其派生模型,或進行推理。如有需要,請發送電子郵件至 contact@dreamlike.art。
- 允許事項:
- 可在商業和非商業網站、應用程序等上託管模型卡片和文件(無需實際推理或微調)。請註明完整的模型名稱(Dreamlike Anime 1.0),幷包含許可證以及模型卡片的鏈接(https://huggingface.co/dreamlike-art/dreamlike-anime-1.0)。
- 可在 10 人或以下的團隊中,將模型的輸出(圖像)用於商業目的。
- 其他規定:
- 不得使用該模型故意生成或分享非法或有害的輸出或內容。
- 作者對用戶生成的輸出不主張任何權利,用戶可自由使用這些輸出,但需對其使用負責,且不得違反許可證中的規定。
- 可以重新分發模型權重。但需包含與許可證中相同的使用限制,並向所有用戶分享 修改後的 CreativeML OpenRAIL - M 許可證的副本(請完整、仔細閱讀許可證)。完整許可證請見:https://huggingface.co/dreamlike-art/dreamlike-anime-1.0/blob/main/LICENSE.md