InvokeAI 2.3.5.post2__tar.gz → 3.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (298) hide show
  1. InvokeAI-3.0.0/InvokeAI.egg-info/PKG-INFO +634 -0
  2. InvokeAI-3.0.0/InvokeAI.egg-info/SOURCES.txt +214 -0
  3. InvokeAI-3.0.0/InvokeAI.egg-info/entry_points.txt +14 -0
  4. {InvokeAI-2.3.5.post2 → InvokeAI-3.0.0}/InvokeAI.egg-info/requires.txt +23 -27
  5. {InvokeAI-2.3.5.post2 → InvokeAI-3.0.0}/InvokeAI.egg-info/top_level.txt +0 -1
  6. InvokeAI-3.0.0/LICENSE +176 -0
  7. InvokeAI-3.0.0/LICENSE-ModelWeights.txt +294 -0
  8. InvokeAI-3.0.0/PKG-INFO +634 -0
  9. InvokeAI-2.3.5.post2/InvokeAI.egg-info/PKG-INFO → InvokeAI-3.0.0/README.md +187 -98
  10. InvokeAI-3.0.0/invokeai/app/api/dependencies.py +144 -0
  11. InvokeAI-3.0.0/invokeai/app/api/events.py +52 -0
  12. InvokeAI-3.0.0/invokeai/app/api/routers/app_info.py +73 -0
  13. InvokeAI-3.0.0/invokeai/app/api/routers/board_images.py +55 -0
  14. InvokeAI-3.0.0/invokeai/app/api/routers/boards.py +162 -0
  15. InvokeAI-3.0.0/invokeai/app/api/routers/images.py +287 -0
  16. InvokeAI-3.0.0/invokeai/app/api/routers/models.py +376 -0
  17. InvokeAI-3.0.0/invokeai/app/api/routers/sessions.py +286 -0
  18. InvokeAI-3.0.0/invokeai/app/api/sockets.py +38 -0
  19. InvokeAI-3.0.0/invokeai/app/api_app.py +218 -0
  20. InvokeAI-3.0.0/invokeai/app/cli/commands.py +303 -0
  21. InvokeAI-3.0.0/invokeai/app/cli/completer.py +169 -0
  22. InvokeAI-3.0.0/invokeai/app/cli_app.py +470 -0
  23. InvokeAI-3.0.0/invokeai/app/invocations/__init__.py +12 -0
  24. InvokeAI-3.0.0/invokeai/app/invocations/baseinvocation.py +146 -0
  25. InvokeAI-3.0.0/invokeai/app/invocations/collections.py +161 -0
  26. InvokeAI-3.0.0/invokeai/app/invocations/compel.py +728 -0
  27. InvokeAI-3.0.0/invokeai/app/invocations/controlnet_image_processors.py +713 -0
  28. InvokeAI-3.0.0/invokeai/app/invocations/cv.py +75 -0
  29. InvokeAI-3.0.0/invokeai/app/invocations/generate.py +254 -0
  30. InvokeAI-3.0.0/invokeai/app/invocations/image.py +652 -0
  31. InvokeAI-3.0.0/invokeai/app/invocations/infill.py +255 -0
  32. InvokeAI-3.0.0/invokeai/app/invocations/latent.py +773 -0
  33. InvokeAI-3.0.0/invokeai/app/invocations/math.py +150 -0
  34. InvokeAI-3.0.0/invokeai/app/invocations/metadata.py +132 -0
  35. InvokeAI-3.0.0/invokeai/app/invocations/model.py +323 -0
  36. InvokeAI-3.0.0/invokeai/app/invocations/noise.py +135 -0
  37. InvokeAI-3.0.0/invokeai/app/invocations/param_easing.py +252 -0
  38. InvokeAI-3.0.0/invokeai/app/invocations/params.py +70 -0
  39. InvokeAI-3.0.0/invokeai/app/invocations/prompt.py +113 -0
  40. InvokeAI-3.0.0/invokeai/app/invocations/sdxl.py +709 -0
  41. InvokeAI-3.0.0/invokeai/app/invocations/upscale.py +128 -0
  42. InvokeAI-3.0.0/invokeai/app/models/exceptions.py +3 -0
  43. InvokeAI-3.0.0/invokeai/app/models/image.py +90 -0
  44. InvokeAI-3.0.0/invokeai/app/services/board_image_record_storage.py +273 -0
  45. InvokeAI-3.0.0/invokeai/app/services/board_images.py +125 -0
  46. InvokeAI-3.0.0/invokeai/app/services/board_record_storage.py +329 -0
  47. InvokeAI-3.0.0/invokeai/app/services/boards.py +185 -0
  48. InvokeAI-3.0.0/invokeai/app/services/config.py +550 -0
  49. InvokeAI-3.0.0/invokeai/app/services/default_graphs.py +65 -0
  50. InvokeAI-3.0.0/invokeai/app/services/events.py +147 -0
  51. InvokeAI-3.0.0/invokeai/app/services/graph.py +1261 -0
  52. InvokeAI-3.0.0/invokeai/app/services/image_file_storage.py +192 -0
  53. InvokeAI-3.0.0/invokeai/app/services/image_record_storage.py +580 -0
  54. InvokeAI-3.0.0/invokeai/app/services/images.py +437 -0
  55. InvokeAI-3.0.0/invokeai/app/services/invocation_queue.py +68 -0
  56. InvokeAI-3.0.0/invokeai/app/services/invocation_services.py +64 -0
  57. InvokeAI-3.0.0/invokeai/app/services/invoker.py +82 -0
  58. InvokeAI-3.0.0/invokeai/app/services/item_storage.py +70 -0
  59. InvokeAI-3.0.0/invokeai/app/services/latent_storage.py +94 -0
  60. InvokeAI-3.0.0/invokeai/app/services/model_manager_service.py +644 -0
  61. InvokeAI-3.0.0/invokeai/app/services/models/board_record.py +62 -0
  62. InvokeAI-3.0.0/invokeai/app/services/models/image_record.py +140 -0
  63. InvokeAI-3.0.0/invokeai/app/services/processor.py +154 -0
  64. InvokeAI-3.0.0/invokeai/app/services/resource_name.py +30 -0
  65. InvokeAI-3.0.0/invokeai/app/services/sqlite.py +154 -0
  66. InvokeAI-3.0.0/invokeai/app/services/urls.py +25 -0
  67. InvokeAI-3.0.0/invokeai/app/util/controlnet_utils.py +342 -0
  68. InvokeAI-3.0.0/invokeai/app/util/metadata.py +55 -0
  69. InvokeAI-3.0.0/invokeai/app/util/metaenum.py +15 -0
  70. InvokeAI-3.0.0/invokeai/app/util/misc.py +21 -0
  71. InvokeAI-3.0.0/invokeai/app/util/step_callback.py +146 -0
  72. InvokeAI-3.0.0/invokeai/app/util/thumbnails.py +15 -0
  73. InvokeAI-3.0.0/invokeai/backend/__init__.py +15 -0
  74. InvokeAI-3.0.0/invokeai/backend/generator/__init__.py +12 -0
  75. InvokeAI-3.0.0/invokeai/backend/generator/base.py +588 -0
  76. InvokeAI-3.0.0/invokeai/backend/generator/img2img.py +97 -0
  77. InvokeAI-3.0.0/invokeai/backend/generator/inpaint.py +402 -0
  78. InvokeAI-3.0.0/invokeai/backend/image_util/__init__.py +24 -0
  79. {InvokeAI-2.3.5.post2/ldm/invoke → InvokeAI-3.0.0/invokeai/backend/image_util}/patchmatch.py +18 -15
  80. InvokeAI-3.0.0/invokeai/backend/image_util/pngwriter.py +121 -0
  81. InvokeAI-3.0.0/invokeai/backend/image_util/seamless.py +59 -0
  82. {InvokeAI-2.3.5.post2/ldm/invoke → InvokeAI-3.0.0/invokeai/backend/image_util}/txt2mask.py +55 -52
  83. InvokeAI-2.3.5.post2/ldm/invoke/image_util.py → InvokeAI-3.0.0/invokeai/backend/image_util/util.py +24 -23
  84. {InvokeAI-2.3.5.post2/ldm/invoke/config → InvokeAI-3.0.0/invokeai/backend/install}/invokeai_configure.py +325 -344
  85. InvokeAI-3.0.0/invokeai/backend/install/legacy_arg_parsing.py +407 -0
  86. InvokeAI-3.0.0/invokeai/backend/install/migrate_to_3.py +609 -0
  87. InvokeAI-3.0.0/invokeai/backend/install/model_install_backend.py +486 -0
  88. InvokeAI-3.0.0/invokeai/backend/model_management/__init__.py +8 -0
  89. InvokeAI-2.3.5.post2/ldm/invoke/ckpt_to_diffuser.py → InvokeAI-3.0.0/invokeai/backend/model_management/convert_ckpt_to_diffusers.py +141 -320
  90. InvokeAI-3.0.0/invokeai/backend/model_management/lora.py +710 -0
  91. InvokeAI-3.0.0/invokeai/backend/model_management/model_cache.py +421 -0
  92. InvokeAI-3.0.0/invokeai/backend/model_management/model_manager.py +1001 -0
  93. InvokeAI-3.0.0/invokeai/backend/model_management/model_merge.py +132 -0
  94. InvokeAI-3.0.0/invokeai/backend/model_management/model_probe.py +463 -0
  95. InvokeAI-3.0.0/invokeai/backend/model_management/model_search.py +103 -0
  96. InvokeAI-3.0.0/invokeai/backend/model_management/models/__init__.py +118 -0
  97. InvokeAI-3.0.0/invokeai/backend/model_management/models/base.py +432 -0
  98. InvokeAI-3.0.0/invokeai/backend/model_management/models/controlnet.py +111 -0
  99. InvokeAI-3.0.0/invokeai/backend/model_management/models/lora.py +85 -0
  100. InvokeAI-3.0.0/invokeai/backend/model_management/models/sdxl.py +114 -0
  101. InvokeAI-3.0.0/invokeai/backend/model_management/models/stable_diffusion.py +302 -0
  102. InvokeAI-3.0.0/invokeai/backend/model_management/models/textual_inversion.py +84 -0
  103. InvokeAI-3.0.0/invokeai/backend/model_management/models/vae.py +175 -0
  104. InvokeAI-3.0.0/invokeai/backend/safety_checker.py +77 -0
  105. InvokeAI-3.0.0/invokeai/backend/stable_diffusion/__init__.py +11 -0
  106. {InvokeAI-2.3.5.post2/ldm/invoke/generator → InvokeAI-3.0.0/invokeai/backend/stable_diffusion}/diffusers_pipeline.py +494 -315
  107. InvokeAI-3.0.0/invokeai/backend/stable_diffusion/diffusion/__init__.py +6 -0
  108. {InvokeAI-2.3.5.post2/ldm/models → InvokeAI-3.0.0/invokeai/backend/stable_diffusion}/diffusion/cross_attention_control.py +268 -142
  109. {InvokeAI-2.3.5.post2/ldm/models → InvokeAI-3.0.0/invokeai/backend/stable_diffusion}/diffusion/cross_attention_map_saving.py +29 -18
  110. {InvokeAI-2.3.5.post2/ldm/models → InvokeAI-3.0.0/invokeai/backend/stable_diffusion}/diffusion/shared_invokeai_diffusion.py +132 -142
  111. {InvokeAI-2.3.5.post2/ldm/modules → InvokeAI-3.0.0/invokeai/backend/stable_diffusion}/image_degradation/bsrgan.py +47 -75
  112. {InvokeAI-2.3.5.post2/ldm/modules → InvokeAI-3.0.0/invokeai/backend/stable_diffusion}/image_degradation/bsrgan_light.py +44 -68
  113. {InvokeAI-2.3.5.post2/ldm/modules → InvokeAI-3.0.0/invokeai/backend/stable_diffusion}/image_degradation/utils_image.py +49 -76
  114. {InvokeAI-2.3.5.post2/ldm/invoke → InvokeAI-3.0.0/invokeai/backend/stable_diffusion}/offloading.py +38 -18
  115. InvokeAI-3.0.0/invokeai/backend/stable_diffusion/schedulers/__init__.py +1 -0
  116. InvokeAI-3.0.0/invokeai/backend/stable_diffusion/schedulers/schedulers.py +29 -0
  117. InvokeAI-3.0.0/invokeai/backend/training/__init__.py +4 -0
  118. {InvokeAI-2.3.5.post2/ldm/invoke → InvokeAI-3.0.0/invokeai/backend}/training/textual_inversion_training.py +45 -36
  119. InvokeAI-3.0.0/invokeai/backend/util/__init__.py +22 -0
  120. {InvokeAI-2.3.5.post2/ldm/invoke → InvokeAI-3.0.0/invokeai/backend/util}/devices.py +27 -18
  121. InvokeAI-3.0.0/invokeai/backend/util/hotfixes.py +634 -0
  122. {InvokeAI-2.3.5.post2/ldm/invoke → InvokeAI-3.0.0/invokeai/backend/util}/log.py +6 -5
  123. InvokeAI-3.0.0/invokeai/backend/util/logging.py +425 -0
  124. InvokeAI-3.0.0/invokeai/backend/util/mps_fixes.py +212 -0
  125. {InvokeAI-2.3.5.post2/ldm → InvokeAI-3.0.0/invokeai/backend/util}/util.py +65 -46
  126. {InvokeAI-2.3.5.post2/invokeai/backend → InvokeAI-3.0.0/invokeai/backend/web}/__init__.py +3 -4
  127. {InvokeAI-2.3.5.post2/invokeai/backend → InvokeAI-3.0.0/invokeai/backend/web}/invoke_ai_web_server.py +88 -129
  128. {InvokeAI-2.3.5.post2/invokeai/backend → InvokeAI-3.0.0/invokeai/backend/web}/modules/create_cmd_parser.py +6 -5
  129. {InvokeAI-2.3.5.post2/invokeai/backend → InvokeAI-3.0.0/invokeai/backend/web}/modules/get_canvas_generation_mode.py +5 -7
  130. {InvokeAI-2.3.5.post2/invokeai/backend → InvokeAI-3.0.0/invokeai/backend/web}/modules/parameters.py +22 -11
  131. InvokeAI-3.0.0/invokeai/configs/INITIAL_MODELS.yaml +109 -0
  132. {InvokeAI-2.3.5.post2 → InvokeAI-3.0.0}/invokeai/configs/stable-diffusion/v1-finetune.yaml +7 -7
  133. {InvokeAI-2.3.5.post2 → InvokeAI-3.0.0}/invokeai/configs/stable-diffusion/v1-finetune_style.yaml +7 -7
  134. {InvokeAI-2.3.5.post2 → InvokeAI-3.0.0}/invokeai/configs/stable-diffusion/v1-inference.yaml +6 -6
  135. {InvokeAI-2.3.5.post2 → InvokeAI-3.0.0}/invokeai/configs/stable-diffusion/v1-inpainting-inference.yaml +6 -6
  136. {InvokeAI-2.3.5.post2 → InvokeAI-3.0.0}/invokeai/configs/stable-diffusion/v1-m1-finetune.yaml +7 -7
  137. {InvokeAI-2.3.5.post2 → InvokeAI-3.0.0}/invokeai/configs/stable-diffusion/v2-inference-v.yaml +4 -4
  138. {InvokeAI-2.3.5.post2 → InvokeAI-3.0.0}/invokeai/configs/stable-diffusion/v2-inference.yaml +4 -4
  139. InvokeAI-3.0.0/invokeai/configs/stable-diffusion/v2-inpainting-inference-v.yaml +159 -0
  140. InvokeAI-3.0.0/invokeai/configs/stable-diffusion/v2-inpainting-inference.yaml +158 -0
  141. InvokeAI-3.0.0/invokeai/frontend/CLI/__init__.py +4 -0
  142. InvokeAI-3.0.0/invokeai/frontend/__init__.py +3 -0
  143. InvokeAI-3.0.0/invokeai/frontend/install/__init__.py +6 -0
  144. InvokeAI-3.0.0/invokeai/frontend/install/invokeai_configure.py +4 -0
  145. {InvokeAI-2.3.5.post2/ldm/invoke/config → InvokeAI-3.0.0/invokeai/frontend/install}/invokeai_update.py +7 -7
  146. InvokeAI-3.0.0/invokeai/frontend/install/model_install.py +819 -0
  147. InvokeAI-3.0.0/invokeai/frontend/install/widgets.py +431 -0
  148. InvokeAI-3.0.0/invokeai/frontend/legacy_launch_invokeai.py +19 -0
  149. InvokeAI-3.0.0/invokeai/frontend/merge/__init__.py +5 -0
  150. {InvokeAI-2.3.5.post2/ldm/invoke → InvokeAI-3.0.0/invokeai/frontend/merge}/merge_diffusers.py +91 -148
  151. InvokeAI-3.0.0/invokeai/frontend/training/__init__.py +4 -0
  152. {InvokeAI-2.3.5.post2/ldm/invoke → InvokeAI-3.0.0/invokeai/frontend}/training/textual_inversion.py +42 -33
  153. InvokeAI-3.0.0/invokeai/frontend/web/__init__.py +3 -0
  154. InvokeAI-3.0.0/invokeai/frontend/web/dist/assets/App-06ea4e5e.js +169 -0
  155. InvokeAI-3.0.0/invokeai/frontend/web/dist/assets/App-6125620a.css +1 -0
  156. InvokeAI-3.0.0/invokeai/frontend/web/dist/assets/MantineProvider-b5842fc1.js +1 -0
  157. InvokeAI-3.0.0/invokeai/frontend/web/dist/assets/ThemeLocaleProvider-5b992bc7.css +9 -0
  158. InvokeAI-3.0.0/invokeai/frontend/web/dist/assets/ThemeLocaleProvider-a6269375.js +302 -0
  159. InvokeAI-3.0.0/invokeai/frontend/web/dist/assets/index-e2437518.js +125 -0
  160. InvokeAI-3.0.0/invokeai/frontend/web/dist/assets/inter-cyrillic-ext-wght-normal-848492d3.woff2 +0 -0
  161. InvokeAI-3.0.0/invokeai/frontend/web/dist/assets/inter-cyrillic-wght-normal-262a1054.woff2 +0 -0
  162. InvokeAI-3.0.0/invokeai/frontend/web/dist/assets/inter-greek-ext-wght-normal-fe977ddb.woff2 +0 -0
  163. InvokeAI-3.0.0/invokeai/frontend/web/dist/assets/inter-greek-wght-normal-89b4a3fe.woff2 +0 -0
  164. InvokeAI-3.0.0/invokeai/frontend/web/dist/assets/inter-latin-ext-wght-normal-45606f83.woff2 +0 -0
  165. InvokeAI-3.0.0/invokeai/frontend/web/dist/assets/inter-latin-wght-normal-450f3ba4.woff2 +0 -0
  166. InvokeAI-3.0.0/invokeai/frontend/web/dist/assets/inter-vietnamese-wght-normal-ac4e131c.woff2 +0 -0
  167. {InvokeAI-2.3.5.post2/invokeai/frontend → InvokeAI-3.0.0/invokeai/frontend/web}/dist/index.html +9 -3
  168. {InvokeAI-2.3.5.post2/invokeai/frontend → InvokeAI-3.0.0/invokeai/frontend/web}/dist/locales/ar.json +0 -1
  169. {InvokeAI-2.3.5.post2/invokeai/frontend → InvokeAI-3.0.0/invokeai/frontend/web}/dist/locales/de.json +54 -6
  170. {InvokeAI-2.3.5.post2/invokeai/frontend → InvokeAI-3.0.0/invokeai/frontend/web}/dist/locales/en.json +150 -39
  171. {InvokeAI-2.3.5.post2/invokeai/frontend → InvokeAI-3.0.0/invokeai/frontend/web}/dist/locales/es.json +53 -8
  172. InvokeAI-3.0.0/invokeai/frontend/web/dist/locales/fi.json +122 -0
  173. {InvokeAI-2.3.5.post2/invokeai/frontend → InvokeAI-3.0.0/invokeai/frontend/web}/dist/locales/fr.json +25 -2
  174. InvokeAI-3.0.0/invokeai/frontend/web/dist/locales/he.json +591 -0
  175. {InvokeAI-2.3.5.post2/invokeai/frontend → InvokeAI-3.0.0/invokeai/frontend/web}/dist/locales/it.json +52 -7
  176. {InvokeAI-2.3.5.post2/invokeai/frontend → InvokeAI-3.0.0/invokeai/frontend/web}/dist/locales/ja.json +68 -5
  177. InvokeAI-3.0.0/invokeai/frontend/web/dist/locales/ko.json +80 -0
  178. {InvokeAI-2.3.5.post2/invokeai/frontend → InvokeAI-3.0.0/invokeai/frontend/web}/dist/locales/nl.json +134 -7
  179. {InvokeAI-2.3.5.post2/invokeai/frontend → InvokeAI-3.0.0/invokeai/frontend/web}/dist/locales/pl.json +0 -1
  180. InvokeAI-3.0.0/invokeai/frontend/web/dist/locales/pt.json +621 -0
  181. {InvokeAI-2.3.5.post2/invokeai/frontend → InvokeAI-3.0.0/invokeai/frontend/web}/dist/locales/pt_BR.json +50 -6
  182. InvokeAI-3.0.0/invokeai/frontend/web/dist/locales/ro.json +1 -0
  183. {InvokeAI-2.3.5.post2/invokeai/frontend → InvokeAI-3.0.0/invokeai/frontend/web}/dist/locales/ru.json +150 -19
  184. InvokeAI-3.0.0/invokeai/frontend/web/dist/locales/sv.json +254 -0
  185. InvokeAI-3.0.0/invokeai/frontend/web/dist/locales/tr.json +64 -0
  186. {InvokeAI-2.3.5.post2/invokeai/frontend → InvokeAI-3.0.0/invokeai/frontend/web}/dist/locales/uk.json +154 -20
  187. InvokeAI-3.0.0/invokeai/frontend/web/dist/locales/vi.json +1 -0
  188. {InvokeAI-2.3.5.post2/invokeai/frontend → InvokeAI-3.0.0/invokeai/frontend/web}/dist/locales/zh_CN.json +17 -1
  189. InvokeAI-3.0.0/invokeai/frontend/web/dist/locales/zh_Hant.json +38 -0
  190. InvokeAI-3.0.0/invokeai/frontend/web/static/dream_web/favicon.ico +0 -0
  191. InvokeAI-3.0.0/invokeai/frontend/web/static/dream_web/index.css +179 -0
  192. InvokeAI-3.0.0/invokeai/frontend/web/static/dream_web/index.html +187 -0
  193. InvokeAI-3.0.0/invokeai/frontend/web/static/dream_web/index.js +409 -0
  194. InvokeAI-3.0.0/invokeai/frontend/web/static/dream_web/test.html +246 -0
  195. InvokeAI-3.0.0/invokeai/frontend/web/static/legacy_web/favicon.ico +0 -0
  196. InvokeAI-3.0.0/invokeai/frontend/web/static/legacy_web/index.css +152 -0
  197. InvokeAI-3.0.0/invokeai/frontend/web/static/legacy_web/index.html +137 -0
  198. InvokeAI-3.0.0/invokeai/frontend/web/static/legacy_web/index.js +234 -0
  199. {InvokeAI-2.3.5.post2/ldm/invoke → InvokeAI-3.0.0/invokeai/version}/__init__.py +10 -5
  200. InvokeAI-3.0.0/invokeai/version/invokeai_version.py +1 -0
  201. InvokeAI-3.0.0/pyproject.toml +180 -0
  202. InvokeAI-2.3.5.post2/InvokeAI.egg-info/SOURCES.txt +0 -145
  203. InvokeAI-2.3.5.post2/InvokeAI.egg-info/entry_points.txt +0 -13
  204. InvokeAI-2.3.5.post2/LICENSE +0 -21
  205. InvokeAI-2.3.5.post2/PKG-INFO +0 -329
  206. InvokeAI-2.3.5.post2/README.md +0 -287
  207. InvokeAI-2.3.5.post2/invokeai/configs/INITIAL_MODELS.yaml +0 -89
  208. InvokeAI-2.3.5.post2/invokeai/frontend/dist/assets/Inter-Bold-790c108b.ttf +0 -0
  209. InvokeAI-2.3.5.post2/invokeai/frontend/dist/assets/Inter-b9a8e5e2.ttf +0 -0
  210. InvokeAI-2.3.5.post2/invokeai/frontend/dist/assets/index-2ab0eb58.css +0 -1
  211. InvokeAI-2.3.5.post2/invokeai/frontend/dist/assets/index-b12e648e.js +0 -603
  212. InvokeAI-2.3.5.post2/ldm/data/base.py +0 -31
  213. InvokeAI-2.3.5.post2/ldm/data/imagenet.py +0 -466
  214. InvokeAI-2.3.5.post2/ldm/data/lsun.py +0 -126
  215. InvokeAI-2.3.5.post2/ldm/data/personalized.py +0 -202
  216. InvokeAI-2.3.5.post2/ldm/data/personalized_style.py +0 -169
  217. InvokeAI-2.3.5.post2/ldm/generate.py +0 -1381
  218. InvokeAI-2.3.5.post2/ldm/invoke/CLI.py +0 -1360
  219. InvokeAI-2.3.5.post2/ldm/invoke/_version.py +0 -3
  220. InvokeAI-2.3.5.post2/ldm/invoke/args.py +0 -1354
  221. InvokeAI-2.3.5.post2/ldm/invoke/concepts_lib.py +0 -228
  222. InvokeAI-2.3.5.post2/ldm/invoke/conditioning.py +0 -277
  223. InvokeAI-2.3.5.post2/ldm/invoke/config/model_install.py +0 -480
  224. InvokeAI-2.3.5.post2/ldm/invoke/config/model_install_backend.py +0 -509
  225. InvokeAI-2.3.5.post2/ldm/invoke/config/widgets.py +0 -164
  226. InvokeAI-2.3.5.post2/ldm/invoke/dynamic_prompts.py +0 -549
  227. InvokeAI-2.3.5.post2/ldm/invoke/generator/__init__.py +0 -4
  228. InvokeAI-2.3.5.post2/ldm/invoke/generator/base.py +0 -374
  229. InvokeAI-2.3.5.post2/ldm/invoke/generator/embiggen.py +0 -501
  230. InvokeAI-2.3.5.post2/ldm/invoke/generator/img2img.py +0 -70
  231. InvokeAI-2.3.5.post2/ldm/invoke/generator/inpaint.py +0 -324
  232. InvokeAI-2.3.5.post2/ldm/invoke/generator/omnibus.py +0 -173
  233. InvokeAI-2.3.5.post2/ldm/invoke/generator/txt2img.py +0 -61
  234. InvokeAI-2.3.5.post2/ldm/invoke/generator/txt2img2img.py +0 -163
  235. InvokeAI-2.3.5.post2/ldm/invoke/globals.py +0 -118
  236. InvokeAI-2.3.5.post2/ldm/invoke/invokeai_metadata.py +0 -29
  237. InvokeAI-2.3.5.post2/ldm/invoke/model_manager.py +0 -1342
  238. InvokeAI-2.3.5.post2/ldm/invoke/pngwriter.py +0 -130
  239. InvokeAI-2.3.5.post2/ldm/invoke/readline.py +0 -469
  240. InvokeAI-2.3.5.post2/ldm/invoke/restoration/__init__.py +0 -4
  241. InvokeAI-2.3.5.post2/ldm/invoke/restoration/base.py +0 -38
  242. InvokeAI-2.3.5.post2/ldm/invoke/restoration/codeformer.py +0 -108
  243. InvokeAI-2.3.5.post2/ldm/invoke/restoration/codeformer_arch.py +0 -276
  244. InvokeAI-2.3.5.post2/ldm/invoke/restoration/gfpgan.py +0 -87
  245. InvokeAI-2.3.5.post2/ldm/invoke/restoration/outcrop.py +0 -108
  246. InvokeAI-2.3.5.post2/ldm/invoke/restoration/outpaint.py +0 -92
  247. InvokeAI-2.3.5.post2/ldm/invoke/restoration/realesrgan.py +0 -92
  248. InvokeAI-2.3.5.post2/ldm/invoke/restoration/vqgan_arch.py +0 -435
  249. InvokeAI-2.3.5.post2/ldm/invoke/seamless.py +0 -31
  250. InvokeAI-2.3.5.post2/ldm/invoke/server.py +0 -282
  251. InvokeAI-2.3.5.post2/ldm/invoke/server_legacy.py +0 -246
  252. InvokeAI-2.3.5.post2/ldm/lr_scheduler.py +0 -143
  253. InvokeAI-2.3.5.post2/ldm/models/autoencoder.py +0 -596
  254. InvokeAI-2.3.5.post2/ldm/models/diffusion/classifier.py +0 -355
  255. InvokeAI-2.3.5.post2/ldm/models/diffusion/ddim.py +0 -100
  256. InvokeAI-2.3.5.post2/ldm/models/diffusion/ddpm.py +0 -2292
  257. InvokeAI-2.3.5.post2/ldm/models/diffusion/ksampler.py +0 -303
  258. InvokeAI-2.3.5.post2/ldm/models/diffusion/plms.py +0 -135
  259. InvokeAI-2.3.5.post2/ldm/models/diffusion/sampler.py +0 -450
  260. InvokeAI-2.3.5.post2/ldm/modules/__init__.py +0 -0
  261. InvokeAI-2.3.5.post2/ldm/modules/attention.py +0 -273
  262. InvokeAI-2.3.5.post2/ldm/modules/diffusionmodules/__init__.py +0 -0
  263. InvokeAI-2.3.5.post2/ldm/modules/diffusionmodules/model.py +0 -894
  264. InvokeAI-2.3.5.post2/ldm/modules/diffusionmodules/openaimodel.py +0 -1036
  265. InvokeAI-2.3.5.post2/ldm/modules/diffusionmodules/util.py +0 -314
  266. InvokeAI-2.3.5.post2/ldm/modules/distributions/__init__.py +0 -0
  267. InvokeAI-2.3.5.post2/ldm/modules/distributions/distributions.py +0 -104
  268. InvokeAI-2.3.5.post2/ldm/modules/ema.py +0 -88
  269. InvokeAI-2.3.5.post2/ldm/modules/embedding_manager.py +0 -377
  270. InvokeAI-2.3.5.post2/ldm/modules/encoders/__init__.py +0 -0
  271. InvokeAI-2.3.5.post2/ldm/modules/encoders/modules.py +0 -814
  272. InvokeAI-2.3.5.post2/ldm/modules/kohya_lora_manager.py +0 -598
  273. InvokeAI-2.3.5.post2/ldm/modules/lora_manager.py +0 -101
  274. InvokeAI-2.3.5.post2/ldm/modules/losses/__init__.py +0 -1
  275. InvokeAI-2.3.5.post2/ldm/modules/losses/contperceptual.py +0 -175
  276. InvokeAI-2.3.5.post2/ldm/modules/losses/vqperceptual.py +0 -240
  277. InvokeAI-2.3.5.post2/ldm/modules/peft_manager.py +0 -95
  278. InvokeAI-2.3.5.post2/ldm/modules/textual_inversion_manager.py +0 -425
  279. InvokeAI-2.3.5.post2/ldm/modules/x_transformer.py +0 -752
  280. InvokeAI-2.3.5.post2/ldm/simplet2i.py +0 -13
  281. InvokeAI-2.3.5.post2/pyproject.toml +0 -194
  282. InvokeAI-2.3.5.post2/tests/test_path.py +0 -48
  283. InvokeAI-2.3.5.post2/tests/test_textual_inversion.py +0 -301
  284. {InvokeAI-2.3.5.post2 → InvokeAI-3.0.0}/InvokeAI.egg-info/dependency_links.txt +0 -0
  285. {InvokeAI-2.3.5.post2/invokeai/backend/modules → InvokeAI-3.0.0/invokeai/app/cli}/__init__.py +0 -0
  286. {InvokeAI-2.3.5.post2/ldm → InvokeAI-3.0.0/invokeai/app/models}/__init__.py +0 -0
  287. {InvokeAI-2.3.5.post2/ldm/data → InvokeAI-3.0.0/invokeai/app/services}/__init__.py +0 -0
  288. {InvokeAI-2.3.5.post2/ldm/invoke/config → InvokeAI-3.0.0/invokeai/app/util}/__init__.py +0 -0
  289. {InvokeAI-2.3.5.post2 → InvokeAI-3.0.0}/invokeai/assets/web/caution.png +0 -0
  290. {InvokeAI-2.3.5.post2/ldm/models → InvokeAI-3.0.0/invokeai/backend/install}/__init__.py +0 -0
  291. {InvokeAI-2.3.5.post2/ldm/modules → InvokeAI-3.0.0/invokeai/backend/stable_diffusion}/image_degradation/__init__.py +0 -0
  292. {InvokeAI-2.3.5.post2/ldm/models/diffusion → InvokeAI-3.0.0/invokeai/backend/web/modules}/__init__.py +0 -0
  293. {InvokeAI-2.3.5.post2/invokeai/backend → InvokeAI-3.0.0/invokeai/backend/web}/modules/parse_seed_weights.py +0 -0
  294. {InvokeAI-2.3.5.post2 → InvokeAI-3.0.0}/invokeai/configs/models.yaml.example +0 -0
  295. {InvokeAI-2.3.5.post2/invokeai/frontend → InvokeAI-3.0.0/invokeai/frontend/web}/dist/assets/favicon-0d253ced.ico +0 -0
  296. {InvokeAI-2.3.5.post2/invokeai/frontend → InvokeAI-3.0.0/invokeai/frontend/web}/dist/assets/logo-13003d72.png +0 -0
  297. /InvokeAI-2.3.5.post2/invokeai/frontend/dist/locales/ro.json → /InvokeAI-3.0.0/invokeai/frontend/web/dist/locales/mn.json +0 -0
  298. {InvokeAI-2.3.5.post2 → InvokeAI-3.0.0}/setup.cfg +0 -0
@@ -0,0 +1,634 @@
1
+ Metadata-Version: 2.1
2
+ Name: InvokeAI
3
+ Version: 3.0.0
4
+ Summary: An implementation of Stable Diffusion which provides various new features and options to aid the image generation process
5
+ Author-email: The InvokeAI Project <lincoln.stein@gmail.com>
6
+ License: Apache License
7
+ Version 2.0, January 2004
8
+ http://www.apache.org/licenses/
9
+
10
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
11
+
12
+ 1. Definitions.
13
+
14
+ "License" shall mean the terms and conditions for use, reproduction,
15
+ and distribution as defined by Sections 1 through 9 of this document.
16
+
17
+ "Licensor" shall mean the copyright owner or entity authorized by
18
+ the copyright owner that is granting the License.
19
+
20
+ "Legal Entity" shall mean the union of the acting entity and all
21
+ other entities that control, are controlled by, or are under common
22
+ control with that entity. For the purposes of this definition,
23
+ "control" means (i) the power, direct or indirect, to cause the
24
+ direction or management of such entity, whether by contract or
25
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
26
+ outstanding shares, or (iii) beneficial ownership of such entity.
27
+
28
+ "You" (or "Your") shall mean an individual or Legal Entity
29
+ exercising permissions granted by this License.
30
+
31
+ "Source" form shall mean the preferred form for making modifications,
32
+ including but not limited to software source code, documentation
33
+ source, and configuration files.
34
+
35
+ "Object" form shall mean any form resulting from mechanical
36
+ transformation or translation of a Source form, including but
37
+ not limited to compiled object code, generated documentation,
38
+ and conversions to other media types.
39
+
40
+ "Work" shall mean the work of authorship, whether in Source or
41
+ Object form, made available under the License, as indicated by a
42
+ copyright notice that is included in or attached to the work
43
+ (an example is provided in the Appendix below).
44
+
45
+ "Derivative Works" shall mean any work, whether in Source or Object
46
+ form, that is based on (or derived from) the Work and for which the
47
+ editorial revisions, annotations, elaborations, or other modifications
48
+ represent, as a whole, an original work of authorship. For the purposes
49
+ of this License, Derivative Works shall not include works that remain
50
+ separable from, or merely link (or bind by name) to the interfaces of,
51
+ the Work and Derivative Works thereof.
52
+
53
+ "Contribution" shall mean any work of authorship, including
54
+ the original version of the Work and any modifications or additions
55
+ to that Work or Derivative Works thereof, that is intentionally
56
+ submitted to Licensor for inclusion in the Work by the copyright owner
57
+ or by an individual or Legal Entity authorized to submit on behalf of
58
+ the copyright owner. For the purposes of this definition, "submitted"
59
+ means any form of electronic, verbal, or written communication sent
60
+ to the Licensor or its representatives, including but not limited to
61
+ communication on electronic mailing lists, source code control systems,
62
+ and issue tracking systems that are managed by, or on behalf of, the
63
+ Licensor for the purpose of discussing and improving the Work, but
64
+ excluding communication that is conspicuously marked or otherwise
65
+ designated in writing by the copyright owner as "Not a Contribution."
66
+
67
+ "Contributor" shall mean Licensor and any individual or Legal Entity
68
+ on behalf of whom a Contribution has been received by Licensor and
69
+ subsequently incorporated within the Work.
70
+
71
+ 2. Grant of Copyright License. Subject to the terms and conditions of
72
+ this License, each Contributor hereby grants to You a perpetual,
73
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
74
+ copyright license to reproduce, prepare Derivative Works of,
75
+ publicly display, publicly perform, sublicense, and distribute the
76
+ Work and such Derivative Works in Source or Object form.
77
+
78
+ 3. Grant of Patent License. Subject to the terms and conditions of
79
+ this License, each Contributor hereby grants to You a perpetual,
80
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
81
+ (except as stated in this section) patent license to make, have made,
82
+ use, offer to sell, sell, import, and otherwise transfer the Work,
83
+ where such license applies only to those patent claims licensable
84
+ by such Contributor that are necessarily infringed by their
85
+ Contribution(s) alone or by combination of their Contribution(s)
86
+ with the Work to which such Contribution(s) was submitted. If You
87
+ institute patent litigation against any entity (including a
88
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
89
+ or a Contribution incorporated within the Work constitutes direct
90
+ or contributory patent infringement, then any patent licenses
91
+ granted to You under this License for that Work shall terminate
92
+ as of the date such litigation is filed.
93
+
94
+ 4. Redistribution. You may reproduce and distribute copies of the
95
+ Work or Derivative Works thereof in any medium, with or without
96
+ modifications, and in Source or Object form, provided that You
97
+ meet the following conditions:
98
+
99
+ (a) You must give any other recipients of the Work or
100
+ Derivative Works a copy of this License; and
101
+
102
+ (b) You must cause any modified files to carry prominent notices
103
+ stating that You changed the files; and
104
+
105
+ (c) You must retain, in the Source form of any Derivative Works
106
+ that You distribute, all copyright, patent, trademark, and
107
+ attribution notices from the Source form of the Work,
108
+ excluding those notices that do not pertain to any part of
109
+ the Derivative Works; and
110
+
111
+ (d) If the Work includes a "NOTICE" text file as part of its
112
+ distribution, then any Derivative Works that You distribute must
113
+ include a readable copy of the attribution notices contained
114
+ within such NOTICE file, excluding those notices that do not
115
+ pertain to any part of the Derivative Works, in at least one
116
+ of the following places: within a NOTICE text file distributed
117
+ as part of the Derivative Works; within the Source form or
118
+ documentation, if provided along with the Derivative Works; or,
119
+ within a display generated by the Derivative Works, if and
120
+ wherever such third-party notices normally appear. The contents
121
+ of the NOTICE file are for informational purposes only and
122
+ do not modify the License. You may add Your own attribution
123
+ notices within Derivative Works that You distribute, alongside
124
+ or as an addendum to the NOTICE text from the Work, provided
125
+ that such additional attribution notices cannot be construed
126
+ as modifying the License.
127
+
128
+ You may add Your own copyright statement to Your modifications and
129
+ may provide additional or different license terms and conditions
130
+ for use, reproduction, or distribution of Your modifications, or
131
+ for any such Derivative Works as a whole, provided Your use,
132
+ reproduction, and distribution of the Work otherwise complies with
133
+ the conditions stated in this License.
134
+
135
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
136
+ any Contribution intentionally submitted for inclusion in the Work
137
+ by You to the Licensor shall be under the terms and conditions of
138
+ this License, without any additional terms or conditions.
139
+ Notwithstanding the above, nothing herein shall supersede or modify
140
+ the terms of any separate license agreement you may have executed
141
+ with Licensor regarding such Contributions.
142
+
143
+ 6. Trademarks. This License does not grant permission to use the trade
144
+ names, trademarks, service marks, or product names of the Licensor,
145
+ except as required for reasonable and customary use in describing the
146
+ origin of the Work and reproducing the content of the NOTICE file.
147
+
148
+ 7. Disclaimer of Warranty. Unless required by applicable law or
149
+ agreed to in writing, Licensor provides the Work (and each
150
+ Contributor provides its Contributions) on an "AS IS" BASIS,
151
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
152
+ implied, including, without limitation, any warranties or conditions
153
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
154
+ PARTICULAR PURPOSE. You are solely responsible for determining the
155
+ appropriateness of using or redistributing the Work and assume any
156
+ risks associated with Your exercise of permissions under this License.
157
+
158
+ 8. Limitation of Liability. In no event and under no legal theory,
159
+ whether in tort (including negligence), contract, or otherwise,
160
+ unless required by applicable law (such as deliberate and grossly
161
+ negligent acts) or agreed to in writing, shall any Contributor be
162
+ liable to You for damages, including any direct, indirect, special,
163
+ incidental, or consequential damages of any character arising as a
164
+ result of this License or out of the use or inability to use the
165
+ Work (including but not limited to damages for loss of goodwill,
166
+ work stoppage, computer failure or malfunction, or any and all
167
+ other commercial damages or losses), even if such Contributor
168
+ has been advised of the possibility of such damages.
169
+
170
+ 9. Accepting Warranty or Additional Liability. While redistributing
171
+ the Work or Derivative Works thereof, You may choose to offer,
172
+ and charge a fee for, acceptance of support, warranty, indemnity,
173
+ or other liability obligations and/or rights consistent with this
174
+ License. However, in accepting such obligations, You may act only
175
+ on Your own behalf and on Your sole responsibility, not on behalf
176
+ of any other Contributor, and only if You agree to indemnify,
177
+ defend, and hold each Contributor harmless for any liability
178
+ incurred by, or claims asserted against, such Contributor by reason
179
+ of your accepting any such warranty or additional liability.
180
+
181
+
182
+
183
+ Project-URL: Homepage, https://invoke-ai.github.io/InvokeAI/
184
+ Project-URL: Documentation, https://invoke-ai.github.io/InvokeAI/
185
+ Project-URL: Source, https://github.com/invoke-ai/InvokeAI/
186
+ Project-URL: Bug Reports, https://github.com/invoke-ai/InvokeAI/issues
187
+ Project-URL: Discord, https://discord.gg/ZmtBAhwWhy
188
+ Keywords: stable-diffusion,AI
189
+ Classifier: Development Status :: 4 - Beta
190
+ Classifier: Environment :: GPU
191
+ Classifier: Environment :: GPU :: NVIDIA CUDA
192
+ Classifier: Environment :: MacOS X
193
+ Classifier: Intended Audience :: End Users/Desktop
194
+ Classifier: Intended Audience :: Developers
195
+ Classifier: License :: OSI Approved :: MIT License
196
+ Classifier: Operating System :: POSIX :: Linux
197
+ Classifier: Operating System :: MacOS
198
+ Classifier: Operating System :: Microsoft :: Windows
199
+ Classifier: Programming Language :: Python :: 3 :: Only
200
+ Classifier: Programming Language :: Python :: 3.10
201
+ Classifier: Topic :: Artistic Software
202
+ Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
203
+ Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Server
204
+ Classifier: Topic :: Multimedia :: Graphics
205
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
206
+ Classifier: Topic :: Scientific/Engineering :: Image Processing
207
+ Requires-Python: <3.11,>=3.9
208
+ Description-Content-Type: text/markdown
209
+ Provides-Extra: dist
210
+ Provides-Extra: docs
211
+ Provides-Extra: dev
212
+ Provides-Extra: test
213
+ Provides-Extra: xformers
214
+ License-File: LICENSE
215
+ License-File: LICENSE-ModelWeights.txt
216
+
217
+ <div align="center">
218
+
219
+ ![project hero](https://github.com/invoke-ai/InvokeAI/assets/31807370/1a917d94-e099-4fa1-a70f-7dd8d0691018)
220
+
221
+ # Invoke AI - Generative AI for Professional Creatives
222
+ ## Professional Creative Tools for Stable Diffusion, Custom-Trained Models, and more.
223
+ To learn more about Invoke AI, get started instantly, or implement our Business solutions, visit [invoke.ai](https://invoke.ai)
224
+
225
+
226
+ [![discord badge]][discord link]
227
+
228
+ [![latest release badge]][latest release link] [![github stars badge]][github stars link] [![github forks badge]][github forks link]
229
+
230
+ [![CI checks on main badge]][CI checks on main link] [![latest commit to main badge]][latest commit to main link]
231
+
232
+ [![github open issues badge]][github open issues link] [![github open prs badge]][github open prs link] [![translation status badge]][translation status link]
233
+
234
+ [CI checks on main badge]: https://flat.badgen.net/github/checks/invoke-ai/InvokeAI/main?label=CI%20status%20on%20main&cache=900&icon=github
235
+ [CI checks on main link]:https://github.com/invoke-ai/InvokeAI/actions?query=branch%3Amain
236
+ [discord badge]: https://flat.badgen.net/discord/members/ZmtBAhwWhy?icon=discord
237
+ [discord link]: https://discord.gg/ZmtBAhwWhy
238
+ [github forks badge]: https://flat.badgen.net/github/forks/invoke-ai/InvokeAI?icon=github
239
+ [github forks link]: https://useful-forks.github.io/?repo=invoke-ai%2FInvokeAI
240
+ [github open issues badge]: https://flat.badgen.net/github/open-issues/invoke-ai/InvokeAI?icon=github
241
+ [github open issues link]: https://github.com/invoke-ai/InvokeAI/issues?q=is%3Aissue+is%3Aopen
242
+ [github open prs badge]: https://flat.badgen.net/github/open-prs/invoke-ai/InvokeAI?icon=github
243
+ [github open prs link]: https://github.com/invoke-ai/InvokeAI/pulls?q=is%3Apr+is%3Aopen
244
+ [github stars badge]: https://flat.badgen.net/github/stars/invoke-ai/InvokeAI?icon=github
245
+ [github stars link]: https://github.com/invoke-ai/InvokeAI/stargazers
246
+ [latest commit to main badge]: https://flat.badgen.net/github/last-commit/invoke-ai/InvokeAI/main?icon=github&color=yellow&label=last%20dev%20commit&cache=900
247
+ [latest commit to main link]: https://github.com/invoke-ai/InvokeAI/commits/main
248
+ [latest release badge]: https://flat.badgen.net/github/release/invoke-ai/InvokeAI/development?icon=github
249
+ [latest release link]: https://github.com/invoke-ai/InvokeAI/releases
250
+ [translation status badge]: https://hosted.weblate.org/widgets/invokeai/-/svg-badge.svg
251
+ [translation status link]: https://hosted.weblate.org/engage/invokeai/
252
+
253
+ </div>
254
+
255
+ InvokeAI is a leading creative engine built to empower professionals
256
+ and enthusiasts alike. Generate and create stunning visual media using
257
+ the latest AI-driven technologies. InvokeAI offers an industry leading
258
+ Web Interface, interactive Command Line Interface, and also serves as
259
+ the foundation for multiple commercial products.
260
+
261
+ **Quick links**: [[How to
262
+ Install](https://invoke-ai.github.io/InvokeAI/#installation)] [<a
263
+ href="https://discord.gg/ZmtBAhwWhy">Discord Server</a>] [<a
264
+ href="https://invoke-ai.github.io/InvokeAI/">Documentation and
265
+ Tutorials</a>] [<a
266
+ href="https://github.com/invoke-ai/InvokeAI/">Code and
267
+ Downloads</a>] [<a
268
+ href="https://github.com/invoke-ai/InvokeAI/issues">Bug Reports</a>]
269
+ [<a
270
+ href="https://github.com/invoke-ai/InvokeAI/discussions">Discussion,
271
+ Ideas & Q&A</a>]
272
+
273
+ <div align="center">
274
+
275
+ ![canvas preview](https://github.com/invoke-ai/InvokeAI/raw/main/docs/assets/canvas_preview.png)
276
+
277
+ </div>
278
+
279
+ ## Table of Contents
280
+
281
+ Table of Contents 📝
282
+
283
+ **Getting Started**
284
+ 1. 🏁 [Quick Start](#quick-start)
285
+ 3. 🖥️ [Hardware Requirements](#hardware-requirements)
286
+
287
+ **More About Invoke**
288
+ 1. 🌟 [Features](#features)
289
+ 2. 📣 [Latest Changes](#latest-changes)
290
+ 3. 🛠️ [Troubleshooting](#troubleshooting)
291
+
292
+ **Supporting the Project**
293
+ 1. 🤝 [Contributing](#contributing)
294
+ 2. 👥 [Contributors](#contributors)
295
+ 3. 💕 [Support](#support)
296
+
297
+ ## Quick Start
298
+
299
+ For full installation and upgrade instructions, please see:
300
+ [InvokeAI Installation Overview](https://invoke-ai.github.io/InvokeAI/installation/)
301
+
302
+ If upgrading from version 2.3, please read [Migrating a 2.3 root
303
+ directory to 3.0](#migrating-to-3) first.
304
+
305
+ ### Automatic Installer (suggested for 1st time users)
306
+
307
+ 1. Go to the bottom of the [Latest Release Page](https://github.com/invoke-ai/InvokeAI/releases/latest)
308
+
309
+ 2. Download the .zip file for your OS (Windows/macOS/Linux).
310
+
311
+ 3. Unzip the file.
312
+
313
+ 4. **Windows:** double-click on the `install.bat` script. **macOS:** Open a Terminal window, drag the file `install.sh` from Finder
314
+ into the Terminal, and press return. **Linux:** run `install.sh`.
315
+
316
+ 5. You'll be asked to confirm the location of the folder in which
317
+ to install InvokeAI and its image generation model files. Pick a
318
+ location with at least 15 GB of free memory. More if you plan on
319
+ installing lots of models.
320
+
321
+ 6. Wait while the installer does its thing. After installing the software,
322
+ the installer will launch a script that lets you configure InvokeAI and
323
+ select a set of starting image generation models.
324
+
325
+ 7. Find the folder that InvokeAI was installed into (it is not the
326
+ same as the unpacked zip file directory!) The default location of this
327
+ folder (if you didn't change it in step 5) is `~/invokeai` on
328
+ Linux/Mac systems, and `C:\Users\YourName\invokeai` on Windows. This directory will contain launcher scripts named `invoke.sh` and `invoke.bat`.
329
+
330
+ 8. On Windows systems, double-click on the `invoke.bat` file. On
331
+ macOS, open a Terminal window, drag `invoke.sh` from the folder into
332
+ the Terminal, and press return. On Linux, run `invoke.sh`
333
+
334
+ 9. Press 2 to open the "browser-based UI", press enter/return, wait a
335
+ minute or two for Stable Diffusion to start up, then open your browser
336
+ and go to http://localhost:9090.
337
+
338
+ 10. Type `banana sushi` in the box on the top left and click `Invoke`
339
+
340
+ ### Command-Line Installation (for developers and users familiar with Terminals)
341
+
342
+ You must have Python 3.9 or 3.10 installed on your machine. Earlier or
343
+ later versions are not supported.
344
+ Node.js also needs to be installed along with yarn (can be installed with
345
+ the command `npm install -g yarn` if needed)
346
+
347
+ 1. Open a command-line window on your machine. The PowerShell is recommended for Windows.
348
+ 2. Create a directory to install InvokeAI into. You'll need at least 15 GB of free space:
349
+
350
+ ```terminal
351
+ mkdir invokeai
352
+ ````
353
+
354
+ 3. Create a virtual environment named `.venv` inside this directory and activate it:
355
+
356
+ ```terminal
357
+ cd invokeai
358
+ python -m venv .venv --prompt InvokeAI
359
+ ```
360
+
361
+ 4. Activate the virtual environment (do it every time you run InvokeAI)
362
+
363
+ _For Linux/Mac users:_
364
+
365
+ ```sh
366
+ source .venv/bin/activate
367
+ ```
368
+
369
+ _For Windows users:_
370
+
371
+ ```ps
372
+ .venv\Scripts\activate
373
+ ```
374
+
375
+ 5. Install the InvokeAI module and its dependencies. Choose the command suited for your platform & GPU.
376
+
377
+ _For Windows/Linux with an NVIDIA GPU:_
378
+
379
+ ```terminal
380
+ pip install "InvokeAI[xformers]" --use-pep517 --extra-index-url https://download.pytorch.org/whl/cu117
381
+ ```
382
+
383
+ _For Linux with an AMD GPU:_
384
+
385
+ ```sh
386
+ pip install InvokeAI --use-pep517 --extra-index-url https://download.pytorch.org/whl/rocm5.4.2
387
+ ```
388
+
389
+ _For non-GPU systems:_
390
+ ```terminal
391
+ pip install InvokeAI --use-pep517 --extra-index-url https://download.pytorch.org/whl/cpu
392
+ ```
393
+
394
+ _For Macintoshes, either Intel or M1/M2:_
395
+
396
+ ```sh
397
+ pip install InvokeAI --use-pep517
398
+ ```
399
+
400
+ 6. Configure InvokeAI and install a starting set of image generation models (you only need to do this once):
401
+
402
+ ```terminal
403
+ invokeai-configure
404
+ ```
405
+
406
+ 7. Launch the web server (do it every time you run InvokeAI):
407
+
408
+ ```terminal
409
+ invokeai-web
410
+ ```
411
+
412
+ 8. Build Node.js assets
413
+
414
+ ```terminal
415
+ cd invokeai/frontend/web/
416
+ yarn vite build
417
+ ```
418
+
419
+ 9. Point your browser to http://localhost:9090 to bring up the web interface.
420
+ 10. Type `banana sushi` in the box on the top left and click `Invoke`.
421
+
422
+ Be sure to activate the virtual environment each time before re-launching InvokeAI,
423
+ using `source .venv/bin/activate` or `.venv\Scripts\activate`.
424
+
425
+ ## Detailed Installation Instructions
426
+
427
+ This fork is supported across Linux, Windows and Macintosh. Linux
428
+ users can use either an Nvidia-based card (with CUDA support) or an
429
+ AMD card (using the ROCm driver). For full installation and upgrade
430
+ instructions, please see:
431
+ [InvokeAI Installation Overview](https://invoke-ai.github.io/InvokeAI/installation/INSTALL_SOURCE/)
432
+
433
+ <a name="migrating-to-3"></a>
434
+ ### Migrating a v2.3 InvokeAI root directory
435
+
436
+ The InvokeAI root directory is where the InvokeAI startup file,
437
+ installed models, and generated images are stored. It is ordinarily
438
+ named `invokeai` and located in your home directory. The contents and
439
+ layout of this directory has changed between versions 2.3 and 3.0 and
440
+ cannot be used directly.
441
+
442
+ We currently recommend that you use the installer to create a new root
443
+ directory named differently from the 2.3 one, e.g. `invokeai-3` and
444
+ then use a migration script to copy your 2.3 models into the new
445
+ location. However, if you choose, you can upgrade this directory in
446
+ place. This section gives both recipes.
447
+
448
+ #### Creating a new root directory and migrating old models
449
+
450
+ This is the safer recipe because it leaves your old root directory in
451
+ place to fall back on.
452
+
453
+ 1. Follow the instructions above to create and install InvokeAI in a
454
+ directory that has a different name from the 2.3 invokeai directory.
455
+ In this example, we will use "invokeai-3"
456
+
457
+ 2. When you are prompted to select models to install, select a minimal
458
+ set of models, such as stable-diffusion-v1.5 only.
459
+
460
+ 3. After installation is complete launch `invokeai.sh` (Linux/Mac) or
461
+ `invokeai.bat` and select option 8 "Open the developers console". This
462
+ will take you to the command line.
463
+
464
+ 4. Issue the command `invokeai-migrate3 --from /path/to/v2.3-root --to
465
+ /path/to/invokeai-3-root`. Provide the correct `--from` and `--to`
466
+ paths for your v2.3 and v3.0 root directories respectively.
467
+
468
+ This will copy and convert your old models from 2.3 format to 3.0
469
+ format and create a new `models` directory in the 3.0 directory. The
470
+ old models directory (which contains the models selected at install
471
+ time) will be renamed `models.orig` and can be deleted once you have
472
+ confirmed that the migration was successful.
473
+
474
+ If you wish, you can pass the 2.3 root directory to both `--from` and
475
+ `--to` in order to update in place. Warning: this directory will no
476
+ longer be usable with InvokeAI 2.3.
477
+
478
+ #### Migrating in place
479
+
480
+ For the adventurous, you may do an in-place upgrade from 2.3 to 3.0
481
+ without touching the command line. ***This recipe does not work on
482
+ Windows platforms due to a bug in the Windows version of the 2.3
483
+ upgrade script.** See the next section for a Windows recipe.
484
+
485
+ ##### For Mac and Linux Users:
486
+
487
+ 1. Launch the InvokeAI launcher script in your current v2.3 root directory.
488
+
489
+ 2. Select option [9] "Update InvokeAI" to bring up the updater dialog.
490
+
491
+ 3. Select option [1] to upgrade to the latest release.
492
+
493
+ 4. Once the upgrade is finished you will be returned to the launcher
494
+ menu. Select option [7] "Re-run the configure script to fix a broken
495
+ install or to complete a major upgrade".
496
+
497
+ This will run the configure script against the v2.3 directory and
498
+ update it to the 3.0 format. The following files will be replaced:
499
+
500
+ - The invokeai.init file, replaced by invokeai.yaml
501
+ - The models directory
502
+ - The configs/models.yaml model index
503
+
504
+ The original versions of these files will be saved with the suffix
505
+ ".orig" appended to the end. Once you have confirmed that the upgrade
506
+ worked, you can safely remove these files. Alternatively you can
507
+ restore a working v2.3 directory by removing the new files and
508
+ restoring the ".orig" files' original names.
509
+
510
+ ##### For Windows Users:
511
+
512
+ Windows Users can upgrade with the
513
+
514
+ 1. Enter the 2.3 root directory you wish to upgrade
515
+ 2. Launch `invoke.sh` or `invoke.bat`
516
+ 3. Select the "Developer's console" option [8]
517
+ 4. Type the following commands
518
+
519
+ ```
520
+ pip install "invokeai @ https://github.com/invoke-ai/InvokeAI/archive/refs/tags/v3.0.0" --use-pep517 --upgrade
521
+ invokeai-configure --root .
522
+ ```
523
+ (Replace `v3.0.0` with the current release number if this document is out of date).
524
+
525
+ The first command will install and upgrade new software to run
526
+ InvokeAI. The second will prepare the 2.3 directory for use with 3.0.
527
+ You may now launch the WebUI in the usual way, by selecting option [1]
528
+ from the launcher script
529
+
530
+ #### Migration Caveats
531
+
532
+ The migration script will migrate your invokeai settings and models,
533
+ including textual inversion models, LoRAs and merges that you may have
534
+ installed previously. However it does **not** migrate the generated
535
+ images stored in your 2.3-format outputs directory. You will need to
536
+ manually import selected images into the 3.0 gallery via drag-and-drop.
537
+
538
+ ## Hardware Requirements
539
+
540
+ InvokeAI is supported across Linux, Windows and macOS. Linux
541
+ users can use either an Nvidia-based card (with CUDA support) or an
542
+ AMD card (using the ROCm driver).
543
+
544
+ ### System
545
+
546
+ You will need one of the following:
547
+
548
+ - An NVIDIA-based graphics card with 4 GB or more VRAM memory. 6-8 GB
549
+ of VRAM is highly recommended for rendering using the Stable
550
+ Diffusion XL models
551
+ - An Apple computer with an M1 chip.
552
+ - An AMD-based graphics card with 4GB or more VRAM memory (Linux
553
+ only), 6-8 GB for XL rendering.
554
+
555
+ We do not recommend the GTX 1650 or 1660 series video cards. They are
556
+ unable to run in half-precision mode and do not have sufficient VRAM
557
+ to render 512x512 images.
558
+
559
+ **Memory** - At least 12 GB Main Memory RAM.
560
+
561
+ **Disk** - At least 12 GB of free disk space for the machine learning model, Python, and all its dependencies.
562
+
563
+ ## Features
564
+
565
+ Feature documentation can be reviewed by navigating to [the InvokeAI Documentation page](https://invoke-ai.github.io/InvokeAI/features/)
566
+
567
+ ### *Web Server & UI*
568
+
569
+ InvokeAI offers a locally hosted Web Server & React Frontend, with an industry leading user experience. The Web-based UI allows for simple and intuitive workflows, and is responsive for use on mobile devices and tablets accessing the web server.
570
+
571
+ ### *Unified Canvas*
572
+
573
+ The Unified Canvas is a fully integrated canvas implementation with support for all core generation capabilities, in/outpainting, brush tools, and more. This creative tool unlocks the capability for artists to create with AI as a creative collaborator, and can be used to augment AI-generated imagery, sketches, photography, renders, and more.
574
+
575
+ ### *Node Architecture & Editor (Beta)*
576
+
577
+ Invoke AI's backend is built on a graph-based execution architecture. This allows for customizable generation pipelines to be developed by professional users looking to create specific workflows to support their production use-cases, and will be extended in the future with additional capabilities.
578
+
579
+ ### *Board & Gallery Management*
580
+
581
+ Invoke AI provides an organized gallery system for easily storing, accessing, and remixing your content in the Invoke workspace. Images can be dragged/dropped onto any Image-base UI element in the application, and rich metadata within the Image allows for easy recall of key prompts or settings used in your workflow.
582
+
583
+ ### Other features
584
+
585
+ - *Support for both ckpt and diffusers models*
586
+ - *SD 2.0, 2.1, XL support*
587
+ - *Upscaling Tools*
588
+ - *Embedding Manager & Support*
589
+ - *Model Manager & Support*
590
+ - *Node-Based Architecture*
591
+ - *Node-Based Plug-&-Play UI (Beta)*
592
+
593
+ ### Latest Changes
594
+
595
+ For our latest changes, view our [Release
596
+ Notes](https://github.com/invoke-ai/InvokeAI/releases) and the
597
+ [CHANGELOG](docs/CHANGELOG.md).
598
+
599
+ ### Troubleshooting
600
+
601
+ Please check out our **[Q&A](https://invoke-ai.github.io/InvokeAI/help/TROUBLESHOOT/#faq)** to get solutions for common installation
602
+ problems and other issues.
603
+
604
+ ## Contributing
605
+
606
+ Anyone who wishes to contribute to this project, whether documentation, features, bug fixes, code
607
+ cleanup, testing, or code reviews, is very much encouraged to do so.
608
+
609
+ To join, just raise your hand on the InvokeAI Discord server (#dev-chat) or the GitHub discussion board.
610
+
611
+ If you'd like to help with translation, please see our [translation guide](docs/other/TRANSLATION.md).
612
+
613
+ If you are unfamiliar with how
614
+ to contribute to GitHub projects, here is a
615
+ [Getting Started Guide](https://opensource.com/article/19/7/create-pull-request-github). A full set of contribution guidelines, along with templates, are in progress. You can **make your pull request against the "main" branch**.
616
+
617
+ We hope you enjoy using our software as much as we enjoy creating it,
618
+ and we hope that some of those of you who are reading this will elect
619
+ to become part of our community.
620
+
621
+ Welcome to InvokeAI!
622
+
623
+ ### Contributors
624
+
625
+ This fork is a combined effort of various people from across the world.
626
+ [Check out the list of all these amazing people](https://invoke-ai.github.io/InvokeAI/other/CONTRIBUTORS/). We thank them for
627
+ their time, hard work and effort.
628
+
629
+ ### Support
630
+
631
+ For support, please use this repository's GitHub Issues tracking service, or join the Discord.
632
+
633
+ Original portions of the software are Copyright (c) 2023 by respective contributors.
634
+