├── LICENSE ├── README.md ├── STTP V1 ├── LICENSE ├── README.md ├── Straight to the Point.json └── images │ ├── STTP Logo.png │ ├── STTP Workflow.png │ ├── face swap & upscale screenshot.png │ ├── generate & redraw screenshot.png │ ├── generate screenshot.png │ └── redraw screenshot.png ├── STTP V2 ├── LICENSE ├── README.md ├── Straight to the Point V2.json └── images │ ├── controlnet_generate.png │ ├── face-swap_upscale.png │ ├── logo.png │ ├── redraw.png │ └── workflow.png ├── Straight to the Point V3 Exploded.json ├── Straight to the Point V3.json ├── images ├── STTP - Background.png ├── STTP - ControlNet.png ├── STTP - Face Fix.png ├── STTP - Full.png ├── STTP - Generate.png ├── STTP - IPAdapter.png ├── STTP - Inpaint.png ├── STTP - Redraw.png ├── STTP - Upscale.png ├── STTP V3 - Logo.png ├── exploded │ ├── STTP - Background Exploded.png │ ├── STTP - ControlNet Exploded.png │ ├── STTP - Face Fix Exploded.png │ ├── STTP - Full Exploded.png │ ├── STTP - Generate Exploded.png │ ├── STTP - IPAdapter Exploded.png │ ├── STTP - Inpaint Exploded.png │ ├── STTP - Redraw Exploded.png │ └── STTP - Upscale Exploded.png ├── samples │ ├── Lora Croft.png │ ├── The Latent of Zelda.jpeg │ └── send toggle.png └── templates │ ├── STTP - Loop Template.png │ ├── STTP - Pause Template.png │ └── STTP - Switch Template.png ├── specialized ├── STTP - Background Exploded.json ├── STTP - Background.json ├── STTP - Face Fix Exploded.json ├── STTP - Face Fix.json ├── STTP - Generate Exploded.json ├── STTP - Generate.json ├── STTP - Inpaint Exploded.json ├── STTP - Inpaint.json ├── STTP - Redraw Exploded.json ├── STTP - Redraw.json ├── STTP - Upscale Exploded.json └── STTP - Upscale.json └── templates ├── STTP - Loop Template.json ├── STTP - Pause Template.json └── STTP - Switch Template.json /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | > [!IMPORTANT] 2 | > **2025/04/27** - Recent updates have made the logic of the workflow obsolete, I will need to rework the entire thing. The silver lining is that the workflow will become MUCH less complicated. If you would like to continue using V3, you will have to stay on an outdated version of Comfy, but I would always recommend updating. Stay tuned for V4! 3 | 4 |
5 | 6 | # ![Logo](images/STTP%20V3%20-%20Logo.png) 7 | ### All-in-one, compact, recursive, segmented, toggle-based ComfyUI workflow by Luckytime 8 |
9 | 10 | This workflow is capable of controlnet, image-prompt adapter, text-to-image, image-to-image, background removal, background compositing, outpainting, inpainting, face swap, face detailer, model upscale, ultimate sd upscale, vram management, and infinite looping. It is currently only capable of using checkpoint models. 11 | 12 | **Video Demo:** https://youtube.com/watch?v=BluWKOunjPI
13 | **CivitAI Repo:** https://civitai.com/models/812560/straight-to-the-point
14 | 15 | # Dependencies 16 | 17 | Being an all-in-one, there are many dependencies, but I tried my absolute best to use native nodes whenever possible, and only utilized popular/trusted custom nodes for the rest. 18 | 19 | 🔗 https://github.com/comfyanonymous/ComfyUI ➡️ ComfyUI
20 | 🔗 https://github.com/rgthree/rgthree-comfy ➡️ rgthree
21 | 🔗 https://github.com/ltdrdata/ComfyUI-Impact-Pack ➡️ Impact Pack
22 | 🔗 https://github.com/jags111/efficiency-nodes-comfyui ➡️ Efficiency Nodes
23 | 🔗 https://github.com/pythongosssss/ComfyUI-Custom-Scripts ➡️ Custom Scripts
24 | 🔗 https://github.com/Fannovel16/comfyui_controlnet_aux ➡️ ControlNet Auxiliary Preprocessors
25 | 🔗 https://github.com/cubiq/ComfyUI_IPAdapter_plus ➡️ IPAdapter Plus
26 | 🔗 https://github.com/john-mnz/ComfyUI-Inspyrenet-Rembg ➡️ Inspyrenet Rembg
27 | 🔗 https://github.com/lquesada/ComfyUI-Inpaint-CropAndStitch ➡️ Inpaint Crop & Stitch
28 | 🔗 https://github.com/Gourieff/ComfyUI-ReActor ➡️ ReActor
29 | 🔗 https://github.com/ltdrdata/ComfyUI-Impact-Subpack ➡️ Impact Subpack
30 | 🔗 https://github.com/ssitu/ComfyUI_UltimateSDUpscale ➡️ Ultimate SD Upscale
31 | 32 | # Overview 33 | 34 |
35 | 36 | ![Workflow](images/STTP%20-%20Full.png) 37 |
38 | 39 | The workflow is a pipeline of 8 toggleable groups that moves from left to right. When multiple groups are active, the output of the first group is automatically sent to the next. If all 8 groups are run simultaneously, there is a high chance of depleting vram and getting an 'Allocation on device' (memory) error. Thus, successive groups can be toggled on following the completion of previous ones while the seed from each group can be reused to retain the generation at each step. This flattens the load on vram by allowing you to load models only when they are used. 40 | 41 | The 'Group Toggle' nodes (found in the top right of a group) are global and let you switch groups off from anywhere. The workflow starts with conditioning in the 'ControlNet' and 'IPAdapter' groups, then creates an image from an empty latent in the 'Generate' group, refines the background in the 'Background' group, reprocesses the image in the 'Redraw' group, revises details in the 'Inpaint' group, corrects faces in the 'Face Fix' group, and finally upscales and saves the image in the 'Upscale' group. Any combination of the 8 groups can be used without errors. 42 | 43 | Looping is achieved using the Impact Pack's "send" and "receive" nodes. Images can be sent to the Generate group where they will be stored for the duration of the session. Groups that can send images have a "send" toggle which will continually send images as long as the toggle is active. There is only one "receive" node in the workflow, so any image that is sent will overwrite the previous one (so make sure to disable these toggles after using them). 44 | 45 |
46 | 47 | ![Send Toggle](images/samples/send%20toggle.png) 48 |
49 | 50 | # Groups 51 | 52 | ### ControlNet 53 | 54 |
55 | 56 | ![ControlNet](images/STTP%20-%20ControlNet.png) 57 |
58 | 59 | This group lets you use a ControlNet model to generate a preprocessed (helper) image which is used to condition the model in the 'Generate' or 'Redraw' groups. 60 | 61 | 1️⃣ Load an image
62 | 2️⃣ Choose a preprocessor (can be toggled off)
63 | 3️⃣ Crop the helper image
64 | 4️⃣ Preview/save the helper
65 | 66 | ### IPAdapter 67 | 68 |
69 | 70 | ![IPAdapter](images/STTP%20-%20IPAdapter.png) 71 |
72 | 73 | This group lets you choose up to 2 images to condition the model in both the 'Generate' and 'Redraw' groups. An area-mask can be defined for both images. (Somewhat counter-intuitively, it doesn't apply the mask to the node where the mask is drawn, the mask is only extracted and applied to the generated content. The 'Load Image' node where the mask is drawn is only used to generate the mask and nothing else. You can copy and paste a placeholder image into this node to see roughly where the mask will go.) 74 | 75 | 0️⃣ Draw a mask (can be toggled off)
76 | 1️⃣ Load an image
77 | 2️⃣ Preprocess image (image must be square)
78 | 3️⃣ Choose IPAdapter settings (can be toggled off)
79 | 80 | ### Generate 81 | 82 |
83 | 84 | ![Generate](images/STTP%20-%20Generate.png) 85 |
86 | 87 | This group lets you create a new image from an empty latent (AKA text2img). The 'Refresh' toggle helps overcome a known bug with Efficiency Nodes where changing the ControlNet options does not refresh the KSampler. The ControlNet and IPAdapter toggles can block both groups even if those groups are active. While enabled, the loop toggle mutes the KSampler so the loop image becomes the default output of the group. 88 | 89 | ♾️ Preview the loop image (can be toggled off)
90 | 1️⃣ Choose ControlNet settings (can be toggled off)
91 | 2️⃣ Load a checkpoint, choose image size, and choose CLIP layer skip
92 | 3️⃣ Enter text prompts
93 | 4️⃣ Load LoRAs
94 | 5️⃣ Choose KSampler settings
95 | 6️⃣ Preview image
96 | 97 | ### Background 98 | 99 |
100 | 101 | ![Background](images/STTP%20-%20Background.png) 102 |
103 | 104 | This group lets you remove the background of your image, draw and composite a new background, or outpaint. If used alone, it uses the loaded image in step 0. The 'Refresh' toggle helps overcome a known bug caused by mute conflicts (when the KSampler is muted using the 'Remove Background' function and the group is muted and un-muted, the KSampler also becomes un-muted). When drawing a new background, the dimensions are taken from the input image, then the background and input image are composited together. The image can be padded while using any of the functions, but is mainly there to allow outpainting. Currently, only the entire image can be used as context when outpainting. 105 | 106 | 0️⃣ Load an image
107 | 1️⃣ Load a checkpoint, choose image size, and choose CLIP layer skip
108 | 2️⃣ Pad the image
109 | 3️⃣ Choose background removal threshold or enter text prompts
110 | 4️⃣ Load LoRAs
111 | 5️⃣ Choose KSampler settings
112 | 6️⃣ Compare images
113 | 114 | ### Redraw 115 | 116 |
117 | 118 | ![Redraw](images/STTP%20-%20Redraw.png) 119 |
120 | 121 | This group lets you create variations using an image as a starting point (AKA img2img) (AKA hiresfix). If used alone, it uses the loaded image in step 0. It takes the decoded image from 'Generate' and upscales, re-encodes, and redraws it with a second KSampler. The 'Refresh' toggle helps overcome a known bug with Efficiency Nodes where changing the ControlNet options does not refresh the KSampler. The ControlNet and IPAdapter toggles can block both groups even if those groups are active. 122 | 123 | 0️⃣ Load an image
124 | 1️⃣ Choose ControlNet settings (can be toggled off)
125 | 2️⃣ Load a checkpoint, resize image, and choose CLIP layer skip
126 | 3️⃣ Enter text prompts
127 | 4️⃣ Load LoRAs
128 | 5️⃣ Choose KSampler settings
129 | 6️⃣ Compare images
130 | 131 | ### Inpaint 132 | 133 |
134 | 135 | ![Inpaint](images/STTP%20-%20Inpaint.png) 136 |
137 | 138 | This group lets you inpaint using either the full image or part of the image as context. If used alone, it uses the loaded image in step 0. You must run the graph to load the image into the mask nodes, then you can proceed to drawing your masks. As long as 'block' is set to 'if_empty_mask', execution will be stopped if no mask is detected. The context mask is only considered when using the "crop" inpainting method. An inpainting checkpoint is recommended for best results. When prompting, describe what is in the context area, not just what is in the masked area, as the model will be considering everything in the context area. 139 | 140 | 0️⃣ Load an image
141 | 1️⃣ Load a checkpoint, resize image, and choose CLIP layer skip
142 | 2️⃣ Draw an inpaint mask and context mask (can be toggled off)
143 | 3️⃣ Enter text prompts
144 | 4️⃣ Load LoRAs
145 | 5️⃣ Resize cropped area and choose mask blending amount
146 | 6️⃣ Preview context area
147 | 7️⃣ Choose KSampler settings
148 | 8️⃣ Preview inpaint and compare images
149 | 150 | ### Face Fix 151 | 152 |
153 | 154 | ![Face Fix](images/STTP%20-%20Face%20Fix.png) 155 |
156 | 157 | This group lets you swap or redraw faces. If used alone, it uses the loaded image in step 0. **Note: if you are getting black images, open "ComfyUI/custom_nodes/comfyui-reactor/scripts/reactor_sfw.py" in a text editor, and change 'True' to 'False'.** The face boost node can be toggled off. Face detailer can be summarized as "redrawing the face by inpainting". Similarity to the original face is maintained by using a low (0.2-0.3) denoise. Various detection/swap/segmentation models are needed for this group, which can be found by following the links in the introduction node or in the dependency repos. 158 | 159 | 0️⃣ Load an image
160 | 1️⃣ Load a checkpoint, resize image, and choose CLIP layer skip
161 | 2️⃣ Load a face or enter text prompts
162 | 3️⃣ Enter original face indexes or load LoRAs
163 | 4️⃣ Enter swap face indexes or Choose seed
164 | 5️⃣ Choose face boost settings or face detailer settings
165 | 6️⃣ Compare images
166 | 167 | ### Upscale 168 | 169 |
170 | 171 | ![Upscale](images/STTP%20-%20Upscale.png) 172 |
173 | 174 | This group lets you upscale an image with an upscale model or Ultimate SD Upscale (tiled upscaling). If used alone, it uses the loaded image in step 0. The 'Refresh' toggle helps overcome a known bug caused by mute conflicts. Ultimate SD Upscale splits the image into multiple tiles, upscales them independently, then stitches them back together (if the denoise is too high (above ~0.3) the tile seams will be too obvious). Saving can be toggled off for quality assurance. 175 | 176 | 0️⃣ Load an image
177 | 1️⃣ Load a checkpoint, choose image size, and choose CLIP layer skip
178 | 2️⃣ Load upscale model
179 | 3️⃣ Enter text prompts
180 | 4️⃣ Choose Ultimate SD Upscale settings
181 | 5️⃣ Compare images
182 | 6️⃣ Downscale image
183 | 7️⃣ Enter filename prefix before saving (can be toggled off)
184 | 185 | # Bookmarks 186 | The 1-8 keys are shortcuts for useful camera views. You can adjust the bookmark nodes to suit your display by maximizing them and entering your desired zoom-level. 187 | 188 | # Extras 189 | 190 | ## Specialized Workflows 191 | 192 | These are the same groups from the main workflow, but split up into individual .json files. 193 | 194 | ## Exploded Workflows 195 | 196 | These are the same as the specialized and main workflows, but all nodes are maximized, labeled, and organized for readability. 197 | 198 |
199 | 200 | ![Full Exploded](images/exploded/STTP%20-%20Full%20Exploded.png) 201 |
202 | 203 |
204 | 205 | ![ControlNet Exploded](images/exploded/STTP%20-%20ControlNet%20Exploded.png) 206 |
207 | 208 |
209 | 210 | ![IPAdapter Exploded](images/exploded/STTP%20-%20IPAdapter%20Exploded.png) 211 |
212 | 213 |
214 | 215 | ![Generate Exploded](images/exploded/STTP%20-%20Generate%20Exploded.png) 216 |
217 | 218 |
219 | 220 | ![Background Exploded](images/exploded/STTP%20-%20Background%20Exploded.png) 221 |
222 | 223 |
224 | 225 | ![Redraw Exploded](images/exploded/STTP%20-%20Redraw%20Exploded.png) 226 |
227 | 228 |
229 | 230 | ![Inpaint Exploded](images/exploded/STTP%20-%20Inpaint%20Exploded.png) 231 |
232 | 233 |
234 | 235 | ![Face Fix Exploded](images/exploded/STTP%20-%20Face%20Fix%20Exploded.png) 236 |
237 | 238 |
239 | 240 | ![Upscale Exploded](images/exploded/STTP%20-%20Upscale%20Exploded.png) 241 |
242 | 243 | ## Template Workflows 244 | 245 | These are basic workflows which demonstrate a unique function used in the main workflow. 246 | 247 | ### Loop 248 | 249 | Requires Impact Pack. This workflow sends the output image to the beginning, allowing you to re-use it as the input. Choose an existing image in the receiver to get started and toggle the boolean to choose whether to send the image or not. 250 | 251 |
252 | 253 | ![Loop Template](images/templates/STTP%20-%20Loop%20Template.png) 254 |
255 | 256 | ### Pause 257 | 258 | Requires rgthree's nodes. This workflow can load two different checkpoint models, but allows you to pause and unload the first model before continuing. The image from the first group is automatically sent to the second group, and if the second group is toggled off, the workflow is effectively paused at that step. 259 | 260 |
261 | 262 | ![Pause Template](images/templates/STTP%20-%20Pause%20Template.png) 263 |
264 | 265 | ### Switch 266 | 267 | Requires Custom Scripts, Impact Pack, and rgthree's nodes. This workflow allows you to switch between two functions. The Switch (Any) node determines the behavior of the control bridges via a math expression which outputs 0 or 1, causing them to mute the KSampler and VAE Decode or leave them active. When muted, another image source can be passed via the Any Switch (rgthree) node. (The reason 'Switch (Any)' isn't used for both functions is because we don't want it to create an empty third index value ie. 1,2,3) 268 | 269 |
270 | 271 | ![Switch Template](images/templates/STTP%20-%20Switch%20Template.png) 272 |
273 | 274 | # Changelog 275 | 276 | ### Version 1 277 | - Added Generate, Redraw, Face Swap, and Upscale groups 278 | 279 | ### Version 2 280 | - Added ControlNet group 281 | - Added ControlNet toggle for Generate and Redraw groups 282 | - Separated CLIP skip for Generate and Redraw groups 283 | - Added primitives to allow changing face indexes 284 | - Rearranged and renumbered nodes 285 | - Switched to main ReActor repo 286 | 287 | ### Version 3 288 | - Separated text prompt for Generate and Redraw groups 289 | - Separated ControlNet for Generate and Redraw groups 290 | - Added IPAdapter group 291 | - Added Background group 292 | - Added Inpaint group 293 | - Added loop capability 294 | - Added face detailer to Face group 295 | - Added ultimate sd upscale to Upscale group 296 | - Grouped certain nodes together to save space 297 | - Organized nodes and used emojis for clarity 298 | - Added links to resources and revamped help nodes 299 | - Added specialized workflows 300 | - Added exploded workflows 301 | - Added template workflows 302 | -------------------------------------------------------------------------------- /STTP V1/LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /STTP V1/README.md: -------------------------------------------------------------------------------- 1 |
2 | 3 | # ![Logo](images/STTP%20Logo.png) 4 | ### A compact and efficient toggle-based ComfyUI workflow by Luckytime 5 |
6 | 7 | # Features 8 | 9 | - Text to image 10 | - Image to image 11 | - Face swap 12 | - Upscale 13 | - No overlapping nodes 14 | - No wasted space 15 | 16 | # Dependencies 17 | 18 | ### ![ComfyUI](https://github.com/comfyanonymous/ComfyUI) 19 | ### ![rgthree-comfy](https://github.com/rgthree/rgthree-comfy) 20 | ### ![efficiency-nodes-comfyui](https://github.com/jags111/efficiency-nodes-comfyui) 21 | ### ![comfyui-reactor-node](https://github.com/Gourieff/comfyui-reactor-node) 22 | 23 | # Overview 24 | 25 |
26 | 27 | ![Logo](images/STTP%20Workflow.png) 28 |
29 | 30 | The workflow is a pipeline of 4 groups that moves from left to right. It starts with an empty latent image in the 'Generate' group, then reprocesses the image in the 'Redraw' group, then the face is fixed in the 'Face Swap' group, and finally the image is upscaled and saved in the 'Upscale' group. 31 | Any combination of the 4 groups may be used. If the last three groups are used independently, a local image can be uploaded as a starting point. 32 | 33 | # Toggles 34 | 35 | There are 3 'Group Toggle' nodes included in the workflow so they are always within reach. Switching off the groups lets you pause after each step and decide whether an image is worth refining. If you want to send an image to the next group, the seed from any previous KSampler should be frozen by clicking 'Last Queued Seed'. 36 | 37 | # Groups 38 | 39 | ## Generate 40 | 41 | This group lets you create a new image from an empty latent (AKA text2img). 42 | 43 |
44 | 45 | ![Logo](images/generate%20screenshot.png) 46 |
47 | 48 | ### Workflow: 49 | 50 | 0. Write postive/negative prompts and choose CLIP skip 51 | 1. Load a checkpoint 52 | 2. Choose size for an empty latent image 53 | 3. Load any Loras 54 | 4. Choose KSampler settings 55 | 5. Preview/Save the generation 56 | 6. Send the generation to Redraw, Face Swap, or Upscale 57 | 58 | **Note: The prompts and CLIP are shared between the 'Generate' and 'Redraw' groups, but the Loras are not.** 59 | 60 | ## Redraw 61 | 62 | This group lets you create variations using an image as a starting point (AKA img2img) (AKA Hires Fix). It takes the decoded image from 'Generate' and upscales, re-encodes, and redraws it with a second KSampler. 63 | 64 |
65 | 66 | ![Logo](images/redraw%20screenshot.png) 67 |
68 | 69 | ### Workflow: 70 | 71 | 0. Load a local image (if using only redraw) 72 | 1. Load a checkpoint 73 | 2. Rescale the image from the previous step 74 | 3. Load any Loras 75 | 4. Choose KSampler settings 76 | 5. Preview/Save the redraw 77 | 6. Send the redraw to face swap or upscale 78 | 79 | **Note: The prompts and CLIP are shared between the 'Generate' and 'Redraw' groups, but the Loras are not.** 80 | 81 | ## Face Swap 82 | 83 | This group lets you replace the face in an image with a face from another image. It will replace face indexes 0-9 by default. When uploading your own image, you can rescale the image to ensure the face swap is effective. 84 | 85 |
86 | 87 | ![Logo](images/face%20swap%20&%20upscale%20screenshot.png) 88 |
89 | 90 | ### Workflow: 91 | 92 | 0. Load and rescale a local image (if using only face swap) 93 | 1. Load a face image 94 | 2. Preview old image 95 | 3. Preview/Save the face swap 96 | 4. Send the face swap to upscale 97 | 98 | ## Upscale 99 | 100 | This group lets you upscale an image using an upscale model. It then rescales the image down to a uniform size to save drive space and saves the image to your ComfyUI output folder. 101 | 102 | ### Workflow: 103 | 104 | 0. Load a local image (if using only upscale) 105 | 1. Load an upscale model 106 | 2. Rescale image to a smaller size 107 | 3. Save image to output folder 108 | 109 | # Shortcuts 110 | The 1-4 number keys are shortcuts for useful camera views. You can adjust the bookmark nodes to suit your display. 111 | -------------------------------------------------------------------------------- /STTP V1/images/STTP Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/STTP V1/images/STTP Logo.png -------------------------------------------------------------------------------- /STTP V1/images/STTP Workflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/STTP V1/images/STTP Workflow.png -------------------------------------------------------------------------------- /STTP V1/images/face swap & upscale screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/STTP V1/images/face swap & upscale screenshot.png -------------------------------------------------------------------------------- /STTP V1/images/generate & redraw screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/STTP V1/images/generate & redraw screenshot.png -------------------------------------------------------------------------------- /STTP V1/images/generate screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/STTP V1/images/generate screenshot.png -------------------------------------------------------------------------------- /STTP V1/images/redraw screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/STTP V1/images/redraw screenshot.png -------------------------------------------------------------------------------- /STTP V2/LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /STTP V2/README.md: -------------------------------------------------------------------------------- 1 |
2 | 3 | # ![Logo](images/logo.png) 4 | ### A compact and efficient toggle-based ComfyUI workflow by Luckytime 5 |
6 | 7 | # Features 8 | 9 | - Control Net 10 | - Text to image 11 | - Image to image 12 | - Face swap 13 | - Upscale 14 | - No overlapping nodes 15 | - No wasted space 16 | - SD models only 17 | 18 | # Dependencies 19 | 20 | ### ![ComfyUI](https://github.com/comfyanonymous/ComfyUI) 21 | ### ![rgthree-comfy](https://github.com/rgthree/rgthree-comfy) 22 | ### ![efficiency-nodes-comfyui](https://github.com/jags111/efficiency-nodes-comfyui) 23 | ### ![ComfyUI-ReActor](https://github.com/Gourieff/ComfyUI-ReActor) 24 | 25 | # Overview 26 | 27 |
28 | 29 | ![Workflow](images/workflow.png) 30 |
31 | 32 | The workflow is a pipeline of 5 groups that moves from left to right. It starts with conditioning in the 'ControlNet' group, creates an image from an empty latent in the 'Generate' group, reprocesses the image in the 'Redraw' group, fixes the face in the 'Face Swap' group, and finally upscales and saves the image in the 'Upscale' group. Any combination of the 5 groups may be used without errors. If the last three groups are used independently, a local image can be uploaded as a starting point. 33 | 34 | # Toggles 35 | 36 | There are 3 'Group Toggle' nodes included in the workflow so they are always within reach. Switching off the groups lets you pause after each step and decide whether an image is worth refining. If you want to send an image to the next group, the seed from any previous KSampler should be frozen by clicking 'Last Queued Seed'. 37 | 38 | # Groups 39 | 40 | ## ControlNet 41 | 42 | This group lets you use a ControlNet model and a preprocessed (helper) image to guide the creation of an image in the 'Generate' or 'Redraw' groups. The refresh toggle helps overcome a known bug where changing the ControlNet options does not refresh the workflow and allow you to create a new image. 43 | 44 | ### Workflow: 45 | 46 | 1. Load a ControlNet model 47 | 2. Load preprocessed image 48 | 3. Choose ControlNet strength 49 | 4. Toggle to refresh the workflow 50 | 51 |
52 | 53 | ![Generate](images/controlnet_generate.png) 54 |
55 | 56 | ## Generate 57 | 58 | This group lets you create a new image from an empty latent (AKA text2img). The positive & negative prompts are shared by the 'Generate' and 'Redraw' groups. 59 | 60 | ### Workflow: 61 | 62 | 0. Write postive/negative prompts 63 | 1. Load a checkpoint 64 | 2. Choose image size 65 | 3. Choose CLIP skip 66 | 4. Toggle ControlNet 67 | 5. Load Loras 68 | 6. Choose KSampler settings 69 | 7. Preview/Save the image 70 | 71 | ## Redraw 72 | 73 | This group lets you create variations using an image as a starting point (AKA img2img) (AKA Hires Fix). It takes the decoded image from 'Generate' and upscales, re-encodes, and redraws it with a second KSampler. If used alone, it redraws the loaded image from step 0. The positive & negative prompts are shared by the 'Generate' and 'Redraw' groups. 74 | 75 | ### Workflow: 76 | 77 | 0. Load an image 78 | 1. Choose rescale size 79 | 2. Load a checkpoint 80 | 3. Choose CLIP skip 81 | 4. Toggle ControlNet 82 | 5. Load Loras 83 | 6. Choose KSampler settings 84 | 7. Preview/Save the image 85 | 86 |
87 | 88 | ![Redraw](images/redraw.png) 89 |
90 | 91 | ## Face Swap 92 | 93 | This group lets you replace the face in an image with a face from a loaded image. You can choose the face indexes to be swapped if there is more than one person (ex: "2,3" -> "0,4"). If used alone, it face-swaps the loaded image from step 0. The image can be rescaled to ensure the face swap is effective. **Note: if you are getting a black box for an output, open "ComfyUI/custom_nodes/comfyui-reactor/scripts/reactor_sfw.py" in a text editor, and change 'True' on the last line to 'False'.** 94 | 95 | ### Workflow: 96 | 97 | 0. Load an image 98 | 1. Load a face 99 | 2. Choose original face indexes 100 | 3. Choose swap face indexes 101 | 4. Choose original image rescale size 102 | 5. Preview/Save the original image 103 | 6. Preview/Save the swapped image 104 | 105 |
106 | 107 | ![Face-Swap_Upscale](images/face-swap_upscale.png) 108 |
109 | 110 | ## Upscale 111 | 112 | This group lets you upscale an image using an upscale model, rescale the image down to save drive space, and save the image to your ComfyUI output folder. If used alone, it upscales the loaded image from step 0. 113 | 114 | ### Workflow: 115 | 116 | 0. Load an image 117 | 1. Load an upscale model 118 | 2. Choose rescale size 119 | 120 | # Shortcuts 121 | The 1-4 number keys are shortcuts for useful camera views. You can adjust the bookmark nodes to suit your display. 122 | 123 | # Changelog 124 | 125 | ### Version 1 126 | - Added Generate, Redraw, Face Swap, and Upscale groups 127 | 128 | ### Version 2 129 | - Added ControlNet group 130 | - Added ControlNet toggle for Generate and Redraw groups 131 | - Separated CLIP skip for Generate and Redraw groups 132 | - Added primitives to allow changing face indexes 133 | - Rearranged and renumbered nodes 134 | - Switched to main ReActor repo 135 | -------------------------------------------------------------------------------- /STTP V2/images/controlnet_generate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/STTP V2/images/controlnet_generate.png -------------------------------------------------------------------------------- /STTP V2/images/face-swap_upscale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/STTP V2/images/face-swap_upscale.png -------------------------------------------------------------------------------- /STTP V2/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/STTP V2/images/logo.png -------------------------------------------------------------------------------- /STTP V2/images/redraw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/STTP V2/images/redraw.png -------------------------------------------------------------------------------- /STTP V2/images/workflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/STTP V2/images/workflow.png -------------------------------------------------------------------------------- /images/STTP - Background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/images/STTP - Background.png -------------------------------------------------------------------------------- /images/STTP - ControlNet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/images/STTP - ControlNet.png -------------------------------------------------------------------------------- /images/STTP - Face Fix.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/images/STTP - Face Fix.png -------------------------------------------------------------------------------- /images/STTP - Full.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/images/STTP - Full.png -------------------------------------------------------------------------------- /images/STTP - Generate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/images/STTP - Generate.png -------------------------------------------------------------------------------- /images/STTP - IPAdapter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/images/STTP - IPAdapter.png -------------------------------------------------------------------------------- /images/STTP - Inpaint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/images/STTP - Inpaint.png -------------------------------------------------------------------------------- /images/STTP - Redraw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/images/STTP - Redraw.png -------------------------------------------------------------------------------- /images/STTP - Upscale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/images/STTP - Upscale.png -------------------------------------------------------------------------------- /images/STTP V3 - Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/images/STTP V3 - Logo.png -------------------------------------------------------------------------------- /images/exploded/STTP - Background Exploded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/images/exploded/STTP - Background Exploded.png -------------------------------------------------------------------------------- /images/exploded/STTP - ControlNet Exploded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/images/exploded/STTP - ControlNet Exploded.png -------------------------------------------------------------------------------- /images/exploded/STTP - Face Fix Exploded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/images/exploded/STTP - Face Fix Exploded.png -------------------------------------------------------------------------------- /images/exploded/STTP - Full Exploded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/images/exploded/STTP - Full Exploded.png -------------------------------------------------------------------------------- /images/exploded/STTP - Generate Exploded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/images/exploded/STTP - Generate Exploded.png -------------------------------------------------------------------------------- /images/exploded/STTP - IPAdapter Exploded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/images/exploded/STTP - IPAdapter Exploded.png -------------------------------------------------------------------------------- /images/exploded/STTP - Inpaint Exploded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/images/exploded/STTP - Inpaint Exploded.png -------------------------------------------------------------------------------- /images/exploded/STTP - Redraw Exploded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/images/exploded/STTP - Redraw Exploded.png -------------------------------------------------------------------------------- /images/exploded/STTP - Upscale Exploded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/images/exploded/STTP - Upscale Exploded.png -------------------------------------------------------------------------------- /images/samples/Lora Croft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/images/samples/Lora Croft.png -------------------------------------------------------------------------------- /images/samples/The Latent of Zelda.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/images/samples/The Latent of Zelda.jpeg -------------------------------------------------------------------------------- /images/samples/send toggle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/images/samples/send toggle.png -------------------------------------------------------------------------------- /images/templates/STTP - Loop Template.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/images/templates/STTP - Loop Template.png -------------------------------------------------------------------------------- /images/templates/STTP - Pause Template.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/images/templates/STTP - Pause Template.png -------------------------------------------------------------------------------- /images/templates/STTP - Switch Template.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tekaiguy/STTP-Workflow/53067c6845aa12cdad6e939628179945c703b5d8/images/templates/STTP - Switch Template.png -------------------------------------------------------------------------------- /templates/STTP - Loop Template.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "49740cad-73cd-4de4-9451-b03d64c96a8e", 3 | "revision": 0, 4 | "last_node_id": 21, 5 | "last_link_id": 26, 6 | "nodes": [ 7 | { 8 | "id": 14, 9 | "type": "CheckpointLoaderSimple", 10 | "pos": [ 11 | 40, 12 | 180 13 | ], 14 | "size": [ 15 | 310, 16 | 100 17 | ], 18 | "flags": {}, 19 | "order": 0, 20 | "mode": 0, 21 | "inputs": [], 22 | "outputs": [ 23 | { 24 | "name": "MODEL", 25 | "shape": 3, 26 | "type": "MODEL", 27 | "slot_index": 0, 28 | "links": [ 29 | 13 30 | ] 31 | }, 32 | { 33 | "name": "CLIP", 34 | "shape": 3, 35 | "type": "CLIP", 36 | "slot_index": 1, 37 | "links": [ 38 | 14, 39 | 15 40 | ] 41 | }, 42 | { 43 | "name": "VAE", 44 | "shape": 3, 45 | "type": "VAE", 46 | "slot_index": 2, 47 | "links": [ 48 | 17, 49 | 23 50 | ] 51 | } 52 | ], 53 | "properties": { 54 | "cnr_id": "comfy-core", 55 | "ver": "0.3.27", 56 | "Node name for S&R": "CheckpointLoaderSimple" 57 | }, 58 | "widgets_values": [ 59 | "Juggernaut V11 - SDXL.safetensors" 60 | ] 61 | }, 62 | { 63 | "id": 7, 64 | "type": "CLIPTextEncode", 65 | "pos": [ 66 | 390, 67 | 400 68 | ], 69 | "size": [ 70 | 420, 71 | 170 72 | ], 73 | "flags": {}, 74 | "order": 4, 75 | "mode": 0, 76 | "inputs": [ 77 | { 78 | "name": "clip", 79 | "type": "CLIP", 80 | "link": 15 81 | } 82 | ], 83 | "outputs": [ 84 | { 85 | "name": "CONDITIONING", 86 | "type": "CONDITIONING", 87 | "slot_index": 0, 88 | "links": [ 89 | 6 90 | ] 91 | } 92 | ], 93 | "properties": { 94 | "cnr_id": "comfy-core", 95 | "ver": "0.3.27", 96 | "Node name for S&R": "CLIPTextEncode" 97 | }, 98 | "widgets_values": [ 99 | "watermark, text\n" 100 | ] 101 | }, 102 | { 103 | "id": 18, 104 | "type": "ImpactControlBridge", 105 | "pos": [ 106 | 1450, 107 | 180 108 | ], 109 | "size": [ 110 | 310, 111 | 82 112 | ], 113 | "flags": { 114 | "collapsed": false 115 | }, 116 | "order": 8, 117 | "mode": 0, 118 | "inputs": [ 119 | { 120 | "name": "value", 121 | "type": "IMAGE", 122 | "link": 25 123 | }, 124 | { 125 | "name": "mode", 126 | "type": "BOOLEAN", 127 | "widget": { 128 | "name": "mode" 129 | }, 130 | "link": 20 131 | } 132 | ], 133 | "outputs": [ 134 | { 135 | "label": "IMAGE", 136 | "name": "value", 137 | "type": "IMAGE", 138 | "links": [ 139 | 21 140 | ] 141 | } 142 | ], 143 | "properties": { 144 | "cnr_id": "comfyui-impact-pack", 145 | "ver": "6e3d07277bfc0817150c8daa2e3b6fc3595c9745", 146 | "Node name for S&R": "ImpactControlBridge" 147 | }, 148 | "widgets_values": [ 149 | true, 150 | "Stop" 151 | ] 152 | }, 153 | { 154 | "id": 16, 155 | "type": "ImageSender", 156 | "pos": [ 157 | 1800, 158 | 180 159 | ], 160 | "size": [ 161 | 310, 162 | 400 163 | ], 164 | "flags": {}, 165 | "order": 10, 166 | "mode": 0, 167 | "inputs": [ 168 | { 169 | "name": "images", 170 | "type": "IMAGE", 171 | "link": 21 172 | } 173 | ], 174 | "outputs": [], 175 | "properties": { 176 | "cnr_id": "comfyui-impact-pack", 177 | "ver": "6e3d07277bfc0817150c8daa2e3b6fc3595c9745", 178 | "Node name for S&R": "ImageSender" 179 | }, 180 | "widgets_values": [ 181 | "ImgSender", 182 | 32 183 | ] 184 | }, 185 | { 186 | "id": 21, 187 | "type": "PreviewImage", 188 | "pos": [ 189 | 1450, 190 | 310 191 | ], 192 | "size": [ 193 | 310, 194 | 350 195 | ], 196 | "flags": {}, 197 | "order": 9, 198 | "mode": 0, 199 | "inputs": [ 200 | { 201 | "name": "images", 202 | "type": "IMAGE", 203 | "link": 26 204 | } 205 | ], 206 | "outputs": [], 207 | "properties": { 208 | "cnr_id": "comfy-core", 209 | "ver": "0.3.27", 210 | "Node name for S&R": "PreviewImage" 211 | }, 212 | "widgets_values": [] 213 | }, 214 | { 215 | "id": 19, 216 | "type": "ImpactBoolean", 217 | "pos": [ 218 | 1200, 219 | 280 220 | ], 221 | "size": [ 222 | 210, 223 | 58 224 | ], 225 | "flags": {}, 226 | "order": 1, 227 | "mode": 0, 228 | "inputs": [], 229 | "outputs": [ 230 | { 231 | "name": "BOOLEAN", 232 | "type": "BOOLEAN", 233 | "links": [ 234 | 20 235 | ] 236 | } 237 | ], 238 | "properties": { 239 | "cnr_id": "comfyui-impact-pack", 240 | "ver": "6e3d07277bfc0817150c8daa2e3b6fc3595c9745", 241 | "Node name for S&R": "ImpactBoolean" 242 | }, 243 | "widgets_values": [ 244 | false 245 | ] 246 | }, 247 | { 248 | "id": 6, 249 | "type": "CLIPTextEncode", 250 | "pos": [ 251 | 390, 252 | 180 253 | ], 254 | "size": [ 255 | 420, 256 | 170 257 | ], 258 | "flags": {}, 259 | "order": 3, 260 | "mode": 0, 261 | "inputs": [ 262 | { 263 | "name": "clip", 264 | "type": "CLIP", 265 | "link": 14 266 | } 267 | ], 268 | "outputs": [ 269 | { 270 | "name": "CONDITIONING", 271 | "type": "CONDITIONING", 272 | "slot_index": 0, 273 | "links": [ 274 | 4 275 | ] 276 | } 277 | ], 278 | "properties": { 279 | "cnr_id": "comfy-core", 280 | "ver": "0.3.27", 281 | "Node name for S&R": "CLIPTextEncode" 282 | }, 283 | "widgets_values": [ 284 | "photograph of victorian woman with wings, sky clouds, meadow grass\n" 285 | ] 286 | }, 287 | { 288 | "id": 3, 289 | "type": "KSampler", 290 | "pos": [ 291 | 850, 292 | 180 293 | ], 294 | "size": [ 295 | 310, 296 | 270 297 | ], 298 | "flags": {}, 299 | "order": 6, 300 | "mode": 0, 301 | "inputs": [ 302 | { 303 | "name": "model", 304 | "type": "MODEL", 305 | "link": 13 306 | }, 307 | { 308 | "name": "positive", 309 | "type": "CONDITIONING", 310 | "link": 4 311 | }, 312 | { 313 | "name": "negative", 314 | "type": "CONDITIONING", 315 | "link": 6 316 | }, 317 | { 318 | "name": "latent_image", 319 | "type": "LATENT", 320 | "link": 24 321 | } 322 | ], 323 | "outputs": [ 324 | { 325 | "name": "LATENT", 326 | "type": "LATENT", 327 | "slot_index": 0, 328 | "links": [ 329 | 7 330 | ] 331 | } 332 | ], 333 | "properties": { 334 | "cnr_id": "comfy-core", 335 | "ver": "0.3.27", 336 | "Node name for S&R": "KSampler" 337 | }, 338 | "widgets_values": [ 339 | 259683231565656, 340 | "randomize", 341 | 20, 342 | 8, 343 | "dpmpp_2m", 344 | "normal", 345 | 1 346 | ] 347 | }, 348 | { 349 | "id": 20, 350 | "type": "VAEEncode", 351 | "pos": [ 352 | 500, 353 | 630 354 | ], 355 | "size": [ 356 | 210, 357 | 50 358 | ], 359 | "flags": {}, 360 | "order": 5, 361 | "mode": 0, 362 | "inputs": [ 363 | { 364 | "name": "pixels", 365 | "type": "IMAGE", 366 | "link": 22 367 | }, 368 | { 369 | "name": "vae", 370 | "type": "VAE", 371 | "link": 23 372 | } 373 | ], 374 | "outputs": [ 375 | { 376 | "name": "LATENT", 377 | "type": "LATENT", 378 | "links": [ 379 | 24 380 | ] 381 | } 382 | ], 383 | "properties": { 384 | "cnr_id": "comfy-core", 385 | "ver": "0.3.27", 386 | "Node name for S&R": "VAEEncode" 387 | }, 388 | "widgets_values": [] 389 | }, 390 | { 391 | "id": 8, 392 | "type": "VAEDecode", 393 | "pos": [ 394 | 1200, 395 | 180 396 | ], 397 | "size": [ 398 | 210, 399 | 50 400 | ], 401 | "flags": {}, 402 | "order": 7, 403 | "mode": 0, 404 | "inputs": [ 405 | { 406 | "name": "samples", 407 | "type": "LATENT", 408 | "link": 7 409 | }, 410 | { 411 | "name": "vae", 412 | "type": "VAE", 413 | "link": 17 414 | } 415 | ], 416 | "outputs": [ 417 | { 418 | "name": "IMAGE", 419 | "type": "IMAGE", 420 | "slot_index": 0, 421 | "links": [ 422 | 25, 423 | 26 424 | ] 425 | } 426 | ], 427 | "properties": { 428 | "cnr_id": "comfy-core", 429 | "ver": "0.3.27", 430 | "Node name for S&R": "VAEDecode" 431 | }, 432 | "widgets_values": [] 433 | }, 434 | { 435 | "id": 17, 436 | "type": "ImageReceiver", 437 | "pos": [ 438 | 40, 439 | 330 440 | ], 441 | "size": [ 442 | 310, 443 | 490 444 | ], 445 | "flags": {}, 446 | "order": 2, 447 | "mode": 0, 448 | "inputs": [], 449 | "outputs": [ 450 | { 451 | "name": "IMAGE", 452 | "type": "IMAGE", 453 | "links": [ 454 | 22 455 | ] 456 | }, 457 | { 458 | "name": "MASK", 459 | "type": "MASK", 460 | "links": null 461 | } 462 | ], 463 | "properties": { 464 | "cnr_id": "comfyui-impact-pack", 465 | "ver": "6e3d07277bfc0817150c8daa2e3b6fc3595c9745", 466 | "Node name for S&R": "ImageReceiver" 467 | }, 468 | "widgets_values": [ 469 | "example.png", 470 | 32, 471 | false, 472 | "", 473 | false, 474 | "" 475 | ] 476 | } 477 | ], 478 | "links": [ 479 | [ 480 | 4, 481 | 6, 482 | 0, 483 | 3, 484 | 1, 485 | "CONDITIONING" 486 | ], 487 | [ 488 | 6, 489 | 7, 490 | 0, 491 | 3, 492 | 2, 493 | "CONDITIONING" 494 | ], 495 | [ 496 | 7, 497 | 3, 498 | 0, 499 | 8, 500 | 0, 501 | "LATENT" 502 | ], 503 | [ 504 | 13, 505 | 14, 506 | 0, 507 | 3, 508 | 0, 509 | "MODEL" 510 | ], 511 | [ 512 | 14, 513 | 14, 514 | 1, 515 | 6, 516 | 0, 517 | "CLIP" 518 | ], 519 | [ 520 | 15, 521 | 14, 522 | 1, 523 | 7, 524 | 0, 525 | "CLIP" 526 | ], 527 | [ 528 | 17, 529 | 14, 530 | 2, 531 | 8, 532 | 1, 533 | "VAE" 534 | ], 535 | [ 536 | 20, 537 | 19, 538 | 0, 539 | 18, 540 | 1, 541 | "BOOLEAN" 542 | ], 543 | [ 544 | 21, 545 | 18, 546 | 0, 547 | 16, 548 | 0, 549 | "IMAGE" 550 | ], 551 | [ 552 | 22, 553 | 17, 554 | 0, 555 | 20, 556 | 0, 557 | "IMAGE" 558 | ], 559 | [ 560 | 23, 561 | 14, 562 | 2, 563 | 20, 564 | 1, 565 | "VAE" 566 | ], 567 | [ 568 | 24, 569 | 20, 570 | 0, 571 | 3, 572 | 3, 573 | "LATENT" 574 | ], 575 | [ 576 | 25, 577 | 8, 578 | 0, 579 | 18, 580 | 0, 581 | "IMAGE" 582 | ], 583 | [ 584 | 26, 585 | 8, 586 | 0, 587 | 21, 588 | 0, 589 | "IMAGE" 590 | ] 591 | ], 592 | "groups": [], 593 | "config": {}, 594 | "extra": { 595 | "ds": { 596 | "scale": 1.6350799082655836, 597 | "offset": [ 598 | 78.59000567666217, 599 | 171.4842312374845 600 | ] 601 | }, 602 | "node_versions": { 603 | "comfy-core": "0.3.14" 604 | }, 605 | "VHS_latentpreview": false, 606 | "VHS_latentpreviewrate": 0, 607 | "VHS_MetadataImage": true, 608 | "VHS_KeepIntermediate": true 609 | }, 610 | "version": 0.4 611 | } -------------------------------------------------------------------------------- /templates/STTP - Pause Template.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "49740cad-73cd-4de4-9451-b03d64c96a8e", 3 | "revision": 0, 4 | "last_node_id": 25, 5 | "last_link_id": 32, 6 | "nodes": [ 7 | { 8 | "id": 15, 9 | "type": "EmptyLatentImage", 10 | "pos": [ 11 | 510, 12 | 620 13 | ], 14 | "size": [ 15 | 315, 16 | 106 17 | ], 18 | "flags": {}, 19 | "order": 0, 20 | "mode": 0, 21 | "inputs": [], 22 | "outputs": [ 23 | { 24 | "name": "LATENT", 25 | "type": "LATENT", 26 | "slot_index": 0, 27 | "links": [ 28 | 18 29 | ] 30 | } 31 | ], 32 | "properties": { 33 | "cnr_id": "comfy-core", 34 | "ver": "0.3.27", 35 | "Node name for S&R": "EmptyLatentImage" 36 | }, 37 | "widgets_values": [ 38 | 512, 39 | 512, 40 | 1 41 | ] 42 | }, 43 | { 44 | "id": 8, 45 | "type": "VAEDecode", 46 | "pos": [ 47 | 1210, 48 | 190 49 | ], 50 | "size": [ 51 | 210, 52 | 46 53 | ], 54 | "flags": {}, 55 | "order": 10, 56 | "mode": 0, 57 | "inputs": [ 58 | { 59 | "name": "samples", 60 | "type": "LATENT", 61 | "link": 7 62 | }, 63 | { 64 | "name": "vae", 65 | "type": "VAE", 66 | "link": 17 67 | } 68 | ], 69 | "outputs": [ 70 | { 71 | "name": "IMAGE", 72 | "type": "IMAGE", 73 | "slot_index": 0, 74 | "links": [ 75 | 19 76 | ] 77 | } 78 | ], 79 | "properties": { 80 | "cnr_id": "comfy-core", 81 | "ver": "0.3.27", 82 | "Node name for S&R": "VAEDecode" 83 | }, 84 | "widgets_values": [] 85 | }, 86 | { 87 | "id": 6, 88 | "type": "CLIPTextEncode", 89 | "pos": [ 90 | 420, 91 | 180 92 | ], 93 | "size": [ 94 | 420, 95 | 170 96 | ], 97 | "flags": {}, 98 | "order": 5, 99 | "mode": 0, 100 | "inputs": [ 101 | { 102 | "name": "clip", 103 | "type": "CLIP", 104 | "link": 14 105 | } 106 | ], 107 | "outputs": [ 108 | { 109 | "name": "CONDITIONING", 110 | "type": "CONDITIONING", 111 | "slot_index": 0, 112 | "links": [ 113 | 4 114 | ] 115 | } 116 | ], 117 | "properties": { 118 | "cnr_id": "comfy-core", 119 | "ver": "0.3.27", 120 | "Node name for S&R": "CLIPTextEncode" 121 | }, 122 | "widgets_values": [ 123 | "photograph of victorian woman with wings, sky clouds, meadow grass\n" 124 | ] 125 | }, 126 | { 127 | "id": 7, 128 | "type": "CLIPTextEncode", 129 | "pos": [ 130 | 420, 131 | 400 132 | ], 133 | "size": [ 134 | 420, 135 | 170 136 | ], 137 | "flags": {}, 138 | "order": 6, 139 | "mode": 0, 140 | "inputs": [ 141 | { 142 | "name": "clip", 143 | "type": "CLIP", 144 | "link": 15 145 | } 146 | ], 147 | "outputs": [ 148 | { 149 | "name": "CONDITIONING", 150 | "type": "CONDITIONING", 151 | "slot_index": 0, 152 | "links": [ 153 | 6 154 | ] 155 | } 156 | ], 157 | "properties": { 158 | "cnr_id": "comfy-core", 159 | "ver": "0.3.27", 160 | "Node name for S&R": "CLIPTextEncode" 161 | }, 162 | "widgets_values": [ 163 | "watermark, text\n" 164 | ] 165 | }, 166 | { 167 | "id": 14, 168 | "type": "CheckpointLoaderSimple", 169 | "pos": [ 170 | 20, 171 | 180 172 | ], 173 | "size": [ 174 | 360, 175 | 100 176 | ], 177 | "flags": {}, 178 | "order": 1, 179 | "mode": 0, 180 | "inputs": [], 181 | "outputs": [ 182 | { 183 | "name": "MODEL", 184 | "shape": 3, 185 | "type": "MODEL", 186 | "slot_index": 0, 187 | "links": [ 188 | 13 189 | ] 190 | }, 191 | { 192 | "name": "CLIP", 193 | "shape": 3, 194 | "type": "CLIP", 195 | "slot_index": 1, 196 | "links": [ 197 | 14, 198 | 15 199 | ] 200 | }, 201 | { 202 | "name": "VAE", 203 | "shape": 3, 204 | "type": "VAE", 205 | "slot_index": 2, 206 | "links": [ 207 | 17 208 | ] 209 | } 210 | ], 211 | "properties": { 212 | "cnr_id": "comfy-core", 213 | "ver": "0.3.27", 214 | "Node name for S&R": "CheckpointLoaderSimple" 215 | }, 216 | "widgets_values": [ 217 | "Juggernaut V11 - SDXL.safetensors" 218 | ] 219 | }, 220 | { 221 | "id": 20, 222 | "type": "VAEDecode", 223 | "pos": [ 224 | 1210, 225 | 820 226 | ], 227 | "size": [ 228 | 210, 229 | 46 230 | ], 231 | "flags": {}, 232 | "order": 14, 233 | "mode": 0, 234 | "inputs": [ 235 | { 236 | "name": "samples", 237 | "type": "LATENT", 238 | "link": 20 239 | }, 240 | { 241 | "name": "vae", 242 | "type": "VAE", 243 | "link": 21 244 | } 245 | ], 246 | "outputs": [ 247 | { 248 | "name": "IMAGE", 249 | "type": "IMAGE", 250 | "slot_index": 0, 251 | "links": [ 252 | 28 253 | ] 254 | } 255 | ], 256 | "properties": { 257 | "cnr_id": "comfy-core", 258 | "ver": "0.3.27", 259 | "Node name for S&R": "VAEDecode" 260 | }, 261 | "widgets_values": [] 262 | }, 263 | { 264 | "id": 21, 265 | "type": "CLIPTextEncode", 266 | "pos": [ 267 | 420, 268 | 810 269 | ], 270 | "size": [ 271 | 420, 272 | 170 273 | ], 274 | "flags": {}, 275 | "order": 7, 276 | "mode": 0, 277 | "inputs": [ 278 | { 279 | "name": "clip", 280 | "type": "CLIP", 281 | "link": 22 282 | } 283 | ], 284 | "outputs": [ 285 | { 286 | "name": "CONDITIONING", 287 | "type": "CONDITIONING", 288 | "slot_index": 0, 289 | "links": [ 290 | 25 291 | ] 292 | } 293 | ], 294 | "properties": { 295 | "cnr_id": "comfy-core", 296 | "ver": "0.3.27", 297 | "Node name for S&R": "CLIPTextEncode" 298 | }, 299 | "widgets_values": [ 300 | "photograph of victorian woman with wings, sky clouds, meadow grass\n" 301 | ] 302 | }, 303 | { 304 | "id": 22, 305 | "type": "CLIPTextEncode", 306 | "pos": [ 307 | 420, 308 | 1030 309 | ], 310 | "size": [ 311 | 420, 312 | 170 313 | ], 314 | "flags": {}, 315 | "order": 8, 316 | "mode": 0, 317 | "inputs": [ 318 | { 319 | "name": "clip", 320 | "type": "CLIP", 321 | "link": 23 322 | } 323 | ], 324 | "outputs": [ 325 | { 326 | "name": "CONDITIONING", 327 | "type": "CONDITIONING", 328 | "slot_index": 0, 329 | "links": [ 330 | 26 331 | ] 332 | } 333 | ], 334 | "properties": { 335 | "cnr_id": "comfy-core", 336 | "ver": "0.3.27", 337 | "Node name for S&R": "CLIPTextEncode" 338 | }, 339 | "widgets_values": [ 340 | "watermark, text\n" 341 | ] 342 | }, 343 | { 344 | "id": 25, 345 | "type": "PreviewImage", 346 | "pos": [ 347 | 1440, 348 | 820 349 | ], 350 | "size": [ 351 | 220, 352 | 260 353 | ], 354 | "flags": {}, 355 | "order": 15, 356 | "mode": 0, 357 | "inputs": [ 358 | { 359 | "name": "images", 360 | "type": "IMAGE", 361 | "link": 28 362 | } 363 | ], 364 | "outputs": [], 365 | "properties": { 366 | "cnr_id": "comfy-core", 367 | "ver": "0.3.27", 368 | "Node name for S&R": "PreviewImage" 369 | }, 370 | "widgets_values": [] 371 | }, 372 | { 373 | "id": 24, 374 | "type": "CheckpointLoaderSimple", 375 | "pos": [ 376 | 20, 377 | 810 378 | ], 379 | "size": [ 380 | 360, 381 | 100 382 | ], 383 | "flags": {}, 384 | "order": 2, 385 | "mode": 0, 386 | "inputs": [], 387 | "outputs": [ 388 | { 389 | "name": "MODEL", 390 | "shape": 3, 391 | "type": "MODEL", 392 | "slot_index": 0, 393 | "links": [ 394 | 24 395 | ] 396 | }, 397 | { 398 | "name": "CLIP", 399 | "shape": 3, 400 | "type": "CLIP", 401 | "slot_index": 1, 402 | "links": [ 403 | 22, 404 | 23 405 | ] 406 | }, 407 | { 408 | "name": "VAE", 409 | "shape": 3, 410 | "type": "VAE", 411 | "slot_index": 2, 412 | "links": [ 413 | 21 414 | ] 415 | } 416 | ], 417 | "properties": { 418 | "cnr_id": "comfy-core", 419 | "ver": "0.3.27", 420 | "Node name for S&R": "CheckpointLoaderSimple" 421 | }, 422 | "widgets_values": [ 423 | "Juggernaut V11 - SDXL.safetensors" 424 | ] 425 | }, 426 | { 427 | "id": 18, 428 | "type": "PreviewImage", 429 | "pos": [ 430 | 1440, 431 | 190 432 | ], 433 | "size": [ 434 | 220, 435 | 260 436 | ], 437 | "flags": {}, 438 | "order": 12, 439 | "mode": 0, 440 | "inputs": [ 441 | { 442 | "name": "images", 443 | "type": "IMAGE", 444 | "link": 19 445 | } 446 | ], 447 | "outputs": [], 448 | "properties": { 449 | "cnr_id": "comfy-core", 450 | "ver": "0.3.27", 451 | "Node name for S&R": "PreviewImage" 452 | }, 453 | "widgets_values": [] 454 | }, 455 | { 456 | "id": 23, 457 | "type": "KSampler", 458 | "pos": [ 459 | 880, 460 | 810 461 | ], 462 | "size": [ 463 | 310, 464 | 270 465 | ], 466 | "flags": {}, 467 | "order": 13, 468 | "mode": 0, 469 | "inputs": [ 470 | { 471 | "name": "model", 472 | "type": "MODEL", 473 | "link": 24 474 | }, 475 | { 476 | "name": "positive", 477 | "type": "CONDITIONING", 478 | "link": 25 479 | }, 480 | { 481 | "name": "negative", 482 | "type": "CONDITIONING", 483 | "link": 26 484 | }, 485 | { 486 | "name": "latent_image", 487 | "type": "LATENT", 488 | "link": 31 489 | } 490 | ], 491 | "outputs": [ 492 | { 493 | "name": "LATENT", 494 | "type": "LATENT", 495 | "slot_index": 0, 496 | "links": [ 497 | 20 498 | ] 499 | } 500 | ], 501 | "properties": { 502 | "cnr_id": "comfy-core", 503 | "ver": "0.3.27", 504 | "Node name for S&R": "KSampler" 505 | }, 506 | "widgets_values": [ 507 | 397327011517935, 508 | "randomize", 509 | 20, 510 | 8, 511 | "dpmpp_2m", 512 | "normal", 513 | 0.8 514 | ] 515 | }, 516 | { 517 | "id": 17, 518 | "type": "Any Switch (rgthree)", 519 | "pos": [ 520 | 640, 521 | 1250 522 | ], 523 | "size": [ 524 | 170, 525 | 110 526 | ], 527 | "flags": {}, 528 | "order": 11, 529 | "mode": 0, 530 | "inputs": [ 531 | { 532 | "name": "any_01", 533 | "type": "LATENT", 534 | "link": 30 535 | }, 536 | { 537 | "name": "any_02", 538 | "type": "LATENT", 539 | "link": 32 540 | }, 541 | { 542 | "name": "any_03", 543 | "type": "LATENT", 544 | "link": null 545 | }, 546 | { 547 | "name": "any_04", 548 | "type": "LATENT", 549 | "link": null 550 | }, 551 | { 552 | "name": "any_05", 553 | "type": "LATENT", 554 | "link": null 555 | } 556 | ], 557 | "outputs": [ 558 | { 559 | "label": "LATENT", 560 | "name": "*", 561 | "shape": 3, 562 | "type": "LATENT", 563 | "links": [ 564 | 31 565 | ] 566 | } 567 | ], 568 | "properties": { 569 | "cnr_id": "rgthree-comfy", 570 | "ver": "32142fe476878a354dda6e2d4b5ea98960de3ced" 571 | }, 572 | "widgets_values": [] 573 | }, 574 | { 575 | "id": 3, 576 | "type": "KSampler", 577 | "pos": [ 578 | 880, 579 | 180 580 | ], 581 | "size": [ 582 | 310, 583 | 270 584 | ], 585 | "flags": {}, 586 | "order": 9, 587 | "mode": 0, 588 | "inputs": [ 589 | { 590 | "name": "model", 591 | "type": "MODEL", 592 | "link": 13 593 | }, 594 | { 595 | "name": "positive", 596 | "type": "CONDITIONING", 597 | "link": 4 598 | }, 599 | { 600 | "name": "negative", 601 | "type": "CONDITIONING", 602 | "link": 6 603 | }, 604 | { 605 | "name": "latent_image", 606 | "type": "LATENT", 607 | "link": 18 608 | } 609 | ], 610 | "outputs": [ 611 | { 612 | "name": "LATENT", 613 | "type": "LATENT", 614 | "slot_index": 0, 615 | "links": [ 616 | 7, 617 | 30 618 | ] 619 | } 620 | ], 621 | "properties": { 622 | "cnr_id": "comfy-core", 623 | "ver": "0.3.27", 624 | "Node name for S&R": "KSampler" 625 | }, 626 | "widgets_values": [ 627 | 968142264118548, 628 | "randomize", 629 | 20, 630 | 8, 631 | "dpmpp_2m", 632 | "normal", 633 | 1 634 | ] 635 | }, 636 | { 637 | "id": 19, 638 | "type": "EmptyLatentImage", 639 | "pos": [ 640 | 270, 641 | 1250 642 | ], 643 | "size": [ 644 | 310, 645 | 110 646 | ], 647 | "flags": {}, 648 | "order": 3, 649 | "mode": 0, 650 | "inputs": [], 651 | "outputs": [ 652 | { 653 | "name": "LATENT", 654 | "type": "LATENT", 655 | "slot_index": 0, 656 | "links": [ 657 | 32 658 | ] 659 | } 660 | ], 661 | "properties": { 662 | "cnr_id": "comfy-core", 663 | "ver": "0.3.27", 664 | "Node name for S&R": "EmptyLatentImage" 665 | }, 666 | "widgets_values": [ 667 | 512, 668 | 512, 669 | 1 670 | ] 671 | }, 672 | { 673 | "id": 16, 674 | "type": "Fast Groups Muter (rgthree)", 675 | "pos": [ 676 | -280, 677 | 710 678 | ], 679 | "size": [ 680 | 270, 681 | 90 682 | ], 683 | "flags": {}, 684 | "order": 4, 685 | "mode": 0, 686 | "inputs": [], 687 | "outputs": [ 688 | { 689 | "name": "OPT_CONNECTION", 690 | "type": "*", 691 | "links": null 692 | } 693 | ], 694 | "properties": { 695 | "matchColors": "", 696 | "matchTitle": "", 697 | "showNav": true, 698 | "sort": "position", 699 | "customSortAlphabet": "", 700 | "toggleRestriction": "default" 701 | } 702 | } 703 | ], 704 | "links": [ 705 | [ 706 | 4, 707 | 6, 708 | 0, 709 | 3, 710 | 1, 711 | "CONDITIONING" 712 | ], 713 | [ 714 | 6, 715 | 7, 716 | 0, 717 | 3, 718 | 2, 719 | "CONDITIONING" 720 | ], 721 | [ 722 | 7, 723 | 3, 724 | 0, 725 | 8, 726 | 0, 727 | "LATENT" 728 | ], 729 | [ 730 | 13, 731 | 14, 732 | 0, 733 | 3, 734 | 0, 735 | "MODEL" 736 | ], 737 | [ 738 | 14, 739 | 14, 740 | 1, 741 | 6, 742 | 0, 743 | "CLIP" 744 | ], 745 | [ 746 | 15, 747 | 14, 748 | 1, 749 | 7, 750 | 0, 751 | "CLIP" 752 | ], 753 | [ 754 | 17, 755 | 14, 756 | 2, 757 | 8, 758 | 1, 759 | "VAE" 760 | ], 761 | [ 762 | 18, 763 | 15, 764 | 0, 765 | 3, 766 | 3, 767 | "LATENT" 768 | ], 769 | [ 770 | 19, 771 | 8, 772 | 0, 773 | 18, 774 | 0, 775 | "IMAGE" 776 | ], 777 | [ 778 | 20, 779 | 23, 780 | 0, 781 | 20, 782 | 0, 783 | "LATENT" 784 | ], 785 | [ 786 | 21, 787 | 24, 788 | 2, 789 | 20, 790 | 1, 791 | "VAE" 792 | ], 793 | [ 794 | 22, 795 | 24, 796 | 1, 797 | 21, 798 | 0, 799 | "CLIP" 800 | ], 801 | [ 802 | 23, 803 | 24, 804 | 1, 805 | 22, 806 | 0, 807 | "CLIP" 808 | ], 809 | [ 810 | 24, 811 | 24, 812 | 0, 813 | 23, 814 | 0, 815 | "MODEL" 816 | ], 817 | [ 818 | 25, 819 | 21, 820 | 0, 821 | 23, 822 | 1, 823 | "CONDITIONING" 824 | ], 825 | [ 826 | 26, 827 | 22, 828 | 0, 829 | 23, 830 | 2, 831 | "CONDITIONING" 832 | ], 833 | [ 834 | 28, 835 | 20, 836 | 0, 837 | 25, 838 | 0, 839 | "IMAGE" 840 | ], 841 | [ 842 | 30, 843 | 3, 844 | 0, 845 | 17, 846 | 0, 847 | "LATENT" 848 | ], 849 | [ 850 | 31, 851 | 17, 852 | 0, 853 | 23, 854 | 3, 855 | "LATENT" 856 | ], 857 | [ 858 | 32, 859 | 19, 860 | 0, 861 | 17, 862 | 1, 863 | "LATENT" 864 | ] 865 | ], 866 | "groups": [ 867 | { 868 | "id": 1, 869 | "title": "Group 1", 870 | "bounding": [ 871 | 10, 872 | 110, 873 | 1660, 874 | 626.7999877929688 875 | ], 876 | "color": "#3f789e", 877 | "font_size": 22, 878 | "flags": {} 879 | }, 880 | { 881 | "id": 2, 882 | "title": "Group 2", 883 | "bounding": [ 884 | 10, 885 | 740, 886 | 1660, 887 | 630.7999877929688 888 | ], 889 | "color": "#A88", 890 | "font_size": 22, 891 | "flags": {} 892 | } 893 | ], 894 | "config": {}, 895 | "extra": { 896 | "ds": { 897 | "scale": 1.486436280241436, 898 | "offset": [ 899 | 451.8487706134759, 900 | -87.14247682089055 901 | ] 902 | }, 903 | "node_versions": { 904 | "comfy-core": "0.3.14" 905 | }, 906 | "VHS_latentpreview": false, 907 | "VHS_latentpreviewrate": 0, 908 | "VHS_MetadataImage": true, 909 | "VHS_KeepIntermediate": true 910 | }, 911 | "version": 0.4 912 | } -------------------------------------------------------------------------------- /templates/STTP - Switch Template.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "85707b5d-505f-4ade-80d3-0f160bc586ae", 3 | "revision": 0, 4 | "last_node_id": 15, 5 | "last_link_id": 26, 6 | "nodes": [ 7 | { 8 | "id": 2, 9 | "type": "CLIPTextEncode", 10 | "pos": [ 11 | 300, 12 | 30 13 | ], 14 | "size": [ 15 | 422.84503173828125, 16 | 164.31304931640625 17 | ], 18 | "flags": {}, 19 | "order": 5, 20 | "mode": 0, 21 | "inputs": [ 22 | { 23 | "name": "clip", 24 | "type": "CLIP", 25 | "link": 2 26 | } 27 | ], 28 | "outputs": [ 29 | { 30 | "name": "CONDITIONING", 31 | "type": "CONDITIONING", 32 | "slot_index": 0, 33 | "links": [ 34 | 7 35 | ] 36 | } 37 | ], 38 | "properties": { 39 | "cnr_id": "comfy-core", 40 | "ver": "0.3.27", 41 | "Node name for S&R": "CLIPTextEncode" 42 | }, 43 | "widgets_values": [ 44 | "photograph of victorian woman with wings, sky clouds, meadow grass\n" 45 | ] 46 | }, 47 | { 48 | "id": 1, 49 | "type": "CLIPTextEncode", 50 | "pos": [ 51 | 300, 52 | 240 53 | ], 54 | "size": [ 55 | 420, 56 | 160 57 | ], 58 | "flags": {}, 59 | "order": 4, 60 | "mode": 0, 61 | "inputs": [ 62 | { 63 | "name": "clip", 64 | "type": "CLIP", 65 | "link": 1 66 | } 67 | ], 68 | "outputs": [ 69 | { 70 | "name": "CONDITIONING", 71 | "type": "CONDITIONING", 72 | "slot_index": 0, 73 | "links": [ 74 | 8 75 | ] 76 | } 77 | ], 78 | "properties": { 79 | "cnr_id": "comfy-core", 80 | "ver": "0.3.27", 81 | "Node name for S&R": "CLIPTextEncode" 82 | }, 83 | "widgets_values": [ 84 | "watermark, text\n" 85 | ] 86 | }, 87 | { 88 | "id": 9, 89 | "type": "LoadImage", 90 | "pos": [ 91 | 1090, 92 | 130 93 | ], 94 | "size": [ 95 | 210, 96 | 330 97 | ], 98 | "flags": {}, 99 | "order": 0, 100 | "mode": 0, 101 | "inputs": [], 102 | "outputs": [ 103 | { 104 | "name": "IMAGE", 105 | "type": "IMAGE", 106 | "links": [ 107 | 14 108 | ] 109 | }, 110 | { 111 | "name": "MASK", 112 | "type": "MASK", 113 | "links": null 114 | } 115 | ], 116 | "properties": { 117 | "cnr_id": "comfy-core", 118 | "ver": "0.3.27", 119 | "Node name for S&R": "LoadImage" 120 | }, 121 | "widgets_values": [ 122 | "example.png", 123 | "image", 124 | "" 125 | ] 126 | }, 127 | { 128 | "id": 13, 129 | "type": "Any Switch (rgthree)", 130 | "pos": [ 131 | 1330, 132 | 70 133 | ], 134 | "size": [ 135 | 170, 136 | 110 137 | ], 138 | "flags": {}, 139 | "order": 12, 140 | "mode": 0, 141 | "inputs": [ 142 | { 143 | "name": "any_01", 144 | "type": "IMAGE", 145 | "link": 26 146 | }, 147 | { 148 | "name": "any_02", 149 | "type": "IMAGE", 150 | "link": 14 151 | }, 152 | { 153 | "name": "any_03", 154 | "type": "IMAGE", 155 | "link": null 156 | }, 157 | { 158 | "name": "any_04", 159 | "type": "IMAGE", 160 | "link": null 161 | }, 162 | { 163 | "name": "any_05", 164 | "type": "IMAGE", 165 | "link": null 166 | } 167 | ], 168 | "outputs": [ 169 | { 170 | "label": "IMAGE", 171 | "name": "*", 172 | "shape": 3, 173 | "type": "IMAGE", 174 | "links": [ 175 | 15 176 | ] 177 | } 178 | ], 179 | "properties": { 180 | "cnr_id": "rgthree-comfy", 181 | "ver": "32142fe476878a354dda6e2d4b5ea98960de3ced" 182 | }, 183 | "widgets_values": [] 184 | }, 185 | { 186 | "id": 8, 187 | "type": "PreviewImage", 188 | "pos": [ 189 | 1530, 190 | 70 191 | ], 192 | "size": [ 193 | 210, 194 | 246 195 | ], 196 | "flags": {}, 197 | "order": 13, 198 | "mode": 0, 199 | "inputs": [ 200 | { 201 | "name": "images", 202 | "type": "IMAGE", 203 | "link": 15 204 | } 205 | ], 206 | "outputs": [], 207 | "properties": { 208 | "cnr_id": "comfy-core", 209 | "ver": "0.3.27", 210 | "Node name for S&R": "PreviewImage" 211 | }, 212 | "widgets_values": [] 213 | }, 214 | { 215 | "id": 7, 216 | "type": "EmptyLatentImage", 217 | "pos": [ 218 | -200, 219 | 460 220 | ], 221 | "size": [ 222 | 220, 223 | 110 224 | ], 225 | "flags": {}, 226 | "order": 1, 227 | "mode": 0, 228 | "inputs": [], 229 | "outputs": [ 230 | { 231 | "name": "LATENT", 232 | "type": "LATENT", 233 | "slot_index": 0, 234 | "links": [ 235 | 9, 236 | 12 237 | ] 238 | } 239 | ], 240 | "properties": { 241 | "cnr_id": "comfy-core", 242 | "ver": "0.3.27", 243 | "Node name for S&R": "EmptyLatentImage" 244 | }, 245 | "widgets_values": [ 246 | 512, 247 | 512, 248 | 1 249 | ] 250 | }, 251 | { 252 | "id": 11, 253 | "type": "MathExpression|pysssss", 254 | "pos": [ 255 | 330, 256 | 520 257 | ], 258 | "size": [ 259 | 210, 260 | 130 261 | ], 262 | "flags": {}, 263 | "order": 6, 264 | "mode": 0, 265 | "inputs": [ 266 | { 267 | "name": "a", 268 | "shape": 7, 269 | "type": "INT,FLOAT,IMAGE,LATENT", 270 | "link": 16 271 | }, 272 | { 273 | "name": "b", 274 | "shape": 7, 275 | "type": "INT,FLOAT,IMAGE,LATENT", 276 | "link": null 277 | }, 278 | { 279 | "name": "c", 280 | "shape": 7, 281 | "type": "INT,FLOAT,IMAGE,LATENT", 282 | "link": null 283 | } 284 | ], 285 | "outputs": [ 286 | { 287 | "name": "INT", 288 | "type": "INT", 289 | "links": [ 290 | 19 291 | ] 292 | }, 293 | { 294 | "name": "FLOAT", 295 | "type": "FLOAT", 296 | "links": null 297 | } 298 | ], 299 | "properties": { 300 | "cnr_id": "comfyui-custom-scripts", 301 | "ver": "1.1.1" 302 | }, 303 | "widgets_values": [ 304 | "2-a" 305 | ] 306 | }, 307 | { 308 | "id": 12, 309 | "type": "ImpactConvertDataType", 310 | "pos": [ 311 | 570, 312 | 520 313 | ], 314 | "size": [ 315 | 210, 316 | 90 317 | ], 318 | "flags": {}, 319 | "order": 7, 320 | "mode": 0, 321 | "inputs": [ 322 | { 323 | "name": "value", 324 | "type": "*", 325 | "link": 19 326 | } 327 | ], 328 | "outputs": [ 329 | { 330 | "name": "STRING", 331 | "type": "STRING", 332 | "links": null 333 | }, 334 | { 335 | "name": "FLOAT", 336 | "type": "FLOAT", 337 | "links": null 338 | }, 339 | { 340 | "name": "INT", 341 | "type": "INT", 342 | "links": null 343 | }, 344 | { 345 | "name": "BOOLEAN", 346 | "type": "BOOLEAN", 347 | "links": [ 348 | 20, 349 | 25 350 | ] 351 | } 352 | ], 353 | "properties": { 354 | "cnr_id": "comfyui-impact-pack", 355 | "ver": "6e3d07277bfc0817150c8daa2e3b6fc3595c9745", 356 | "Node name for S&R": "ImpactConvertDataType" 357 | }, 358 | "widgets_values": [] 359 | }, 360 | { 361 | "id": 6, 362 | "type": "CheckpointLoaderSimple", 363 | "pos": [ 364 | -100, 365 | 270 366 | ], 367 | "size": [ 368 | 315, 369 | 98 370 | ], 371 | "flags": {}, 372 | "order": 2, 373 | "mode": 0, 374 | "inputs": [], 375 | "outputs": [ 376 | { 377 | "name": "MODEL", 378 | "shape": 3, 379 | "type": "MODEL", 380 | "slot_index": 0, 381 | "links": [ 382 | 6 383 | ] 384 | }, 385 | { 386 | "name": "CLIP", 387 | "shape": 3, 388 | "type": "CLIP", 389 | "slot_index": 1, 390 | "links": [ 391 | 1, 392 | 2 393 | ] 394 | }, 395 | { 396 | "name": "VAE", 397 | "shape": 3, 398 | "type": "VAE", 399 | "slot_index": 2, 400 | "links": [ 401 | 4, 402 | 24 403 | ] 404 | } 405 | ], 406 | "properties": { 407 | "cnr_id": "comfy-core", 408 | "ver": "0.3.27", 409 | "Node name for S&R": "CheckpointLoaderSimple" 410 | }, 411 | "widgets_values": [ 412 | "Juggernaut V11 - SDXL.safetensors" 413 | ] 414 | }, 415 | { 416 | "id": 10, 417 | "type": "ImpactSwitch", 418 | "pos": [ 419 | 50, 420 | 460 421 | ], 422 | "size": [ 423 | 250, 424 | 130 425 | ], 426 | "flags": {}, 427 | "order": 3, 428 | "mode": 0, 429 | "inputs": [ 430 | { 431 | "name": "input1", 432 | "shape": 7, 433 | "type": "LATENT", 434 | "link": 12 435 | }, 436 | { 437 | "name": "input2", 438 | "type": "LATENT", 439 | "link": null 440 | } 441 | ], 442 | "outputs": [ 443 | { 444 | "label": "LATENT", 445 | "name": "LATENT", 446 | "type": "LATENT", 447 | "links": [ 448 | 23 449 | ] 450 | }, 451 | { 452 | "name": "selected_label", 453 | "type": "STRING", 454 | "links": null 455 | }, 456 | { 457 | "name": "selected_index", 458 | "type": "INT", 459 | "links": [ 460 | 16 461 | ] 462 | } 463 | ], 464 | "properties": { 465 | "cnr_id": "comfyui-impact-pack", 466 | "ver": "6e3d07277bfc0817150c8daa2e3b6fc3595c9745", 467 | "Node name for S&R": "ImpactSwitch" 468 | }, 469 | "widgets_values": [ 470 | 1, 471 | false 472 | ] 473 | }, 474 | { 475 | "id": 3, 476 | "type": "VAEDecode", 477 | "pos": [ 478 | 1090, 479 | 30 480 | ], 481 | "size": [ 482 | 210, 483 | 50 484 | ], 485 | "flags": {}, 486 | "order": 11, 487 | "mode": 0, 488 | "inputs": [ 489 | { 490 | "name": "samples", 491 | "type": "LATENT", 492 | "link": 3 493 | }, 494 | { 495 | "name": "vae", 496 | "type": "VAE", 497 | "link": 22 498 | } 499 | ], 500 | "outputs": [ 501 | { 502 | "name": "IMAGE", 503 | "type": "IMAGE", 504 | "slot_index": 0, 505 | "links": [ 506 | 5, 507 | 10, 508 | 26 509 | ] 510 | } 511 | ], 512 | "properties": { 513 | "cnr_id": "comfy-core", 514 | "ver": "0.3.27", 515 | "Node name for S&R": "VAEDecode" 516 | }, 517 | "widgets_values": [] 518 | }, 519 | { 520 | "id": 5, 521 | "type": "KSampler", 522 | "pos": [ 523 | 750, 524 | 30 525 | ], 526 | "size": [ 527 | 310, 528 | 262 529 | ], 530 | "flags": {}, 531 | "order": 10, 532 | "mode": 0, 533 | "inputs": [ 534 | { 535 | "name": "model", 536 | "type": "MODEL", 537 | "link": 6 538 | }, 539 | { 540 | "name": "positive", 541 | "type": "CONDITIONING", 542 | "link": 7 543 | }, 544 | { 545 | "name": "negative", 546 | "type": "CONDITIONING", 547 | "link": 8 548 | }, 549 | { 550 | "name": "latent_image", 551 | "type": "LATENT", 552 | "link": 18 553 | } 554 | ], 555 | "outputs": [ 556 | { 557 | "name": "LATENT", 558 | "type": "LATENT", 559 | "slot_index": 0, 560 | "links": [ 561 | 3 562 | ] 563 | } 564 | ], 565 | "properties": { 566 | "cnr_id": "comfy-core", 567 | "ver": "0.3.27", 568 | "Node name for S&R": "KSampler" 569 | }, 570 | "widgets_values": [ 571 | 305716062364990, 572 | "randomize", 573 | 20, 574 | 8, 575 | "dpmpp_2m", 576 | "normal", 577 | 1 578 | ] 579 | }, 580 | { 581 | "id": 15, 582 | "type": "ImpactControlBridge", 583 | "pos": [ 584 | 840, 585 | 460 586 | ], 587 | "size": [ 588 | 220, 589 | 90 590 | ], 591 | "flags": {}, 592 | "order": 8, 593 | "mode": 0, 594 | "inputs": [ 595 | { 596 | "name": "value", 597 | "type": "LATENT", 598 | "link": 23 599 | }, 600 | { 601 | "name": "mode", 602 | "type": "BOOLEAN", 603 | "widget": { 604 | "name": "mode" 605 | }, 606 | "link": 20 607 | } 608 | ], 609 | "outputs": [ 610 | { 611 | "label": "LATENT", 612 | "name": "value", 613 | "type": "LATENT", 614 | "links": [ 615 | 18 616 | ] 617 | } 618 | ], 619 | "properties": { 620 | "cnr_id": "comfyui-impact-pack", 621 | "ver": "6e3d07277bfc0817150c8daa2e3b6fc3595c9745", 622 | "Node name for S&R": "ImpactControlBridge" 623 | }, 624 | "widgets_values": [ 625 | true, 626 | "Mute" 627 | ] 628 | }, 629 | { 630 | "id": 14, 631 | "type": "ImpactControlBridge", 632 | "pos": [ 633 | 840, 634 | 600 635 | ], 636 | "size": [ 637 | 220, 638 | 90 639 | ], 640 | "flags": {}, 641 | "order": 9, 642 | "mode": 0, 643 | "inputs": [ 644 | { 645 | "name": "value", 646 | "type": "VAE", 647 | "link": 24 648 | }, 649 | { 650 | "name": "mode", 651 | "type": "BOOLEAN", 652 | "widget": { 653 | "name": "mode" 654 | }, 655 | "link": 25 656 | } 657 | ], 658 | "outputs": [ 659 | { 660 | "label": "VAE", 661 | "name": "value", 662 | "type": "VAE", 663 | "links": [ 664 | 22 665 | ] 666 | } 667 | ], 668 | "properties": { 669 | "cnr_id": "comfyui-impact-pack", 670 | "ver": "6e3d07277bfc0817150c8daa2e3b6fc3595c9745", 671 | "Node name for S&R": "ImpactControlBridge" 672 | }, 673 | "widgets_values": [ 674 | true, 675 | "Mute" 676 | ] 677 | } 678 | ], 679 | "links": [ 680 | [ 681 | 1, 682 | 6, 683 | 1, 684 | 1, 685 | 0, 686 | "CLIP" 687 | ], 688 | [ 689 | 2, 690 | 6, 691 | 1, 692 | 2, 693 | 0, 694 | "CLIP" 695 | ], 696 | [ 697 | 3, 698 | 5, 699 | 0, 700 | 3, 701 | 0, 702 | "LATENT" 703 | ], 704 | [ 705 | 6, 706 | 6, 707 | 0, 708 | 5, 709 | 0, 710 | "MODEL" 711 | ], 712 | [ 713 | 7, 714 | 2, 715 | 0, 716 | 5, 717 | 1, 718 | "CONDITIONING" 719 | ], 720 | [ 721 | 8, 722 | 1, 723 | 0, 724 | 5, 725 | 2, 726 | "CONDITIONING" 727 | ], 728 | [ 729 | 12, 730 | 7, 731 | 0, 732 | 10, 733 | 0, 734 | "LATENT" 735 | ], 736 | [ 737 | 14, 738 | 9, 739 | 0, 740 | 13, 741 | 1, 742 | "IMAGE" 743 | ], 744 | [ 745 | 15, 746 | 13, 747 | 0, 748 | 8, 749 | 0, 750 | "IMAGE" 751 | ], 752 | [ 753 | 16, 754 | 10, 755 | 2, 756 | 11, 757 | 0, 758 | "INT,FLOAT,IMAGE,LATENT" 759 | ], 760 | [ 761 | 18, 762 | 15, 763 | 0, 764 | 5, 765 | 3, 766 | "LATENT" 767 | ], 768 | [ 769 | 19, 770 | 11, 771 | 0, 772 | 12, 773 | 0, 774 | "*" 775 | ], 776 | [ 777 | 20, 778 | 12, 779 | 3, 780 | 15, 781 | 1, 782 | "BOOLEAN" 783 | ], 784 | [ 785 | 22, 786 | 14, 787 | 0, 788 | 3, 789 | 1, 790 | "VAE" 791 | ], 792 | [ 793 | 23, 794 | 10, 795 | 0, 796 | 15, 797 | 0, 798 | "LATENT" 799 | ], 800 | [ 801 | 24, 802 | 6, 803 | 2, 804 | 14, 805 | 0, 806 | "VAE" 807 | ], 808 | [ 809 | 25, 810 | 12, 811 | 3, 812 | 14, 813 | 1, 814 | "BOOLEAN" 815 | ], 816 | [ 817 | 26, 818 | 3, 819 | 0, 820 | 13, 821 | 0, 822 | "IMAGE" 823 | ] 824 | ], 825 | "groups": [], 826 | "config": {}, 827 | "extra": { 828 | "ds": { 829 | "scale": 1.7075336384127109, 830 | "offset": [ 831 | 337.9606904744951, 832 | 292.7140348318738 833 | ] 834 | }, 835 | "VHS_latentpreview": false, 836 | "VHS_latentpreviewrate": 0, 837 | "VHS_MetadataImage": true, 838 | "VHS_KeepIntermediate": true 839 | }, 840 | "version": 0.4 841 | } --------------------------------------------------------------------------------