Commit Graph
69 Commits
Author SHA1 Message Date
Acly a7f77032ec Make parameter nodes validate when executed 2024-10-11 21:46:49 +02:00
Acly 72335898cb Detect better parameter type defaults 2024-10-11 21:20:31 +02:00
Acly 9a9cbe78a5 High level krita parameters (style, control-net, ip-adapter) 2024-10-11 09:30:12 +02:00
Acly 9a8d90dd95 Replace typed parameter nodes with a universal parameter node which adapts to the first widget it is connected to 2024-10-06 23:58:25 +02:00
Acly 24b7aabf8b Add placeholder image when running external nodes from web ui 2024-10-04 21:27:19 +02:00
Acly 81f944f119 Add custom icons to some of the krita interop nodes 2024-10-04 20:46:56 +02:00
Acly 327b2a1fe3 More parameter nodes for shared workflows 2024-10-04 11:04:35 +02:00
Acly fb847a5225 Publish workflows only if there's a related sink node in the graph 2024-10-02 17:56:19 +02:00
Acly 5a45172d02 API to exchange workflows between multiple connected clients
Placeholder nodes to parametrize and run custom workflows from Krita
2024-10-02 11:07:02 +02:00
Acly 29e24ec52c Initial API for workflow exchange between ComfyUI clients 2024-09-23 20:59:57 +02:00
Marco Tundo e5e62a4a79 Added filetype selector to SendImageWebSocket 2024-09-23 20:59:19 +02:00
Acly 1a24975f99 Don't print trace if a model can't be detected (leads to more confusion than it helps) 2024-09-20 09:53:12 +02:00
Acly 61fa161c34 Regions: also check if dtype matches 2024-09-12 10:17:37 +02:00
Acly f986f6a442 Document upload api 2024-08-30 12:10:16 +02:00
Acly e0d0c3cc2c Add model upload API endpoint
- folder must match existing model folder
- file must be safetensors
2024-08-26 23:05:17 +02:00
Acly f5ec9d830c Make /api/etn/model_info work with diffusion_models folder (formerly unet)
- endpoint is now `/api/etn/model_info/{folder_name}`
- old endpoints are still available
- also works with unet folder (deprecated)
2024-08-20 16:17:38 +02:00
Acly d1dcf12f10 Fix detection for HunyuanDit #17 2024-08-09 18:54:05 +02:00
Acly cb92e547c6 Version 1.4.0, fix toml license directive 2024-08-09 10:08:30 +02:00
Acly b5fec4a062 Model info api: add aura-flow, hunyuan-dit, flux 2024-08-05 00:25:26 +02:00
Acly 42965013f9 Add __future__ imports for older python 2024-07-28 13:14:29 +02:00
Acly d20615fb48 Support language directives in translate api, add documentation 2024-07-27 15:37:20 +02:00
Acly 5bad00f72f Remove debug prints 2024-07-24 14:38:51 +02:00
Acly df54344077 Translate: parse language directives included in the text 2024-07-24 12:00:07 +02:00
Acly f42c0f29b6 Don't translate embeddings 2024-07-22 18:48:02 +02:00
Acly 547c3d5c97 Add text translation node & API 2024-07-22 16:53:09 +02:00
Acly 73babbd00e Add NSFWFilter node 2024-07-21 20:47:18 +02:00
Acly cac32fe37c Move image channel permutation to separate functions 2024-07-21 18:31:42 +02:00
Acly 5620b5c6e2 Document tiling nodes 2024-07-20 23:52:09 +02:00
Acly 3d4a960982 Document region nodes 2024-07-20 23:12:46 +02:00
Acly 9d533984c2 Version 1.2.0 2024-06-24 17:55:55 +02:00
Acly 715a41e04f Prefix server API route with api/ 2024-06-20 16:39:15 +02:00
Acly aff32e8da6 Tiles: fix div by zero when image is smaller than tile size 2024-06-20 11:26:00 +02:00
Acly e46123612d Model info API: support SD3 2024-06-12 16:56:25 +02:00
Acly 6e7b2445db Remove seperable=True for box_blur
- not supported by older kornia versions, and probably no actual speed up at typical tile sizes
2024-06-12 09:51:03 +02:00
Acly 2f39365248 Bump version to 1.1.0 2024-06-11 12:14:23 +02:00
Acly c324f6741d Expand mask batch dimension if it doesn't exist 2024-06-08 09:31:29 +02:00
Acly c27b662fd8 Don't unpack tuple within index operation (not supported by older Python) 2024-06-07 17:25:52 +02:00
Acly 71bff50b0f Regions: modify conds_or_unconds to reflect the changed cond batch size
IP-adapter's attn2-replace assumes shape[0] == len(conds_or_unconds) * batch
2024-06-07 13:11:19 +02:00
Acly 86082e08e2 Add nodes: ExtractMaskTile, BackgroundRegion, ListRegionMasks 2024-06-04 18:06:18 +02:00
Acly afefeca48f Add a batch dimension to masks loaded by LoadMaskBase64 2024-06-03 23:16:59 +02:00
Acly 7c338bbd2a Fixes 2024-06-03 22:50:43 +02:00
Acly 9cdbedb92a Rename attention couple -> attention mask
create a node for defining regions rather than using list mechanism
2024-06-03 18:32:07 +02:00
Acly ccaef6966f Simplify tiles, don't use lists 2024-06-03 18:31:19 +02:00
Acly 2ae9eec23e Tiling: adjust tile size to fill image more evenly 2024-05-30 22:34:58 +02:00
Acly 41f791fa4d Attention couple: use the conditioning linked to the first region instead of replacing it with the one passed to KSampler
- KSampler conditioning text prompt is now mostly ignored, but still useful to pass controlnet etc
2024-05-29 17:42:48 +02:00
Acly 684e7d370c Attention couple: accept masks which are the same resolution as the image - they will be downsampled 2024-05-29 17:19:35 +02:00
Acly 9b3f423f45 Rename category (remove underscore) 2024-05-29 13:50:17 +02:00
Acly 72b779204b Attention couple: remove base mask parameter
- first mask is first element in the list
- first conditioning is ignored (ksampler input is used instead)
2024-05-29 13:29:30 +02:00
Acly df7ebe554f Attention couple now takes masks at factor 8 lower resolution
Also fixed issues when image size is not a multiple of 64
2024-05-29 12:53:09 +02:00
Acly 4abe5cf9ce Add Attention Couple node for regional prompt 2024-05-29 11:07:46 +02:00