Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
RangerFrank opened this issue Dec 24, 2023 · 6 comments
Labels
enhancement New feature or request

Comments

@RangerFrank
Copy link

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

@RangerFrank RangerFrank added the question Further information is requested label Dec 24, 2023
@receyuki
Copy link
Owner

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

@RangerFrank
Copy link
Author

@receyuki
Copy link
Owner

receyuki commented Jan 2, 2024

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
Copy link
Author

@receyuki receyuki added enhancement New feature or request and removed question Further information is requested labels Jan 16, 2024
receyuki added a commit that referenced this issue Jan 16, 2024
Add `lora_name` input to the `Prompt Saver` node
Add `resource_hash` input to the `Prompt Saver` node
Add support for auto-detection on Civitai #35
@receyuki
Copy link
Owner

Please try the latest version.

@RangerFrank
Copy link
Author

Please try the latest version.

Great job, works like a charm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants