Vito Sansevero
983306366f
fix(api): handle new ComfyUI workflow format with list-based inputs
...
Fix AttributeError when processing PNG files with newer ComfyUI workflow format
where node inputs are stored as lists instead of dictionaries.
- Add _get_node_inputs() helper to normalize both dict and list input formats
- Add _find_text_in_node() to extract text from nodes using multiple strategies
- Update _extract_positive_prompt_from_comfyui_data() to use safe accessors
- Maintain full backward compatibility with existing workflow formats
Fixes error: "'list' object has no attribute 'get'" when scanning images
from workflows using the newer ComfyUI format.
2025-08-04 06:31:35 -07:00
Vito Sansevero
6e7a958355
style(api): Change log level from info to debug
2025-06-19 16:56:14 -07:00
Vito Sansevero
f6dd6d65cf
feat(api): add duplicate image scan and delete endpoints
2025-06-09 09:03:26 -07:00
Vito Sansevero
0c54c4dced
feat(api): Add gallery and thumbnail management endpoints
2025-06-09 08:41:42 -07:00
Vito Sansevero
2af331b375
refactor(api): improve ComfyUI output dir detection logic reported in #27
2025-06-08 13:45:43 -07:00
Vito Sansevero
3d00d1ef45
feat(api): add pruning for orphaned prompts
2025-06-03 17:55:56 -07:00
Vito Sansevero
e13d4f0284
refactor(api): update html path in PromptManagerAPI
2025-06-03 17:05:53 -07:00
Vito Sansevero
9e117496e0
feat(api): add gallery interface and config settings, for metadata
2025-06-01 12:25:19 -07:00
Vito Sansevero
815b034c2d
feat(api): add endpoint to add tags to prompts
2025-05-29 06:47:36 -07:00
Vito Sansevero
861dbd8a12
refactor(api): clean up and enhance category handling
2025-05-28 13:00:10 -07:00
Vito Sansevero
4f6d7234d6
feat(api): add pagination and A1111 parsing support
2025-05-28 11:01:20 -07:00
Vito Sansevero
fb46931b1a
feat(logging): integrate logging throughout API
2025-05-28 08:28:49 -07:00
Vito Sansevero
7a42cf96ed
feat(api): add scan images endpoint for metadata parsing
2025-05-27 14:57:51 -07:00
Vito Sansevero
4fca3f6d87
feat(api): add database backup and restore endpoints
2025-05-27 14:29:01 -07:00
Vito Sansevero
bb7329bff7
feat(api): handle duplicate prompts with metadata update
2025-05-27 12:35:43 -07:00
Vito Sansevero
67b77d457e
feat(api): add maintenance endpoint for database
2025-05-26 10:11:19 -07:00
Vito Sansevero
27ca3b0555
fix(api): fix foreign key constraint error deletion
2025-05-25 21:37:02 -07:00
Vito Sansevero
96113cbabd
feat(api): Add PromptManager API and config files
2025-05-24 12:27:01 -07:00