Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

Apps: Tap to Recolor gets its before and after stills

Adarsh4262777f0bc8
diff --git a/public/previews/presets/ba/1280/app-tap-to-recolor-after.jpg b/public/previews/presets/ba/1280/app-tap-to-recolor-after.jpg
new file mode 100644
index 00000000..9702abe0
Binary files /dev/null and b/public/previews/presets/ba/1280/app-tap-to-recolor-after.jpg differ
diff --git a/public/previews/presets/ba/1280/app-tap-to-recolor-before.jpg b/public/previews/presets/ba/1280/app-tap-to-recolor-before.jpg
new file mode 100644
index 00000000..cc75e2e3
Binary files /dev/null and b/public/previews/presets/ba/1280/app-tap-to-recolor-before.jpg differ
diff --git a/public/previews/presets/ba/512/app-tap-to-recolor-after.jpg b/public/previews/presets/ba/512/app-tap-to-recolor-after.jpg
new file mode 100644
index 00000000..052ad697
Binary files /dev/null and b/public/previews/presets/ba/512/app-tap-to-recolor-after.jpg differ
diff --git a/public/previews/presets/ba/512/app-tap-to-recolor-before.jpg b/public/previews/presets/ba/512/app-tap-to-recolor-before.jpg
new file mode 100644
index 00000000..819d25eb
Binary files /dev/null and b/public/previews/presets/ba/512/app-tap-to-recolor-before.jpg differ
diff --git a/public/previews/presets/ba/960/app-tap-to-recolor-after.jpg b/public/previews/presets/ba/960/app-tap-to-recolor-after.jpg
new file mode 100644
index 00000000..0409abed
Binary files /dev/null and b/public/previews/presets/ba/960/app-tap-to-recolor-after.jpg differ
diff --git a/public/previews/presets/ba/960/app-tap-to-recolor-before.jpg b/public/previews/presets/ba/960/app-tap-to-recolor-before.jpg
new file mode 100644
index 00000000..d11aeb49
Binary files /dev/null and b/public/previews/presets/ba/960/app-tap-to-recolor-before.jpg differ
diff --git a/scripts/comfy/library.spec.mjs b/scripts/comfy/library.spec.mjs
index e331057d..099528fd 100644
--- a/scripts/comfy/library.spec.mjs
+++ b/scripts/comfy/library.spec.mjs
@@ -3158,7 +3158,7 @@ export const SPEC = [
modelUrls: { 'sam3.1_multiplex_fp16.safetensors': 'https://huggingface.co/Comfy-Org/sam3.1/resolve/7bb8374780a725b4353ed31f3a9395c9742b5621/checkpoints/sam3.1_multiplex_fp16.safetensors' },
notes:
'Tap to Recolor: qwen-image-21-inpaint with the mask made in the graph from the taps by AusBoss Mask by Touch on core SAM 3.1. ' +
- 'touches = the node\'s JSON {"v":1,"items":[{"t":"name","w":word,"x":int,"y":int,"op":1|0}]} in the photo\'s pixels (src/lib/catalog/recolor.ts recolorTouches): ' +
+ 'touches = the node\'s JSON {"v":1,"items":[{"t":"name","w":word,"x":int,"y":int,"op":1|0}]} in the photo\'s pixels: ' +
'each tap asks for the smallest thing of the piece\'s name under it (Jacket: jacket + clothing; Auto: clothing, bag, shoe, hat, scarf), a Leave out tap takes away a hand, arm, hair, ' +
'belt, bag strap or necklace under it. SAM 3.1\'s point prompt alone (SAM3_Detect) returned the whole person on every GPU test, so taps go through names. If nothing is found ' +
'the mask is empty and the photo comes back unchanged (if_nothing "empty mask"); free_vram unloads SAM before the repaint. -> GrowMask maskGrow (1) -> Crop For Inpaint ' +
diff --git a/scripts/comfy/validation-state.json b/scripts/comfy/validation-state.json
index 38757efc..fedf714c 100644
--- a/scripts/comfy/validation-state.json
+++ b/scripts/comfy/validation-state.json
@@ -408,10 +408,10 @@
"at": "2026-11-02T01:11:11.304Z"
},
"qwen-image-21-recolor": {
- "sha256": "770927631d3423d8c72a087ec1bcaf9c3ae421415fc398809f47a1921670099f",
+ "sha256": "c774489d3215d047d47e065b375c506c98ef9593f1c57953b67b86a8e3afdccd",
"validated": true,
"error": null,
- "at": "2026-11-02T09:12:49.843Z"
+ "at": "2026-11-03T08:03:14.171Z"
},
"qwen-image-2512-t2i": {
"sha256": "c18da4a3488120bdcee722e4ae7d187385544ec4805753e7dae6946ddb6f6ba5",
diff --git a/src/components/studio/result-actions.tsx b/src/components/studio/result-actions.tsx
index f7cf6b7d..576333a1 100644
--- a/src/components/studio/result-actions.tsx
+++ b/src/components/studio/result-actions.tsx
@@ -28,7 +28,6 @@ import {
MicOff,
UserX,
MoreHorizontal,
- Palette,
Pin,
Repeat,
RotateCcw,
diff --git a/src/lib/preset-before-after.generated.ts b/src/lib/preset-before-after.generated.ts
index 86ef5d9e..6c3dd06c 100644
--- a/src/lib/preset-before-after.generated.ts
+++ b/src/lib/preset-before-after.generated.ts
@@ -45,6 +45,7 @@ export const PRESET_BEFORE_AFTER: Record<string, string> = {
"app-sticker-pack": "338816db",
"app-style-snap": "4c8fdb8e",
"app-style-transfer": "3bedd5a5",
+ "app-tap-to-recolor": "c3264e2c",
"app-text-edit": "84d7797d",
"app-upscale": "69a94761",
"app-vectorize": "03816a24",
diff --git a/tests/preset-recipes.test.ts b/tests/preset-recipes.test.ts
index 675da793..228e3747 100644
--- a/tests/preset-recipes.test.ts
+++ b/tests/preset-recipes.test.ts
@@ -67,7 +67,7 @@ describe("which presets get a recipe", () => {
// Graded presets whose clip was graded afterwards and that have no recipe in the book.
const gradesWithoutRecipe = [...MOTIONS, ...EFFECTS].filter((x) => x.grade && !recipeKind(x));
expect(new Set(none.map((x) => x.id))).toEqual(new Set([...gradesWithoutRecipe.map((x) => x.id), ...OWN_ROUTE_APPS]));
- expect(none).toHaveLength(28);
+ expect(none).toHaveLength(29);
for (const x of none) for (const engine of ["open", "cloud"] as const) expect(presetRecipe(x, engine, inCatalog), x.id).toBeUndefined();
});
diff --git a/workflows/comfyui/manifest.json b/workflows/comfyui/manifest.json
index 637d45f7..ca75522d 100644
--- a/workflows/comfyui/manifest.json
+++ b/workflows/comfyui/manifest.json
@@ -12588,7 +12588,7 @@
"vramGb": 20,
"license": "Qwen Research License Agreement (Qwen-Image 2.1): NON-COMMERCIAL, research and evaluation only; Meta SAM License (SAM 3.1); AusBoss nodes MIT",
"validated": true,
- "notes": "Tap to Recolor: qwen-image-21-inpaint with the mask made in the graph from the taps by AusBoss Mask by Touch on core SAM 3.1. touches = the node's JSON {\"v\":1,\"items\":[{\"t\":\"name\",\"w\":word,\"x\":int,\"y\":int,\"op\":1|0}]} in the photo's pixels (src/lib/catalog/recolor.ts recolorTouches): each tap asks for the smallest thing of the piece's name under it (Jacket: jacket + clothing; Auto: clothing, bag, shoe, hat, scarf), a Leave out tap takes away a hand, arm, hair, belt, bag strap or necklace under it. SAM 3.1's point prompt alone (SAM3_Detect) returned the whole person on every GPU test, so taps go through names. If nothing is found the mask is empty and the photo comes back unchanged (if_nothing \"empty mask\"); free_vram unloads SAM before the repaint. -> GrowMask maskGrow (1) -> Crop For Inpaint (context 1.4, blend 2 px, multiple 32, 1.5 MP, bicubic: a tight paste, since a wider one showed a blotchy rim on flat studio backgrounds) -> GrowMask 16 on the crop's mask (the sampling mask: 8 left a thin line of the old colour along a draped neckline, smaller left old-colour specks at the edge) -> StringFormat \"{a} Keep everything else in the picture exactly the same.\" -> TextEncodeQwenImage21 with the crop as image 1 (resolution 0) -> VAEEncode + SetLatentNoiseMask -> QwenImage21Cache -> KSampler 20 steps, cfg 1, euler, simple (16 looked the same as 25 on the tests) -> SplitImageWithAlpha -> Stitch Inpaint (classic, colour match 0: a tone match would pull the new colour back). Outside the piece the photo is bit-identical. RTX 5090: about 32 s per colour warm at 1.5 MP (target_megapixels 1.0 + 16 steps: 19 s, slightly softer stripes), peak 23 GB. Prompt: \"Change the colour of <the piece> (Auto: the outfit) to <colour words (#hex)>. Keep its fabric, weave, folds, seams, stitching, sheen, print and shadows exactly as they are, so only the colour is new.\""
+ "notes": "Tap to Recolor: qwen-image-21-inpaint with the mask made in the graph from the taps by AusBoss Mask by Touch on core SAM 3.1. touches = the node's JSON {\"v\":1,\"items\":[{\"t\":\"name\",\"w\":word,\"x\":int,\"y\":int,\"op\":1|0}]} in the photo's pixels: each tap asks for the smallest thing of the piece's name under it (Jacket: jacket + clothing; Auto: clothing, bag, shoe, hat, scarf), a Leave out tap takes away a hand, arm, hair, belt, bag strap or necklace under it. SAM 3.1's point prompt alone (SAM3_Detect) returned the whole person on every GPU test, so taps go through names. If nothing is found the mask is empty and the photo comes back unchanged (if_nothing \"empty mask\"); free_vram unloads SAM before the repaint. -> GrowMask maskGrow (1) -> Crop For Inpaint (context 1.4, blend 2 px, multiple 32, 1.5 MP, bicubic: a tight paste, since a wider one showed a blotchy rim on flat studio backgrounds) -> GrowMask 16 on the crop's mask (the sampling mask: 8 left a thin line of the old colour along a draped neckline, smaller left old-colour specks at the edge) -> StringFormat \"{a} Keep everything else in the picture exactly the same.\" -> TextEncodeQwenImage21 with the crop as image 1 (resolution 0) -> VAEEncode + SetLatentNoiseMask -> QwenImage21Cache -> KSampler 20 steps, cfg 1, euler, simple (16 looked the same as 25 on the tests) -> SplitImageWithAlpha -> Stitch Inpaint (classic, colour match 0: a tone match would pull the new colour back). Outside the piece the photo is bit-identical. RTX 5090: about 32 s per colour warm at 1.5 MP (target_megapixels 1.0 + 16 steps: 19 s, slightly softer stripes), peak 23 GB. Prompt: \"Change the colour of <the piece> (Auto: the outfit) to <colour words (#hex)>. Keep its fabric, weave, folds, seams, stitching, sheen, print and shadows exactly as they are, so only the colour is new.\""
},
{
"id": "qwen-image-21-outpaint",