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
7759b3f75a
Small refactor
2023-06-21 04:24:25 +03:00
4d337f6abc
ONNX Model/runtime first implementation
2023-06-21 02:12:21 +03:00
92c86fd0b8
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-20 03:44:58 +03:00
82b73c50a0
Remove default model logic
2023-06-20 03:13:10 +03:00
b0c4451324
Merge branch 'main' into model-manager-ui-30
2023-06-19 23:02:59 +12:00
4f5693040e
Merge branch 'main' into fix/inpaint_new_manager
2023-06-19 22:55:00 +12:00
d4931522d4
Merge branch 'main' into model-manager-ui-30
2023-06-19 22:53:13 +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
f3d9797ebe
Add dpmpp_sde and dpmpp_2m_sde schedulers(with karras)
2023-06-18 23:38:15 +03:00
16dc78f6c6
Generate config names for openapi
2023-06-17 17:15:36 +03:00
5f2d07917d
Fix lora import, fix sd2 config, fix list models api
2023-06-15 21:30:15 +03:00
82c2498043
Merge branch 'main' into lstein/new-model-manager
2023-06-14 08:41:40 -07:00
6b8e88ad7f
Merge branch 'main' into feat/controlnet-control-modes
2023-06-15 03:18:41 +12:00
34ebee67b7
fix(nodes): fix revert conflict
2023-06-15 01:05:16 +10:00
b51e9a6bdb
Revert "feat(nodes): add warning socket event"
...
This reverts commit cefdd9d634e515239bd85666c872a0d64bb9d772.
2023-06-15 01:05:16 +10:00
abee37eab3
feat(nodes): add warning socket event
2023-06-15 01:05:16 +10:00
42e48b2bef
feat(nodes): add dynamic prompt node
2023-06-15 01:05:16 +10:00
f9d5f9d52c
fix(nodes): minor fixes for folder validation
...
- fix type for `__output_folder`
- prefix `validate_storage_folders()` with `__` to indicate private method
2023-06-15 00:40:39 +10:00
d0ee3558d1
Merge branch 'main' into lstein/new-model-manager
2023-06-14 17:29:01 +03:00
587297878a
refactor(minor): Latent Disk Storage
2023-06-15 02:21:49 +12:00
b4c998a9ae
refactor(minor): Image File Storage
2023-06-15 01:58:58 +12:00
a1773197e9
feat(nodes): remove image_origin
from most places
...
- remove `image_origin` from most places where we interact with images
- consolidate image file storage into a single `images/` dir
Images have an `image_origin` attribute but it is not actually used when retrieving images, nor will it ever be. It is still used when creating images and helps to differentiate between internally generated images and uploads.
It was included in eg API routes and image service methods as a holdover from the previous app implementation where images were not managed in a database. Now that we have images in a db, we can do away with this and simplify basically everything that touches images.
The one potentially controversial change is to no longer separate internal and external images on disk. If we retain this separation, we have to keep `image_origin` around in a number of spots and it getting image paths on disk painful.
So, I am have gotten rid of this organisation. Images are now all stored in `images`, regardless of their origin. As we improve the image management features, this change will hopefully become transparent.
2023-06-14 23:08:27 +10:00
5cd0e90816
Renamed ControlNet control_mode option "even_more_control" to "unbalanced"
2023-06-13 22:30:17 -07:00
de3e6cdb02
Switched over to ControlNet control_mode with 4 options: balanced, more_prompt, more_control, even_more_control. Based on True/False combinations of internal booleans cfg_injection and soft_injection
2023-06-13 21:08:34 -07:00
740c05a0bb
Save models on rescan, uncache model on edit/delete, fixes
2023-06-14 03:12:12 +03:00
26090011c4
Fix conflict resolve, add model configs to type annotation
2023-06-14 00:26:37 +03:00
c9ae26a176
Merge branch 'main' into lstein/new-model-manager
2023-06-13 23:37:52 +03:00