4 Commits
Author SHA1 Message Date
jeremie louvaert 819843c4ee Add prompt_studio_styled_generation demo workflow
Wires Prompt Studio Settings (new in Gemini-Direct v1.2.0) → Prompt Studio
+ Hash Vault any_input_2 → Hash Vault Check Cache, with the
brief STRING driving both Prompt Studio.brief and Hash Vault.payload_string.
Cache key = (brief + style), so changing either invalidates correctly.
Label Builder auto-formats the sidecar label as 'brief / style'.

Lazy API Switch bypasses the entire Prompt Studio + Gemini + Save chain on
cache hit. Demonstrates the canonical from-scratch generation pattern with
full caching.
2026-04-26 09:52:44 +02:00
jeremie louvaert eda9826431 v1.2.2: image-only sample uses Gemini Style Transfer Settings node
Replaces the two StringConstantMultiline nodes in hash_vault_image_only.json
with the new GeminiStyleTransferSettings node from Gemini-Direct v1.1.0.
The Settings node keeps the real ComfyUI dropdown UX (typeahead, validation)
while still fanning style + intensity into both the Style Transfer input
and the Hash Vault any_input slot. Avoids the typo-silent cache-break mode
of free-text StringConstantMultiline.

README's image-only section rewritten to explain the UX rationale.
2026-04-19 08:43:04 +02:00
jeremie louvaertandClaude Opus 4.7 cdca9251ec Add image-only Hash Vault sample workflow, v1.2.1
workflows/hash_vault_image_only.json demonstrates the v1.2.0 image+
widgets pattern: Gemini Style Transfer (image, style, intensity, no
prompt). The style and intensity widgets are converted to inputs and
driven by two StringConstantMultiline nodes that ALSO feed Hash
Vault's any_input_2 / any_input_3. The image fans out to both Style
Transfer and Hash Vault's any_input.

README split into two examples (prompt-driven vs image-only) so new
users can pick the pattern that matches their API node.

Patch bump to retrigger the Comfy Registry publish so installed
copies pick up the new workflow file.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 08:24:05 +02:00
jeremie louvaertandClaude Opus 4.7 6d399c8f52 Add Hash Vault sample workflow, v1.1.0
workflows/hash_vault_basic.json wires the canonical cache-skip pattern:
one StringConstantMultiline feeds both DeterministicHashVault (for hashing)
and GeminiImageGenerate (for the actual API call). On cache hit the Lazy
API Switch short-circuits the Gemini branch entirely — no API call, no
charge. On miss, Gemini runs, HashVaultSave writes the result to disk,
and the next run with the same prompt is a hit.

README updated with a walkthrough and the pack dependencies
(ComfyUI-API-Optimizer, ComfyUI-Gemini-Direct, ComfyUI-KJNodes for the
StringConstantMultiline primitive — any STRING-output node works in
its place).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 20:42:57 +02:00