Ryan Dick
9a49374e12
Update FLUX default workflows.
2024-09-26 19:54:28 -04:00
psychedelicious
3abc80b88e
fix(app): broken link in invokeai.yaml example
2024-09-25 14:44:01 +03:00
psychedelicious
62ba277268
fix(app): issue w/ import forward ref
2024-09-22 21:20:32 +03:00
psychedelicious
44c41e9549
tidy(app): remove unused invocation_denoise_progress event
...
This is now superseded by the invocation_progress event.
2024-09-22 21:20:32 +03:00
psychedelicious
a6f93d3862
feat(app): use new signal_progress for denoising
...
- Update the step callback methods in the invocation API to use the new signal_progress API
- Copy and update the `calc_percentage`, reducing special handling for step and total_steps - a followup commit will fix callers of the step callbacks
2024-09-22 21:20:32 +03:00
psychedelicious
4b8b76ff3c
feat(app): add signal_progress method to invocation API
...
Any node can use this at any time to signal its progress to the client. The docstrings are detailed.
2024-09-22 21:20:32 +03:00
psychedelicious
a177d9a782
feat(app): add builder method on ProgressImage
2024-09-22 21:20:32 +03:00
psychedelicious
6b91084672
feat(app): add generalized progress event
...
Eliminate coupling on stable diffusion for progress events. Can be used for any node.
2024-09-22 21:20:32 +03:00
maryhipp
a4a0cc6d10
more default workflow updates
2024-09-20 15:48:31 -04:00
maryhipp
e50f71ec53
bump version of flux_denoise node, update default workflows
2024-09-20 15:41:44 -04:00
psychedelicious
3ade9300b2
fix(app): exclude intermediate images from board image count
2024-09-19 23:36:22 +10:00
psychedelicious
8064a0a820
fix(app): do not show intermediate images for board thumbnail
2024-09-19 23:36:22 +10:00
omahs
b5620cfdcd
fix typo
2024-09-19 05:40:54 +03:00
psychedelicious
9b0dd52792
feat(app): add get_queue_counts_by_destination
...
This allows the frontend to check if there are, for example, pending canvas generations.
2024-09-18 06:40:47 +03:00
psychedelicious
480856a528
feat(app): cancel by destination, not origin
...
When resetting the canvas or staging area, we don't want to cancel generations that are going to the gallery - only those going to the canvas.
Thus the method should not cancel by origin, but instead cancel by destination.
Update the queue method and route.
2024-09-06 22:56:24 +10:00
psychedelicious
6877db12c9
feat(app): add destination column to session_queue
...
The frontend needs to know where queue items came from (i.e. which tab), and where results are going to (i.e. send images to gallery or canvas). The `origin` column is not quite enough to represent this cleanly.
A `destination` column provides the frontend what it needs to handle incoming generations.
2024-09-06 22:56:24 +10:00
psychedelicious
257b18230a
tidy(app): clean up app changes for canvas v2
2024-09-06 22:56:24 +10:00
psychedelicious
787a4422cb
feat(ui, app): use layer as control (wip)
2024-09-06 22:56:24 +10:00
psychedelicious
03809763a6
feat(app): add origin to session queue
...
The origin is an optional field indicating the queue item's origin. For example, "canvas" when the queue item originated from the canvas or "workflows" when the queue item originated from the workflows tab. If omitted, we assume the queue item originated from the API directly.
- Add migration to add the nullable column to the `session_queue` table.
- Update relevant event payloads with the new field.
- Add `cancel_by_origin` method to `session_queue` service and corresponding route. This is required for the canvas to bail out early when staging images.
- Add `origin` to both `SessionQueueItem` and `Batch` - it needs to be provided initially via the batch and then passed onto the queue item.
-
2024-09-06 22:56:24 +10:00
Brandon Rising
69f080fb75
Move flux step callback code into the step_callback util scripts, use other services within the invocation context
2024-09-03 14:04:16 -04:00
Ryan Dick
627b0bf644
Expose all FLUX model params in the default FLUX models.
2024-09-02 09:38:17 -04:00
Ryan Dick
fb5a24fcc6
Update default workflows for FLUX.
2024-09-02 09:38:17 -04:00
Brandon Rising
d62310bb5f
Support HF repos with subfolders in source on windows OS
2024-08-30 19:31:42 -04:00
Brandon Rising
1835bff196
Fix source string in hugging face installs with subfolders
2024-08-30 19:31:42 -04:00
maryhipp
16825ee6e9
feat(nodes): bump version of flux model node, update default workflow
2024-08-29 11:52:51 -04:00
Mary Hipp
cff382715a
default workflow: add steps to exposed fields, add more notes
2024-08-26 20:17:50 -04:00
Mary Hipp
e84ea68282
remove prompt
2024-08-26 20:17:50 -04:00
Mary Hipp
160dd36782
update default workflow for flux
2024-08-26 20:17:50 -04:00
Brandon Rising
c27d59baf7
Run ruff
2024-08-26 20:17:50 -04:00
Brandon Rising
f130ddec7c
Remove automatic install of models during flux model loader, remove no longer used import function on context
2024-08-26 20:17:50 -04:00
maryhipp
fd68a2475b
add better workflow name
2024-08-26 20:17:50 -04:00
maryhipp
28ff7ba830
add better workflow description
2024-08-26 20:17:50 -04:00
maryhipp
01a4e0f6ef
update default workflow
2024-08-26 20:17:50 -04:00
Brandon Rising
df9445c351
Various styling and exception type updates
2024-08-26 20:17:50 -04:00
Brandon Rising
f7e46622a1
Update doc string for import_local_model and remove access_token since it's only usable for local file paths
2024-08-26 20:17:50 -04:00
Mary Hipp
b6a05629ef
add default workflow for flux t2i
2024-08-26 20:17:50 -04:00
Brandon Rising
57168d719b
Fix styling/lint
2024-08-26 20:17:50 -04:00
Brandon Rising
4bd7fda694
Install sub directories with folders correctly, ensure consistent dtype of tensors in flux pipeline and vae
2024-08-26 20:17:50 -04:00
Brandon Rising
1bd90e0fd4
Run ruff, setup initial text to image node
2024-08-26 20:17:50 -04:00
Brandon Rising
436f18ff55
Add backend functions and classes for Flux implementation, Update the way flux encoders/tokenizers are loaded for prompt encoding, Update way flux vae is loaded
2024-08-26 20:17:50 -04:00
Mary Hipp
3e7923d072
fix(api): allow updating of type for style preset
2024-08-19 16:12:39 -04:00
psychedelicious
5a24b89e54
fix(app): include style preset defaults in build
2024-08-16 21:47:06 +10:00
Mary Hipp
599db7296f
export only user style presets
2024-08-15 16:07:32 -04:00
Mary Hipp
24f298283f
clean up, add context menu to import/download templates
2024-08-15 12:39:55 -04:00
psychedelicious
60d754d1df
feat(api): tidy style presets import logic
...
- Extract parsing into utility function
- Log import errors
- Forbid extra properties on the imported data
2024-08-15 09:47:49 -04:00
psychedelicious
bcbf8b6bd8
feat(ui): revert to using {prompt} for prompt template placeholder
2024-08-15 09:47:49 -04:00
psychedelicious
356661459b
feat(api): support JSON for preset imports
...
This allows us to support Fooocus format presets.
2024-08-15 09:47:49 -04:00
psychedelicious
deb917825e
feat(api): use pydantic validation during style preset import
...
- Enforce name is present and not an empty string
- Provide empty string as default for positive and negative prompt
- Add `positive_prompt` as validation alias for `prompt` field
- Strip whitespace automatically
- Create `TypeAdapter` to validate the whole list in one go
2024-08-15 09:47:49 -04:00
Mary Hipp
2d58754789
feat(api): add endpoint to take a CSV, parse it, validate it, and create many style preset entries
2024-08-15 09:47:49 -04:00
psychedelicious
982c266073
tidy: remove extra characters in prompt templates
2024-08-14 12:31:57 +10:00