TheNetherWatcher commited on
Commit
d0ffe9c
1 Parent(s): b81ba0a

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .editorconfig +34 -0
  2. .gitignore +241 -0
  3. .pre-commit-config.yaml +28 -0
  4. .vscode/settings.json +75 -0
  5. LICENSE +201 -0
  6. MANIFEST.in +2 -0
  7. README.md +96 -8
  8. app.py +82 -0
  9. config/GroundingDINO/GroundingDINO_SwinB_cfg.py +43 -0
  10. config/GroundingDINO/GroundingDINO_SwinT_OGC.py +43 -0
  11. config/inference/default.json +27 -0
  12. config/inference/motion_sdxl.json +23 -0
  13. config/inference/motion_v2.json +28 -0
  14. config/inference/sd15-unet.json +89 -0
  15. config/inference/sd15-unet3d.json +64 -0
  16. config/prompts/01-ToonYou.json +24 -0
  17. config/prompts/02-Lyriel.json +25 -0
  18. config/prompts/03-RcnzCartoon.json +25 -0
  19. config/prompts/04-MajicMix.json +25 -0
  20. config/prompts/05-RealisticVision.json +25 -0
  21. config/prompts/06-Tusun.json +23 -0
  22. config/prompts/07-FilmVelvia.json +26 -0
  23. config/prompts/08-GhibliBackground.json +23 -0
  24. config/prompts/concat_2horizontal.bat +1 -0
  25. config/prompts/copy_png.bat +11 -0
  26. config/prompts/ignore_tokens.txt +4 -0
  27. config/prompts/img2img_sample.json +272 -0
  28. config/prompts/inpaint_sample.json +299 -0
  29. config/prompts/prompt_travel.json +316 -0
  30. config/prompts/prompt_travel_multi_controlnet.json +238 -0
  31. config/prompts/region_sample.json +299 -0
  32. config/prompts/region_sample2.json +299 -0
  33. config/prompts/region_sample3.json +299 -0
  34. config/prompts/region_txt2img.json +324 -0
  35. config/prompts/sample_lcm.json +298 -0
  36. config/prompts/to_8fps_Frames.bat +1 -0
  37. data/models/DWPose/dw-ll_ucoco_384.onnx +3 -0
  38. data/models/DWPose/yolox_l.onnx +3 -0
  39. data/models/README.md +4 -0
  40. data/models/WD14tagger/model.onnx +3 -0
  41. data/models/WD14tagger/selected_tags.csv +0 -0
  42. data/models/huggingface/stable-diffusion-v1-5/feature_extractor/preprocessor_config.json +28 -0
  43. data/models/huggingface/stable-diffusion-v1-5/model_index.json +34 -0
  44. data/models/huggingface/stable-diffusion-v1-5/safety_checker/config.json +28 -0
  45. data/models/huggingface/stable-diffusion-v1-5/safety_checker/model.safetensors +3 -0
  46. data/models/huggingface/stable-diffusion-v1-5/scheduler/scheduler_config.json +15 -0
  47. data/models/huggingface/stable-diffusion-v1-5/text_encoder/config.json +25 -0
  48. data/models/huggingface/stable-diffusion-v1-5/text_encoder/model.safetensors +3 -0
  49. data/models/huggingface/stable-diffusion-v1-5/tokenizer/merges.txt +0 -0
  50. data/models/huggingface/stable-diffusion-v1-5/tokenizer/special_tokens_map.json +24 -0
.editorconfig ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # http://editorconfig.org
2
+
3
+ root = true
4
+
5
+ [*]
6
+ indent_style = space
7
+ indent_size = 4
8
+ trim_trailing_whitespace = true
9
+ insert_final_newline = true
10
+ charset = utf-8
11
+ end_of_line = lf
12
+
13
+ [*.bat]
14
+ indent_style = tab
15
+ end_of_line = crlf
16
+
17
+ [*.{json,jsonc}]
18
+ indent_style = space
19
+ indent_size = 2
20
+
21
+ [.vscode/*.{json,jsonc}]
22
+ indent_style = space
23
+ indent_size = 4
24
+
25
+ [*.{yml,yaml,toml}]
26
+ indent_style = space
27
+ indent_size = 2
28
+
29
+ [*.md]
30
+ trim_trailing_whitespace = false
31
+
32
+ [Makefile]
33
+ indent_style = tab
34
+ indent_size = 8
.gitignore ADDED
@@ -0,0 +1,241 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Created by https://www.toptal.com/developers/gitignore/api/linux,windows,macos,visualstudiocode,python
2
+ # Edit at https://www.toptal.com/developers/gitignore?templates=linux,windows,macos,visualstudiocode,python
3
+
4
+ ### Linux ###
5
+ *~
6
+
7
+ # temporary files which can be created if a process still has a handle open of a deleted file
8
+ .fuse_hidden*
9
+
10
+ # KDE directory preferences
11
+ .directory
12
+
13
+ # Linux trash folder which might appear on any partition or disk
14
+ .Trash-*
15
+
16
+ # .nfs files are created when an open file is removed but is still being accessed
17
+ .nfs*
18
+
19
+ ### macOS ###
20
+ # General
21
+ .DS_Store
22
+ .AppleDouble
23
+ .LSOverride
24
+
25
+ # Icon must end with two \r
26
+ Icon
27
+
28
+
29
+ # Thumbnails
30
+ ._*
31
+
32
+ # Files that might appear in the root of a volume
33
+ .DocumentRevisions-V100
34
+ .fseventsd
35
+ .Spotlight-V100
36
+ .TemporaryItems
37
+ .Trashes
38
+ .VolumeIcon.icns
39
+ .com.apple.timemachine.donotpresent
40
+
41
+ # Directories potentially created on remote AFP share
42
+ .AppleDB
43
+ .AppleDesktop
44
+ Network Trash Folder
45
+ Temporary Items
46
+ .apdisk
47
+
48
+ ### Python ###
49
+ # Byte-compiled / optimized / DLL files
50
+ __pycache__/
51
+ *.py[cod]
52
+ *$py.class
53
+
54
+ # C extensions
55
+ *.so
56
+
57
+ # Distribution / packaging
58
+ .Python
59
+ build/
60
+ develop-eggs/
61
+ dist/
62
+ downloads/
63
+ eggs/
64
+ .eggs/
65
+ lib/
66
+ lib64/
67
+ parts/
68
+ sdist/
69
+ var/
70
+ wheels/
71
+ share/python-wheels/
72
+ *.egg-info/
73
+ .installed.cfg
74
+ *.egg
75
+ MANIFEST
76
+
77
+ # PyInstaller
78
+ # Usually these files are written by a python script from a template
79
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
80
+ *.manifest
81
+ *.spec
82
+
83
+ # Installer logs
84
+ pip-log.txt
85
+ pip-delete-this-directory.txt
86
+
87
+ # Unit test / coverage reports
88
+ htmlcov/
89
+ .tox/
90
+ .nox/
91
+ .coverage
92
+ .coverage.*
93
+ .cache
94
+ nosetests.xml
95
+ coverage.xml
96
+ *.cover
97
+ *.py,cover
98
+ .hypothesis/
99
+ .pytest_cache/
100
+ cover/
101
+
102
+ # Translations
103
+ *.mo
104
+ *.pot
105
+
106
+ # Django stuff:
107
+ *.log
108
+ local_settings.py
109
+ db.sqlite3
110
+ db.sqlite3-journal
111
+
112
+ # Flask stuff:
113
+ instance/
114
+ .webassets-cache
115
+
116
+ # Scrapy stuff:
117
+ .scrapy
118
+
119
+ # Sphinx documentation
120
+ docs/_build/
121
+
122
+ # PyBuilder
123
+ .pybuilder/
124
+ target/
125
+
126
+ # Jupyter Notebook
127
+ .ipynb_checkpoints
128
+
129
+ # IPython
130
+ profile_default/
131
+ ipython_config.py
132
+
133
+ # pyenv
134
+ # For a library or package, you might want to ignore these files since the code is
135
+ # intended to run in multiple environments; otherwise, check them in:
136
+ # .python-version
137
+
138
+ # pipenv
139
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
140
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
141
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
142
+ # install all needed dependencies.
143
+ #Pipfile.lock
144
+
145
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow
146
+ __pypackages__/
147
+
148
+ # Celery stuff
149
+ celerybeat-schedule
150
+ celerybeat.pid
151
+
152
+ # SageMath parsed files
153
+ *.sage.py
154
+
155
+ # Environments
156
+ .env
157
+ .venv
158
+ env/
159
+ venv/
160
+ ENV/
161
+ env.bak/
162
+ venv.bak/
163
+
164
+ # Spyder project settings
165
+ .spyderproject
166
+ .spyproject
167
+
168
+ # Rope project settings
169
+ .ropeproject
170
+
171
+ # mkdocs documentation
172
+ /site
173
+
174
+ # mypy
175
+ .mypy_cache/
176
+ .dmypy.json
177
+ dmypy.json
178
+
179
+ # Pyre type checker
180
+ .pyre/
181
+
182
+ # pytype static type analyzer
183
+ .pytype/
184
+
185
+ # Cython debug symbols
186
+ cython_debug/
187
+
188
+ ### VisualStudioCode ###
189
+ .vscode/*
190
+ !.vscode/settings.json
191
+ !.vscode/tasks.json
192
+ !.vscode/launch.json
193
+ !.vscode/extensions.json
194
+ *.code-workspace
195
+
196
+ # Local History for Visual Studio Code
197
+ .history/
198
+
199
+ ### VisualStudioCode Patch ###
200
+ # Ignore all local history of files
201
+ .history
202
+ .ionide
203
+
204
+ ### Windows ###
205
+ # Windows thumbnail cache files
206
+ Thumbs.db
207
+ Thumbs.db:encryptable
208
+ ehthumbs.db
209
+ ehthumbs_vista.db
210
+
211
+ # Dump file
212
+ *.stackdump
213
+
214
+ # Folder config file
215
+ [Dd]esktop.ini
216
+
217
+ # Recycle Bin used on file shares
218
+ $RECYCLE.BIN/
219
+
220
+ # Windows Installer files
221
+ *.cab
222
+ *.msi
223
+ *.msix
224
+ *.msm
225
+ *.msp
226
+
227
+ # Windows shortcuts
228
+ *.lnk
229
+
230
+ # End of https://www.toptal.com/developers/gitignore/api/linux,windows,macos,visualstudiocode,python
231
+
232
+ # setuptools-scm _version file
233
+ src/animatediff/_version.py
234
+
235
+ # local misc and temp
236
+ /misc/
237
+ /temp/
238
+
239
+ # envrc
240
+ .env*
241
+ !.envrc.example
.pre-commit-config.yaml ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # See https://pre-commit.com for more information
2
+ ci:
3
+ autofix_prs: true
4
+ autoupdate_branch: "main"
5
+ autoupdate_commit_msg: "[pre-commit.ci] pre-commit autoupdate"
6
+ autoupdate_schedule: weekly
7
+
8
+ repos:
9
+ - repo: https://github.com/astral-sh/ruff-pre-commit
10
+ rev: "v0.0.281"
11
+ hooks:
12
+ - id: ruff
13
+ args: ["--fix", "--exit-non-zero-on-fix"]
14
+
15
+ - repo: https://github.com/psf/black
16
+ rev: 23.7.0
17
+ hooks:
18
+ - id: black
19
+ args: ["--line-length=110"]
20
+
21
+ - repo: https://github.com/pre-commit/pre-commit-hooks
22
+ rev: v4.4.0
23
+ hooks:
24
+ - id: trailing-whitespace
25
+ args: [--markdown-linebreak-ext=md]
26
+ - id: end-of-file-fixer
27
+ - id: check-yaml
28
+ - id: check-added-large-files
.vscode/settings.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "editor.insertSpaces": true,
3
+ "editor.tabSize": 4,
4
+ "files.trimTrailingWhitespace": true,
5
+ "editor.rulers": [100, 120],
6
+
7
+ "files.associations": {
8
+ "*.yaml": "yaml"
9
+ },
10
+
11
+ "files.exclude": {
12
+ "**/.git": true,
13
+ "**/.svn": true,
14
+ "**/.hg": true,
15
+ "**/CVS": true,
16
+ "**/.DS_Store": true,
17
+ "**/Thumbs.db": true,
18
+ "**/__pycache__": true
19
+ },
20
+
21
+ "[python]": {
22
+ "editor.wordBasedSuggestions": false,
23
+ "editor.formatOnSave": true,
24
+ "editor.defaultFormatter": "ms-python.black-formatter",
25
+ "editor.codeActionsOnSave": {
26
+ "source.organizeImports": true
27
+ }
28
+ },
29
+ "python.analysis.include": ["./src", "./scripts", "./tests"],
30
+
31
+ "python.linting.enabled": false,
32
+ "python.linting.pylintEnabled": false,
33
+ "python.linting.flake8Enabled": true,
34
+ "python.linting.flake8Args": ["--config=${workspaceFolder}/setup.cfg"],
35
+
36
+ "[json]": {
37
+ "editor.tabSize": 2,
38
+ "editor.detectIndentation": false,
39
+ "editor.formatOnSave": true,
40
+ "editor.formatOnSaveMode": "file"
41
+ },
42
+
43
+ "[toml]": {
44
+ "editor.tabSize": 2,
45
+ "editor.detectIndentation": false,
46
+ "editor.formatOnSave": true,
47
+ "editor.formatOnSaveMode": "file",
48
+ "editor.defaultFormatter": "tamasfe.even-better-toml",
49
+ "editor.rulers": [80, 100]
50
+ },
51
+ "evenBetterToml.formatter.columnWidth": 88,
52
+
53
+ "[yaml]": {
54
+ "editor.detectIndentation": false,
55
+ "editor.tabSize": 2,
56
+ "editor.formatOnSave": true,
57
+ "editor.formatOnSaveMode": "file"
58
+ },
59
+ "yaml.format.bracketSpacing": true,
60
+ "yaml.format.proseWrap": "preserve",
61
+ "yaml.format.singleQuote": false,
62
+ "yaml.format.printWidth": 110,
63
+
64
+ "[markdown]": {
65
+ "files.trimTrailingWhitespace": false
66
+ },
67
+
68
+ "css.lint.validProperties": ["dock", "content-align", "content-justify"],
69
+ "[css]": {
70
+ "editor.formatOnSave": true
71
+ },
72
+
73
+ "remote.autoForwardPorts": false,
74
+ "remote.autoForwardPortsSource": "process"
75
+ }
LICENSE ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
MANIFEST.in ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ # setuptools_scm will grab all tracked files, minus these exclusions
2
+ prune .vscode
README.md CHANGED
@@ -1,12 +1,100 @@
1
  ---
2
- title: Vid2Vid Using Text Prompt
3
- emoji: 😻
4
- colorFrom: green
5
- colorTo: pink
6
- sdk: gradio
7
- sdk_version: 4.32.2
8
  app_file: app.py
9
- pinned: false
 
10
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
1
  ---
2
+ title: Vid2Vid-using-Text-prompt
 
 
 
 
 
3
  app_file: app.py
4
+ sdk: gradio
5
+ sdk_version: 3.35.2
6
  ---
7
+ # Video2Video Generation using Text Prompts
8
+
9
+ This repository contains a pipeline for video-to-video generation using text prompts. The system leverages AnimateDiff and OpenPose ControlNet for pose estimation, and incorporates a prompt traveling method for improved coherence between the original and generated videos. Users can interact with this pipeline through a Gradio app or a standard Python program.
10
+
11
+ ## Techniques used
12
+
13
+ - **AnimateDiff**: Utilized for generating high-quality animations based on text prompts and an image as an input.
14
+ - **OpenPose ControlNet**: Used for accurate pose estimation to guide the animation process.
15
+ - **Prompt Traveling Method**: Ensures better relativeness and coherence between the input video and the generated output.
16
+ - **User Interfaces**:
17
+ - **Gradio App**: An intuitive web-based interface for easy interaction.
18
+ - **Python Program**: A script-based interface for users preferring command-line interaction.
19
+
20
+ ### Base models
21
+
22
+ - [XXMix_9realistic](https://civitai.com/models/47274): Model used for generating life-like video (Recommended for life-like video)
23
+ - [Mistoon_Anime](https://civitai.com/models/24149/mistoonanime): Model used for generating anime-like video (Recommended for anime-like video)
24
+
25
+ ### Motion modules
26
+
27
+ - [mm_sd_v15_v2](https://huggingface.co/guoyww/animatediff/blob/main/mm_sd_v15_v2.ckpt): Motion module used for generating segments of the final from the generated images (Recommended)
28
+ - [mm_sd_v15](https://huggingface.co/guoyww/animatediff/blob/main/mm_sd_v15.ckpt) and [mm_sd_v14](https://huggingface.co/guoyww/animatediff/blob/main/mm_sd_v14.ckpt) are some other modules that can be also used.
29
+
30
+ ### ControlNets
31
+
32
+ - [control_v11p_sd15_openpose](https://huggingface.co/lllyasviel/ControlNet-v1-1/blob/main/control_v11p_sd15_openpose.pth): ControlNet for pose estimation from the given video
33
+ - Upcoming support for depth and canny controlnets too for better generated video quality.
34
+
35
+ ### Prompt Travelling
36
+
37
+ This is a technique that is used to give the model, instruction at which frame what to do with the output image.
38
+ For example, if in the prompt body it is written like, 30 - face: up, camera: zoomed out, right-hand: waving, then in the output 30th frame, the image will be generated according to the given prompt.
39
+
40
+ ## Installation
41
+
42
+ To set up the environment and install the necessary dependencies, follow these steps:
43
+
44
+ 1. **Clone the repository:**
45
+
46
+ ```bash
47
+ git clone https://github.com/TheNetherWatcher/Vid2Vid-using-Text-prompt.git
48
+ cd Vid2Vid-using-Text-prompt
49
+ ```
50
+
51
+ 2. **Create and activate a virtual environment:**
52
+
53
+ ```bash
54
+ python -m venv venv
55
+ source venv/bin/activate # On Windows, use `venv\Scripts\activate`
56
+ ```
57
+
58
+ 3. **Install the required packages:**
59
+
60
+ ```bash
61
+ pip install -e .
62
+ pip install -e .[stylize]
63
+ ```
64
+
65
+ ## Usage
66
+
67
+ ### Model weights
68
+
69
+ - Download the model weights from the abve links or another, and put them [here](./data/models/huggingface), and for the downloaded motion modules, put them [here](data/models/motion-module)
70
+ - For the first time, you might get errors like model weights not found, just go to stylize directory and in the most recently created folder, edit the model name in the prompt.json file. Support for this is also under development.
71
+
72
+ ### Gradio App
73
+
74
+ To run the Gradio app, execute the following command:
75
+
76
+ ```bash
77
+ python app.py
78
+ ```
79
+
80
+ The gradio app provides a interface for uploading video and providing a text prompt as a input and outputs the generated video.
81
+
82
+ ### Commandline
83
+
84
+ ```bash
85
+ python test.py
86
+ ```
87
+
88
+ After running this, you will be prompted to enter the location of the video, positive prompt (the changes that you want to make in the video), and a negative prompt.
89
+ Negative prompt is set to a default value, but you can edit it if you like.
90
+
91
+ ## Upcoming Dedvelopments
92
+
93
+ - LoRA support, and controlnet(like canny, depth, edge) support
94
+ - Gradio app support for using different controlnets and LoRAs
95
+ - CLI options for controlling the execution in different system
96
+
97
+ ## Credits
98
 
99
+ - [AnimateDiff](https://github.com/guoyww/AnimateDiff)
100
+ - [Prompt Travelling using AnimateDiff](https://github.com/s9roll7/animatediff-cli-prompt-travel)
app.py ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json
2
+ import os
3
+ import asyncio
4
+ import gradio as gr
5
+
6
+ async def stylize(video):
7
+ command = f"animatediff stylize create-config {video}"
8
+ process = await asyncio.create_subprocess_shell(
9
+ command,
10
+ stdout=asyncio.subprocess.PIPE,
11
+ stderr=asyncio.subprocess.PIPE
12
+ )
13
+ stdout, stderr = await process.communicate()
14
+ if process.returncode == 0:
15
+ return stdout.decode()
16
+ else:
17
+ print(f"Error: {stderr.decode()}")
18
+
19
+ async def start_video_edit(prompt_file):
20
+ command = f"animatediff stylize generate {prompt_file}"
21
+ process = await asyncio.create_subprocess_shell(
22
+ command,
23
+ stdout=asyncio.subprocess.PIPE,
24
+ stderr=asyncio.subprocess.PIPE
25
+ )
26
+ stdout, stderr = await process.communicate()
27
+ if process.returncode == 0:
28
+ return stdout.decode()
29
+ else:
30
+ print(f"Error: {stderr.decode()}")
31
+
32
+ def edit_video(video, pos_prompt):
33
+ x = asyncio.run(stylize(video))
34
+ x = x.split("stylize.py")
35
+ config = x[18].split("config =")[-1].strip()
36
+ d = x[19].split("stylize_dir = ")[-1].strip()
37
+
38
+ with open(config, 'r+') as f:
39
+ data = json.load(f)
40
+ data['head_prompt'] = pos_prompt
41
+ data["path"] = "models/huggingface/xxmix9realistic_v40.safetensors"
42
+
43
+ os.remove(config)
44
+ with open(config, 'w') as f:
45
+ json.dump(data, f, indent=4)
46
+
47
+ out = asyncio.run(start_video_edit(d))
48
+ out = out.split("Stylized results are output to ")[-1]
49
+ out = out.split("stylize.py")[0].strip()
50
+
51
+ cwd = os.getcwd()
52
+ video_dir = cwd + "/" + out
53
+
54
+ video_extensions = {'.mp4', '.avi', '.mkv', '.mov', '.flv', '.wmv'}
55
+ video_path = None
56
+
57
+ for dirpath, dirnames, filenames in os.walk(video_dir):
58
+ for filename in filenames:
59
+ if os.path.splitext(filename)[1].lower() in video_extensions:
60
+ video_path = os.path.join(dirpath, filename)
61
+ break
62
+ if video_path:
63
+ break
64
+
65
+ return video_path
66
+
67
+ with gr.Blocks() as interface:
68
+ gr.Markdown("## Video Processor with Text Prompts")
69
+ with gr.Row():
70
+ with gr.Column():
71
+ positive_prompt = gr.Textbox(label="Positive Prompt")
72
+ video_input = gr.Video(label="Input Video")
73
+ with gr.Column():
74
+ video_output = gr.Video(label="Processed Video")
75
+
76
+ process_button = gr.Button("Process Video")
77
+ process_button.click(fn=edit_video,
78
+ inputs=[video_input, positive_prompt],
79
+ outputs=video_output
80
+ )
81
+
82
+ interface.launch(share=True)
config/GroundingDINO/GroundingDINO_SwinB_cfg.py ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ batch_size = 1
2
+ modelname = "groundingdino"
3
+ backbone = "swin_B_384_22k"
4
+ position_embedding = "sine"
5
+ pe_temperatureH = 20
6
+ pe_temperatureW = 20
7
+ return_interm_indices = [1, 2, 3]
8
+ backbone_freeze_keywords = None
9
+ enc_layers = 6
10
+ dec_layers = 6
11
+ pre_norm = False
12
+ dim_feedforward = 2048
13
+ hidden_dim = 256
14
+ dropout = 0.0
15
+ nheads = 8
16
+ num_queries = 900
17
+ query_dim = 4
18
+ num_patterns = 0
19
+ num_feature_levels = 4
20
+ enc_n_points = 4
21
+ dec_n_points = 4
22
+ two_stage_type = "standard"
23
+ two_stage_bbox_embed_share = False
24
+ two_stage_class_embed_share = False
25
+ transformer_activation = "relu"
26
+ dec_pred_bbox_embed_share = True
27
+ dn_box_noise_scale = 1.0
28
+ dn_label_noise_ratio = 0.5
29
+ dn_label_coef = 1.0
30
+ dn_bbox_coef = 1.0
31
+ embed_init_tgt = True
32
+ dn_labelbook_size = 2000
33
+ max_text_len = 256
34
+ text_encoder_type = "bert-base-uncased"
35
+ use_text_enhancer = True
36
+ use_fusion_layer = True
37
+ use_checkpoint = True
38
+ use_transformer_ckpt = True
39
+ use_text_cross_attention = True
40
+ text_dropout = 0.0
41
+ fusion_dropout = 0.0
42
+ fusion_droppath = 0.1
43
+ sub_sentence_present = True
config/GroundingDINO/GroundingDINO_SwinT_OGC.py ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ batch_size = 1
2
+ modelname = "groundingdino"
3
+ backbone = "swin_T_224_1k"
4
+ position_embedding = "sine"
5
+ pe_temperatureH = 20
6
+ pe_temperatureW = 20
7
+ return_interm_indices = [1, 2, 3]
8
+ backbone_freeze_keywords = None
9
+ enc_layers = 6
10
+ dec_layers = 6
11
+ pre_norm = False
12
+ dim_feedforward = 2048
13
+ hidden_dim = 256
14
+ dropout = 0.0
15
+ nheads = 8
16
+ num_queries = 900
17
+ query_dim = 4
18
+ num_patterns = 0
19
+ num_feature_levels = 4
20
+ enc_n_points = 4
21
+ dec_n_points = 4
22
+ two_stage_type = "standard"
23
+ two_stage_bbox_embed_share = False
24
+ two_stage_class_embed_share = False
25
+ transformer_activation = "relu"
26
+ dec_pred_bbox_embed_share = True
27
+ dn_box_noise_scale = 1.0
28
+ dn_label_noise_ratio = 0.5
29
+ dn_label_coef = 1.0
30
+ dn_bbox_coef = 1.0
31
+ embed_init_tgt = True
32
+ dn_labelbook_size = 2000
33
+ max_text_len = 256
34
+ text_encoder_type = "bert-base-uncased"
35
+ use_text_enhancer = True
36
+ use_fusion_layer = True
37
+ use_checkpoint = True
38
+ use_transformer_ckpt = True
39
+ use_text_cross_attention = True
40
+ text_dropout = 0.0
41
+ fusion_dropout = 0.0
42
+ fusion_droppath = 0.1
43
+ sub_sentence_present = True
config/inference/default.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "unet_additional_kwargs": {
3
+ "unet_use_cross_frame_attention": false,
4
+ "unet_use_temporal_attention": false,
5
+ "use_motion_module": true,
6
+ "motion_module_resolutions": [1, 2, 4, 8],
7
+ "motion_module_mid_block": false,
8
+ "motion_module_decoder_only": false,
9
+ "motion_module_type": "Vanilla",
10
+ "motion_module_kwargs": {
11
+ "num_attention_heads": 8,
12
+ "num_transformer_block": 1,
13
+ "attention_block_types": ["Temporal_Self", "Temporal_Self"],
14
+ "temporal_position_encoding": true,
15
+ "temporal_position_encoding_max_len": 24,
16
+ "temporal_attention_dim_div": 1
17
+ }
18
+ },
19
+ "noise_scheduler_kwargs": {
20
+ "num_train_timesteps": 1000,
21
+ "beta_start": 0.00085,
22
+ "beta_end": 0.012,
23
+ "beta_schedule": "linear",
24
+ "steps_offset": 1,
25
+ "clip_sample": false
26
+ }
27
+ }
config/inference/motion_sdxl.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "unet_additional_kwargs": {
3
+ "unet_use_temporal_attention": false,
4
+ "use_motion_module": true,
5
+ "motion_module_resolutions": [1, 2, 4, 8],
6
+ "motion_module_mid_block": false,
7
+ "motion_module_type": "Vanilla",
8
+ "motion_module_kwargs": {
9
+ "num_attention_heads": 8,
10
+ "num_transformer_block": 1,
11
+ "attention_block_types": ["Temporal_Self", "Temporal_Self"],
12
+ "temporal_position_encoding": true,
13
+ "temporal_position_encoding_max_len": 32,
14
+ "temporal_attention_dim_div": 1
15
+ }
16
+ },
17
+ "noise_scheduler_kwargs": {
18
+ "num_train_timesteps": 1000,
19
+ "beta_start": 0.00085,
20
+ "beta_end": 0.020,
21
+ "beta_schedule": "scaled_linear"
22
+ }
23
+ }
config/inference/motion_v2.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "unet_additional_kwargs": {
3
+ "use_inflated_groupnorm": true,
4
+ "unet_use_cross_frame_attention": false,
5
+ "unet_use_temporal_attention": false,
6
+ "use_motion_module": true,
7
+ "motion_module_resolutions": [1, 2, 4, 8],
8
+ "motion_module_mid_block": true,
9
+ "motion_module_decoder_only": false,
10
+ "motion_module_type": "Vanilla",
11
+ "motion_module_kwargs": {
12
+ "num_attention_heads": 8,
13
+ "num_transformer_block": 1,
14
+ "attention_block_types": ["Temporal_Self", "Temporal_Self"],
15
+ "temporal_position_encoding": true,
16
+ "temporal_position_encoding_max_len": 32,
17
+ "temporal_attention_dim_div": 1
18
+ }
19
+ },
20
+ "noise_scheduler_kwargs": {
21
+ "num_train_timesteps": 1000,
22
+ "beta_start": 0.00085,
23
+ "beta_end": 0.012,
24
+ "beta_schedule": "linear",
25
+ "steps_offset": 1,
26
+ "clip_sample": false
27
+ }
28
+ }
config/inference/sd15-unet.json ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_size": 64,
3
+ "in_channels": 4,
4
+ "out_channels": 4,
5
+ "center_input_sample": false,
6
+ "flip_sin_to_cos": true,
7
+ "freq_shift": 0,
8
+ "down_block_types": [
9
+ "CrossAttnDownBlock2D",
10
+ "CrossAttnDownBlock2D",
11
+ "CrossAttnDownBlock2D",
12
+ "DownBlock2D"
13
+ ],
14
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
15
+ "up_block_types": [
16
+ "UpBlock2D",
17
+ "CrossAttnUpBlock2D",
18
+ "CrossAttnUpBlock2D",
19
+ "CrossAttnUpBlock2D"
20
+ ],
21
+ "only_cross_attention": false,
22
+ "block_out_channels": [320, 640, 1280, 1280],
23
+ "layers_per_block": 2,
24
+ "downsample_padding": 1,
25
+ "mid_block_scale_factor": 1,
26
+ "act_fn": "silu",
27
+ "norm_num_groups": 32,
28
+ "norm_eps": 1e-5,
29
+ "cross_attention_dim": 768,
30
+ "transformer_layers_per_block": 1,
31
+ "encoder_hid_dim": null,
32
+ "encoder_hid_dim_type": null,
33
+ "attention_head_dim": 8,
34
+ "num_attention_heads": null,
35
+ "dual_cross_attention": false,
36
+ "use_linear_projection": false,
37
+ "class_embed_type": null,
38
+ "addition_embed_type": null,
39
+ "addition_time_embed_dim": null,
40
+ "num_class_embeds": null,
41
+ "upcast_attention": false,
42
+ "resnet_time_scale_shift": "default",
43
+ "resnet_skip_time_act": false,
44
+ "resnet_out_scale_factor": 1.0,
45
+ "time_embedding_type": "positional",
46
+ "time_embedding_dim": null,
47
+ "time_embedding_act_fn": null,
48
+ "timestep_post_act": null,
49
+ "time_cond_proj_dim": null,
50
+ "conv_in_kernel": 3,
51
+ "conv_out_kernel": 3,
52
+ "projection_class_embeddings_input_dim": null,
53
+ "class_embeddings_concat": false,
54
+ "mid_block_only_cross_attention": null,
55
+ "cross_attention_norm": null,
56
+ "addition_embed_type_num_heads": 64,
57
+ "_use_default_values": [
58
+ "transformer_layers_per_block",
59
+ "use_linear_projection",
60
+ "num_class_embeds",
61
+ "addition_embed_type",
62
+ "cross_attention_norm",
63
+ "conv_out_kernel",
64
+ "encoder_hid_dim_type",
65
+ "projection_class_embeddings_input_dim",
66
+ "num_attention_heads",
67
+ "only_cross_attention",
68
+ "class_embed_type",
69
+ "resnet_time_scale_shift",
70
+ "addition_embed_type_num_heads",
71
+ "timestep_post_act",
72
+ "mid_block_type",
73
+ "mid_block_only_cross_attention",
74
+ "time_embedding_type",
75
+ "addition_time_embed_dim",
76
+ "time_embedding_dim",
77
+ "encoder_hid_dim",
78
+ "resnet_skip_time_act",
79
+ "conv_in_kernel",
80
+ "upcast_attention",
81
+ "dual_cross_attention",
82
+ "resnet_out_scale_factor",
83
+ "time_cond_proj_dim",
84
+ "class_embeddings_concat",
85
+ "time_embedding_act_fn"
86
+ ],
87
+ "_class_name": "UNet2DConditionModel",
88
+ "_diffusers_version": "0.6.0"
89
+ }
config/inference/sd15-unet3d.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_size": 64,
3
+ "in_channels": 4,
4
+ "out_channels": 4,
5
+ "center_input_sample": false,
6
+ "flip_sin_to_cos": true,
7
+ "freq_shift": 0,
8
+ "down_block_types": [
9
+ "CrossAttnDownBlock3D",
10
+ "CrossAttnDownBlock3D",
11
+ "CrossAttnDownBlock3D",
12
+ "DownBlock3D"
13
+ ],
14
+ "mid_block_type": "UNetMidBlock3DCrossAttn",
15
+ "up_block_types": [
16
+ "UpBlock3D",
17
+ "CrossAttnUpBlock3D",
18
+ "CrossAttnUpBlock3D",
19
+ "CrossAttnUpBlock3D"
20
+ ],
21
+ "only_cross_attention": false,
22
+ "block_out_channels": [320, 640, 1280, 1280],
23
+ "layers_per_block": 2,
24
+ "downsample_padding": 1,
25
+ "mid_block_scale_factor": 1,
26
+ "act_fn": "silu",
27
+ "norm_num_groups": 32,
28
+ "norm_eps": 1e-5,
29
+ "cross_attention_dim": 768,
30
+ "attention_head_dim": 8,
31
+ "dual_cross_attention": false,
32
+ "use_linear_projection": false,
33
+ "class_embed_type": null,
34
+ "num_class_embeds": null,
35
+ "upcast_attention": false,
36
+ "resnet_time_scale_shift": "default",
37
+ "use_motion_module": true,
38
+ "motion_module_resolutions": [1, 2, 4, 8],
39
+ "motion_module_mid_block": false,
40
+ "motion_module_decoder_only": false,
41
+ "motion_module_type": "Vanilla",
42
+ "motion_module_kwargs": {
43
+ "num_attention_heads": 8,
44
+ "num_transformer_block": 1,
45
+ "attention_block_types": ["Temporal_Self", "Temporal_Self"],
46
+ "temporal_position_encoding": true,
47
+ "temporal_position_encoding_max_len": 24,
48
+ "temporal_attention_dim_div": 1
49
+ },
50
+ "unet_use_cross_frame_attention": false,
51
+ "unet_use_temporal_attention": false,
52
+ "_use_default_values": [
53
+ "use_linear_projection",
54
+ "mid_block_type",
55
+ "upcast_attention",
56
+ "dual_cross_attention",
57
+ "num_class_embeds",
58
+ "only_cross_attention",
59
+ "class_embed_type",
60
+ "resnet_time_scale_shift"
61
+ ],
62
+ "_class_name": "UNet3DConditionModel",
63
+ "_diffusers_version": "0.6.0"
64
+ }
config/prompts/01-ToonYou.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "ToonYou",
3
+ "base": "",
4
+ "path": "models/sd/toonyou_beta3.safetensors",
5
+ "motion_module": "models/motion-module/mm_sd_v15.ckpt",
6
+ "compile": false,
7
+ "seed": [
8
+ 10788741199826055000, 6520604954829637000, 6519455744612556000,
9
+ 16372571278361864000
10
+ ],
11
+ "scheduler": "k_dpmpp",
12
+ "steps": 30,
13
+ "guidance_scale": 8.5,
14
+ "clip_skip": 2,
15
+ "prompt": [
16
+ "1girl, solo, best quality, masterpiece, looking at viewer, purple hair, orange hair, gradient hair, blurry background, upper body, dress, flower print, spaghetti strap, bare shoulders",
17
+ "1girl, solo, masterpiece, best quality, cherry blossoms, hanami, pink flower, white flower, spring season, wisteria, petals, flower, plum blossoms, outdoors, falling petals, white hair, black eyes,",
18
+ "1girl, solo, best quality, masterpiece, looking at viewer, purple hair, orange hair, gradient hair, blurry background, upper body, dress, flower print, spaghetti strap, bare shoulders",
19
+ "1girl, solo, best quality, masterpiece, cloudy sky, dandelion, contrapposto, alternate hairstyle"
20
+ ],
21
+ "n_prompt": [
22
+ "worst quality, low quality, cropped, lowres, text, jpeg artifacts, multiple view"
23
+ ]
24
+ }
config/prompts/02-Lyriel.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "Lyriel",
3
+ "base": "",
4
+ "path": "models/sd/lyriel_v16.safetensors",
5
+ "motion_module": "models/motion-module/mm_sd_v15.ckpt",
6
+ "seed": [
7
+ 10917152860782582000, 6399018107401806000, 15875751942533906000,
8
+ 6653196880059937000
9
+ ],
10
+ "scheduler": "k_dpmpp",
11
+ "steps": 25,
12
+ "guidance_scale": 7.5,
13
+ "prompt": [
14
+ "dark shot, epic realistic, portrait of halo, sunglasses, blue eyes, tartan scarf, white hair by atey ghailan, by greg rutkowski, by greg tocchini, by james gilleard, by joe fenton, by kaethe butcher, gradient yellow, black, brown and magenta color scheme, grunge aesthetic!!! graffiti tag wall background, art by greg rutkowski and artgerm, soft cinematic light, adobe lightroom, photolab, hdr, intricate, highly detailed, depth of field, faded, neutral colors, hdr, muted colors, hyperdetailed, artstation, cinematic, warm lights, dramatic light, intricate details, complex background, rutkowski, teal and orange",
15
+ "A forbidden castle high up in the mountains, pixel art, intricate details2, hdr, intricate details, hyperdetailed5, natural skin texture, hyperrealism, soft light, sharp, game art, key visual, surreal",
16
+ "dark theme, medieval portrait of a man sharp features, grim, cold stare, dark colors, Volumetric lighting, baroque oil painting by Greg Rutkowski, Artgerm, WLOP, Alphonse Mucha dynamic lighting hyperdetailed intricately detailed, hdr, muted colors, complex background, hyperrealism, hyperdetailed, amandine van ray",
17
+ "As I have gone alone in there and with my treasures bold, I can keep my secret where and hint of riches new and old. Begin it where warm waters halt and take it in a canyon down, not far but too far to walk, put in below the home of brown."
18
+ ],
19
+ "n_prompt": [
20
+ "3d, cartoon, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, artist name, young, loli, elf, 3d, illustration",
21
+ "3d, cartoon, anime, sketches, worst quality, low quality, normal quality, lowres, normal quality, monochrome, grayscale, skin spots, acnes, skin blemishes, bad anatomy, girl, loli, young, large breasts, red eyes, muscular",
22
+ "dof, grayscale, black and white, bw, 3d, cartoon, anime, sketches, worst quality, low quality, normal quality, lowres, normal quality, monochrome, grayscale, skin spots, acnes, skin blemishes, bad anatomy, girl, loli, young, large breasts, red eyes, muscular,badhandsv5-neg, By bad artist -neg 1, monochrome",
23
+ "holding an item, cowboy, hat, cartoon, 3d, disfigured, bad art, deformed,extra limbs,close up,b&w, wierd colors, blurry, duplicate, morbid, mutilated, [out of frame], extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, ugly, blurry, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, out of frame, ugly, extra limbs, bad anatomy, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, mutated hands, fused fingers, too many fingers, long neck, Photoshop, video game, ugly, tiling, poorly drawn hands, poorly drawn feet, poorly drawn face, out of frame, mutation, mutated, extra limbs, extra legs, extra arms, disfigured, deformed, cross-eye, body out of frame, blurry, bad art, bad anatomy, 3d render"
24
+ ]
25
+ }
config/prompts/03-RcnzCartoon.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "RcnzCartoon",
3
+ "base": "",
4
+ "path": "models/sd/rcnzCartoon3d_v10.safetensors",
5
+ "motion_module": "models/motion-module/mm_sd_v15.ckpt",
6
+ "seed": [
7
+ 16931037867122268000, 2094308009433392000, 4292543217695451000,
8
+ 15572665120852310000
9
+ ],
10
+ "scheduler": "k_dpmpp",
11
+ "steps": 25,
12
+ "guidance_scale": 7.5,
13
+ "prompt": [
14
+ "Jane Eyre with headphones, natural skin texture,4mm,k textures, soft cinematic light, adobe lightroom, photolab, hdr, intricate, elegant, highly detailed, sharp focus, cinematic look, soothing tones, insane details, intricate details, hyperdetailed, low contrast, soft cinematic light, dim colors, exposure blend, hdr, faded",
15
+ "close up Portrait photo of muscular bearded guy in a worn mech suit, light bokeh, intricate, steel metal [rust], elegant, sharp focus, photo by greg rutkowski, soft lighting, vibrant colors, masterpiece, streets, detailed face",
16
+ "absurdres, photorealistic, masterpiece, a 30 year old man with gold framed, aviator reading glasses and a black hooded jacket and a beard, professional photo, a character portrait, altermodern, detailed eyes, detailed lips, detailed face, grey eyes",
17
+ "a golden labrador, warm vibrant colours, natural lighting, dappled lighting, diffused lighting, absurdres, highres,k, uhd, hdr, rtx, unreal, octane render, RAW photo, photorealistic, global illumination, subsurface scattering"
18
+ ],
19
+ "n_prompt": [
20
+ "deformed, distorted, disfigured, poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, mutated hands and fingers, disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation",
21
+ "nude, cross eyed, tongue, open mouth, inside, 3d, cartoon, anime, sketches, worst quality, low quality, normal quality, lowres, normal quality, monochrome, grayscale, skin spots, acnes, skin blemishes, bad anatomy, red eyes, muscular",
22
+ "easynegative, cartoon, anime, sketches, necklace, earrings worst quality, low quality, normal quality, bad anatomy, bad hands, shiny skin, error, missing fingers, extra digit, fewer digits, jpeg artifacts, signature, watermark, username, blurry, chubby, anorectic, bad eyes, old, wrinkled skin, red skin, photograph By bad artist -neg, big eyes, muscular face,",
23
+ "beard, EasyNegative, lowres, chromatic aberration, depth of field, motion blur, blurry, bokeh, bad quality, worst quality, multiple arms, badhand"
24
+ ]
25
+ }
config/prompts/04-MajicMix.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "MajicMix",
3
+ "base": "",
4
+ "path": "models/sd/majicmixRealistic_v5Preview.safetensors",
5
+ "motion_module": "models/motion-module/mm_sd_v15.ckpt",
6
+ "seed": [
7
+ 1572448948722921000, 1099474677988590700, 6488833139725636000,
8
+ 18339859844376519000
9
+ ],
10
+ "scheduler": "k_dpmpp",
11
+ "steps": 25,
12
+ "guidance_scale": 7.5,
13
+ "prompt": [
14
+ "1girl, offshoulder, light smile, shiny skin best quality, masterpiece, photorealistic",
15
+ "best quality, masterpiece, photorealistic, 1boy, 50 years old beard, dramatic lighting",
16
+ "best quality, masterpiece, photorealistic, 1girl, light smile, shirt with collars, waist up, dramatic lighting, from below",
17
+ "male, man, beard, bodybuilder, skinhead,cold face, tough guy, cowboyshot, tattoo, french windows, luxury hotel masterpiece, best quality, photorealistic"
18
+ ],
19
+ "n_prompt": [
20
+ "ng_deepnegative_v1_75t, badhandv4, worst quality, low quality, normal quality, lowres, bad anatomy, bad hands, watermark, moles",
21
+ "nsfw, ng_deepnegative_v1_75t,badhandv4, worst quality, low quality, normal quality, lowres,watermark, monochrome",
22
+ "nsfw, ng_deepnegative_v1_75t,badhandv4, worst quality, low quality, normal quality, lowres,watermark, monochrome",
23
+ "nude, nsfw, ng_deepnegative_v1_75t, badhandv4, worst quality, low quality, normal quality, lowres, bad anatomy, bad hands, monochrome, grayscale watermark, moles, people"
24
+ ]
25
+ }
config/prompts/05-RealisticVision.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "RealisticVision",
3
+ "base": "",
4
+ "path": "models/sd/realisticVisionV20_v20.safetensors",
5
+ "motion_module": "models/motion-module/mm_sd_v15.ckpt",
6
+ "seed": [
7
+ 5658137986800322000, 12099779162349365000, 10499524853910854000,
8
+ 16768009035333712000
9
+ ],
10
+ "scheduler": "k_dpmpp",
11
+ "steps": 25,
12
+ "guidance_scale": 7.5,
13
+ "prompt": [
14
+ "b&w photo of 42 y.o man in black clothes, bald, face, half body, body, high detailed skin, skin pores, coastline, overcast weather, wind, waves, 8k uhd, dslr, soft lighting, high quality, film grain, Fujifilm XT3",
15
+ "close up photo of a rabbit, forest, haze, halation, bloom, dramatic atmosphere, centred, rule of thirds, 200mm 1.4f macro shot",
16
+ "photo of coastline, rocks, storm weather, wind, waves, lightning, 8k uhd, dslr, soft lighting, high quality, film grain, Fujifilm XT3",
17
+ "night, b&w photo of old house, post apocalypse, forest, storm weather, wind, rocks, 8k uhd, dslr, soft lighting, high quality, film grain"
18
+ ],
19
+ "n_prompt": [
20
+ "semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime, text, close up, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck",
21
+ "semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime, text, close up, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck",
22
+ "blur, haze, deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime, mutated hands and fingers, deformed, distorted, disfigured, poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, disconnected limbs, mutation, mutated, ugly, disgusting, amputation",
23
+ "blur, haze, deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime, art, mutated hands and fingers, deformed, distorted, disfigured, poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, disconnected limbs, mutation, mutated, ugly, disgusting, amputation"
24
+ ]
25
+ }
config/prompts/06-Tusun.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "Tusun",
3
+ "base": "models/sd/moonfilm_reality20.safetensors",
4
+ "path": "models/sd/TUSUN.safetensors",
5
+ "motion_module": "models/motion-module/mm_sd_v15.ckpt",
6
+ "seed": [
7
+ 10154078483724687000, 2664393535095473700, 4231566096207623000,
8
+ 1713349740448094500
9
+ ],
10
+ "scheduler": "k_dpmpp",
11
+ "steps": 25,
12
+ "guidance_scale": 7.5,
13
+ "lora_alpha": 0.6,
14
+ "prompt": [
15
+ "tusuncub with its mouth open, blurry, open mouth, fangs, photo background, looking at viewer, tongue, full body, solo, cute and lovely, Beautiful and realistic eye details, perfect anatomy, Nonsense, pure background, Centered-Shot, realistic photo, photograph, 4k, hyper detailed, DSLR, 24 Megapixels, 8mm Lens, Full Frame, film grain, Global Illumination, studio Lighting, Award Winning Photography, diffuse reflection, ray tracing",
16
+ "cute tusun with a blurry background, black background, simple background, signature, face, solo, cute and lovely, Beautiful and realistic eye details, perfect anatomy, Nonsense, pure background, Centered-Shot, realistic photo, photograph, 4k, hyper detailed, DSLR, 24 Megapixels, 8mm Lens, Full Frame, film grain, Global Illumination, studio Lighting, Award Winning Photography, diffuse reflection, ray tracing",
17
+ "cut tusuncub walking in the snow, blurry, looking at viewer, depth of field, blurry background, full body, solo, cute and lovely, Beautiful and realistic eye details, perfect anatomy, Nonsense, pure background, Centered-Shot, realistic photo, photograph, 4k, hyper detailed, DSLR, 24 Megapixels, 8mm Lens, Full Frame, film grain, Global Illumination, studio Lighting, Award Winning Photography, diffuse reflection, ray tracing",
18
+ "character design, cyberpunk tusun kitten wearing astronaut suit, sci-fic, realistic eye color and details, fluffy, big head, science fiction, communist ideology, Cyborg, fantasy, intense angle, soft lighting, photograph, 4k, hyper detailed, portrait wallpaper, realistic, photo-realistic, DSLR, 24 Megapixels, Full Frame, vibrant details, octane render, finely detail, best quality, incredibly absurdres, robotic parts, rim light, vibrant details, luxurious cyberpunk, hyperrealistic, cable electric wires, microchip, full body"
19
+ ],
20
+ "n_prompt": [
21
+ "worst quality, low quality, deformed, distorted, disfigured, bad eyes, bad anatomy, disconnected limbs, wrong body proportions, low quality, worst quality, text, watermark, signatre, logo, illustration, painting, cartoons, ugly, easy_negative"
22
+ ]
23
+ }
config/prompts/07-FilmVelvia.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "FilmVelvia",
3
+ "base": "models/sd/majicmixRealistic_v4.safetensors",
4
+ "path": "models/sd/FilmVelvia2.safetensors",
5
+ "motion_module": "models/motion-module/mm_sd_v15.ckpt",
6
+ "seed": [
7
+ 358675358833372800, 3519455280971924000, 11684545350557985000,
8
+ 8696855302100400000
9
+ ],
10
+ "scheduler": "k_dpmpp",
11
+ "steps": 25,
12
+ "guidance_scale": 7.5,
13
+ "lora_alpha": 0.6,
14
+ "prompt": [
15
+ "a woman standing on the side of a road at night,girl, long hair, motor vehicle, car, looking at viewer, ground vehicle, night, hands in pockets, blurry background, coat, black hair, parted lips, bokeh, jacket, brown hair, outdoors, red lips, upper body, artist name",
16
+ ", dark shot,0mm, portrait quality of a arab man worker,boy, wasteland that stands out vividly against the background of the desert, barren landscape, closeup, moles skin, soft light, sharp, exposure blend, medium shot, bokeh, hdr, high contrast, cinematic, teal and orange5, muted colors, dim colors, soothing tones, low saturation, hyperdetailed, noir",
17
+ "fashion photography portrait of 1girl, offshoulder, fluffy short hair, soft light, rim light, beautiful shadow, low key, photorealistic, raw photo, natural skin texture, realistic eye and face details, hyperrealism, ultra high res, 4K, Best quality, masterpiece, necklace, cleavage, in the dark",
18
+ "In this lighthearted portrait, a woman is dressed as a fierce warrior, armed with an arsenal of paintbrushes and palette knives. Her war paint is composed of thick, vibrant strokes of color, and her armor is made of paint tubes and paint-splattered canvases. She stands victoriously atop a mountain of conquered blank canvases, with a beautiful, colorful landscape behind her, symbolizing the power of art and creativity. bust Portrait, close-up, Bright and transparent scene lighting, "
19
+ ],
20
+ "n_prompt": [
21
+ "cartoon, anime, sketches,worst quality, low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy, wrong anatomy, amputation, extra limb, missing limb, floating limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg",
22
+ "cartoon, anime, sketches,worst quality, low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy, wrong anatomy, amputation, extra limb, missing limb, floating limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg",
23
+ "wrong white balance, dark, cartoon, anime, sketches,worst quality, low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy, wrong anatomy, amputation, extra limb, missing limb, floating limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg",
24
+ "wrong white balance, dark, cartoon, anime, sketches,worst quality, low quality, deformed, distorted, disfigured, bad eyes, wrong lips, weird mouth, bad teeth, mutated hands and fingers, bad anatomy, wrong anatomy, amputation, extra limb, missing limb, floating limbs, disconnected limbs, mutation, ugly, disgusting, bad_pictures, negative_hand-neg"
25
+ ]
26
+ }
config/prompts/08-GhibliBackground.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "GhibliBackground",
3
+ "base": "models/sd/CounterfeitV30_25.safetensors",
4
+ "path": "models/sd/lora_Ghibli_n3.safetensors",
5
+ "motion_module": "models/motion-module/mm_sd_v15.ckpt",
6
+ "seed": [
7
+ 8775748474469046000, 5893874876080607000, 11911465742147697000,
8
+ 12437784838692000000
9
+ ],
10
+ "scheduler": "k_dpmpp",
11
+ "steps": 25,
12
+ "guidance_scale": 7.5,
13
+ "lora_alpha": 1,
14
+ "prompt": [
15
+ "best quality,single build,architecture, blue_sky, building,cloudy_sky, day, fantasy, fence, field, house, build,architecture,landscape, moss, outdoors, overgrown, path, river, road, rock, scenery, sky, sword, tower, tree, waterfall",
16
+ "black_border, building, city, day, fantasy, ice, landscape, letterboxed, mountain, ocean, outdoors, planet, scenery, ship, snow, snowing, water, watercraft, waterfall, winter",
17
+ ",mysterious sea area, fantasy,build,concept",
18
+ "Tomb Raider,Scenography,Old building"
19
+ ],
20
+ "n_prompt": [
21
+ "easynegative,bad_construction,bad_structure,bad_wail,bad_windows,blurry,cloned_window,cropped,deformed,disfigured,error,extra_windows,extra_chimney,extra_door,extra_structure,extra_frame,fewer_digits,fused_structure,gross_proportions,jpeg_artifacts,long_roof,low_quality,structure_limbs,missing_windows,missing_doors,missing_roofs,mutated_structure,mutation,normal_quality,out_of_frame,owres,poorly_drawn_structure,poorly_drawn_house,signature,text,too_many_windows,ugly,username,uta,watermark,worst_quality"
22
+ ]
23
+ }
config/prompts/concat_2horizontal.bat ADDED
@@ -0,0 +1 @@
 
 
1
+ ffmpeg -i %1 -i %2 -filter_complex "[0:v][1:v]hstack=inputs=2[v]" -map "[v]" -crf 15 2horizontal.mp4
config/prompts/copy_png.bat ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ setlocal enableDelayedExpansion
3
+ FOR /l %%N in (1,1,%~n1) do (
4
+ set "n=00000%%N"
5
+ set "TEST=!n:~-5!
6
+ echo !TEST!
7
+ copy /y %1 !TEST!.png
8
+ )
9
+
10
+ ren %1 00000.png
11
+
config/prompts/ignore_tokens.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ motion_blur
2
+ blurry
3
+ realistic
4
+ depth_of_field
config/prompts/img2img_sample.json ADDED
@@ -0,0 +1,272 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "sample",
3
+ "path": "share/Stable-diffusion/mistoonAnime_v20.safetensors",
4
+ "motion_module": "models/motion-module/mm_sd_v15_v2.ckpt",
5
+ "compile": false,
6
+ "seed": [
7
+ 12345
8
+ ],
9
+ "scheduler": "k_dpmpp_sde",
10
+ "steps": 20,
11
+ "guidance_scale": 10,
12
+ "unet_batch_size": 1,
13
+ "clip_skip": 2,
14
+ "prompt_fixed_ratio": 0.5,
15
+ "head_prompt": "(style of studio ghibli:1.2), (masterpiece, best quality)",
16
+ "prompt_map": {
17
+ "0": "forest, water, river, outdoors,"
18
+ },
19
+ "tail_prompt": "",
20
+ "n_prompt": [
21
+ "(worst quality:2), (bad quality:2), (normal quality:2), lowers, bad anatomy, bad hands, (multiple views),"
22
+ ],
23
+ "lora_map": {
24
+ "share/models/Lora/Ghibli_v6.safetensors": 1.0
25
+ },
26
+ "motion_lora_map": {
27
+ },
28
+ "ip_adapter_map": {
29
+ "enable": false,
30
+ "input_image_dir": "",
31
+ "prompt_fixed_ratio": 0.5,
32
+ "save_input_image": true,
33
+ "resized_to_square": false,
34
+ "scale": 0.5,
35
+ "is_plus_face": false,
36
+ "is_plus": true,
37
+ "is_light": false
38
+ },
39
+ "img2img_map":{
40
+ "enable": true,
41
+ "init_img_dir" : "init_imgs/sample0",
42
+ "save_init_image": true,
43
+ "denoising_strength" : 0.85
44
+ },
45
+ "controlnet_map": {
46
+ "input_image_dir" : "",
47
+ "max_samples_on_vram": 0,
48
+ "max_models_on_vram" : 1,
49
+ "save_detectmap": true,
50
+ "preprocess_on_gpu": true,
51
+ "is_loop": true,
52
+
53
+ "controlnet_tile":{
54
+ "enable": true,
55
+ "use_preprocessor":true,
56
+ "preprocessor":{
57
+ "type" : "none",
58
+ "param":{
59
+ }
60
+ },
61
+ "guess_mode":false,
62
+ "controlnet_conditioning_scale": 1.0,
63
+ "control_guidance_start": 0.0,
64
+ "control_guidance_end": 1.0,
65
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
66
+ },
67
+ "controlnet_ip2p":{
68
+ "enable": true,
69
+ "use_preprocessor":true,
70
+ "guess_mode":false,
71
+ "controlnet_conditioning_scale": 1.0,
72
+ "control_guidance_start": 0.0,
73
+ "control_guidance_end": 1.0,
74
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
75
+ },
76
+ "controlnet_lineart_anime":{
77
+ "enable": true,
78
+ "use_preprocessor":true,
79
+ "guess_mode":false,
80
+ "controlnet_conditioning_scale": 1.0,
81
+ "control_guidance_start": 0.0,
82
+ "control_guidance_end": 1.0,
83
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
84
+ },
85
+ "controlnet_openpose":{
86
+ "enable": true,
87
+ "use_preprocessor":true,
88
+ "guess_mode":false,
89
+ "controlnet_conditioning_scale": 1.0,
90
+ "control_guidance_start": 0.0,
91
+ "control_guidance_end": 1.0,
92
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
93
+ },
94
+ "controlnet_softedge":{
95
+ "enable": true,
96
+ "use_preprocessor":true,
97
+ "preprocessor":{
98
+ "type" : "softedge_pidsafe",
99
+ "param":{
100
+ }
101
+ },
102
+ "guess_mode":false,
103
+ "controlnet_conditioning_scale": 1.0,
104
+ "control_guidance_start": 0.0,
105
+ "control_guidance_end": 1.0,
106
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
107
+ },
108
+ "controlnet_shuffle": {
109
+ "enable": true,
110
+ "use_preprocessor":true,
111
+ "guess_mode":false,
112
+ "controlnet_conditioning_scale": 1.0,
113
+ "control_guidance_start": 0.0,
114
+ "control_guidance_end": 1.0,
115
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
116
+ },
117
+ "controlnet_depth": {
118
+ "enable": true,
119
+ "use_preprocessor":true,
120
+ "guess_mode":false,
121
+ "controlnet_conditioning_scale": 1.0,
122
+ "control_guidance_start": 0.0,
123
+ "control_guidance_end": 1.0,
124
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
125
+ },
126
+ "controlnet_canny": {
127
+ "enable": true,
128
+ "use_preprocessor":true,
129
+ "guess_mode":false,
130
+ "controlnet_conditioning_scale": 1.0,
131
+ "control_guidance_start": 0.0,
132
+ "control_guidance_end": 1.0,
133
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
134
+ },
135
+ "controlnet_inpaint": {
136
+ "enable": true,
137
+ "use_preprocessor":true,
138
+ "guess_mode":false,
139
+ "controlnet_conditioning_scale": 1.0,
140
+ "control_guidance_start": 0.0,
141
+ "control_guidance_end": 1.0,
142
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
143
+ },
144
+ "controlnet_lineart": {
145
+ "enable": true,
146
+ "use_preprocessor":true,
147
+ "guess_mode":false,
148
+ "controlnet_conditioning_scale": 1.0,
149
+ "control_guidance_start": 0.0,
150
+ "control_guidance_end": 1.0,
151
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
152
+ },
153
+ "controlnet_mlsd": {
154
+ "enable": true,
155
+ "use_preprocessor":true,
156
+ "guess_mode":false,
157
+ "controlnet_conditioning_scale": 1.0,
158
+ "control_guidance_start": 0.0,
159
+ "control_guidance_end": 1.0,
160
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
161
+ },
162
+ "controlnet_normalbae": {
163
+ "enable": true,
164
+ "use_preprocessor":true,
165
+ "guess_mode":false,
166
+ "controlnet_conditioning_scale": 1.0,
167
+ "control_guidance_start": 0.0,
168
+ "control_guidance_end": 1.0,
169
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
170
+ },
171
+ "controlnet_scribble": {
172
+ "enable": true,
173
+ "use_preprocessor":true,
174
+ "guess_mode":false,
175
+ "controlnet_conditioning_scale": 1.0,
176
+ "control_guidance_start": 0.0,
177
+ "control_guidance_end": 1.0,
178
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
179
+ },
180
+ "controlnet_seg": {
181
+ "enable": true,
182
+ "use_preprocessor":true,
183
+ "guess_mode":false,
184
+ "controlnet_conditioning_scale": 1.0,
185
+ "control_guidance_start": 0.0,
186
+ "control_guidance_end": 1.0,
187
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
188
+ },
189
+ "qr_code_monster_v1": {
190
+ "enable": true,
191
+ "use_preprocessor":true,
192
+ "guess_mode":false,
193
+ "controlnet_conditioning_scale": 1.0,
194
+ "control_guidance_start": 0.0,
195
+ "control_guidance_end": 1.0,
196
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
197
+ },
198
+ "qr_code_monster_v2": {
199
+ "enable": true,
200
+ "use_preprocessor":true,
201
+ "guess_mode":false,
202
+ "controlnet_conditioning_scale": 1.0,
203
+ "control_guidance_start": 0.0,
204
+ "control_guidance_end": 1.0,
205
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
206
+ },
207
+ "controlnet_mediapipe_face": {
208
+ "enable": true,
209
+ "use_preprocessor":true,
210
+ "guess_mode":false,
211
+ "controlnet_conditioning_scale": 1.0,
212
+ "control_guidance_start": 0.0,
213
+ "control_guidance_end": 1.0,
214
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
215
+ },
216
+ "controlnet_ref": {
217
+ "enable": false,
218
+ "ref_image": "ref_image/ref_sample.png",
219
+ "attention_auto_machine_weight": 0.3,
220
+ "gn_auto_machine_weight": 0.3,
221
+ "style_fidelity": 0.5,
222
+ "reference_attn": true,
223
+ "reference_adain": false,
224
+ "scale_pattern":[1.0]
225
+ }
226
+ },
227
+ "upscale_config": {
228
+ "scheduler": "k_dpmpp_sde",
229
+ "steps": 20,
230
+ "strength": 0.5,
231
+ "guidance_scale": 10,
232
+ "controlnet_tile": {
233
+ "enable": true,
234
+ "controlnet_conditioning_scale": 1.0,
235
+ "guess_mode": false,
236
+ "control_guidance_start": 0.0,
237
+ "control_guidance_end": 1.0
238
+ },
239
+ "controlnet_line_anime": {
240
+ "enable": false,
241
+ "controlnet_conditioning_scale": 1.0,
242
+ "guess_mode": false,
243
+ "control_guidance_start": 0.0,
244
+ "control_guidance_end": 1.0
245
+ },
246
+ "controlnet_ip2p": {
247
+ "enable": false,
248
+ "controlnet_conditioning_scale": 0.5,
249
+ "guess_mode": false,
250
+ "control_guidance_start": 0.0,
251
+ "control_guidance_end": 1.0
252
+ },
253
+ "controlnet_ref": {
254
+ "enable": false,
255
+ "use_frame_as_ref_image": false,
256
+ "use_1st_frame_as_ref_image": false,
257
+ "ref_image": "ref_image/path_to_your_ref_img.jpg",
258
+ "attention_auto_machine_weight": 1.0,
259
+ "gn_auto_machine_weight": 1.0,
260
+ "style_fidelity": 0.25,
261
+ "reference_attn": true,
262
+ "reference_adain": false
263
+ }
264
+ },
265
+ "output":{
266
+ "format" : "mp4",
267
+ "fps" : 8,
268
+ "encode_param":{
269
+ "crf": 10
270
+ }
271
+ }
272
+ }
config/prompts/inpaint_sample.json ADDED
@@ -0,0 +1,299 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "sample",
3
+ "path": "share/Stable-diffusion/mistoonAnime_v20.safetensors",
4
+ "motion_module": "models/motion-module/mm_sd_v15_v2.ckpt",
5
+ "compile": false,
6
+ "seed": [
7
+ 12345
8
+ ],
9
+ "scheduler": "k_dpmpp_sde",
10
+ "steps": 20,
11
+ "guidance_scale": 10,
12
+ "unet_batch_size": 1,
13
+ "clip_skip": 2,
14
+ "prompt_fixed_ratio": 0.5,
15
+ "head_prompt": "(style of studio ghibli:1.2), (masterpiece, best quality)",
16
+ "prompt_map": {
17
+ "0": "cyberpunk,robot cat, robot"
18
+ },
19
+ "tail_prompt": "",
20
+ "n_prompt": [
21
+ "(worst quality:2), (bad quality:2), (normal quality:2), lowers, bad anatomy, bad hands, (multiple views),"
22
+ ],
23
+ "lora_map": {
24
+ "share/models/Lora/Ghibli_v6.safetensors": 1.0
25
+ },
26
+ "motion_lora_map": {
27
+ },
28
+ "ip_adapter_map": {
29
+ "enable": true,
30
+ "input_image_dir": "ip_adapter_image/cyberpunk",
31
+ "prompt_fixed_ratio": 0.5,
32
+ "save_input_image": true,
33
+ "resized_to_square": false,
34
+ "scale": 0.5,
35
+ "is_plus_face": false,
36
+ "is_plus": true,
37
+ "is_light": false
38
+ },
39
+ "img2img_map":{
40
+ "enable": true,
41
+ "init_img_dir" : "init_imgs/sample1",
42
+ "save_init_image": true,
43
+ "denoising_strength" : 0.85
44
+ },
45
+ "region_map" : {
46
+ "0":{
47
+ "enable": true,
48
+ "mask_dir" : "mask/sample1",
49
+ "save_mask": true,
50
+ "is_init_img" : true,
51
+ "condition":{
52
+ "prompt_fixed_ratio": 0.5,
53
+ "head_prompt": "(masterpiece, best quality)",
54
+ "prompt_map": {
55
+ "0": "cyberpunk,robot cat, robot"
56
+ },
57
+ "tail_prompt": "",
58
+ "ip_adapter_map": {
59
+ "enable": true,
60
+ "input_image_dir": "ip_adapter_image/cyberpunk",
61
+ "prompt_fixed_ratio": 0.5,
62
+ "save_input_image": true,
63
+ "resized_to_square": false
64
+ }
65
+ }
66
+ },
67
+ "background":{
68
+ "is_init_img" : false,
69
+ "hint" : "background's condition refers to the one in root"
70
+ }
71
+ },
72
+ "controlnet_map": {
73
+ "input_image_dir" : "controlnet_image/cat",
74
+ "max_samples_on_vram": 0,
75
+ "max_models_on_vram" : 1,
76
+ "save_detectmap": true,
77
+ "preprocess_on_gpu": true,
78
+ "is_loop": true,
79
+
80
+ "controlnet_tile":{
81
+ "enable": true,
82
+ "use_preprocessor":true,
83
+ "preprocessor":{
84
+ "type" : "none",
85
+ "param":{
86
+ }
87
+ },
88
+ "guess_mode":false,
89
+ "controlnet_conditioning_scale": 1.0,
90
+ "control_guidance_start": 0.0,
91
+ "control_guidance_end": 1.0,
92
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
93
+ },
94
+ "controlnet_ip2p":{
95
+ "enable": true,
96
+ "use_preprocessor":true,
97
+ "guess_mode":false,
98
+ "controlnet_conditioning_scale":0.5,
99
+ "control_guidance_start": 0.0,
100
+ "control_guidance_end": 1.0,
101
+ "control_scale_list":[]
102
+ },
103
+ "controlnet_lineart_anime":{
104
+ "enable": true,
105
+ "use_preprocessor":true,
106
+ "guess_mode":false,
107
+ "controlnet_conditioning_scale": 1.0,
108
+ "control_guidance_start": 0.0,
109
+ "control_guidance_end": 1.0,
110
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
111
+ },
112
+ "controlnet_openpose":{
113
+ "enable": true,
114
+ "use_preprocessor":true,
115
+ "guess_mode":false,
116
+ "controlnet_conditioning_scale": 1.0,
117
+ "control_guidance_start": 0.0,
118
+ "control_guidance_end": 1.0,
119
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
120
+ },
121
+ "controlnet_softedge":{
122
+ "enable": true,
123
+ "use_preprocessor":true,
124
+ "preprocessor":{
125
+ "type" : "softedge_pidsafe",
126
+ "param":{
127
+ }
128
+ },
129
+ "guess_mode":false,
130
+ "controlnet_conditioning_scale": 1.0,
131
+ "control_guidance_start": 0.0,
132
+ "control_guidance_end": 1.0,
133
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
134
+ },
135
+ "controlnet_shuffle": {
136
+ "enable": true,
137
+ "use_preprocessor":true,
138
+ "guess_mode":false,
139
+ "controlnet_conditioning_scale": 1.0,
140
+ "control_guidance_start": 0.0,
141
+ "control_guidance_end": 1.0,
142
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
143
+ },
144
+ "controlnet_depth": {
145
+ "enable": true,
146
+ "use_preprocessor":true,
147
+ "guess_mode":false,
148
+ "controlnet_conditioning_scale": 1.0,
149
+ "control_guidance_start": 0.0,
150
+ "control_guidance_end": 1.0,
151
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
152
+ },
153
+ "controlnet_canny": {
154
+ "enable": true,
155
+ "use_preprocessor":true,
156
+ "guess_mode":false,
157
+ "controlnet_conditioning_scale": 1.0,
158
+ "control_guidance_start": 0.0,
159
+ "control_guidance_end": 1.0,
160
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
161
+ },
162
+ "controlnet_inpaint": {
163
+ "enable": true,
164
+ "use_preprocessor":true,
165
+ "guess_mode":false,
166
+ "controlnet_conditioning_scale": 1.0,
167
+ "control_guidance_start": 0.0,
168
+ "control_guidance_end": 1.0,
169
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
170
+ },
171
+ "controlnet_lineart": {
172
+ "enable": true,
173
+ "use_preprocessor":true,
174
+ "guess_mode":false,
175
+ "controlnet_conditioning_scale": 1.0,
176
+ "control_guidance_start": 0.0,
177
+ "control_guidance_end": 1.0,
178
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
179
+ },
180
+ "controlnet_mlsd": {
181
+ "enable": true,
182
+ "use_preprocessor":true,
183
+ "guess_mode":false,
184
+ "controlnet_conditioning_scale": 1.0,
185
+ "control_guidance_start": 0.0,
186
+ "control_guidance_end": 1.0,
187
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
188
+ },
189
+ "controlnet_normalbae": {
190
+ "enable": true,
191
+ "use_preprocessor":true,
192
+ "guess_mode":false,
193
+ "controlnet_conditioning_scale": 0.25,
194
+ "control_guidance_start": 0.0,
195
+ "control_guidance_end": 1.0,
196
+ "control_scale_list":[]
197
+ },
198
+ "controlnet_scribble": {
199
+ "enable": true,
200
+ "use_preprocessor":true,
201
+ "guess_mode":false,
202
+ "controlnet_conditioning_scale": 1.0,
203
+ "control_guidance_start": 0.0,
204
+ "control_guidance_end": 1.0,
205
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
206
+ },
207
+ "controlnet_seg": {
208
+ "enable": true,
209
+ "use_preprocessor":true,
210
+ "guess_mode":false,
211
+ "controlnet_conditioning_scale": 1.0,
212
+ "control_guidance_start": 0.0,
213
+ "control_guidance_end": 1.0,
214
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
215
+ },
216
+ "qr_code_monster_v1": {
217
+ "enable": true,
218
+ "use_preprocessor":true,
219
+ "guess_mode":false,
220
+ "controlnet_conditioning_scale": 1.0,
221
+ "control_guidance_start": 0.0,
222
+ "control_guidance_end": 1.0,
223
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
224
+ },
225
+ "qr_code_monster_v2": {
226
+ "enable": true,
227
+ "use_preprocessor":true,
228
+ "guess_mode":false,
229
+ "controlnet_conditioning_scale": 1.0,
230
+ "control_guidance_start": 0.0,
231
+ "control_guidance_end": 1.0,
232
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
233
+ },
234
+ "controlnet_mediapipe_face": {
235
+ "enable": true,
236
+ "use_preprocessor":true,
237
+ "guess_mode":false,
238
+ "controlnet_conditioning_scale": 1.0,
239
+ "control_guidance_start": 0.0,
240
+ "control_guidance_end": 1.0,
241
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
242
+ },
243
+ "controlnet_ref": {
244
+ "enable": false,
245
+ "ref_image": "ref_image/ref_sample.png",
246
+ "attention_auto_machine_weight": 0.3,
247
+ "gn_auto_machine_weight": 0.3,
248
+ "style_fidelity": 0.5,
249
+ "reference_attn": true,
250
+ "reference_adain": false,
251
+ "scale_pattern":[1.0]
252
+ }
253
+ },
254
+ "upscale_config": {
255
+ "scheduler": "k_dpmpp_sde",
256
+ "steps": 20,
257
+ "strength": 0.5,
258
+ "guidance_scale": 10,
259
+ "controlnet_tile": {
260
+ "enable": true,
261
+ "controlnet_conditioning_scale": 1.0,
262
+ "guess_mode": false,
263
+ "control_guidance_start": 0.0,
264
+ "control_guidance_end": 1.0
265
+ },
266
+ "controlnet_line_anime": {
267
+ "enable": false,
268
+ "controlnet_conditioning_scale": 1.0,
269
+ "guess_mode": false,
270
+ "control_guidance_start": 0.0,
271
+ "control_guidance_end": 1.0
272
+ },
273
+ "controlnet_ip2p": {
274
+ "enable": false,
275
+ "controlnet_conditioning_scale": 0.5,
276
+ "guess_mode": false,
277
+ "control_guidance_start": 0.0,
278
+ "control_guidance_end": 1.0
279
+ },
280
+ "controlnet_ref": {
281
+ "enable": false,
282
+ "use_frame_as_ref_image": false,
283
+ "use_1st_frame_as_ref_image": false,
284
+ "ref_image": "ref_image/path_to_your_ref_img.jpg",
285
+ "attention_auto_machine_weight": 1.0,
286
+ "gn_auto_machine_weight": 1.0,
287
+ "style_fidelity": 0.25,
288
+ "reference_attn": true,
289
+ "reference_adain": false
290
+ }
291
+ },
292
+ "output":{
293
+ "format" : "mp4",
294
+ "fps" : 8,
295
+ "encode_param":{
296
+ "crf": 10
297
+ }
298
+ }
299
+ }
config/prompts/prompt_travel.json ADDED
@@ -0,0 +1,316 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "sample",
3
+ "path": "share/Stable-diffusion/mistoonAnime_v20.safetensors",
4
+ "context_schedule" : "uniform",
5
+ "lcm_map":{
6
+ "enable":false,
7
+ "start_scale":0.15,
8
+ "end_scale":0.75,
9
+ "gradient_start":0.2,
10
+ "gradient_end":0.75
11
+ },
12
+ "gradual_latent_hires_fix_map":{
13
+ "enable": false,
14
+ "scale": {
15
+ "0": 0.5,
16
+ "0.7": 1.0
17
+ },
18
+ "reverse_steps": 5,
19
+ "noise_add_count":3
20
+ },
21
+ "motion_module": "models/motion-module/mm_sd_v15_v2.ckpt",
22
+ "compile": false,
23
+ "seed": [
24
+ 341774366206100
25
+ ],
26
+ "scheduler": "euler_a",
27
+ "steps": 20,
28
+ "guidance_scale": 10,
29
+ "unet_batch_size": 1,
30
+ "clip_skip": 2,
31
+ "prompt_fixed_ratio": 0.5,
32
+ "head_prompt": "masterpiece, best quality, a beautiful and detailed portriat of muffet, monster girl,((purple body:1.3)),humanoid, arachnid, anthro,((fangs)),pigtails,hair bows,5 eyes,spider girl,6 arms,solo",
33
+ "prompt_map": {
34
+ "0": "smile standing,((spider webs:1.0))",
35
+ "32": "(((walking))),((spider webs:1.0))",
36
+ "64": "(((running))),((spider webs:2.0)),wide angle lens, fish eye effect",
37
+ "96": "(((sitting))),((spider webs:1.0))"
38
+ },
39
+ "tail_prompt": "clothed, open mouth, awesome and detailed background, holding teapot, holding teacup, 6 hands,detailed hands,storefront that sells pastries and tea,bloomers,(red and black clothing),inside,pouring into teacup,muffetwear",
40
+ "n_prompt": [
41
+ "(worst quality, low quality:1.4),nudity,simple background,border,mouth closed,text, patreon,bed,bedroom,white background,((monochrome)),sketch,(pink body:1.4),7 arms,8 arms,4 arms"
42
+ ],
43
+ "lora_map": {
44
+ "share/Lora/muffet_v2.safetensors" : 1.0,
45
+ "share/Lora/add_detail.safetensors" : 1.0
46
+ },
47
+ "motion_lora_map": {
48
+ "models/motion_lora/v2_lora_PanLeft.ckpt":1.0
49
+ },
50
+ "ip_adapter_map": {
51
+ "enable": true,
52
+ "input_image_dir": "ip_adapter_image/test",
53
+ "prompt_fixed_ratio": 0.5,
54
+ "save_input_image": true,
55
+ "resized_to_square": false,
56
+ "scale": 0.5,
57
+ "is_full_face": false,
58
+ "is_plus_face": false,
59
+ "is_plus": true,
60
+ "is_light": false
61
+ },
62
+ "controlnet_map": {
63
+ "input_image_dir" : "controlnet_image/test",
64
+ "max_samples_on_vram": 0,
65
+ "max_models_on_vram" : 0,
66
+ "save_detectmap": true,
67
+ "preprocess_on_gpu": true,
68
+ "is_loop": true,
69
+
70
+ "controlnet_tile":{
71
+ "enable": true,
72
+ "use_preprocessor":true,
73
+ "preprocessor":{
74
+ "type" : "none",
75
+ "param":{
76
+ }
77
+ },
78
+ "guess_mode":false,
79
+ "controlnet_conditioning_scale": 1.0,
80
+ "control_guidance_start": 0.0,
81
+ "control_guidance_end": 1.0,
82
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1],
83
+ "control_region_list":[]
84
+ },
85
+ "controlnet_ip2p":{
86
+ "enable": true,
87
+ "use_preprocessor":true,
88
+ "guess_mode":false,
89
+ "controlnet_conditioning_scale": 1.0,
90
+ "control_guidance_start": 0.0,
91
+ "control_guidance_end": 1.0,
92
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1],
93
+ "control_region_list":[]
94
+ },
95
+ "controlnet_lineart_anime":{
96
+ "enable": true,
97
+ "use_preprocessor":true,
98
+ "guess_mode":false,
99
+ "controlnet_conditioning_scale": 1.0,
100
+ "control_guidance_start": 0.0,
101
+ "control_guidance_end": 1.0,
102
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1],
103
+ "control_region_list":[]
104
+ },
105
+ "controlnet_openpose":{
106
+ "enable": true,
107
+ "use_preprocessor":true,
108
+ "guess_mode":false,
109
+ "controlnet_conditioning_scale": 1.0,
110
+ "control_guidance_start": 0.0,
111
+ "control_guidance_end": 1.0,
112
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1],
113
+ "control_region_list":[]
114
+ },
115
+ "controlnet_softedge":{
116
+ "enable": true,
117
+ "use_preprocessor":true,
118
+ "preprocessor":{
119
+ "type" : "softedge_pidsafe",
120
+ "param":{
121
+ }
122
+ },
123
+ "guess_mode":false,
124
+ "controlnet_conditioning_scale": 1.0,
125
+ "control_guidance_start": 0.0,
126
+ "control_guidance_end": 1.0,
127
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1],
128
+ "control_region_list":[]
129
+ },
130
+ "controlnet_shuffle": {
131
+ "enable": true,
132
+ "use_preprocessor":true,
133
+ "guess_mode":false,
134
+ "controlnet_conditioning_scale": 1.0,
135
+ "control_guidance_start": 0.0,
136
+ "control_guidance_end": 1.0,
137
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1],
138
+ "control_region_list":[]
139
+ },
140
+ "controlnet_depth": {
141
+ "enable": true,
142
+ "use_preprocessor":true,
143
+ "guess_mode":false,
144
+ "controlnet_conditioning_scale": 1.0,
145
+ "control_guidance_start": 0.0,
146
+ "control_guidance_end": 1.0,
147
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1],
148
+ "control_region_list":[]
149
+ },
150
+ "controlnet_canny": {
151
+ "enable": true,
152
+ "use_preprocessor":true,
153
+ "guess_mode":false,
154
+ "controlnet_conditioning_scale": 1.0,
155
+ "control_guidance_start": 0.0,
156
+ "control_guidance_end": 1.0,
157
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1],
158
+ "control_region_list":[]
159
+ },
160
+ "controlnet_inpaint": {
161
+ "enable": true,
162
+ "use_preprocessor":true,
163
+ "guess_mode":false,
164
+ "controlnet_conditioning_scale": 1.0,
165
+ "control_guidance_start": 0.0,
166
+ "control_guidance_end": 1.0,
167
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1],
168
+ "control_region_list":[]
169
+ },
170
+ "controlnet_lineart": {
171
+ "enable": true,
172
+ "use_preprocessor":true,
173
+ "guess_mode":false,
174
+ "controlnet_conditioning_scale": 1.0,
175
+ "control_guidance_start": 0.0,
176
+ "control_guidance_end": 1.0,
177
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1],
178
+ "control_region_list":[]
179
+ },
180
+ "controlnet_mlsd": {
181
+ "enable": true,
182
+ "use_preprocessor":true,
183
+ "guess_mode":false,
184
+ "controlnet_conditioning_scale": 1.0,
185
+ "control_guidance_start": 0.0,
186
+ "control_guidance_end": 1.0,
187
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1],
188
+ "control_region_list":[]
189
+ },
190
+ "controlnet_normalbae": {
191
+ "enable": true,
192
+ "use_preprocessor":true,
193
+ "guess_mode":false,
194
+ "controlnet_conditioning_scale": 1.0,
195
+ "control_guidance_start": 0.0,
196
+ "control_guidance_end": 1.0,
197
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1],
198
+ "control_region_list":[]
199
+ },
200
+ "controlnet_scribble": {
201
+ "enable": true,
202
+ "use_preprocessor":true,
203
+ "guess_mode":false,
204
+ "controlnet_conditioning_scale": 1.0,
205
+ "control_guidance_start": 0.0,
206
+ "control_guidance_end": 1.0,
207
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1],
208
+ "control_region_list":[]
209
+ },
210
+ "controlnet_seg": {
211
+ "enable": true,
212
+ "use_preprocessor":true,
213
+ "guess_mode":false,
214
+ "controlnet_conditioning_scale": 1.0,
215
+ "control_guidance_start": 0.0,
216
+ "control_guidance_end": 1.0,
217
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1],
218
+ "control_region_list":[]
219
+ },
220
+ "qr_code_monster_v1": {
221
+ "enable": true,
222
+ "use_preprocessor":true,
223
+ "guess_mode":false,
224
+ "controlnet_conditioning_scale": 1.0,
225
+ "control_guidance_start": 0.0,
226
+ "control_guidance_end": 1.0,
227
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1],
228
+ "control_region_list":[]
229
+ },
230
+ "qr_code_monster_v2": {
231
+ "enable": true,
232
+ "use_preprocessor":true,
233
+ "guess_mode":false,
234
+ "controlnet_conditioning_scale": 1.0,
235
+ "control_guidance_start": 0.0,
236
+ "control_guidance_end": 1.0,
237
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1],
238
+ "control_region_list":[]
239
+ },
240
+ "controlnet_mediapipe_face": {
241
+ "enable": true,
242
+ "use_preprocessor":true,
243
+ "guess_mode":false,
244
+ "controlnet_conditioning_scale": 1.0,
245
+ "control_guidance_start": 0.0,
246
+ "control_guidance_end": 1.0,
247
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1],
248
+ "control_region_list":[]
249
+ },
250
+ "animatediff_controlnet": {
251
+ "enable": true,
252
+ "use_preprocessor":true,
253
+ "guess_mode":false,
254
+ "controlnet_conditioning_scale": 1.0,
255
+ "control_guidance_start": 0.0,
256
+ "control_guidance_end": 1.0,
257
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1],
258
+ "control_region_list":[]
259
+ },
260
+ "controlnet_ref": {
261
+ "enable": false,
262
+ "ref_image": "ref_image/ref_sample.png",
263
+ "attention_auto_machine_weight": 0.3,
264
+ "gn_auto_machine_weight": 0.3,
265
+ "style_fidelity": 0.5,
266
+ "reference_attn": true,
267
+ "reference_adain": false,
268
+ "scale_pattern":[1.0]
269
+ }
270
+ },
271
+ "upscale_config": {
272
+ "scheduler": "k_dpmpp_sde",
273
+ "steps": 20,
274
+ "strength": 0.5,
275
+ "guidance_scale": 10,
276
+ "controlnet_tile": {
277
+ "enable": true,
278
+ "controlnet_conditioning_scale": 1.0,
279
+ "guess_mode": false,
280
+ "control_guidance_start": 0.0,
281
+ "control_guidance_end": 1.0
282
+ },
283
+ "controlnet_line_anime": {
284
+ "enable": false,
285
+ "controlnet_conditioning_scale": 1.0,
286
+ "guess_mode": false,
287
+ "control_guidance_start": 0.0,
288
+ "control_guidance_end": 1.0
289
+ },
290
+ "controlnet_ip2p": {
291
+ "enable": false,
292
+ "controlnet_conditioning_scale": 0.5,
293
+ "guess_mode": false,
294
+ "control_guidance_start": 0.0,
295
+ "control_guidance_end": 1.0
296
+ },
297
+ "controlnet_ref": {
298
+ "enable": false,
299
+ "use_frame_as_ref_image": false,
300
+ "use_1st_frame_as_ref_image": false,
301
+ "ref_image": "ref_image/path_to_your_ref_img.jpg",
302
+ "attention_auto_machine_weight": 1.0,
303
+ "gn_auto_machine_weight": 1.0,
304
+ "style_fidelity": 0.25,
305
+ "reference_attn": true,
306
+ "reference_adain": false
307
+ }
308
+ },
309
+ "output":{
310
+ "format" : "gif",
311
+ "fps" : 8,
312
+ "encode_param":{
313
+ "crf": 10
314
+ }
315
+ }
316
+ }
config/prompts/prompt_travel_multi_controlnet.json ADDED
@@ -0,0 +1,238 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "sample",
3
+ "path": "share/Stable-diffusion/mistoonAnime_v20.safetensors",
4
+ "motion_module": "models/motion-module/mm_sd_v14.ckpt",
5
+ "compile": false,
6
+ "seed": [
7
+ 341774366206100
8
+ ],
9
+ "scheduler": "k_dpmpp_sde",
10
+ "steps": 20,
11
+ "guidance_scale": 10,
12
+ "clip_skip": 2,
13
+ "head_prompt": "masterpiece, best quality, a beautiful and detailed portriat of muffet, monster girl,((purple body:1.3)),humanoid, arachnid, anthro,((fangs)),pigtails,hair bows,5 eyes,spider girl,6 arms,solo",
14
+ "prompt_map": {
15
+ "0": "smile standing,((spider webs:1.0))",
16
+ "32": "(((walking))),((spider webs:1.0))",
17
+ "64": "(((running))),((spider webs:2.0)),wide angle lens, fish eye effect",
18
+ "96": "(((sitting))),((spider webs:1.0))"
19
+ },
20
+ "tail_prompt": "clothed, open mouth, awesome and detailed background, holding teapot, holding teacup, 6 hands,detailed hands,storefront that sells pastries and tea,bloomers,(red and black clothing),inside,pouring into teacup,muffetwear",
21
+ "n_prompt": [
22
+ "(worst quality, low quality:1.4),nudity,simple background,border,mouth closed,text, patreon,bed,bedroom,white background,((monochrome)),sketch,(pink body:1.4),7 arms,8 arms,4 arms"
23
+ ],
24
+ "lora_map": {
25
+ "share/Lora/muffet_v2.safetensors" : 1.0,
26
+ "share/Lora/add_detail.safetensors" : 1.0
27
+ },
28
+ "ip_adapter_map": {
29
+ "enable": true,
30
+ "input_image_dir": "ip_adapter_image/test",
31
+ "save_input_image": true,
32
+ "resized_to_square": false,
33
+ "scale": 0.5,
34
+ "is_plus_face": true,
35
+ "is_plus": true
36
+ },
37
+ "controlnet_map": {
38
+ "input_image_dir" : "controlnet_image/test",
39
+ "max_samples_on_vram": 200,
40
+ "max_models_on_vram" : 3,
41
+ "save_detectmap": true,
42
+ "preprocess_on_gpu": true,
43
+ "is_loop": true,
44
+
45
+ "controlnet_tile":{
46
+ "enable": true,
47
+ "use_preprocessor":true,
48
+ "preprocessor":{
49
+ "type" : "none",
50
+ "param":{
51
+ }
52
+ },
53
+ "guess_mode":false,
54
+ "controlnet_conditioning_scale": 1.0,
55
+ "control_guidance_start": 0.0,
56
+ "control_guidance_end": 1.0,
57
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
58
+ },
59
+ "controlnet_ip2p":{
60
+ "enable": true,
61
+ "use_preprocessor":true,
62
+ "guess_mode":false,
63
+ "controlnet_conditioning_scale": 1.0,
64
+ "control_guidance_start": 0.0,
65
+ "control_guidance_end": 1.0,
66
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
67
+ },
68
+ "controlnet_lineart_anime":{
69
+ "enable": true,
70
+ "use_preprocessor":true,
71
+ "guess_mode":false,
72
+ "controlnet_conditioning_scale": 1.0,
73
+ "control_guidance_start": 0.0,
74
+ "control_guidance_end": 1.0,
75
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
76
+ },
77
+ "controlnet_openpose":{
78
+ "enable": true,
79
+ "use_preprocessor":true,
80
+ "guess_mode":false,
81
+ "controlnet_conditioning_scale": 1.0,
82
+ "control_guidance_start": 0.0,
83
+ "control_guidance_end": 1.0,
84
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
85
+ },
86
+ "controlnet_softedge":{
87
+ "enable": true,
88
+ "use_preprocessor":true,
89
+ "preprocessor":{
90
+ "type" : "softedge_pidsafe",
91
+ "param":{
92
+ }
93
+ },
94
+ "guess_mode":false,
95
+ "controlnet_conditioning_scale": 1.0,
96
+ "control_guidance_start": 0.0,
97
+ "control_guidance_end": 1.0,
98
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
99
+ },
100
+ "controlnet_shuffle": {
101
+ "enable": true,
102
+ "use_preprocessor":true,
103
+ "guess_mode":false,
104
+ "controlnet_conditioning_scale": 1.0,
105
+ "control_guidance_start": 0.0,
106
+ "control_guidance_end": 1.0,
107
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
108
+ },
109
+ "controlnet_depth": {
110
+ "enable": true,
111
+ "use_preprocessor":true,
112
+ "guess_mode":false,
113
+ "controlnet_conditioning_scale": 1.0,
114
+ "control_guidance_start": 0.0,
115
+ "control_guidance_end": 1.0,
116
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
117
+ },
118
+ "controlnet_canny": {
119
+ "enable": true,
120
+ "use_preprocessor":true,
121
+ "guess_mode":false,
122
+ "controlnet_conditioning_scale": 1.0,
123
+ "control_guidance_start": 0.0,
124
+ "control_guidance_end": 1.0,
125
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
126
+ },
127
+ "controlnet_inpaint": {
128
+ "enable": true,
129
+ "use_preprocessor":true,
130
+ "guess_mode":false,
131
+ "controlnet_conditioning_scale": 1.0,
132
+ "control_guidance_start": 0.0,
133
+ "control_guidance_end": 1.0,
134
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
135
+ },
136
+ "controlnet_lineart": {
137
+ "enable": true,
138
+ "use_preprocessor":true,
139
+ "guess_mode":false,
140
+ "controlnet_conditioning_scale": 1.0,
141
+ "control_guidance_start": 0.0,
142
+ "control_guidance_end": 1.0,
143
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
144
+ },
145
+ "controlnet_mlsd": {
146
+ "enable": true,
147
+ "use_preprocessor":true,
148
+ "guess_mode":false,
149
+ "controlnet_conditioning_scale": 1.0,
150
+ "control_guidance_start": 0.0,
151
+ "control_guidance_end": 1.0,
152
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
153
+ },
154
+ "controlnet_normalbae": {
155
+ "enable": true,
156
+ "use_preprocessor":true,
157
+ "guess_mode":false,
158
+ "controlnet_conditioning_scale": 1.0,
159
+ "control_guidance_start": 0.0,
160
+ "control_guidance_end": 1.0,
161
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
162
+ },
163
+ "controlnet_scribble": {
164
+ "enable": true,
165
+ "use_preprocessor":true,
166
+ "guess_mode":false,
167
+ "controlnet_conditioning_scale": 1.0,
168
+ "control_guidance_start": 0.0,
169
+ "control_guidance_end": 1.0,
170
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
171
+ },
172
+ "controlnet_seg": {
173
+ "enable": true,
174
+ "use_preprocessor":true,
175
+ "guess_mode":false,
176
+ "controlnet_conditioning_scale": 1.0,
177
+ "control_guidance_start": 0.0,
178
+ "control_guidance_end": 1.0,
179
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
180
+ },
181
+ "controlnet_ref": {
182
+ "enable": false,
183
+ "ref_image": "ref_image/ref_sample.png",
184
+ "attention_auto_machine_weight": 0.3,
185
+ "gn_auto_machine_weight": 0.3,
186
+ "style_fidelity": 0.5,
187
+ "reference_attn": true,
188
+ "reference_adain": false,
189
+ "scale_pattern":[1.0]
190
+ }
191
+ },
192
+ "upscale_config": {
193
+ "scheduler": "k_dpmpp_sde",
194
+ "steps": 20,
195
+ "strength": 0.5,
196
+ "guidance_scale": 10,
197
+ "controlnet_tile": {
198
+ "enable": true,
199
+ "controlnet_conditioning_scale": 1.0,
200
+ "guess_mode": false,
201
+ "control_guidance_start": 0.0,
202
+ "control_guidance_end": 1.0
203
+ },
204
+ "controlnet_line_anime": {
205
+ "enable": false,
206
+ "controlnet_conditioning_scale": 1.0,
207
+ "guess_mode": false,
208
+ "control_guidance_start": 0.0,
209
+ "control_guidance_end": 1.0
210
+ },
211
+ "controlnet_ip2p": {
212
+ "enable": true,
213
+ "controlnet_conditioning_scale": 0.5,
214
+ "guess_mode": false,
215
+ "control_guidance_start": 0.0,
216
+ "control_guidance_end": 1.0
217
+ },
218
+ "controlnet_ref": {
219
+ "enable": false,
220
+ "use_frame_as_ref_image": false,
221
+ "use_1st_frame_as_ref_image": true,
222
+ "ref_image": "ref_image/path_to_your_ref_img.jpg",
223
+ "attention_auto_machine_weight": 1.0,
224
+ "gn_auto_machine_weight": 1.0,
225
+ "style_fidelity": 0.25,
226
+ "reference_attn": true,
227
+ "reference_adain": false
228
+ }
229
+ },
230
+ "output":{
231
+ "preview_steps": [10],
232
+ "format" : "gif",
233
+ "fps" : 8,
234
+ "encode_param":{
235
+ "crf": 10
236
+ }
237
+ }
238
+ }
config/prompts/region_sample.json ADDED
@@ -0,0 +1,299 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "sample",
3
+ "path": "share/Stable-diffusion/mistoonAnime_v20.safetensors",
4
+ "motion_module": "models/motion-module/mm_sd_v15_v2.ckpt",
5
+ "compile": false,
6
+ "seed": [
7
+ 12345
8
+ ],
9
+ "scheduler": "k_dpmpp_sde",
10
+ "steps": 20,
11
+ "guidance_scale": 10,
12
+ "unet_batch_size": 1,
13
+ "clip_skip": 2,
14
+ "prompt_fixed_ratio": 0.5,
15
+ "head_prompt": "(style of studio ghibli:1.2), (masterpiece, best quality)",
16
+ "prompt_map": {
17
+ "0": "forest, cute orange cat, outdoors,"
18
+ },
19
+ "tail_prompt": "",
20
+ "n_prompt": [
21
+ "(worst quality:2), (bad quality:2), (normal quality:2), lowers, bad anatomy, bad hands, (multiple views),"
22
+ ],
23
+ "lora_map": {
24
+ "share/models/Lora/Ghibli_v6.safetensors": 1.0
25
+ },
26
+ "motion_lora_map": {
27
+ },
28
+ "ip_adapter_map": {
29
+ "enable": true,
30
+ "input_image_dir": "ip_adapter_image/cat",
31
+ "prompt_fixed_ratio": 0.5,
32
+ "save_input_image": true,
33
+ "resized_to_square": false,
34
+ "scale": 0.5,
35
+ "is_plus_face": false,
36
+ "is_plus": true,
37
+ "is_light": false
38
+ },
39
+ "img2img_map":{
40
+ "enable": true,
41
+ "init_img_dir" : "init_imgs/sample1",
42
+ "save_init_image": true,
43
+ "denoising_strength" : 0.7
44
+ },
45
+ "region_map" : {
46
+ "0":{
47
+ "enable": true,
48
+ "mask_dir" : "mask/sample0",
49
+ "save_mask": true,
50
+ "is_init_img" : false,
51
+ "condition":{
52
+ "prompt_fixed_ratio": 0.5,
53
+ "head_prompt": "(style of studio ghibli:1.2), (masterpiece, best quality)",
54
+ "prompt_map": {
55
+ "0": "house, cute dog, rain, street, outdoors"
56
+ },
57
+ "tail_prompt": "",
58
+ "ip_adapter_map": {
59
+ "enable": true,
60
+ "input_image_dir": "ip_adapter_image/cyberpunk",
61
+ "prompt_fixed_ratio": 0.5,
62
+ "save_input_image": true,
63
+ "resized_to_square": false
64
+ }
65
+ }
66
+ },
67
+ "background":{
68
+ "is_init_img" : false,
69
+ "hint" : "background's condition refers to the one in root"
70
+ }
71
+ },
72
+ "controlnet_map": {
73
+ "input_image_dir" : "",
74
+ "max_samples_on_vram": 0,
75
+ "max_models_on_vram" : 1,
76
+ "save_detectmap": true,
77
+ "preprocess_on_gpu": true,
78
+ "is_loop": true,
79
+
80
+ "controlnet_tile":{
81
+ "enable": true,
82
+ "use_preprocessor":true,
83
+ "preprocessor":{
84
+ "type" : "none",
85
+ "param":{
86
+ }
87
+ },
88
+ "guess_mode":false,
89
+ "controlnet_conditioning_scale": 1.0,
90
+ "control_guidance_start": 0.0,
91
+ "control_guidance_end": 1.0,
92
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
93
+ },
94
+ "controlnet_ip2p":{
95
+ "enable": true,
96
+ "use_preprocessor":true,
97
+ "guess_mode":false,
98
+ "controlnet_conditioning_scale": 1.0,
99
+ "control_guidance_start": 0.0,
100
+ "control_guidance_end": 1.0,
101
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
102
+ },
103
+ "controlnet_lineart_anime":{
104
+ "enable": true,
105
+ "use_preprocessor":true,
106
+ "guess_mode":false,
107
+ "controlnet_conditioning_scale": 1.0,
108
+ "control_guidance_start": 0.0,
109
+ "control_guidance_end": 1.0,
110
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
111
+ },
112
+ "controlnet_openpose":{
113
+ "enable": true,
114
+ "use_preprocessor":true,
115
+ "guess_mode":false,
116
+ "controlnet_conditioning_scale": 1.0,
117
+ "control_guidance_start": 0.0,
118
+ "control_guidance_end": 1.0,
119
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
120
+ },
121
+ "controlnet_softedge":{
122
+ "enable": true,
123
+ "use_preprocessor":true,
124
+ "preprocessor":{
125
+ "type" : "softedge_pidsafe",
126
+ "param":{
127
+ }
128
+ },
129
+ "guess_mode":false,
130
+ "controlnet_conditioning_scale": 1.0,
131
+ "control_guidance_start": 0.0,
132
+ "control_guidance_end": 1.0,
133
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
134
+ },
135
+ "controlnet_shuffle": {
136
+ "enable": true,
137
+ "use_preprocessor":true,
138
+ "guess_mode":false,
139
+ "controlnet_conditioning_scale": 1.0,
140
+ "control_guidance_start": 0.0,
141
+ "control_guidance_end": 1.0,
142
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
143
+ },
144
+ "controlnet_depth": {
145
+ "enable": true,
146
+ "use_preprocessor":true,
147
+ "guess_mode":false,
148
+ "controlnet_conditioning_scale": 1.0,
149
+ "control_guidance_start": 0.0,
150
+ "control_guidance_end": 1.0,
151
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
152
+ },
153
+ "controlnet_canny": {
154
+ "enable": true,
155
+ "use_preprocessor":true,
156
+ "guess_mode":false,
157
+ "controlnet_conditioning_scale": 1.0,
158
+ "control_guidance_start": 0.0,
159
+ "control_guidance_end": 1.0,
160
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
161
+ },
162
+ "controlnet_inpaint": {
163
+ "enable": true,
164
+ "use_preprocessor":true,
165
+ "guess_mode":false,
166
+ "controlnet_conditioning_scale": 1.0,
167
+ "control_guidance_start": 0.0,
168
+ "control_guidance_end": 1.0,
169
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
170
+ },
171
+ "controlnet_lineart": {
172
+ "enable": true,
173
+ "use_preprocessor":true,
174
+ "guess_mode":false,
175
+ "controlnet_conditioning_scale": 1.0,
176
+ "control_guidance_start": 0.0,
177
+ "control_guidance_end": 1.0,
178
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
179
+ },
180
+ "controlnet_mlsd": {
181
+ "enable": true,
182
+ "use_preprocessor":true,
183
+ "guess_mode":false,
184
+ "controlnet_conditioning_scale": 1.0,
185
+ "control_guidance_start": 0.0,
186
+ "control_guidance_end": 1.0,
187
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
188
+ },
189
+ "controlnet_normalbae": {
190
+ "enable": true,
191
+ "use_preprocessor":true,
192
+ "guess_mode":false,
193
+ "controlnet_conditioning_scale": 1.0,
194
+ "control_guidance_start": 0.0,
195
+ "control_guidance_end": 1.0,
196
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
197
+ },
198
+ "controlnet_scribble": {
199
+ "enable": true,
200
+ "use_preprocessor":true,
201
+ "guess_mode":false,
202
+ "controlnet_conditioning_scale": 1.0,
203
+ "control_guidance_start": 0.0,
204
+ "control_guidance_end": 1.0,
205
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
206
+ },
207
+ "controlnet_seg": {
208
+ "enable": true,
209
+ "use_preprocessor":true,
210
+ "guess_mode":false,
211
+ "controlnet_conditioning_scale": 1.0,
212
+ "control_guidance_start": 0.0,
213
+ "control_guidance_end": 1.0,
214
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
215
+ },
216
+ "qr_code_monster_v1": {
217
+ "enable": true,
218
+ "use_preprocessor":true,
219
+ "guess_mode":false,
220
+ "controlnet_conditioning_scale": 1.0,
221
+ "control_guidance_start": 0.0,
222
+ "control_guidance_end": 1.0,
223
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
224
+ },
225
+ "qr_code_monster_v2": {
226
+ "enable": true,
227
+ "use_preprocessor":true,
228
+ "guess_mode":false,
229
+ "controlnet_conditioning_scale": 1.0,
230
+ "control_guidance_start": 0.0,
231
+ "control_guidance_end": 1.0,
232
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
233
+ },
234
+ "controlnet_mediapipe_face": {
235
+ "enable": true,
236
+ "use_preprocessor":true,
237
+ "guess_mode":false,
238
+ "controlnet_conditioning_scale": 1.0,
239
+ "control_guidance_start": 0.0,
240
+ "control_guidance_end": 1.0,
241
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
242
+ },
243
+ "controlnet_ref": {
244
+ "enable": false,
245
+ "ref_image": "ref_image/ref_sample.png",
246
+ "attention_auto_machine_weight": 0.3,
247
+ "gn_auto_machine_weight": 0.3,
248
+ "style_fidelity": 0.5,
249
+ "reference_attn": true,
250
+ "reference_adain": false,
251
+ "scale_pattern":[1.0]
252
+ }
253
+ },
254
+ "upscale_config": {
255
+ "scheduler": "k_dpmpp_sde",
256
+ "steps": 20,
257
+ "strength": 0.5,
258
+ "guidance_scale": 10,
259
+ "controlnet_tile": {
260
+ "enable": true,
261
+ "controlnet_conditioning_scale": 1.0,
262
+ "guess_mode": false,
263
+ "control_guidance_start": 0.0,
264
+ "control_guidance_end": 1.0
265
+ },
266
+ "controlnet_line_anime": {
267
+ "enable": false,
268
+ "controlnet_conditioning_scale": 1.0,
269
+ "guess_mode": false,
270
+ "control_guidance_start": 0.0,
271
+ "control_guidance_end": 1.0
272
+ },
273
+ "controlnet_ip2p": {
274
+ "enable": false,
275
+ "controlnet_conditioning_scale": 0.5,
276
+ "guess_mode": false,
277
+ "control_guidance_start": 0.0,
278
+ "control_guidance_end": 1.0
279
+ },
280
+ "controlnet_ref": {
281
+ "enable": false,
282
+ "use_frame_as_ref_image": false,
283
+ "use_1st_frame_as_ref_image": false,
284
+ "ref_image": "ref_image/path_to_your_ref_img.jpg",
285
+ "attention_auto_machine_weight": 1.0,
286
+ "gn_auto_machine_weight": 1.0,
287
+ "style_fidelity": 0.25,
288
+ "reference_attn": true,
289
+ "reference_adain": false
290
+ }
291
+ },
292
+ "output":{
293
+ "format" : "mp4",
294
+ "fps" : 8,
295
+ "encode_param":{
296
+ "crf": 10
297
+ }
298
+ }
299
+ }
config/prompts/region_sample2.json ADDED
@@ -0,0 +1,299 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "sample",
3
+ "path": "share/Stable-diffusion/mistoonAnime_v20.safetensors",
4
+ "motion_module": "models/motion-module/mm_sd_v15_v2.ckpt",
5
+ "compile": false,
6
+ "seed": [
7
+ 12345
8
+ ],
9
+ "scheduler": "k_dpmpp_sde",
10
+ "steps": 20,
11
+ "guidance_scale": 10,
12
+ "unet_batch_size": 1,
13
+ "clip_skip": 2,
14
+ "prompt_fixed_ratio": 0.5,
15
+ "head_prompt": "(style of studio ghibli:1.2), (masterpiece, best quality)",
16
+ "prompt_map": {
17
+ "0": "forest, outdoors,"
18
+ },
19
+ "tail_prompt": "",
20
+ "n_prompt": [
21
+ "(worst quality:2), (bad quality:2), (normal quality:2), lowers, bad anatomy, bad hands, (multiple views),"
22
+ ],
23
+ "lora_map": {
24
+ "share/models/Lora/Ghibli_v6.safetensors": 1.0
25
+ },
26
+ "motion_lora_map": {
27
+ },
28
+ "ip_adapter_map": {
29
+ "enable": true,
30
+ "input_image_dir": "ip_adapter_image/cat",
31
+ "prompt_fixed_ratio": 0.5,
32
+ "save_input_image": true,
33
+ "resized_to_square": false,
34
+ "scale": 0.5,
35
+ "is_plus_face": false,
36
+ "is_plus": true,
37
+ "is_light": false
38
+ },
39
+ "img2img_map":{
40
+ "enable": true,
41
+ "init_img_dir" : "init_imgs/sample1",
42
+ "save_init_image": true,
43
+ "denoising_strength" : 0.7
44
+ },
45
+ "region_map" : {
46
+ "0":{
47
+ "enable": true,
48
+ "mask_dir" : "mask/sample1",
49
+ "save_mask": true,
50
+ "is_init_img" : false,
51
+ "condition":{
52
+ "prompt_fixed_ratio": 0.5,
53
+ "head_prompt": "(masterpiece, best quality)",
54
+ "prompt_map": {
55
+ "0": "cyberpunk,robot cat, robot"
56
+ },
57
+ "tail_prompt": "",
58
+ "ip_adapter_map": {
59
+ "enable": true,
60
+ "input_image_dir": "ip_adapter_image/cyberpunk",
61
+ "prompt_fixed_ratio": 0.5,
62
+ "save_input_image": true,
63
+ "resized_to_square": false
64
+ }
65
+ }
66
+ },
67
+ "background":{
68
+ "is_init_img" : false,
69
+ "hint" : "background's condition refers to the one in root"
70
+ }
71
+ },
72
+ "controlnet_map": {
73
+ "input_image_dir" : "",
74
+ "max_samples_on_vram": 0,
75
+ "max_models_on_vram" : 1,
76
+ "save_detectmap": true,
77
+ "preprocess_on_gpu": true,
78
+ "is_loop": true,
79
+
80
+ "controlnet_tile":{
81
+ "enable": true,
82
+ "use_preprocessor":true,
83
+ "preprocessor":{
84
+ "type" : "none",
85
+ "param":{
86
+ }
87
+ },
88
+ "guess_mode":false,
89
+ "controlnet_conditioning_scale": 1.0,
90
+ "control_guidance_start": 0.0,
91
+ "control_guidance_end": 1.0,
92
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
93
+ },
94
+ "controlnet_ip2p":{
95
+ "enable": true,
96
+ "use_preprocessor":true,
97
+ "guess_mode":false,
98
+ "controlnet_conditioning_scale": 1.0,
99
+ "control_guidance_start": 0.0,
100
+ "control_guidance_end": 1.0,
101
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
102
+ },
103
+ "controlnet_lineart_anime":{
104
+ "enable": true,
105
+ "use_preprocessor":true,
106
+ "guess_mode":false,
107
+ "controlnet_conditioning_scale": 1.0,
108
+ "control_guidance_start": 0.0,
109
+ "control_guidance_end": 1.0,
110
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
111
+ },
112
+ "controlnet_openpose":{
113
+ "enable": true,
114
+ "use_preprocessor":true,
115
+ "guess_mode":false,
116
+ "controlnet_conditioning_scale": 1.0,
117
+ "control_guidance_start": 0.0,
118
+ "control_guidance_end": 1.0,
119
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
120
+ },
121
+ "controlnet_softedge":{
122
+ "enable": true,
123
+ "use_preprocessor":true,
124
+ "preprocessor":{
125
+ "type" : "softedge_pidsafe",
126
+ "param":{
127
+ }
128
+ },
129
+ "guess_mode":false,
130
+ "controlnet_conditioning_scale": 1.0,
131
+ "control_guidance_start": 0.0,
132
+ "control_guidance_end": 1.0,
133
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
134
+ },
135
+ "controlnet_shuffle": {
136
+ "enable": true,
137
+ "use_preprocessor":true,
138
+ "guess_mode":false,
139
+ "controlnet_conditioning_scale": 1.0,
140
+ "control_guidance_start": 0.0,
141
+ "control_guidance_end": 1.0,
142
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
143
+ },
144
+ "controlnet_depth": {
145
+ "enable": true,
146
+ "use_preprocessor":true,
147
+ "guess_mode":false,
148
+ "controlnet_conditioning_scale": 1.0,
149
+ "control_guidance_start": 0.0,
150
+ "control_guidance_end": 1.0,
151
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
152
+ },
153
+ "controlnet_canny": {
154
+ "enable": true,
155
+ "use_preprocessor":true,
156
+ "guess_mode":false,
157
+ "controlnet_conditioning_scale": 1.0,
158
+ "control_guidance_start": 0.0,
159
+ "control_guidance_end": 1.0,
160
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
161
+ },
162
+ "controlnet_inpaint": {
163
+ "enable": true,
164
+ "use_preprocessor":true,
165
+ "guess_mode":false,
166
+ "controlnet_conditioning_scale": 1.0,
167
+ "control_guidance_start": 0.0,
168
+ "control_guidance_end": 1.0,
169
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
170
+ },
171
+ "controlnet_lineart": {
172
+ "enable": true,
173
+ "use_preprocessor":true,
174
+ "guess_mode":false,
175
+ "controlnet_conditioning_scale": 1.0,
176
+ "control_guidance_start": 0.0,
177
+ "control_guidance_end": 1.0,
178
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
179
+ },
180
+ "controlnet_mlsd": {
181
+ "enable": true,
182
+ "use_preprocessor":true,
183
+ "guess_mode":false,
184
+ "controlnet_conditioning_scale": 1.0,
185
+ "control_guidance_start": 0.0,
186
+ "control_guidance_end": 1.0,
187
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
188
+ },
189
+ "controlnet_normalbae": {
190
+ "enable": true,
191
+ "use_preprocessor":true,
192
+ "guess_mode":false,
193
+ "controlnet_conditioning_scale": 1.0,
194
+ "control_guidance_start": 0.0,
195
+ "control_guidance_end": 1.0,
196
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
197
+ },
198
+ "controlnet_scribble": {
199
+ "enable": true,
200
+ "use_preprocessor":true,
201
+ "guess_mode":false,
202
+ "controlnet_conditioning_scale": 1.0,
203
+ "control_guidance_start": 0.0,
204
+ "control_guidance_end": 1.0,
205
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
206
+ },
207
+ "controlnet_seg": {
208
+ "enable": true,
209
+ "use_preprocessor":true,
210
+ "guess_mode":false,
211
+ "controlnet_conditioning_scale": 1.0,
212
+ "control_guidance_start": 0.0,
213
+ "control_guidance_end": 1.0,
214
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
215
+ },
216
+ "qr_code_monster_v1": {
217
+ "enable": true,
218
+ "use_preprocessor":true,
219
+ "guess_mode":false,
220
+ "controlnet_conditioning_scale": 1.0,
221
+ "control_guidance_start": 0.0,
222
+ "control_guidance_end": 1.0,
223
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
224
+ },
225
+ "qr_code_monster_v2": {
226
+ "enable": true,
227
+ "use_preprocessor":true,
228
+ "guess_mode":false,
229
+ "controlnet_conditioning_scale": 1.0,
230
+ "control_guidance_start": 0.0,
231
+ "control_guidance_end": 1.0,
232
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
233
+ },
234
+ "controlnet_mediapipe_face": {
235
+ "enable": true,
236
+ "use_preprocessor":true,
237
+ "guess_mode":false,
238
+ "controlnet_conditioning_scale": 1.0,
239
+ "control_guidance_start": 0.0,
240
+ "control_guidance_end": 1.0,
241
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
242
+ },
243
+ "controlnet_ref": {
244
+ "enable": false,
245
+ "ref_image": "ref_image/ref_sample.png",
246
+ "attention_auto_machine_weight": 0.3,
247
+ "gn_auto_machine_weight": 0.3,
248
+ "style_fidelity": 0.5,
249
+ "reference_attn": true,
250
+ "reference_adain": false,
251
+ "scale_pattern":[1.0]
252
+ }
253
+ },
254
+ "upscale_config": {
255
+ "scheduler": "k_dpmpp_sde",
256
+ "steps": 20,
257
+ "strength": 0.5,
258
+ "guidance_scale": 10,
259
+ "controlnet_tile": {
260
+ "enable": true,
261
+ "controlnet_conditioning_scale": 1.0,
262
+ "guess_mode": false,
263
+ "control_guidance_start": 0.0,
264
+ "control_guidance_end": 1.0
265
+ },
266
+ "controlnet_line_anime": {
267
+ "enable": false,
268
+ "controlnet_conditioning_scale": 1.0,
269
+ "guess_mode": false,
270
+ "control_guidance_start": 0.0,
271
+ "control_guidance_end": 1.0
272
+ },
273
+ "controlnet_ip2p": {
274
+ "enable": false,
275
+ "controlnet_conditioning_scale": 0.5,
276
+ "guess_mode": false,
277
+ "control_guidance_start": 0.0,
278
+ "control_guidance_end": 1.0
279
+ },
280
+ "controlnet_ref": {
281
+ "enable": false,
282
+ "use_frame_as_ref_image": false,
283
+ "use_1st_frame_as_ref_image": false,
284
+ "ref_image": "ref_image/path_to_your_ref_img.jpg",
285
+ "attention_auto_machine_weight": 1.0,
286
+ "gn_auto_machine_weight": 1.0,
287
+ "style_fidelity": 0.25,
288
+ "reference_attn": true,
289
+ "reference_adain": false
290
+ }
291
+ },
292
+ "output":{
293
+ "format" : "mp4",
294
+ "fps" : 8,
295
+ "encode_param":{
296
+ "crf": 10
297
+ }
298
+ }
299
+ }
config/prompts/region_sample3.json ADDED
@@ -0,0 +1,299 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "sample",
3
+ "path": "share/Stable-diffusion/mistoonAnime_v20.safetensors",
4
+ "motion_module": "models/motion-module/mm_sd_v15_v2.ckpt",
5
+ "compile": false,
6
+ "seed": [
7
+ 12345
8
+ ],
9
+ "scheduler": "k_dpmpp_sde",
10
+ "steps": 20,
11
+ "guidance_scale": 10,
12
+ "unet_batch_size": 1,
13
+ "clip_skip": 2,
14
+ "prompt_fixed_ratio": 0.5,
15
+ "head_prompt": "(style of studio ghibli:1.2), (masterpiece, best quality)",
16
+ "prompt_map": {
17
+ "0": "forest, outdoors,"
18
+ },
19
+ "tail_prompt": "",
20
+ "n_prompt": [
21
+ "(worst quality:2), (bad quality:2), (normal quality:2), lowers, bad anatomy, bad hands, (multiple views),"
22
+ ],
23
+ "lora_map": {
24
+ "share/models/Lora/Ghibli_v6.safetensors": 1.0
25
+ },
26
+ "motion_lora_map": {
27
+ },
28
+ "ip_adapter_map": {
29
+ "enable": true,
30
+ "input_image_dir": "ip_adapter_image/cat",
31
+ "prompt_fixed_ratio": 0.5,
32
+ "save_input_image": true,
33
+ "resized_to_square": false,
34
+ "scale": 0.5,
35
+ "is_plus_face": false,
36
+ "is_plus": true,
37
+ "is_light": false
38
+ },
39
+ "img2img_map":{
40
+ "enable": true,
41
+ "init_img_dir" : "init_imgs/sample1",
42
+ "save_init_image": true,
43
+ "denoising_strength" : 0.85
44
+ },
45
+ "region_map" : {
46
+ "0":{
47
+ "enable": true,
48
+ "mask_dir" : "mask/sample1",
49
+ "save_mask": true,
50
+ "is_init_img" : false,
51
+ "condition":{
52
+ "prompt_fixed_ratio": 0.5,
53
+ "head_prompt": "(masterpiece, best quality)",
54
+ "prompt_map": {
55
+ "0": "cyberpunk,robot cat, robot"
56
+ },
57
+ "tail_prompt": "",
58
+ "ip_adapter_map": {
59
+ "enable": true,
60
+ "input_image_dir": "ip_adapter_image/cyberpunk",
61
+ "prompt_fixed_ratio": 0.5,
62
+ "save_input_image": true,
63
+ "resized_to_square": false
64
+ }
65
+ }
66
+ },
67
+ "background":{
68
+ "is_init_img" : false,
69
+ "hint" : "background's condition refers to the one in root"
70
+ }
71
+ },
72
+ "controlnet_map": {
73
+ "input_image_dir" : "controlnet_image/cat",
74
+ "max_samples_on_vram": 0,
75
+ "max_models_on_vram" : 1,
76
+ "save_detectmap": true,
77
+ "preprocess_on_gpu": true,
78
+ "is_loop": true,
79
+
80
+ "controlnet_tile":{
81
+ "enable": true,
82
+ "use_preprocessor":true,
83
+ "preprocessor":{
84
+ "type" : "none",
85
+ "param":{
86
+ }
87
+ },
88
+ "guess_mode":false,
89
+ "controlnet_conditioning_scale": 1.0,
90
+ "control_guidance_start": 0.0,
91
+ "control_guidance_end": 1.0,
92
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
93
+ },
94
+ "controlnet_ip2p":{
95
+ "enable": true,
96
+ "use_preprocessor":true,
97
+ "guess_mode":false,
98
+ "controlnet_conditioning_scale":0.5,
99
+ "control_guidance_start": 0.0,
100
+ "control_guidance_end": 1.0,
101
+ "control_scale_list":[]
102
+ },
103
+ "controlnet_lineart_anime":{
104
+ "enable": true,
105
+ "use_preprocessor":true,
106
+ "guess_mode":false,
107
+ "controlnet_conditioning_scale": 1.0,
108
+ "control_guidance_start": 0.0,
109
+ "control_guidance_end": 1.0,
110
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
111
+ },
112
+ "controlnet_openpose":{
113
+ "enable": true,
114
+ "use_preprocessor":true,
115
+ "guess_mode":false,
116
+ "controlnet_conditioning_scale": 1.0,
117
+ "control_guidance_start": 0.0,
118
+ "control_guidance_end": 1.0,
119
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
120
+ },
121
+ "controlnet_softedge":{
122
+ "enable": true,
123
+ "use_preprocessor":true,
124
+ "preprocessor":{
125
+ "type" : "softedge_pidsafe",
126
+ "param":{
127
+ }
128
+ },
129
+ "guess_mode":false,
130
+ "controlnet_conditioning_scale": 1.0,
131
+ "control_guidance_start": 0.0,
132
+ "control_guidance_end": 1.0,
133
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
134
+ },
135
+ "controlnet_shuffle": {
136
+ "enable": true,
137
+ "use_preprocessor":true,
138
+ "guess_mode":false,
139
+ "controlnet_conditioning_scale": 1.0,
140
+ "control_guidance_start": 0.0,
141
+ "control_guidance_end": 1.0,
142
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
143
+ },
144
+ "controlnet_depth": {
145
+ "enable": true,
146
+ "use_preprocessor":true,
147
+ "guess_mode":false,
148
+ "controlnet_conditioning_scale": 1.0,
149
+ "control_guidance_start": 0.0,
150
+ "control_guidance_end": 1.0,
151
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
152
+ },
153
+ "controlnet_canny": {
154
+ "enable": true,
155
+ "use_preprocessor":true,
156
+ "guess_mode":false,
157
+ "controlnet_conditioning_scale": 1.0,
158
+ "control_guidance_start": 0.0,
159
+ "control_guidance_end": 1.0,
160
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
161
+ },
162
+ "controlnet_inpaint": {
163
+ "enable": true,
164
+ "use_preprocessor":true,
165
+ "guess_mode":false,
166
+ "controlnet_conditioning_scale": 1.0,
167
+ "control_guidance_start": 0.0,
168
+ "control_guidance_end": 1.0,
169
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
170
+ },
171
+ "controlnet_lineart": {
172
+ "enable": true,
173
+ "use_preprocessor":true,
174
+ "guess_mode":false,
175
+ "controlnet_conditioning_scale": 1.0,
176
+ "control_guidance_start": 0.0,
177
+ "control_guidance_end": 1.0,
178
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
179
+ },
180
+ "controlnet_mlsd": {
181
+ "enable": true,
182
+ "use_preprocessor":true,
183
+ "guess_mode":false,
184
+ "controlnet_conditioning_scale": 1.0,
185
+ "control_guidance_start": 0.0,
186
+ "control_guidance_end": 1.0,
187
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
188
+ },
189
+ "controlnet_normalbae": {
190
+ "enable": true,
191
+ "use_preprocessor":true,
192
+ "guess_mode":false,
193
+ "controlnet_conditioning_scale": 0.25,
194
+ "control_guidance_start": 0.0,
195
+ "control_guidance_end": 1.0,
196
+ "control_scale_list":[]
197
+ },
198
+ "controlnet_scribble": {
199
+ "enable": true,
200
+ "use_preprocessor":true,
201
+ "guess_mode":false,
202
+ "controlnet_conditioning_scale": 1.0,
203
+ "control_guidance_start": 0.0,
204
+ "control_guidance_end": 1.0,
205
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
206
+ },
207
+ "controlnet_seg": {
208
+ "enable": true,
209
+ "use_preprocessor":true,
210
+ "guess_mode":false,
211
+ "controlnet_conditioning_scale": 1.0,
212
+ "control_guidance_start": 0.0,
213
+ "control_guidance_end": 1.0,
214
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
215
+ },
216
+ "qr_code_monster_v1": {
217
+ "enable": true,
218
+ "use_preprocessor":true,
219
+ "guess_mode":false,
220
+ "controlnet_conditioning_scale": 1.0,
221
+ "control_guidance_start": 0.0,
222
+ "control_guidance_end": 1.0,
223
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
224
+ },
225
+ "qr_code_monster_v2": {
226
+ "enable": true,
227
+ "use_preprocessor":true,
228
+ "guess_mode":false,
229
+ "controlnet_conditioning_scale": 1.0,
230
+ "control_guidance_start": 0.0,
231
+ "control_guidance_end": 1.0,
232
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
233
+ },
234
+ "controlnet_mediapipe_face": {
235
+ "enable": true,
236
+ "use_preprocessor":true,
237
+ "guess_mode":false,
238
+ "controlnet_conditioning_scale": 1.0,
239
+ "control_guidance_start": 0.0,
240
+ "control_guidance_end": 1.0,
241
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
242
+ },
243
+ "controlnet_ref": {
244
+ "enable": false,
245
+ "ref_image": "ref_image/ref_sample.png",
246
+ "attention_auto_machine_weight": 0.3,
247
+ "gn_auto_machine_weight": 0.3,
248
+ "style_fidelity": 0.5,
249
+ "reference_attn": true,
250
+ "reference_adain": false,
251
+ "scale_pattern":[1.0]
252
+ }
253
+ },
254
+ "upscale_config": {
255
+ "scheduler": "k_dpmpp_sde",
256
+ "steps": 20,
257
+ "strength": 0.5,
258
+ "guidance_scale": 10,
259
+ "controlnet_tile": {
260
+ "enable": true,
261
+ "controlnet_conditioning_scale": 1.0,
262
+ "guess_mode": false,
263
+ "control_guidance_start": 0.0,
264
+ "control_guidance_end": 1.0
265
+ },
266
+ "controlnet_line_anime": {
267
+ "enable": false,
268
+ "controlnet_conditioning_scale": 1.0,
269
+ "guess_mode": false,
270
+ "control_guidance_start": 0.0,
271
+ "control_guidance_end": 1.0
272
+ },
273
+ "controlnet_ip2p": {
274
+ "enable": false,
275
+ "controlnet_conditioning_scale": 0.5,
276
+ "guess_mode": false,
277
+ "control_guidance_start": 0.0,
278
+ "control_guidance_end": 1.0
279
+ },
280
+ "controlnet_ref": {
281
+ "enable": false,
282
+ "use_frame_as_ref_image": false,
283
+ "use_1st_frame_as_ref_image": false,
284
+ "ref_image": "ref_image/path_to_your_ref_img.jpg",
285
+ "attention_auto_machine_weight": 1.0,
286
+ "gn_auto_machine_weight": 1.0,
287
+ "style_fidelity": 0.25,
288
+ "reference_attn": true,
289
+ "reference_adain": false
290
+ }
291
+ },
292
+ "output":{
293
+ "format" : "mp4",
294
+ "fps" : 8,
295
+ "encode_param":{
296
+ "crf": 10
297
+ }
298
+ }
299
+ }
config/prompts/region_txt2img.json ADDED
@@ -0,0 +1,324 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "sample",
3
+ "path": "share/Stable-diffusion/mistoonAnime_v20.safetensors",
4
+ "motion_module": "models/motion-module/mm_sd_v15_v2.ckpt",
5
+ "compile": false,
6
+ "seed": [
7
+ -1
8
+ ],
9
+ "scheduler": "k_dpmpp_sde",
10
+ "steps": 20,
11
+ "guidance_scale": 10,
12
+ "unet_batch_size": 1,
13
+ "clip_skip": 2,
14
+ "prompt_fixed_ratio": 0.5,
15
+ "head_prompt": "(style of studio ghibli:1.2), (masterpiece, best quality)",
16
+ "prompt_map": {
17
+ "0": "town, outdoors,"
18
+ },
19
+ "tail_prompt": "",
20
+ "n_prompt": [
21
+ "(worst quality:2), (bad quality:2), (normal quality:2), lowers, bad anatomy, bad hands, (multiple views),"
22
+ ],
23
+ "lora_map": {
24
+ },
25
+ "motion_lora_map": {
26
+ },
27
+ "ip_adapter_map": {
28
+ "enable": true,
29
+ "input_image_dir": "ip_adapter_image/cyberpunk",
30
+ "prompt_fixed_ratio": 0.5,
31
+ "save_input_image": true,
32
+ "resized_to_square": false,
33
+ "scale": 0.5,
34
+ "is_plus_face": false,
35
+ "is_plus": true,
36
+ "is_light": false
37
+ },
38
+ "img2img_map":{
39
+ "enable": false,
40
+ "init_img_dir" : "init_imgs/sample1",
41
+ "save_init_image": true,
42
+ "denoising_strength" : 0.7
43
+ },
44
+ "region_map" : {
45
+ "0":{
46
+ "enable": true,
47
+ "crop_generation_rate": 0.1,
48
+ "mask_dir" : "mask/area0",
49
+ "save_mask": true,
50
+ "is_init_img" : false,
51
+ "condition":{
52
+ "prompt_fixed_ratio": 1.0,
53
+ "head_prompt": "",
54
+ "prompt_map": {
55
+ "0": "((standing)),1girl, upper body,",
56
+ "8": "((smile)),1girl, upper body,",
57
+ "16": "(((arms_up))),1girl, upper body, ",
58
+ "24": "(((waving ))),1girl, upper body"
59
+ },
60
+ "tail_prompt": "(style of studio ghibli:1.2), (masterpiece, best quality)",
61
+ "ip_adapter_map": {
62
+ "enable": true,
63
+ "input_image_dir": "ip_adapter_image/girl",
64
+ "prompt_fixed_ratio": 0.5,
65
+ "save_input_image": true,
66
+ "resized_to_square": false
67
+ }
68
+ }
69
+ },
70
+ "1":{
71
+ "enable": true,
72
+ "crop_generation_rate": 0.1,
73
+ "mask_dir" : "mask/area1",
74
+ "save_mask": true,
75
+ "is_init_img" : false,
76
+ "condition":{
77
+ "prompt_fixed_ratio": 0.5,
78
+ "head_prompt": "((car)),(style of studio ghibli:1.2), (masterpiece, best quality)",
79
+ "prompt_map": {
80
+ "0": "street, road,no human"
81
+ },
82
+ "tail_prompt": "",
83
+ "ip_adapter_map": {
84
+ "enable": true,
85
+ "input_image_dir": "ip_adapter_image/cyberpunk",
86
+ "prompt_fixed_ratio": 0.5,
87
+ "save_input_image": true,
88
+ "resized_to_square": false
89
+ }
90
+ }
91
+ },
92
+ "background":{
93
+ "is_init_img" : false,
94
+ "hint" : "background's condition refers to the one in root"
95
+ }
96
+ },
97
+ "controlnet_map": {
98
+ "input_image_dir" : "",
99
+ "max_samples_on_vram": 0,
100
+ "max_models_on_vram" : 1,
101
+ "save_detectmap": true,
102
+ "preprocess_on_gpu": true,
103
+ "is_loop": true,
104
+
105
+ "controlnet_tile":{
106
+ "enable": true,
107
+ "use_preprocessor":true,
108
+ "preprocessor":{
109
+ "type" : "none",
110
+ "param":{
111
+ }
112
+ },
113
+ "guess_mode":false,
114
+ "controlnet_conditioning_scale": 1.0,
115
+ "control_guidance_start": 0.0,
116
+ "control_guidance_end": 1.0,
117
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
118
+ },
119
+ "controlnet_ip2p":{
120
+ "enable": true,
121
+ "use_preprocessor":true,
122
+ "guess_mode":false,
123
+ "controlnet_conditioning_scale": 1.0,
124
+ "control_guidance_start": 0.0,
125
+ "control_guidance_end": 1.0,
126
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
127
+ },
128
+ "controlnet_lineart_anime":{
129
+ "enable": true,
130
+ "use_preprocessor":true,
131
+ "guess_mode":false,
132
+ "controlnet_conditioning_scale": 1.0,
133
+ "control_guidance_start": 0.0,
134
+ "control_guidance_end": 1.0,
135
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
136
+ },
137
+ "controlnet_openpose":{
138
+ "enable": true,
139
+ "use_preprocessor":true,
140
+ "guess_mode":false,
141
+ "controlnet_conditioning_scale": 1.0,
142
+ "control_guidance_start": 0.0,
143
+ "control_guidance_end": 1.0,
144
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
145
+ },
146
+ "controlnet_softedge":{
147
+ "enable": true,
148
+ "use_preprocessor":true,
149
+ "preprocessor":{
150
+ "type" : "softedge_pidsafe",
151
+ "param":{
152
+ }
153
+ },
154
+ "guess_mode":false,
155
+ "controlnet_conditioning_scale": 1.0,
156
+ "control_guidance_start": 0.0,
157
+ "control_guidance_end": 1.0,
158
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
159
+ },
160
+ "controlnet_shuffle": {
161
+ "enable": true,
162
+ "use_preprocessor":true,
163
+ "guess_mode":false,
164
+ "controlnet_conditioning_scale": 1.0,
165
+ "control_guidance_start": 0.0,
166
+ "control_guidance_end": 1.0,
167
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
168
+ },
169
+ "controlnet_depth": {
170
+ "enable": true,
171
+ "use_preprocessor":true,
172
+ "guess_mode":false,
173
+ "controlnet_conditioning_scale": 1.0,
174
+ "control_guidance_start": 0.0,
175
+ "control_guidance_end": 1.0,
176
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
177
+ },
178
+ "controlnet_canny": {
179
+ "enable": true,
180
+ "use_preprocessor":true,
181
+ "guess_mode":false,
182
+ "controlnet_conditioning_scale": 1.0,
183
+ "control_guidance_start": 0.0,
184
+ "control_guidance_end": 1.0,
185
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
186
+ },
187
+ "controlnet_inpaint": {
188
+ "enable": true,
189
+ "use_preprocessor":true,
190
+ "guess_mode":false,
191
+ "controlnet_conditioning_scale": 1.0,
192
+ "control_guidance_start": 0.0,
193
+ "control_guidance_end": 1.0,
194
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
195
+ },
196
+ "controlnet_lineart": {
197
+ "enable": true,
198
+ "use_preprocessor":true,
199
+ "guess_mode":false,
200
+ "controlnet_conditioning_scale": 1.0,
201
+ "control_guidance_start": 0.0,
202
+ "control_guidance_end": 1.0,
203
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
204
+ },
205
+ "controlnet_mlsd": {
206
+ "enable": true,
207
+ "use_preprocessor":true,
208
+ "guess_mode":false,
209
+ "controlnet_conditioning_scale": 1.0,
210
+ "control_guidance_start": 0.0,
211
+ "control_guidance_end": 1.0,
212
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
213
+ },
214
+ "controlnet_normalbae": {
215
+ "enable": true,
216
+ "use_preprocessor":true,
217
+ "guess_mode":false,
218
+ "controlnet_conditioning_scale": 1.0,
219
+ "control_guidance_start": 0.0,
220
+ "control_guidance_end": 1.0,
221
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
222
+ },
223
+ "controlnet_scribble": {
224
+ "enable": true,
225
+ "use_preprocessor":true,
226
+ "guess_mode":false,
227
+ "controlnet_conditioning_scale": 1.0,
228
+ "control_guidance_start": 0.0,
229
+ "control_guidance_end": 1.0,
230
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
231
+ },
232
+ "controlnet_seg": {
233
+ "enable": true,
234
+ "use_preprocessor":true,
235
+ "guess_mode":false,
236
+ "controlnet_conditioning_scale": 1.0,
237
+ "control_guidance_start": 0.0,
238
+ "control_guidance_end": 1.0,
239
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
240
+ },
241
+ "qr_code_monster_v1": {
242
+ "enable": true,
243
+ "use_preprocessor":true,
244
+ "guess_mode":false,
245
+ "controlnet_conditioning_scale": 1.0,
246
+ "control_guidance_start": 0.0,
247
+ "control_guidance_end": 1.0,
248
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
249
+ },
250
+ "qr_code_monster_v2": {
251
+ "enable": true,
252
+ "use_preprocessor":true,
253
+ "guess_mode":false,
254
+ "controlnet_conditioning_scale": 1.0,
255
+ "control_guidance_start": 0.0,
256
+ "control_guidance_end": 1.0,
257
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
258
+ },
259
+ "controlnet_mediapipe_face": {
260
+ "enable": true,
261
+ "use_preprocessor":true,
262
+ "guess_mode":false,
263
+ "controlnet_conditioning_scale": 1.0,
264
+ "control_guidance_start": 0.0,
265
+ "control_guidance_end": 1.0,
266
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
267
+ },
268
+ "controlnet_ref": {
269
+ "enable": false,
270
+ "ref_image": "ref_image/ref_sample.png",
271
+ "attention_auto_machine_weight": 0.3,
272
+ "gn_auto_machine_weight": 0.3,
273
+ "style_fidelity": 0.5,
274
+ "reference_attn": true,
275
+ "reference_adain": false,
276
+ "scale_pattern":[1.0]
277
+ }
278
+ },
279
+ "upscale_config": {
280
+ "scheduler": "k_dpmpp_sde",
281
+ "steps": 20,
282
+ "strength": 0.5,
283
+ "guidance_scale": 10,
284
+ "controlnet_tile": {
285
+ "enable": true,
286
+ "controlnet_conditioning_scale": 1.0,
287
+ "guess_mode": false,
288
+ "control_guidance_start": 0.0,
289
+ "control_guidance_end": 1.0
290
+ },
291
+ "controlnet_line_anime": {
292
+ "enable": false,
293
+ "controlnet_conditioning_scale": 1.0,
294
+ "guess_mode": false,
295
+ "control_guidance_start": 0.0,
296
+ "control_guidance_end": 1.0
297
+ },
298
+ "controlnet_ip2p": {
299
+ "enable": false,
300
+ "controlnet_conditioning_scale": 0.5,
301
+ "guess_mode": false,
302
+ "control_guidance_start": 0.0,
303
+ "control_guidance_end": 1.0
304
+ },
305
+ "controlnet_ref": {
306
+ "enable": false,
307
+ "use_frame_as_ref_image": false,
308
+ "use_1st_frame_as_ref_image": false,
309
+ "ref_image": "ref_image/path_to_your_ref_img.jpg",
310
+ "attention_auto_machine_weight": 1.0,
311
+ "gn_auto_machine_weight": 1.0,
312
+ "style_fidelity": 0.25,
313
+ "reference_attn": true,
314
+ "reference_adain": false
315
+ }
316
+ },
317
+ "output":{
318
+ "format" : "mp4",
319
+ "fps" : 8,
320
+ "encode_param":{
321
+ "crf": 10
322
+ }
323
+ }
324
+ }
config/prompts/sample_lcm.json ADDED
@@ -0,0 +1,298 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "simple",
3
+ "path": "share/Stable-diffusion/mistoonAnime_v20.safetensors",
4
+ "motion_module": "models/motion-module/mm_sd_v15_v2.ckpt",
5
+ "lcm_map":{
6
+ "enable":true,
7
+ "start_scale":0.15,
8
+ "end_scale":0.75,
9
+ "gradient_start":0.2,
10
+ "gradient_end":0.75
11
+ },
12
+ "compile": false,
13
+ "seed": [
14
+ 123456
15
+ ],
16
+ "scheduler": "euler_a",
17
+ "steps": 8,
18
+ "guidance_scale": 3,
19
+ "clip_skip": 2,
20
+ "prompt_fixed_ratio": 1.0,
21
+ "head_prompt": "1girl, wizard, circlet, earrings, jewelry, purple hair,",
22
+ "prompt_map": {
23
+ "0": "",
24
+ "8": "((fire magic spell, fire background))",
25
+ "16": "((ice magic spell, ice background))",
26
+ "24": "((thunder magic spell, thunder background))",
27
+ "32": "((skull magic spell, skull background))",
28
+ "40": "((wind magic spell, wind background))",
29
+ "48": "((stone magic spell, stone background))",
30
+ "56": "((holy magic spell, holy background))",
31
+ "64": "((star magic spell, star background))",
32
+ "72": "((plant magic spell, plant background))",
33
+ "80": "((meteor magic spell, meteor background))"
34
+ },
35
+ "tail_prompt": "",
36
+ "n_prompt": [
37
+ "(worst quality, low quality:1.4),nudity,border,text, patreon, easynegative, negative_hand-neg"
38
+ ],
39
+ "is_single_prompt_mode":false,
40
+ "lora_map": {
41
+ "share/Lora/add_detail.safetensors":1.0
42
+ },
43
+ "ip_adapter_map": {
44
+ "enable": false,
45
+ "input_image_dir": "ip_adapter_image/test",
46
+ "save_input_image": true,
47
+ "resized_to_square": false,
48
+ "scale": 0.5,
49
+ "is_plus_face": false,
50
+ "is_plus": true
51
+ },
52
+ "img2img_map":{
53
+ "enable": false,
54
+ "init_img_dir" : "init_imgs/test",
55
+ "save_init_image": true,
56
+ "denoising_strength" : 0.8
57
+ },
58
+ "region_map" : {
59
+ "0":{
60
+ "enable":false,
61
+ "mask_dir" : "mask/r0",
62
+ "save_mask": true,
63
+ "is_init_img" : false,
64
+ "condition":{
65
+ "prompt_fixed_ratio": 0.5,
66
+ "head_prompt": "1girl, wizard, circlet, earrings, jewelry, purple hair,",
67
+ "prompt_map": {
68
+ "0": "",
69
+ "8": "((fire magic spell, fire background))",
70
+ "16": "((ice magic spell, ice background))",
71
+ "24": "((thunder magic spell, thunder background))",
72
+ "32": "((skull magic spell, skull background))",
73
+ "40": "((wind magic spell, wind background))",
74
+ "48": "((stone magic spell, stone background))",
75
+ "56": "((holy magic spell, holy background))",
76
+ "64": "((star magic spell, star background))",
77
+ "72": "((plant magic spell, plant background))",
78
+ "80": "((meteor magic spell, meteor background))"
79
+ },
80
+ "tail_prompt": "",
81
+ "ip_adapter_map": {
82
+ "enable": false,
83
+ "input_image_dir": "ip_adapter_image/test",
84
+ "save_input_image": true,
85
+ "resized_to_square": false
86
+ }
87
+ }
88
+ },
89
+ "background":{
90
+ "is_init_img" : false,
91
+ "hint" : "background's condition refers to the one in root"
92
+ }
93
+ },
94
+ "controlnet_map": {
95
+ "input_image_dir" : "controlnet_image/test9999",
96
+ "max_samples_on_vram": 200,
97
+ "max_models_on_vram" : 3,
98
+ "save_detectmap": true,
99
+ "preprocess_on_gpu": true,
100
+ "is_loop": true,
101
+
102
+ "controlnet_tile":{
103
+ "enable": true,
104
+ "use_preprocessor":true,
105
+ "preprocessor":{
106
+ "type" : "none",
107
+ "param":{
108
+ }
109
+ },
110
+ "guess_mode":false,
111
+ "controlnet_conditioning_scale": 1.0,
112
+ "control_guidance_start": 0.0,
113
+ "control_guidance_end": 1.0,
114
+ "control_scale_list":[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5]
115
+ },
116
+ "controlnet_ip2p":{
117
+ "enable": true,
118
+ "use_preprocessor":true,
119
+ "guess_mode":false,
120
+ "controlnet_conditioning_scale": 1.0,
121
+ "control_guidance_start": 0.0,
122
+ "control_guidance_end": 1.0,
123
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
124
+ },
125
+ "controlnet_lineart_anime":{
126
+ "enable": true,
127
+ "use_preprocessor":true,
128
+ "guess_mode":false,
129
+ "controlnet_conditioning_scale": 1.0,
130
+ "control_guidance_start": 0.0,
131
+ "control_guidance_end": 1.0,
132
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
133
+ },
134
+ "controlnet_openpose":{
135
+ "enable": true,
136
+ "use_preprocessor":true,
137
+ "preprocessor":{
138
+ "type" : "dwpose",
139
+ "param":{
140
+ }
141
+ },
142
+ "guess_mode":false,
143
+ "controlnet_conditioning_scale": 1.0,
144
+ "control_guidance_start": 0.0,
145
+ "control_guidance_end": 1.0
146
+ },
147
+ "controlnet_softedge":{
148
+ "enable": true,
149
+ "use_preprocessor":true,
150
+ "preprocessor":{
151
+ "type" : "softedge_pidsafe",
152
+ "param":{
153
+ }
154
+ },
155
+ "guess_mode":false,
156
+ "controlnet_conditioning_scale": 1.0,
157
+ "control_guidance_start": 0.0,
158
+ "control_guidance_end": 1.0,
159
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
160
+ },
161
+ "controlnet_shuffle": {
162
+ "enable": true,
163
+ "use_preprocessor":true,
164
+ "guess_mode":false,
165
+ "controlnet_conditioning_scale": 1.0,
166
+ "control_guidance_start": 0.0,
167
+ "control_guidance_end": 1.0,
168
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
169
+ },
170
+ "controlnet_depth": {
171
+ "enable": true,
172
+ "use_preprocessor":true,
173
+ "guess_mode":false,
174
+ "controlnet_conditioning_scale": 1.0,
175
+ "control_guidance_start": 0.0,
176
+ "control_guidance_end": 1.0,
177
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
178
+ },
179
+ "controlnet_canny": {
180
+ "enable": true,
181
+ "use_preprocessor":true,
182
+ "guess_mode":false,
183
+ "controlnet_conditioning_scale": 1.0,
184
+ "control_guidance_start": 0.0,
185
+ "control_guidance_end": 1.0,
186
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
187
+ },
188
+ "controlnet_inpaint": {
189
+ "enable": true,
190
+ "use_preprocessor":true,
191
+ "guess_mode":false,
192
+ "controlnet_conditioning_scale": 1.0,
193
+ "control_guidance_start": 0.0,
194
+ "control_guidance_end": 1.0,
195
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
196
+ },
197
+ "controlnet_lineart": {
198
+ "enable": true,
199
+ "use_preprocessor":true,
200
+ "guess_mode":false,
201
+ "controlnet_conditioning_scale": 0.5,
202
+ "control_guidance_start": 0.0,
203
+ "control_guidance_end": 1.0,
204
+ "control_scale_list":[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5]
205
+ },
206
+ "controlnet_mlsd": {
207
+ "enable": true,
208
+ "use_preprocessor":true,
209
+ "guess_mode":false,
210
+ "controlnet_conditioning_scale": 1.0,
211
+ "control_guidance_start": 0.0,
212
+ "control_guidance_end": 1.0,
213
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
214
+ },
215
+ "controlnet_normalbae": {
216
+ "enable": true,
217
+ "use_preprocessor":true,
218
+ "guess_mode":false,
219
+ "controlnet_conditioning_scale": 1.0,
220
+ "control_guidance_start": 0.0,
221
+ "control_guidance_end": 1.0,
222
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
223
+ },
224
+ "controlnet_scribble": {
225
+ "enable": true,
226
+ "use_preprocessor":true,
227
+ "guess_mode":false,
228
+ "controlnet_conditioning_scale": 1.0,
229
+ "control_guidance_start": 0.0,
230
+ "control_guidance_end": 1.0,
231
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
232
+ },
233
+ "controlnet_seg": {
234
+ "enable": true,
235
+ "use_preprocessor":true,
236
+ "guess_mode":false,
237
+ "controlnet_conditioning_scale": 1.0,
238
+ "control_guidance_start": 0.0,
239
+ "control_guidance_end": 1.0,
240
+ "control_scale_list":[0.5,0.4,0.3,0.2,0.1]
241
+ },
242
+ "controlnet_ref": {
243
+ "enable": false,
244
+ "ref_image": "ref_image/naga.png",
245
+ "attention_auto_machine_weight": 0.5,
246
+ "gn_auto_machine_weight": 0.5,
247
+ "style_fidelity": 0.5,
248
+ "reference_attn": true,
249
+ "reference_adain": true,
250
+ "scale_pattern":[1.0]
251
+ }
252
+ },
253
+ "upscale_config": {
254
+ "scheduler": "k_dpmpp_sde",
255
+ "steps": 20,
256
+ "strength": 0.5,
257
+ "guidance_scale": 10,
258
+ "controlnet_tile": {
259
+ "enable": true,
260
+ "controlnet_conditioning_scale": 1.0,
261
+ "guess_mode": false,
262
+ "control_guidance_start": 0.0,
263
+ "control_guidance_end": 1.0
264
+ },
265
+ "controlnet_line_anime": {
266
+ "enable": false,
267
+ "controlnet_conditioning_scale": 1.0,
268
+ "guess_mode": false,
269
+ "control_guidance_start": 0.0,
270
+ "control_guidance_end": 1.0
271
+ },
272
+ "controlnet_ip2p": {
273
+ "enable": false,
274
+ "controlnet_conditioning_scale": 0.5,
275
+ "guess_mode": false,
276
+ "control_guidance_start": 0.0,
277
+ "control_guidance_end": 1.0
278
+ },
279
+ "controlnet_ref": {
280
+ "enable": false,
281
+ "use_frame_as_ref_image": false,
282
+ "use_1st_frame_as_ref_image": false,
283
+ "ref_image": "ref_image/path_to_your_ref_img.jpg",
284
+ "attention_auto_machine_weight": 1.0,
285
+ "gn_auto_machine_weight": 1.0,
286
+ "style_fidelity": 0.25,
287
+ "reference_attn": true,
288
+ "reference_adain": false
289
+ }
290
+ },
291
+ "output":{
292
+ "format" : "mp4",
293
+ "fps" : 8,
294
+ "encode_param":{
295
+ "crf": 10
296
+ }
297
+ }
298
+ }
config/prompts/to_8fps_Frames.bat ADDED
@@ -0,0 +1 @@
 
 
1
+ ffmpeg -i %1 -start_number 0 -vf "scale=512:768,fps=8" %%04d.png
data/models/DWPose/dw-ll_ucoco_384.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:724f4ff2439ed61afb86fb8a1951ec39c6220682803b4a8bd4f598cd913b1843
3
+ size 134399116
data/models/DWPose/yolox_l.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7860ae79de6c89a3c1eb72ae9a2756c0ccfbe04b7791bb5880afabd97855a411
3
+ size 216746733
data/models/README.md ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ ## Folder that contains the weight
2
+
3
+ Put the weights of the base model in the huggingface folder and that of the motion module in the motion module folder
4
+
data/models/WD14tagger/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8cef913be4c9e8d93f9f903e74271416502ce0b4b04df0ff1e2f00df488aa03
3
+ size 326197340
data/models/WD14tagger/selected_tags.csv ADDED
The diff for this file is too large to render. See raw diff
 
data/models/huggingface/stable-diffusion-v1-5/feature_extractor/preprocessor_config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 224,
4
+ "width": 224
5
+ },
6
+ "do_center_crop": true,
7
+ "do_convert_rgb": true,
8
+ "do_normalize": true,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "feature_extractor_type": "CLIPFeatureExtractor",
12
+ "image_mean": [
13
+ 0.48145466,
14
+ 0.4578275,
15
+ 0.40821073
16
+ ],
17
+ "image_processor_type": "CLIPImageProcessor",
18
+ "image_std": [
19
+ 0.26862954,
20
+ 0.26130258,
21
+ 0.27577711
22
+ ],
23
+ "resample": 3,
24
+ "rescale_factor": 0.00392156862745098,
25
+ "size": {
26
+ "shortest_edge": 224
27
+ }
28
+ }
data/models/huggingface/stable-diffusion-v1-5/model_index.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "StableDiffusionPipeline",
3
+ "_diffusers_version": "0.23.0",
4
+ "_name_or_path": "runwayml/stable-diffusion-v1-5",
5
+ "feature_extractor": [
6
+ "transformers",
7
+ "CLIPImageProcessor"
8
+ ],
9
+ "requires_safety_checker": true,
10
+ "safety_checker": [
11
+ "stable_diffusion",
12
+ "StableDiffusionSafetyChecker"
13
+ ],
14
+ "scheduler": [
15
+ "diffusers",
16
+ "PNDMScheduler"
17
+ ],
18
+ "text_encoder": [
19
+ "transformers",
20
+ "CLIPTextModel"
21
+ ],
22
+ "tokenizer": [
23
+ "transformers",
24
+ "CLIPTokenizer"
25
+ ],
26
+ "unet": [
27
+ "diffusers",
28
+ "UNet2DConditionModel"
29
+ ],
30
+ "vae": [
31
+ "diffusers",
32
+ "AutoencoderKL"
33
+ ]
34
+ }
data/models/huggingface/stable-diffusion-v1-5/safety_checker/config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/home/user/.cache/huggingface/hub/models--runwayml--stable-diffusion-v1-5/snapshots/1d0c4ebf6ff58a5caecab40fa1406526bca4b5b9/safety_checker",
3
+ "architectures": [
4
+ "StableDiffusionSafetyChecker"
5
+ ],
6
+ "initializer_factor": 1.0,
7
+ "logit_scale_init_value": 2.6592,
8
+ "model_type": "clip",
9
+ "projection_dim": 768,
10
+ "text_config": {
11
+ "dropout": 0.0,
12
+ "hidden_size": 768,
13
+ "intermediate_size": 3072,
14
+ "model_type": "clip_text_model",
15
+ "num_attention_heads": 12
16
+ },
17
+ "torch_dtype": "float32",
18
+ "transformers_version": "4.34.1",
19
+ "vision_config": {
20
+ "dropout": 0.0,
21
+ "hidden_size": 1024,
22
+ "intermediate_size": 4096,
23
+ "model_type": "clip_vision_model",
24
+ "num_attention_heads": 16,
25
+ "num_hidden_layers": 24,
26
+ "patch_size": 14
27
+ }
28
+ }
data/models/huggingface/stable-diffusion-v1-5/safety_checker/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb351a5ded815c3ff744968ad9c6b218d071b9d313d04f35e813b84b4c0ffde8
3
+ size 1215979664
data/models/huggingface/stable-diffusion-v1-5/scheduler/scheduler_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "PNDMScheduler",
3
+ "_diffusers_version": "0.23.0",
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
+ }
data/models/huggingface/stable-diffusion-v1-5/text_encoder/config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/home/user/.cache/huggingface/hub/models--runwayml--stable-diffusion-v1-5/snapshots/1d0c4ebf6ff58a5caecab40fa1406526bca4b5b9/text_encoder",
3
+ "architectures": [
4
+ "CLIPTextModel"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 0,
8
+ "dropout": 0.0,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "quick_gelu",
11
+ "hidden_size": 768,
12
+ "initializer_factor": 1.0,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 3072,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 77,
17
+ "model_type": "clip_text_model",
18
+ "num_attention_heads": 12,
19
+ "num_hidden_layers": 12,
20
+ "pad_token_id": 1,
21
+ "projection_dim": 768,
22
+ "torch_dtype": "float32",
23
+ "transformers_version": "4.34.1",
24
+ "vocab_size": 49408
25
+ }
data/models/huggingface/stable-diffusion-v1-5/text_encoder/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:778d02eb9e707c3fbaae0b67b79ea0d1399b52e624fb634f2f19375ae7c047c3
3
+ size 492265168
data/models/huggingface/stable-diffusion-v1-5/tokenizer/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
data/models/huggingface/stable-diffusion-v1-5/tokenizer/special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|startoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<|endoftext|>",
17
+ "unk_token": {
18
+ "content": "<|endoftext|>",
19
+ "lstrip": false,
20
+ "normalized": true,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }