Update README.md
Browse files
README.md
CHANGED
@@ -36,7 +36,7 @@ [email protected]
|
|
36 |
以下、一般的なモデルカードの日本語訳です。
|
37 |
|
38 |
## モデル詳細
|
39 |
-
- **モデルタイプ:**
|
40 |
- **言語:** 日本語
|
41 |
- **ライセンス:** [Stabilityai AI Community](LICENSE.md)
|
42 |
- **モデルの説明:** このモデルはプロンプトに応じて適切な画像を生成することができます。アルゴリズムは [Rectified Flow Transformer](https://stability.ai/news/stable-diffusion-3-research-paper) と [OpenCLIP-ViT/G](https://github.com/mlfoundations/open_clip)、[CLIP-L](https://github.com/openai/CLIP) 、[T5](https://arxiv.org/abs/1910.10683) です。
|
@@ -50,10 +50,10 @@ Stable Diffusion 3.5 Largeと同じ使い方です。
|
|
50 |
- ComfyUI
|
51 |
- Diffusers
|
52 |
|
53 |
-
### ComfyUI
|
54 |
|
55 |
-
Stable Diffusion
|
56 |
-
詳しいインストール方法は、[こちらの記事](https://
|
57 |
|
58 |
### Diffusersの場合
|
59 |
|
@@ -71,15 +71,15 @@ pip install -U diffusers
|
|
71 |
import torch
|
72 |
from diffusers import StableDiffusion3Pipeline
|
73 |
|
74 |
-
pipe = StableDiffusion3Pipeline.from_pretrained("
|
75 |
pipe = pipe.to("cuda")
|
76 |
|
77 |
image = pipe(
|
78 |
-
"
|
79 |
num_inference_steps=28,
|
80 |
guidance_scale=3.5,
|
81 |
).images[0]
|
82 |
-
image.save("
|
83 |
```
|
84 |
|
85 |
複雑な操作は[デモのソースコード](https://huggingface.co/spaces/aipicasso/emi-3/blob/main/app.py)を参考にしてください。
|
|
|
36 |
以下、一般的なモデルカードの日本語訳です。
|
37 |
|
38 |
## モデル詳細
|
39 |
+
- **モデルタイプ:** フローベースの text-to-image 生成モデル
|
40 |
- **言語:** 日本語
|
41 |
- **ライセンス:** [Stabilityai AI Community](LICENSE.md)
|
42 |
- **モデルの説明:** このモデルはプロンプトに応じて適切な画像を生成することができます。アルゴリズムは [Rectified Flow Transformer](https://stability.ai/news/stable-diffusion-3-research-paper) と [OpenCLIP-ViT/G](https://github.com/mlfoundations/open_clip)、[CLIP-L](https://github.com/openai/CLIP) 、[T5](https://arxiv.org/abs/1910.10683) です。
|
|
|
50 |
- ComfyUI
|
51 |
- Diffusers
|
52 |
|
53 |
+
### ComfyUIの場合
|
54 |
|
55 |
+
Stable Diffusion 3.5 Large の使い方と同じく、safetensors形式のモデルファイルを使ってください。
|
56 |
+
詳しいインストール方法は、[こちらの記事](https://tensorflow.classcat.com/2024/10/23/sd35-large-colab-comfyui/)を参照してください。
|
57 |
|
58 |
### Diffusersの場合
|
59 |
|
|
|
71 |
import torch
|
72 |
from diffusers import StableDiffusion3Pipeline
|
73 |
|
74 |
+
pipe = StableDiffusion3Pipeline.from_pretrained("aipicasso/emi-3", torch_dtype=torch.bfloat16)
|
75 |
pipe = pipe.to("cuda")
|
76 |
|
77 |
image = pipe(
|
78 |
+
"anime style, 1girl, looking at viewer, serene expression, gentle smile, multicolored hair, rainbow gradient hair, wavy long hair, heterochromia, purple left eye, blue right eye, pastel color scheme, magical girl aesthetic, white text overlay \"Emi 3\", centered text, modern typography, ethereal lighting, soft glow, fantasy atmosphere, rainbow gradient background, dreamy atmosphere, sparkles, light particles, magical effects, depth of field, bokeh effect",
|
79 |
num_inference_steps=28,
|
80 |
guidance_scale=3.5,
|
81 |
).images[0]
|
82 |
+
image.save("emi3.png")
|
83 |
```
|
84 |
|
85 |
複雑な操作は[デモのソースコード](https://huggingface.co/spaces/aipicasso/emi-3/blob/main/app.py)を参考にしてください。
|