File size: 3,042 Bytes
4b05e26
 
 
 
 
 
 
 
 
 
 
58ecbd8
 
4b05e26
 
 
116d631
4b05e26
ccc62c2
4b05e26
 
 
bcc4f38
 
4b05e26
9ca034d
4b05e26
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dbcf75b
4b05e26
dbcf75b
4b05e26
dbcf75b
4b05e26
 
 
 
 
dbcf75b
4b05e26
 
 
 
 
dbcf75b
4b05e26
 
 
 
 
 
dbcf75b
4b05e26
dbcf75b
 
4b05e26
dbcf75b
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
---
language:
- en
license: creativeml-openrail-m
tags:
- stable-diffusion
- stable-diffusion-diffusers
- text-to-image
- diffusers
inference: true
---
# Smelon.com备份
# Anything备份版

# Anything V3

欢迎使用 Anything V3 - weebs 的潜在扩散模型。该模型旨在通过几个提示生成高质量、高度详细的动漫风格。与其他动漫风格的 Stable Diffusion 模型一样,它也支持 danbooru 标签生成图像。

例如 **_1girl, white hair, golden eyes, beautiful eyes, detail, flower meadow, cumulonimbus clouds, lighting, detailed sky, garden_** 

## 🧨 Diffusers

该模型可以像任何其他稳定扩散模型一样使用。想要查询更多的信息,
请看 [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).

您还可以将模型导出到 [ONNX](https://huggingface.co/docs/diffusers/optimization/onnx) [MPS](https://huggingface.co/docs/diffusers/optimization/mps) 或者 [FLAX/JAX]().

```python
from diffusers import StableDiffusionPipeline
import torch

model_id = "Linaqruf/anything-v3.0"
branch_name= "diffusers"

pipe = StableDiffusionPipeline.from_pretrained(model_id, revision=branch_name, torch_dtype=torch.float16)
pipe = pipe.to("cuda")

prompt = "pikachu"
image = pipe(prompt).images[0]

image.save("./pikachu.png")
```

## 例子

以下是使用此模型生成的一些图像示例:

**动漫女孩:**
![Anime Girl](https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/1girl.png)
```
1girl, brown hair, green eyes, colorful, autumn, cumulonimbus clouds, lighting, blue sky, falling leaves, garden
Steps: 50, Sampler: DDIM, CFG scale: 12
```
**动漫男孩:**
![Anime Boy](https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/1boy.png)
```
1boy, medium hair, blonde hair, blue eyes, bishounen, colorful, autumn, cumulonimbus clouds, lighting, blue sky, falling leaves, garden
Steps: 50, Sampler: DDIM, CFG scale: 12
```
**风景:**
![Scenery](https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/scenery.png)
```
scenery, shibuya tokyo, post-apocalypse, ruins, rust, sky, skyscraper, abandoned, blue sky, broken window, building, cloud, crane machine, outdoors, overgrown, pillar, sunset
Steps: 50, Sampler: DDIM, CFG scale: 12
```

## 许可证

该模型是开放访问的,所有人都可以使用,CreativeML OpenRAIL-M 许可证进一步指定了权利和使用。
CreativeML OpenRAIL许可证规定。

1. 你不能使用该模型来故意生产或分享非法或有害的产出或内容。
2. 作者对你产生的产出没有任何权利,你可以自由使用它们,并对它们的使用负责,不得违反许可证中的规定。
3. 你可以重新分配权重,并在商业上和/或作为服务使用该模型。如果你这样做,请注意你必须包括与许可证中相同的使用限制,并将CreativeML OpenRAIL-M的副本分享给你的所有用户(请完全和仔细地阅读许可证)
[请在此阅读完整的许可证](https://huggingface.co/spaces/CompVis/stable-diffusion-license)