From dfc6221c47c625e3ab22285be486fa8ae4e2c785 Mon Sep 17 00:00:00 2001 From: Behzad Date: Mon, 27 Jul 2026 23:02:54 +0200 Subject: [PATCH] =?UTF-8?q?1.0.4=20=E2=80=94=20demo=20subjects=20that=20st?= =?UTF-8?q?ay=20clothed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Renaissance style carries no guardrails, so it compiles an empty negative, and Z-Image has no negative channel to put one in either. A style steeped in classical painting therefore drifts to classical nudes on a neutral subject — which is a poor look for a first-run demo and for the screenshots people take of it. Positive phrasing in the subject is the only lever either model leaves, so two of the three subjects now say so outright. The grid also reads better: a dusk exterior, an interior, and an object with no figure at all is a wider spread than three peopled scenes, and it makes the "one style, unrelated subjects" claim harder to argue with. Co-Authored-By: Claude Sonnet 5 --- README.md | 2 +- __init__.py | 2 +- pyproject.toml | 2 +- scripts/build_workflows.py | 23 ++++++++++++++-------- styleref_api.py | 2 +- workflows/01-quickstart.json | 2 +- workflows/02-consistency-grid.json | 6 +++--- workflows/03-your-own-style.json | 2 +- workflows/04-reference-images.json | 2 +- workflows/05-facets.json | 2 +- workflows/z-image/01-quickstart.json | 2 +- workflows/z-image/02-consistency-grid.json | 6 +++--- workflows/z-image/03-your-own-style.json | 2 +- workflows/z-image/04-reference-images.json | 2 +- workflows/z-image/05-facets.json | 2 +- 15 files changed, 33 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index e317c69..fbbce77 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ git clone https://github.com/StyleRef/styleref-comfyui ``` Restart ComfyUI. No dependencies to install — the pack uses only the Python -standard library. Look for `[StyleRef] v1.0.3 — 5 nodes registered` in the +standard library. Look for `[StyleRef] v1.0.4 — 5 nodes registered` in the server console at startup. ## 60-second quickstart diff --git a/__init__.py b/__init__.py index 3b939d6..54d409f 100644 --- a/__init__.py +++ b/__init__.py @@ -46,7 +46,7 @@ NODE_DISPLAY_NAME_MAPPINGS = { # progressive enhancement. Nothing here is required for the nodes to work. WEB_DIRECTORY = "./web" -_FALLBACK_VERSION = "1.0.3" +_FALLBACK_VERSION = "1.0.4" def _pack_version() -> str: diff --git a/pyproject.toml b/pyproject.toml index 9f3dcf0..b05525f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "styleref-comfyui" -version = "1.0.3" +version = "1.0.4" description = "StyleRef nodes for ComfyUI — load a creative style once, reuse it across your workflows" authors = [{ name = "StyleRef", email = "hello@styleref.io" }] readme = "README.md" diff --git a/scripts/build_workflows.py b/scripts/build_workflows.py index 39ec2d8..eadc765 100644 --- a/scripts/build_workflows.py +++ b/scripts/build_workflows.py @@ -141,15 +141,22 @@ ZIMAGE_STYLE_REF = "sbdlwwly-66ae1a89efdc" # Renaissance Mythic Classicism # for their own style's id — or fills via the node's "Search styles…" picker. OWN_STYLE_REF = "" -# Subjects for the consistency grid. Deliberately varied — interior, open -# landscape, night exterior — because the grid's whole claim is that one style -# holds across unrelated subjects. All three are plain scenes with no style -# words of their own, so anything stylistic in the render came from StyleRef. +# Subjects for the consistency grid. Deliberately varied — exterior at dusk, +# interior, and an object with no figure at all — because the grid's whole +# claim is that one style holds across unrelated subjects. +# +# Two of them say "dressed" outright. That is not prudishness: the Renaissance +# style compiles an empty negative (it carries no guardrails), and Z-Image has +# no negative channel to put one in, so a style steeped in classical painting +# drifts to classical nudes unless the subject says otherwise. Positive +# phrasing in the subject is the only lever either model leaves us. GRID_SUBJECTS = [ - "two friends flipping through crates of vinyl in a record shop", - "A lone surfer strolled back along the beach at dusk, carrying her large " - "surfing board.", - "a roadside diner at night seen from the parking lot", + "A fully dressed teenager sitting on a rooftop ledge at dusk, dress in " + "#8A9FB5 color with ropes, knees up, headphones on, looking out over a " + "low-rise city as lights begin to switch on; laundry lines and a water " + "tank frame the foreground.", + "two friends flipping through crates of vinyl in a record shop, dressed", + "A Unicorn Toy", ] # The single-subject templates all use the first grid subject, so a user who diff --git a/styleref_api.py b/styleref_api.py index e8b1ee1..f62d7ba 100644 --- a/styleref_api.py +++ b/styleref_api.py @@ -25,7 +25,7 @@ SITE_URL = "https://styleref.io" # Identifies this surface in StyleRef's API telemetry (recordApiCall reads it). CLIENT_TAG = "comfyui" -USER_AGENT = "styleref-comfyui/1.0.3 (+https://styleref.io)" +USER_AGENT = "styleref-comfyui/1.0.4 (+https://styleref.io)" DEFAULT_TIMEOUT_S = 30 diff --git a/workflows/01-quickstart.json b/workflows/01-quickstart.json index 12da168..39b8cf4 100644 --- a/workflows/01-quickstart.json +++ b/workflows/01-quickstart.json @@ -174,7 +174,7 @@ "Node name for S&R": "StyleRefApply" }, "widgets_values": [ - "two friends flipping through crates of vinyl in a record shop", + "A fully dressed teenager sitting on a rooftop ledge at dusk, dress in #8A9FB5 color with ropes, knees up, headphones on, looking out over a low-rise city as lights begin to switch on; laundry lines and a water tank frame the foreground.", "flux", "", false, diff --git a/workflows/02-consistency-grid.json b/workflows/02-consistency-grid.json index 449698b..8213856 100644 --- a/workflows/02-consistency-grid.json +++ b/workflows/02-consistency-grid.json @@ -181,7 +181,7 @@ "Node name for S&R": "StyleRefApply" }, "widgets_values": [ - "two friends flipping through crates of vinyl in a record shop", + "A fully dressed teenager sitting on a rooftop ledge at dusk, dress in #8A9FB5 color with ropes, knees up, headphones on, looking out over a low-rise city as lights begin to switch on; laundry lines and a water tank frame the foreground.", "flux", "", false, @@ -580,7 +580,7 @@ "Node name for S&R": "StyleRefApply" }, "widgets_values": [ - "A lone surfer strolled back along the beach at dusk, carrying her large surfing board.", + "two friends flipping through crates of vinyl in a record shop, dressed", "flux", "", false, @@ -979,7 +979,7 @@ "Node name for S&R": "StyleRefApply" }, "widgets_values": [ - "a roadside diner at night seen from the parking lot", + "A Unicorn Toy", "flux", "", false, diff --git a/workflows/03-your-own-style.json b/workflows/03-your-own-style.json index cc7a5e6..6202572 100644 --- a/workflows/03-your-own-style.json +++ b/workflows/03-your-own-style.json @@ -203,7 +203,7 @@ "Node name for S&R": "StyleRefApply" }, "widgets_values": [ - "two friends flipping through crates of vinyl in a record shop", + "A fully dressed teenager sitting on a rooftop ledge at dusk, dress in #8A9FB5 color with ropes, knees up, headphones on, looking out over a low-rise city as lights begin to switch on; laundry lines and a water tank frame the foreground.", "flux", "", false, diff --git a/workflows/04-reference-images.json b/workflows/04-reference-images.json index 236e299..3f588e1 100644 --- a/workflows/04-reference-images.json +++ b/workflows/04-reference-images.json @@ -248,7 +248,7 @@ "Node name for S&R": "StyleRefApply" }, "widgets_values": [ - "two friends flipping through crates of vinyl in a record shop", + "A fully dressed teenager sitting on a rooftop ledge at dusk, dress in #8A9FB5 color with ropes, knees up, headphones on, looking out over a low-rise city as lights begin to switch on; laundry lines and a water tank frame the foreground.", "flux", "", false, diff --git a/workflows/05-facets.json b/workflows/05-facets.json index 8b789a1..40fef60 100644 --- a/workflows/05-facets.json +++ b/workflows/05-facets.json @@ -528,7 +528,7 @@ "Node name for S&R": "StyleRefApply" }, "widgets_values": [ - "two friends flipping through crates of vinyl in a record shop", + "A fully dressed teenager sitting on a rooftop ledge at dusk, dress in #8A9FB5 color with ropes, knees up, headphones on, looking out over a low-rise city as lights begin to switch on; laundry lines and a water tank frame the foreground.", "flux", "", false, diff --git a/workflows/z-image/01-quickstart.json b/workflows/z-image/01-quickstart.json index 52c4354..79a32c2 100644 --- a/workflows/z-image/01-quickstart.json +++ b/workflows/z-image/01-quickstart.json @@ -242,7 +242,7 @@ "Node name for S&R": "StyleRefApply" }, "widgets_values": [ - "two friends flipping through crates of vinyl in a record shop", + "A fully dressed teenager sitting on a rooftop ledge at dusk, dress in #8A9FB5 color with ropes, knees up, headphones on, looking out over a low-rise city as lights begin to switch on; laundry lines and a water tank frame the foreground.", "diffusion", "", false, diff --git a/workflows/z-image/02-consistency-grid.json b/workflows/z-image/02-consistency-grid.json index 6a2ede4..18648c4 100644 --- a/workflows/z-image/02-consistency-grid.json +++ b/workflows/z-image/02-consistency-grid.json @@ -249,7 +249,7 @@ "Node name for S&R": "StyleRefApply" }, "widgets_values": [ - "two friends flipping through crates of vinyl in a record shop", + "A fully dressed teenager sitting on a rooftop ledge at dusk, dress in #8A9FB5 color with ropes, knees up, headphones on, looking out over a low-rise city as lights begin to switch on; laundry lines and a water tank frame the foreground.", "diffusion", "", false, @@ -609,7 +609,7 @@ "Node name for S&R": "StyleRefApply" }, "widgets_values": [ - "A lone surfer strolled back along the beach at dusk, carrying her large surfing board.", + "two friends flipping through crates of vinyl in a record shop, dressed", "diffusion", "", false, @@ -969,7 +969,7 @@ "Node name for S&R": "StyleRefApply" }, "widgets_values": [ - "a roadside diner at night seen from the parking lot", + "A Unicorn Toy", "diffusion", "", false, diff --git a/workflows/z-image/03-your-own-style.json b/workflows/z-image/03-your-own-style.json index de8aeb0..b4dc9aa 100644 --- a/workflows/z-image/03-your-own-style.json +++ b/workflows/z-image/03-your-own-style.json @@ -271,7 +271,7 @@ "Node name for S&R": "StyleRefApply" }, "widgets_values": [ - "two friends flipping through crates of vinyl in a record shop", + "A fully dressed teenager sitting on a rooftop ledge at dusk, dress in #8A9FB5 color with ropes, knees up, headphones on, looking out over a low-rise city as lights begin to switch on; laundry lines and a water tank frame the foreground.", "diffusion", "", false, diff --git a/workflows/z-image/04-reference-images.json b/workflows/z-image/04-reference-images.json index d3cf0f0..b50b05e 100644 --- a/workflows/z-image/04-reference-images.json +++ b/workflows/z-image/04-reference-images.json @@ -316,7 +316,7 @@ "Node name for S&R": "StyleRefApply" }, "widgets_values": [ - "two friends flipping through crates of vinyl in a record shop", + "A fully dressed teenager sitting on a rooftop ledge at dusk, dress in #8A9FB5 color with ropes, knees up, headphones on, looking out over a low-rise city as lights begin to switch on; laundry lines and a water tank frame the foreground.", "diffusion", "", false, diff --git a/workflows/z-image/05-facets.json b/workflows/z-image/05-facets.json index 0869cd5..ce37f7f 100644 --- a/workflows/z-image/05-facets.json +++ b/workflows/z-image/05-facets.json @@ -596,7 +596,7 @@ "Node name for S&R": "StyleRefApply" }, "widgets_values": [ - "two friends flipping through crates of vinyl in a record shop", + "A fully dressed teenager sitting on a rooftop ledge at dusk, dress in #8A9FB5 color with ropes, knees up, headphones on, looking out over a low-rise city as lights begin to switch on; laundry lines and a water tank frame the foreground.", "diffusion", "", false,