psychedelicious
4e2358cb09
fix(nodes): fix DiskImageStorage.get()
bug
2023-04-05 17:59:21 +10:00
psychedelicious
a35dc090c5
feat(nodes): wip ImageResponse
2023-04-05 14:00:43 +10:00
psychedelicious
de0df4945d
fix(nodes): fix off-by-one page count error
2023-04-04 16:38:37 +10:00
psychedelicious
daf1bc6b67
feat(nodes): generalise list_images route for all types
2023-04-04 15:24:44 +10:00
psychedelicious
4f3be53d55
feat(nodes): sort images returned by disk list()
2023-04-04 14:49:11 +10:00
psychedelicious
a065f7db56
feat(nodes): add datatypes module
2023-04-04 13:32:34 +10:00
psychedelicious
77bf3c780f
feat(nodes): list_uploads route wip
2023-04-04 11:05:15 +10:00
psychedelicious
d1058adb59
feat(nodes): save thumbnails
2023-04-03 14:34:07 +10:00
psychedelicious
3c99abab32
fix(nodes): commit changes to db
2023-04-03 12:02:58 +10:00
psychedelicious
4221cf7731
fix(nodes): fix schema generation for output classes
...
All output classes need to have their properties flagged as `required` for the schema generation to work as needed.
2023-03-26 17:20:10 +11:00
psychedelicious
c34ac91ff0
fix(nodes): fix cancel; fix callback for img2img, inpaint
2023-03-26 17:07:40 +11:00
Kyle Schouviller
bd7e515290
[nodes] Add cancelation to the API
2023-03-26 15:47:32 +11:00
psychedelicious
67f8f222d9
fix(nodes): fix step_callback + fast latents generation
...
this depends on the small change in #2957
2023-03-16 20:03:08 +11:00
psychedelicious
5347c12fed
fix(nodes): fix schema gen for GraphExecutionState
2023-03-16 20:03:08 +11:00
Kyle Schouviller
3021c78390
[nodes] Add Edge data type
2023-03-14 23:09:30 -07:00
Lincoln Stein
10cbf99310
add TODO comments
2023-03-11 18:08:45 -05:00
Lincoln Stein
6a77634b34
remove unneeded generate initializer routines
2023-03-11 17:14:03 -05:00
Lincoln Stein
8ca91b1774
add restoration services to nodes
2023-03-11 17:00:00 -05:00
Lincoln Stein
580f9ecded
simplify passing of config options
2023-03-11 11:32:57 -05:00
Lincoln Stein
c14241436b
move ModelManager initialization into its own module and restore embedding support
2023-03-11 10:56:53 -05:00
Lincoln Stein
95954188b2
remove factory pattern
...
Factory pattern is now removed. Typical usage of the InvokeAIGenerator is now:
```
from invokeai.backend.generator import (
InvokeAIGeneratorBasicParams,
Txt2Img,
Img2Img,
Inpaint,
)
params = InvokeAIGeneratorBasicParams(
model_name = 'stable-diffusion-1.5',
steps = 30,
scheduler = 'k_lms',
cfg_scale = 8.0,
height = 640,
width = 640
)
print ('=== TXT2IMG TEST ===')
txt2img = Txt2Img(manager, params)
outputs = txt2img.generate(prompt='banana sushi', iterations=2)
for i in outputs:
print(f'image={output.image}, seed={output.seed}, model={output.params.model_name}, hash={output.model_hash}, steps={output.params.steps}')
```
The `params` argument is optional, so if you wish to accept default
parameters and selectively override them, just do this:
```
outputs = Txt2Img(manager).generate(prompt='banana sushi',
steps=50,
scheduler='k_heun',
model_name='stable-diffusion-2.1'
)
```
2023-03-10 19:33:04 -05:00
Lincoln Stein
5d37fa6e36
node-based txt2img working without generate
2023-03-09 00:18:29 -05:00
Lincoln Stein
bdc7b8b75a
fix broken scripts
...
This PR fixes the following scripts:
1) Scripts that can be executed within the repo's scripts directory.
Note that these are for development testing and are not intended
to be exposed to the user.
configure_invokeai.py - configuration
dream.py - the legacy CLI
images2prompt.py - legacy "dream prompt" retriever
invoke-new.py - new nodes-based CLI
invoke.py - the legacy CLI under another name
make_models_markdown_table.py - a utility used during the release/doc process
pypi_helper.py - another utility used during the release process
sd-metadata.py - retrieve JSON-formatted metadata from a PNG file
2) Scripts that are installed by pip install. They get placed into the venv's
PATH and are intended to be the official entry points:
invokeai-node-cli - new nodes-based CLI
invokeai-node-web - new nodes-based web server
invokeai - legacy CLI
invokeai-configure - install time configuration script
invokeai-merge - model merging script
invokeai-ti - textual inversion script
invokeai-model-install - model installer
invokeai-update - update script
invokeai-metadata" - retrieve JSON-formatted metadata from PNG files
2023-03-03 20:19:37 -05:00
Lincoln Stein
6477e31c1e
revert and disable auto-formatting of invocations
2023-03-03 14:59:17 -05:00
Lincoln Stein
60a98cacef
all vestiges of ldm.invoke removed
2023-03-03 01:02:00 -05:00
Lincoln Stein
6a990565ff
all files migrated; tweaks needed
2023-03-03 00:02:15 -05:00