10d2d85c83
Started to add ControlNet resize_crop and resize_fill options, but commented out, not ready to deploy yet.
2023-06-26 12:03:05 -07:00
af566adf56
For MediapipeFace ControlNet preprocessor, if input image is RGBA format then convert to RGB (otherwise MediapipeFace image processing throws an error)
2023-06-26 04:29:43 -07:00
873c18bc4b
Added TileResampler ControlNet preprocessor node.
...
Also fixes to SegmentAnything ControlNet preprocessor node.
2023-06-26 04:27:26 -07:00
10e8389fa4
Commenting out LeReS ControlNet image preprocessor until release of controlnet_aux v0.0.6 (supported on controlnet_aux current main, but not on latest release v0.0.5)
2023-06-25 14:25:14 -07:00
414a04774c
Added LeReS ControlNet image preprocessor.
2023-06-25 14:19:55 -07:00
b872e7a5e0
Simplifying ControlNet SAM preprocessor segmentation color mapping.
2023-06-25 12:54:48 -07:00
de4064bdac
Fixed problem with with non-reproducible results from ControlNet SegmentAnything preprocessor. Cause was controlnet_aux randomization of segmentation coloring, which seems to lead to some randomization of resulting images using ControlNet seg model. Switched to using deterministic ADE20K color palette instead, which solved the problem.
2023-06-25 12:38:17 -07:00
10c3753d7f
Added SAM preprocessor
2023-06-25 11:16:39 -07:00
c5faffc18b
Merge branch 'main' of github.com:invoke-ai/InvokeAI into feat/controlnet-control-modes
...
Only "real" conflicts were in:
invokeai/frontend/web/src/features/controlNet/components/ControlNet.tsx
invokeai/frontend/web/src/features/controlNet/store/controlNetSlice.ts
2023-06-24 17:05:57 -07:00
bab3a9504e
fix(nodes): fix LatentsToImage not using is_intermediate
when creating images
...
Appears this was removed during a merge conflict resolution.
2023-06-24 17:57:39 +10:00
1bc170727b
tidy(nodes): rename sd_model_loader
to pipeline_model_loader
...
this is more accurate bc it can do eg kandinsky also
2023-06-22 17:47:58 +10:00
42a59aa147
feat(nodes): add sd_model_loader
node
...
Loads any pipeline model.
Also introduced is `PipelineModelField`, which includes a model name and base model.
2023-06-22 17:36:05 +10:00
b937b7da01
feat(models): update model manager service & route to return list of models
2023-06-22 17:34:12 +10:00
21245a0fb2
Set model type to const value in openapi schema, add model format enums to model schema(as they not not referenced in case of Literal definition)
2023-06-22 16:51:53 +10:00
aceadacad4
Remove default model logic
2023-06-22 16:51:53 +10:00
01d17601b8
Generate config names for openapi
2023-06-22 16:41:19 +10:00
6779f1a5ad
fix(db): update models for boards w/ nullable deleted_at
2023-06-22 16:25:49 +10:00
285195bf72
feat(api): add get_board
route
2023-06-22 16:25:49 +10:00
6ee0e197bb
feat(db): add deleted_at
to board_images
2023-06-22 16:25:49 +10:00
e2ee8102c2
tidy(db): tidy image_record_storage.py
2023-06-22 16:25:49 +10:00
67a75f6895
feat(api, db): support board_id
filter on images service get_many()
2023-06-22 16:25:49 +10:00
be3bdae847
fix: resolve rebase conflicts
2023-06-22 16:25:49 +10:00
661a94b3de
feat(db): add get_all()
method for boards
...
This is needed to show the full list of boards in the update boards modal.
2023-06-22 16:25:49 +10:00
9ef64016c7
feat(db): sort board by created_at
2023-06-22 16:25:49 +10:00
21f0d0b0c1
fix(db): fix deserialize_board_record()
...
It was not adding `cover_image_name`
2023-06-22 16:25:49 +10:00
8bce234542
feat(db): update image-board relationships on add
...
Functionally, `add_image_to_board()` now moves images between boards.
2023-06-22 16:25:49 +10:00
95b9c8e505
return cover_image_name since urls change, override one from db for now
2023-06-22 16:25:49 +10:00
d604d986f9
feat(db, api): update get_board_for_image & service dependencies
...
- previously was `get_boards_for_image`, returning a list of `BoardDTO`, now returns a single `board_id`
2023-06-22 16:25:49 +10:00
e4893e4031
fix(db): return board records from CRUD methods
2023-06-22 16:25:49 +10:00
4a0a718b96
foiled by a comma
2023-06-22 16:25:49 +10:00
ca8f1a7828
(api) use most recently generated image for cover photo
2023-06-22 16:25:49 +10:00
5865ecd530
feat(db): add FK for boards.cover_image_name
2023-06-22 16:25:49 +10:00
e1f9685b02
feat(db): add index for boards
2023-06-22 16:25:49 +10:00
498bf0d0ba
feat(db): add indices for board_images
2023-06-22 16:25:49 +10:00
dd1b3c9f35
fix(api): update API models to use BoardDTOs
2023-06-22 16:25:49 +10:00
4b32322a58
feat(nodes): make board <> images a one-to-many relationship
...
we can extend this to many-to-many in the future if desired.
2023-06-22 16:25:49 +10:00
748016bdab
routes working
2023-06-22 16:25:49 +10:00
72e9ced889
feat(nodes): add boards and board_images services
2023-06-22 16:25:49 +10:00
3833304f57
[WIP] board list endpoint w cover photos
2023-06-22 16:25:49 +10:00
4bfaae6617
fix type
2023-06-22 16:25:49 +10:00
499a174832
some more
2023-06-22 16:25:49 +10:00
6ca5ad9075
filter images by board_id
2023-06-22 16:25:49 +10:00
a121e6b3a0
add board_id association to image
2023-06-22 16:25:49 +10:00
207602f425
remove unused
2023-06-22 16:25:49 +10:00
a1671519d5
board CRUD
2023-06-22 16:25:49 +10:00
4f5693040e
Merge branch 'main' into fix/inpaint_new_manager
2023-06-19 22:55:00 +12:00
a01998d095
Remove more old logic
2023-06-19 15:57:28 +10:00
7b35162b9e
Remove old logic except for inpaint, add support for lora and ti to inpaint node
2023-06-19 15:57:28 +10:00
c26e1a9271
Rewrite inpaint node to new model manager, remove TextToImage and ImageToImage nodes
2023-06-19 15:57:28 +10:00
9b32407744
Provide generator to all schedulers step function to make both ancestral and sde schedulers reproducible
2023-06-19 00:34:01 +03:00