Commit
·
a3c6b8d
1
Parent(s):
2b7fba8
converted using stablediffusionapi.com
Browse files- README.md +1 -1
- model_index.json +1 -1
- safety_checker/config.json +1 -1
- safety_checker/pytorch_model.bin +2 -2
- scheduler/scheduler_config.json +2 -5
- text_encoder/config.json +1 -2
- text_encoder/pytorch_model.bin +2 -2
- unet/config.json +6 -1
- unet/diffusion_pytorch_model.bin +2 -2
- vae/config.json +2 -1
- vae/diffusion_pytorch_model.bin +2 -2
README.md
CHANGED
@@ -30,7 +30,7 @@ View all models: [View Models](https://stablediffusionapi.com/models)
|
|
30 |
import requests
|
31 |
import json
|
32 |
|
33 |
-
url = "https://stablediffusionapi.com/api/
|
34 |
|
35 |
payload = json.dumps({
|
36 |
"key": "your_api_key",
|
|
|
30 |
import requests
|
31 |
import json
|
32 |
|
33 |
+
url = "https://stablediffusionapi.com/api/v4/dreambooth"
|
34 |
|
35 |
payload = json.dumps({
|
36 |
"key": "your_api_key",
|
model_index.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"_class_name": "StableDiffusionPipeline",
|
3 |
-
"_diffusers_version": "0.
|
4 |
"feature_extractor": [
|
5 |
"transformers",
|
6 |
"CLIPFeatureExtractor"
|
|
|
1 |
{
|
2 |
"_class_name": "StableDiffusionPipeline",
|
3 |
+
"_diffusers_version": "0.20.2",
|
4 |
"feature_extractor": [
|
5 |
"transformers",
|
6 |
"CLIPFeatureExtractor"
|
safety_checker/config.json
CHANGED
@@ -85,7 +85,7 @@
|
|
85 |
"use_bfloat16": false,
|
86 |
"vocab_size": 49408
|
87 |
},
|
88 |
-
"torch_dtype": "
|
89 |
"transformers_version": null,
|
90 |
"vision_config": {
|
91 |
"_name_or_path": "",
|
|
|
85 |
"use_bfloat16": false,
|
86 |
"vocab_size": 49408
|
87 |
},
|
88 |
+
"torch_dtype": "float16",
|
89 |
"transformers_version": null,
|
90 |
"vision_config": {
|
91 |
"_name_or_path": "",
|
safety_checker/pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5a74e502c4f13852dceefd405162efacd6022cca11ddf3e5aa14caf74dcf923b
|
3 |
+
size 608102014
|
scheduler/scheduler_config.json
CHANGED
@@ -1,18 +1,15 @@
|
|
1 |
{
|
2 |
"_class_name": "PNDMScheduler",
|
3 |
-
"_diffusers_version": "0.
|
4 |
"beta_end": 0.012,
|
5 |
"beta_schedule": "scaled_linear",
|
6 |
"beta_start": 0.00085,
|
7 |
"clip_sample": false,
|
8 |
-
"clip_sample_range": 1.0,
|
9 |
-
"dynamic_thresholding_ratio": 0.995,
|
10 |
"num_train_timesteps": 1000,
|
11 |
"prediction_type": "epsilon",
|
12 |
-
"sample_max_value": 1.0,
|
13 |
"set_alpha_to_one": false,
|
14 |
"skip_prk_steps": true,
|
15 |
"steps_offset": 1,
|
16 |
-
"
|
17 |
"trained_betas": null
|
18 |
}
|
|
|
1 |
{
|
2 |
"_class_name": "PNDMScheduler",
|
3 |
+
"_diffusers_version": "0.20.2",
|
4 |
"beta_end": 0.012,
|
5 |
"beta_schedule": "scaled_linear",
|
6 |
"beta_start": 0.00085,
|
7 |
"clip_sample": false,
|
|
|
|
|
8 |
"num_train_timesteps": 1000,
|
9 |
"prediction_type": "epsilon",
|
|
|
10 |
"set_alpha_to_one": false,
|
11 |
"skip_prk_steps": true,
|
12 |
"steps_offset": 1,
|
13 |
+
"timestep_spacing": "leading",
|
14 |
"trained_betas": null
|
15 |
}
|
text_encoder/config.json
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "openai/clip-vit-large-patch14",
|
3 |
"architectures": [
|
4 |
"CLIPTextModel"
|
5 |
],
|
@@ -19,7 +18,7 @@
|
|
19 |
"num_hidden_layers": 12,
|
20 |
"pad_token_id": 1,
|
21 |
"projection_dim": 768,
|
22 |
-
"torch_dtype": "
|
23 |
"transformers_version": "4.28.1",
|
24 |
"vocab_size": 49408
|
25 |
}
|
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"CLIPTextModel"
|
4 |
],
|
|
|
18 |
"num_hidden_layers": 12,
|
19 |
"pad_token_id": 1,
|
20 |
"projection_dim": 768,
|
21 |
+
"torch_dtype": "float16",
|
22 |
"transformers_version": "4.28.1",
|
23 |
"vocab_size": 49408
|
24 |
}
|
text_encoder/pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ab75aacd2f70bb65eaf227d1eaed4082530c7b63bb585d18d3d6437d2ee90aab
|
3 |
+
size 246186526
|
unet/config.json
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
-
"_diffusers_version": "0.
|
4 |
"act_fn": "silu",
|
5 |
"addition_embed_type": null,
|
6 |
"addition_embed_type_num_heads": 64,
|
|
|
7 |
"attention_head_dim": 8,
|
|
|
8 |
"block_out_channels": [
|
9 |
320,
|
10 |
640,
|
@@ -27,6 +29,7 @@
|
|
27 |
"downsample_padding": 1,
|
28 |
"dual_cross_attention": false,
|
29 |
"encoder_hid_dim": null,
|
|
|
30 |
"flip_sin_to_cos": true,
|
31 |
"freq_shift": 0,
|
32 |
"in_channels": 4,
|
@@ -36,6 +39,7 @@
|
|
36 |
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
37 |
"norm_eps": 1e-05,
|
38 |
"norm_num_groups": 32,
|
|
|
39 |
"num_class_embeds": null,
|
40 |
"only_cross_attention": false,
|
41 |
"out_channels": 4,
|
@@ -49,6 +53,7 @@
|
|
49 |
"time_embedding_dim": null,
|
50 |
"time_embedding_type": "positional",
|
51 |
"timestep_post_act": null,
|
|
|
52 |
"up_block_types": [
|
53 |
"UpBlock2D",
|
54 |
"CrossAttnUpBlock2D",
|
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_diffusers_version": "0.20.2",
|
4 |
"act_fn": "silu",
|
5 |
"addition_embed_type": null,
|
6 |
"addition_embed_type_num_heads": 64,
|
7 |
+
"addition_time_embed_dim": null,
|
8 |
"attention_head_dim": 8,
|
9 |
+
"attention_type": "default",
|
10 |
"block_out_channels": [
|
11 |
320,
|
12 |
640,
|
|
|
29 |
"downsample_padding": 1,
|
30 |
"dual_cross_attention": false,
|
31 |
"encoder_hid_dim": null,
|
32 |
+
"encoder_hid_dim_type": null,
|
33 |
"flip_sin_to_cos": true,
|
34 |
"freq_shift": 0,
|
35 |
"in_channels": 4,
|
|
|
39 |
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
40 |
"norm_eps": 1e-05,
|
41 |
"norm_num_groups": 32,
|
42 |
+
"num_attention_heads": null,
|
43 |
"num_class_embeds": null,
|
44 |
"only_cross_attention": false,
|
45 |
"out_channels": 4,
|
|
|
53 |
"time_embedding_dim": null,
|
54 |
"time_embedding_type": "positional",
|
55 |
"timestep_post_act": null,
|
56 |
+
"transformer_layers_per_block": 1,
|
57 |
"up_block_types": [
|
58 |
"UpBlock2D",
|
59 |
"CrossAttnUpBlock2D",
|
unet/diffusion_pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2a664626a4e409547992ef0697a308f0119ec0e483aa970961eea2a67d25c518
|
3 |
+
size 1719324918
|
vae/config.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
-
"_diffusers_version": "0.
|
4 |
"act_fn": "silu",
|
5 |
"block_out_channels": [
|
6 |
128,
|
@@ -14,6 +14,7 @@
|
|
14 |
"DownEncoderBlock2D",
|
15 |
"DownEncoderBlock2D"
|
16 |
],
|
|
|
17 |
"in_channels": 3,
|
18 |
"latent_channels": 4,
|
19 |
"layers_per_block": 2,
|
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
+
"_diffusers_version": "0.20.2",
|
4 |
"act_fn": "silu",
|
5 |
"block_out_channels": [
|
6 |
128,
|
|
|
14 |
"DownEncoderBlock2D",
|
15 |
"DownEncoderBlock2D"
|
16 |
],
|
17 |
+
"force_upcast": true,
|
18 |
"in_channels": 3,
|
19 |
"latent_channels": 4,
|
20 |
"layers_per_block": 2,
|
vae/diffusion_pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:939371966fe64a42ea0cd0de5933ac7dd52e117c98770a588ec26e4ab6c10f79
|
3 |
+
size 167404866
|