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

Add support for NAI's V4 architecture and new prompt handling nodes #26

Merged
merged 1 commit into from
Dec 23, 2024

Conversation

Mooshieblob1
Copy link
Contributor

Add NAI Diffusion V4 Preview Support

Added support for nai-diffusion-4-curated-preview model and V4 prompt architecture, including:

  • Two new nodes:

    • V4BasePrompt: Handles positive prompts with V4 structure
    • V4NegativePrompt: Handles negative prompts with V4 structure
  • Added V4 preview model to ModelOptionNAID

  • Added proper V4 API prompt structure handling

  • Updated GenerateNAID to support V4 format

Important Notes:

  • This is a preview version with some limitations
  • Inpainting will automatically use V3 model (but works with V4 images)
  • Vibe transfer not yet supported (will be available with full V4 release)
  • Basic img2img functionality works normally

Future WIP features (currently commented out):

  • V4PromptConfig: Coordinate and order-based prompting
  • V4CharacterCaption: Character-specific positioned prompting

All changes maintain backward compatibility with existing workflows.

@bedovyy
Copy link
Owner

bedovyy commented Dec 23, 2024

Thank you for the PR!

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

Successfully merging this pull request may close these issues.

2 participants