Skip to content

Request for NAI Weight Converter #21

@da2el-ai

Description

@da2el-ai

Thank you for creating such wonderful custom nodes!
They're so useful that I use them every day.

I have a request, if I may.
I'd like a custom node that converts NAI-style weights to SD-style weights.
For example: {{foo}} > (foo:1.1)

The custom node "D2 Load Image" that I've published has a feature to extract prompts from images, and it's compatible with NovelAI images.
If there were a custom node to convert NAI weights to SD weights, it would make prompt reuse much easier, which would be fantastic.
https://github.com/da2el-ai/D2-nodes-ComfyUI

I'm not sure if it will be helpful, but here's the JavaScript source I created:
https://github.com/da2el-ai/sd-d2-nai-prompt-convert/blob/4d3da2a0ff7ff4cda7d6726fee28b96f96233e2e/src/js/D2NPCPromptConvert.ts#L40

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions