receyuki / comfyui-prompt-reader-node

The ultimate solution for managing image metadata and multi-tool compatibility. ComfyUI node version of the SD Prompt Reader
MIT License
289 stars 22 forks source link

[FEATURE REQUEST] - Save LoRA information in civitAI compatible format from the CivitAI nodes. #35

Closed RangerFrank closed 9 months ago

RangerFrank commented 11 months ago

Summary

Save Checkpoint and LoRA information in civitAI compatible format from the CivitAI nodes.

This is just about the only feature I feel like I'm missing now, at the moment I'm forced to use cute-comfy to save full civitAI compatible metadata including all checkpoints and loras used. However cute-comfy has it's own limitations because it's not a node but listener so it has no ability to tell it exactly which metadata to record if using unsupported nodes.

Basic Example

The civitAI nodes can be populated with AIR codes that are civitAI compatible for linking resources.

Reference Issues.

No response

receyuki commented 11 months ago

Could you provide some examples for reference? I’m not sure how civitai recognises lora and ckpt.

RangerFrank commented 11 months ago

https://github.com/zer0TF/cute-comfy

receyuki commented 10 months ago

Alright, now I understand. Cute-comfy will write the hash value of Lora, just like the existing calculate_model_hash. The current nodes cannot read the filename or hash of Lora, so if I need to implement this feature, I will have to write a new Lora loader node.

RangerFrank commented 10 months ago

https://github.com/civitai/civitai_comfy_nodes

receyuki commented 10 months ago

Please try the latest version.

RangerFrank commented 9 months ago

Please try the latest version.

Great job, works like a charm.