Skip to content

Preserve style architecture in custom workflows#2529

Merged
Acly merged 1 commit into
Acly:mainfrom
mtsmfm:fix-anima-custom-workflow
Jun 17, 2026
Merged

Preserve style architecture in custom workflows#2529
Acly merged 1 commit into
Acly:mainfrom
mtsmfm:fix-anima-custom-workflow

Conversation

@mtsmfm

@mtsmfm mtsmfm commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

Summary

When using Graph mode with Anima, workflows that include ETN_KritaStyle can fail with:

Server error: Text Encoder 'clip_l' for SD 1.5 not found
image image image

The style preset may explicitly use the Anima diffusion architecture, but custom workflow parameter collection was passing style.get_models(...) directly into CustomStyleInput. In some cases, especially with
generic checkpoint filenames, that leaves the collected style models at the default SD 1.5 architecture instead of the architecture resolved from the connected model metadata.

As a result, an Anima checkpoint can be routed through the SD 1.5 text encoder path.

This change resolves the style architecture using the available checkpoint metadata before creating CustomStyleInput, so custom workflows preserve the intended architecture such as Anima.

Co-authored-by: Codex <codex@openai.com>
@Acly Acly merged commit 657e79c into Acly:main Jun 17, 2026
4 checks passed
@Acly

Acly commented Jun 17, 2026

Copy link
Copy Markdown
Owner

Saw some people hitting this problem, thanks for the fix!

@mtsmfm mtsmfm deleted the fix-anima-custom-workflow branch June 17, 2026 12:12
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