@nodetool-ai/websocket 0.8.4-a24.3 → 0.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.nodetool-build-stamp +1 -1
- package/dist/example-workflows.d.ts +2 -0
- package/dist/example-workflows.d.ts.map +1 -1
- package/dist/example-workflows.js +16 -4
- package/dist/example-workflows.js.map +1 -1
- package/dist/examples/nodetool-base/A Campaign Concept from a Brief.json +135 -0
- package/dist/examples/nodetool-base/A Gradient Card as PNG.json +128 -0
- package/dist/examples/nodetool-base/A Poster in Portrait.json +129 -0
- package/dist/examples/nodetool-base/A Repeating Texture Tile.json +129 -0
- package/dist/examples/nodetool-base/A Run Button for Any Job.json +152 -0
- package/dist/examples/nodetool-base/A Webhook That Answers.json +170 -0
- package/dist/examples/nodetool-base/AI Spokesperson.json +328 -0
- package/dist/examples/nodetool-base/Action Items from a Meeting Recording.json +198 -0
- package/dist/examples/nodetool-base/Ad Copy in Three Registers.json +135 -0
- package/dist/examples/nodetool-base/Ad Loop from a Product Photo.json +277 -0
- package/dist/examples/nodetool-base/Add Reverb to a Voice.json +125 -0
- package/dist/examples/nodetool-base/Album Art from a Mood.json +129 -0
- package/dist/examples/nodetool-base/Assemble a UGC Product Video.json +158 -0
- package/dist/examples/nodetool-base/Audio To Image.json +184 -0
- package/dist/examples/nodetool-base/B-Roll Reel from a Brief.json +339 -0
- package/dist/examples/nodetool-base/Batch a List.json +171 -0
- package/dist/examples/nodetool-base/Black and White, Hard.json +147 -0
- package/dist/examples/nodetool-base/Blog Post to Social Thread.json +135 -0
- package/dist/examples/nodetool-base/Blur a Channel.json +205 -0
- package/dist/examples/nodetool-base/Blur an Image.json +179 -0
- package/dist/examples/nodetool-base/Boost Saturation.json +178 -0
- package/dist/examples/nodetool-base/Brand Asset Generator.json +585 -0
- package/dist/examples/nodetool-base/Brand a UGC Product Video.json +402 -0
- package/dist/examples/nodetool-base/Bring a Still to Life.json +250 -0
- package/dist/examples/nodetool-base/Bullet Points to Press Release.json +135 -0
- package/dist/examples/nodetool-base/Chapter Markers for a Long Recording.json +198 -0
- package/dist/examples/nodetool-base/Chat With Your Documents.json +569 -0
- package/dist/examples/nodetool-base/Chunk a Transcript for Indexing.json +202 -0
- package/dist/examples/nodetool-base/Circles and Lines.json +126 -0
- package/dist/examples/nodetool-base/Clean Up a Rough Voice Recording.json +208 -0
- package/dist/examples/nodetool-base/Clip on Kie.json +173 -0
- package/dist/examples/nodetool-base/Cold Outreach Co-Pilot.json +423 -0
- package/dist/examples/nodetool-base/Color Boost Video.json +250 -0
- package/dist/examples/nodetool-base/Compose Directed Campaign Formats.json +764 -0
- package/dist/examples/nodetool-base/Concept Art Iteration Board.json +439 -0
- package/dist/examples/nodetool-base/Concept Art, Then a Moving Version.json +173 -0
- package/dist/examples/nodetool-base/Conditional Logic Engine.json +535 -0
- package/dist/examples/nodetool-base/Count a List.json +168 -0
- package/dist/examples/nodetool-base/Count to Three with a Loop.json +157 -0
- package/dist/examples/nodetool-base/Crop an Image.json +181 -0
- package/dist/examples/nodetool-base/Crop then Fit.json +208 -0
- package/dist/examples/nodetool-base/Crush It to 8 Bits.json +123 -0
- package/dist/examples/nodetool-base/Cut Out the Subject.json +184 -0
- package/dist/examples/nodetool-base/Cut a Landscape Clip for Vertical.json +123 -0
- package/dist/examples/nodetool-base/Cut a Product Out of Its Background.json +238 -0
- package/dist/examples/nodetool-base/Data Generator.json +216 -0
- package/dist/examples/nodetool-base/Denoise Footage.json +178 -0
- package/dist/examples/nodetool-base/Direct a Short Film.json +305 -0
- package/dist/examples/nodetool-base/Directed Film to Timeline.json +385 -0
- package/dist/examples/nodetool-base/Does This Text Mention the Deadline.json +130 -0
- package/dist/examples/nodetool-base/Draft Answers for an FAQ.json +135 -0
- package/dist/examples/nodetool-base/Draw a Badge in SVG.json +126 -0
- package/dist/examples/nodetool-base/Drop Duplicates.json +170 -0
- package/dist/examples/nodetool-base/Drop the First Few.json +148 -0
- package/dist/examples/nodetool-base/Dungeon and Ruins Starter Pack.json +786 -0
- package/dist/examples/nodetool-base/Edit a Still with Words.json +284 -0
- package/dist/examples/nodetool-base/Editorial Still from a Line.json +197 -0
- package/dist/examples/nodetool-base/Emboss a Still.json +120 -0
- package/dist/examples/nodetool-base/Every Combination.json +225 -0
- package/dist/examples/nodetool-base/Every Hour, On the Hour.json +162 -0
- package/dist/examples/nodetool-base/Executive Summary of a Long Document.json +135 -0
- package/dist/examples/nodetool-base/Explainer Clip from a Paragraph.json +244 -0
- package/dist/examples/nodetool-base/Extract the Claims Worth Checking.json +135 -0
- package/dist/examples/nodetool-base/Fade Audio In and Out.json +203 -0
- package/dist/examples/nodetool-base/Fade Audio Out.json +202 -0
- package/dist/examples/nodetool-base/Fill a Template.json +149 -0
- package/dist/examples/nodetool-base/Find Every Number in a Sentence.json +127 -0
- package/dist/examples/nodetool-base/Find and Replace.json +224 -0
- package/dist/examples/nodetool-base/Find the Edges.json +123 -0
- package/dist/examples/nodetool-base/Fit an Image.json +179 -0
- package/dist/examples/nodetool-base/Five Headlines for a Landing Page.json +135 -0
- package/dist/examples/nodetool-base/Flashcard Generator.json +297 -0
- package/dist/examples/nodetool-base/Gate Out the Room Noise.json +124 -0
- package/dist/examples/nodetool-base/Generate a Native-Audio UGC Testimonial.json +276 -0
- package/dist/examples/nodetool-base/Generate a Silent Bed.json +126 -0
- package/dist/examples/nodetool-base/Generate then Upscale a Poster.json +164 -0
- package/dist/examples/nodetool-base/Hacker News Agent.json +183 -0
- package/dist/examples/nodetool-base/Hook & Thumbnail Factory.json +498 -0
- package/dist/examples/nodetool-base/How Long Is This Transcript.json +185 -0
- package/dist/examples/nodetool-base/Image Enhance.json +272 -0
- package/dist/examples/nodetool-base/Image To Audio Story.json +180 -0
- package/dist/examples/nodetool-base/Image to Video Animation.json +346 -0
- package/dist/examples/nodetool-base/Inspect a Clip's Audio.json +187 -0
- package/dist/examples/nodetool-base/Inspect a Clip.json +163 -0
- package/dist/examples/nodetool-base/Invert a Still.json +120 -0
- package/dist/examples/nodetool-base/Keep Only the Long Lines.json +220 -0
- package/dist/examples/nodetool-base/Keep Only the Matches.json +148 -0
- package/dist/examples/nodetool-base/Key Out a Green Screen.json +124 -0
- package/dist/examples/nodetool-base/Last One Wins.json +144 -0
- package/dist/examples/nodetool-base/Lip-sync a Clip to a Voice Track.json +313 -0
- package/dist/examples/nodetool-base/Localise a Product Listing.json +135 -0
- package/dist/examples/nodetool-base/Localise a Script and Revoice It.json +242 -0
- package/dist/examples/nodetool-base/Localized Explainer.json +430 -0
- package/dist/examples/nodetool-base/Low-poly Adventure Starter Pack.json +786 -0
- package/dist/examples/nodetool-base/Low-poly Seaside Starter Pack.json +786 -0
- package/dist/examples/nodetool-base/Master a Voice Track.json +180 -0
- package/dist/examples/nodetool-base/Meeting Transcript Summarizer.json +524 -0
- package/dist/examples/nodetool-base/Model Arena.json +550 -0
- package/dist/examples/nodetool-base/Moodboard Frame from a Theme.json +129 -0
- package/dist/examples/nodetool-base/Movie Posters.json +660 -0
- package/dist/examples/nodetool-base/Movie Trailer Generator.json +418 -0
- package/dist/examples/nodetool-base/Music Video Visualizer.json +720 -0
- package/dist/examples/nodetool-base/Name a File from Its Narration.json +231 -0
- package/dist/examples/nodetool-base/Narrate a Script.json +169 -0
- package/dist/examples/nodetool-base/Narration with a Music Bed.json +360 -0
- package/dist/examples/nodetool-base/Normalize a Clip's Audio.json +201 -0
- package/dist/examples/nodetool-base/One Tagline, Six Markets.json +135 -0
- package/dist/examples/nodetool-base/Pad a Canvas.json +188 -0
- package/dist/examples/nodetool-base/Per-SKU Ad Factory.json +511 -0
- package/dist/examples/nodetool-base/Photo Enhancement Suite.json +417 -0
- package/dist/examples/nodetool-base/Picture in Picture.json +231 -0
- package/dist/examples/nodetool-base/Pitch a Voice Up.json +122 -0
- package/dist/examples/nodetool-base/Pixelate a Still.json +122 -0
- package/dist/examples/nodetool-base/Platformer Playground Starter Pack.json +786 -0
- package/dist/examples/nodetool-base/Podcast Episode to Show Notes.json +198 -0
- package/dist/examples/nodetool-base/Podcast Repurposing Studio.json +745 -0
- package/dist/examples/nodetool-base/Pokemon Maker.json +282 -0
- package/dist/examples/nodetool-base/Poster on Kie.json +172 -0
- package/dist/examples/nodetool-base/Posterize to Four Bits.json +122 -0
- package/dist/examples/nodetool-base/Private Assistant.json +236 -0
- package/dist/examples/nodetool-base/Product Mockup Generator.json +608 -0
- package/dist/examples/nodetool-base/Product Spot from Text.json +330 -0
- package/dist/examples/nodetool-base/Product Video Generator.json +344 -0
- package/dist/examples/nodetool-base/Prompt Template.json +221 -0
- package/dist/examples/nodetool-base/Propose Three Campaign Directions.json +614 -0
- package/dist/examples/nodetool-base/Pull a Field out of JSON Text.json +128 -0
- package/dist/examples/nodetool-base/Pull a Still from a Clip.json +179 -0
- package/dist/examples/nodetool-base/Pull the Quotable Lines Out of an Interview.json +198 -0
- package/dist/examples/nodetool-base/Put a Product on a Studio Backdrop.json +252 -0
- package/dist/examples/nodetool-base/Put a Voice Over a Music Bed.json +358 -0
- package/dist/examples/nodetool-base/README_EXAMPLES.md +59 -0
- package/dist/examples/nodetool-base/Re-delimit a List.json +199 -0
- package/dist/examples/nodetool-base/Read a Clip's Frame Rate.json +120 -0
- package/dist/examples/nodetool-base/Redact Email Addresses.json +129 -0
- package/dist/examples/nodetool-base/Redact and Tidy a Log Line.json +266 -0
- package/dist/examples/nodetool-base/Relight a Product for a Seasonal Campaign.json +131 -0
- package/dist/examples/nodetool-base/Render a Directed Campaign Hero.json +338 -0
- package/dist/examples/nodetool-base/Reopen a Directed Campaign.json +1748 -0
- package/dist/examples/nodetool-base/Research Agent.json +231 -0
- package/dist/examples/nodetool-base/Research a Brand from Its Website.json +445 -0
- package/dist/examples/nodetool-base/Restyle a Photo as an Illustration.json +136 -0
- package/dist/examples/nodetool-base/Reverse Audio.json +201 -0
- package/dist/examples/nodetool-base/Reverse a Clip.json +176 -0
- package/dist/examples/nodetool-base/Revise an Accepted Campaign Hero.json +486 -0
- package/dist/examples/nodetool-base/Rewrite This So a Customer Understands It.json +135 -0
- package/dist/examples/nodetool-base/Rotate Footage.json +178 -0
- package/dist/examples/nodetool-base/SEO Content Engine.json +708 -0
- package/dist/examples/nodetool-base/SEO Title and Meta Description.json +135 -0
- package/dist/examples/nodetool-base/Sci-fi Game Model Starter Pack.json +693 -0
- package/dist/examples/nodetool-base/Sci-fi Outpost Expansion.json +601 -0
- package/dist/examples/nodetool-base/Score a Clip from Its Own Mood.json +229 -0
- package/dist/examples/nodetool-base/Score a Silent Clip.json +382 -0
- package/dist/examples/nodetool-base/Script to Narrated Clip.json +224 -0
- package/dist/examples/nodetool-base/Script to Screen.json +940 -0
- package/dist/examples/nodetool-base/Sharpen Footage.json +179 -0
- package/dist/examples/nodetool-base/Shot List from a Synopsis.json +136 -0
- package/dist/examples/nodetool-base/Single Shot from a Line.json +199 -0
- package/dist/examples/nodetool-base/Slice Text.json +159 -0
- package/dist/examples/nodetool-base/Slow a Clip Without Dropping Pitch.json +122 -0
- package/dist/examples/nodetool-base/Soften a Plate.json +178 -0
- package/dist/examples/nodetool-base/Solarize a Still.json +122 -0
- package/dist/examples/nodetool-base/Speak a Line, Then Trim the Silence.json +157 -0
- package/dist/examples/nodetool-base/Spin a Packshot into a Turntable Clip.json +137 -0
- package/dist/examples/nodetool-base/Split a Channel.json +178 -0
- package/dist/examples/nodetool-base/Split a Log into Records.json +128 -0
- package/dist/examples/nodetool-base/Stabilize Handheld.json +179 -0
- package/dist/examples/nodetool-base/Still on Replicate.json +172 -0
- package/dist/examples/nodetool-base/Subject Lines Worth Testing.json +135 -0
- package/dist/examples/nodetool-base/Subtitle Lines from a Script.json +170 -0
- package/dist/examples/nodetool-base/Subtitle Text from a Recording.json +198 -0
- package/dist/examples/nodetool-base/Summarise a Recorded Call.json +198 -0
- package/dist/examples/nodetool-base/Swirl and Echo.json +154 -0
- package/dist/examples/nodetool-base/Take While the Numbers Are Small.json +148 -0
- package/dist/examples/nodetool-base/Take a Product Shot to Print Resolution.json +209 -0
- package/dist/examples/nodetool-base/Take the First Few Seconds of a Bed.json +127 -0
- package/dist/examples/nodetool-base/Take the First Few.json +170 -0
- package/dist/examples/nodetool-base/Telephone Voice.json +174 -0
- package/dist/examples/nodetool-base/Themes Across Customer Feedback.json +135 -0
- package/dist/examples/nodetool-base/Three Ratios.json +315 -0
- package/dist/examples/nodetool-base/Tidy Up Messy Text.json +199 -0
- package/dist/examples/nodetool-base/Top-down Native Asset Pack.json +955 -0
- package/dist/examples/nodetool-base/Trailer Beats from a Premise.json +136 -0
- package/dist/examples/nodetool-base/Transcribe Audio.json +138 -0
- package/dist/examples/nodetool-base/Transcribe a Clip.json +198 -0
- package/dist/examples/nodetool-base/Translate Marketing Copy to German.json +135 -0
- package/dist/examples/nodetool-base/Translate a Script for Dubbing.json +224 -0
- package/dist/examples/nodetool-base/Trim Audio to a Range.json +203 -0
- package/dist/examples/nodetool-base/Trim a Blurb to Length.json +128 -0
- package/dist/examples/nodetool-base/Trim a Clip.json +180 -0
- package/dist/examples/nodetool-base/Turn Research Notes into a Comparison Table.json +136 -0
- package/dist/examples/nodetool-base/Turn Specs into Product Copy.json +135 -0
- package/dist/examples/nodetool-base/Turn a Changelog into Release Notes.json +135 -0
- package/dist/examples/nodetool-base/Turn a Logo into Print-Ready Vector.json +126 -0
- package/dist/examples/nodetool-base/Turn a Support Thread into a Bug Report.json +135 -0
- package/dist/examples/nodetool-base/Turn a Talk into a Blog Post.json +198 -0
- package/dist/examples/nodetool-base/Upscale a Still.json +186 -0
- package/dist/examples/nodetool-base/Vectorize a Generated Logo.json +162 -0
- package/dist/examples/nodetool-base/Video Restyle Studio.json +281 -0
- package/dist/examples/nodetool-base/Vignette a Portrait.json +124 -0
- package/dist/examples/nodetool-base/Voice a Script in Two Voices.json +217 -0
- package/dist/examples/nodetool-base/Warm Up a Cold Clip.json +124 -0
- package/dist/examples/nodetool-base/Watch a Folder, Act on What Lands.json +177 -0
- package/dist/examples/nodetool-base/Widen a Mono Voice.json +151 -0
- package/dist/examples/nodetool-base/Workflow As A Tool.json +257 -0
- package/dist/examples/nodetool-base/Write a Listing from the Product Photo.json +139 -0
- package/dist/examples/nodetool-base/Write the Prompt, Then Make the Image.json +200 -0
- package/dist/examples/nodetool-base/gallery_thumbnail_generator.ts +384 -0
- package/dist/fake-runtime.d.ts.map +1 -1
- package/dist/fake-runtime.js +5 -1
- package/dist/fake-runtime.js.map +1 -1
- package/dist/http-api.d.ts.map +1 -1
- package/dist/http-api.js +20 -3
- package/dist/http-api.js.map +1 -1
- package/dist/lib/openverse.d.ts +47 -0
- package/dist/lib/openverse.d.ts.map +1 -0
- package/dist/lib/openverse.js +255 -0
- package/dist/lib/openverse.js.map +1 -0
- package/dist/model-execution-availability.d.ts.map +1 -1
- package/dist/model-execution-availability.js +7 -2
- package/dist/model-execution-availability.js.map +1 -1
- package/dist/screenshot-server.js +87 -49
- package/dist/screenshot-server.js.map +1 -1
- package/dist/trpc/router.d.ts +2 -0
- package/dist/trpc/router.d.ts.map +1 -1
- package/dist/trpc/router.js +2 -0
- package/dist/trpc/router.js.map +1 -1
- package/dist/trpc/routers/games.d.ts +179 -0
- package/dist/trpc/routers/games.d.ts.map +1 -1
- package/dist/trpc/routers/games.js +1 -1
- package/dist/trpc/routers/games.js.map +1 -1
- package/dist/trpc/routers/models.d.ts +270 -0
- package/dist/trpc/routers/models.d.ts.map +1 -1
- package/dist/trpc/routers/models.js +37 -19
- package/dist/trpc/routers/models.js.map +1 -1
- package/dist/trpc/routers/openverse.d.ts +91 -0
- package/dist/trpc/routers/openverse.d.ts.map +1 -0
- package/dist/trpc/routers/openverse.js +98 -0
- package/dist/trpc/routers/openverse.js.map +1 -0
- package/dist/trpc/sandbox-coverage.d.ts.map +1 -1
- package/dist/trpc/sandbox-coverage.js +11 -0
- package/dist/trpc/sandbox-coverage.js.map +1 -1
- package/dist/websocket-client-session.d.ts +8 -0
- package/dist/websocket-client-session.d.ts.map +1 -1
- package/dist/websocket-client-session.js +31 -1
- package/dist/websocket-client-session.js.map +1 -1
- package/package.json +27 -28
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "",
|
|
3
|
+
"access": "private",
|
|
4
|
+
"created_at": "2026-07-30T16:00:00.000Z",
|
|
5
|
+
"updated_at": "2026-07-30T16:00:00.000Z",
|
|
6
|
+
"name": "Put a Product on a Studio Backdrop",
|
|
7
|
+
"tool_name": null,
|
|
8
|
+
"description": "Remove the background, soften the cutout edge, and place the product in a new studio scene.",
|
|
9
|
+
"tags": [
|
|
10
|
+
"image",
|
|
11
|
+
"example"
|
|
12
|
+
],
|
|
13
|
+
"thumbnail": null,
|
|
14
|
+
"thumbnail_url": null,
|
|
15
|
+
"graph": {
|
|
16
|
+
"nodes": [
|
|
17
|
+
{
|
|
18
|
+
"id": "intro-comment",
|
|
19
|
+
"type": "nodetool.workflows.base_node.Comment",
|
|
20
|
+
"data": {
|
|
21
|
+
"comment": "# Put a Product on a Studio Backdrop\n\nCuts a product out of its photo and places it in a new studio scene. Use it to restyle product shots without a reshoot.\n\n**How it works:** \"Photo\" goes to \"Cut out\", which removes the background. \"Soften cutout edge\" blurs the mask by the \"Edge softness\" value, and \"Keep product detail\" puts that softer mask back on the product. \"Place on backdrop\" generates a concrete plinth scene around it, and \"Result\" shows the image.\n\n**Try this:** Pick a model on \"Place on backdrop\", then change its prompt to \"white marble countertop, morning window light\"."
|
|
22
|
+
},
|
|
23
|
+
"ui_properties": {
|
|
24
|
+
"position": {
|
|
25
|
+
"x": 0,
|
|
26
|
+
"y": 0
|
|
27
|
+
},
|
|
28
|
+
"zIndex": 0,
|
|
29
|
+
"width": 560,
|
|
30
|
+
"selectable": true,
|
|
31
|
+
"height": 286
|
|
32
|
+
},
|
|
33
|
+
"dynamic_properties": {},
|
|
34
|
+
"dynamic_outputs": {}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"id": "in",
|
|
38
|
+
"type": "nodetool.input.ImageInput",
|
|
39
|
+
"data": {
|
|
40
|
+
"name": "photo",
|
|
41
|
+
"value": {
|
|
42
|
+
"type": "image",
|
|
43
|
+
"uri": "package://nodetool-base/recipe-inputs/coffee.jpg"
|
|
44
|
+
},
|
|
45
|
+
"description": "The product photo"
|
|
46
|
+
},
|
|
47
|
+
"ui_properties": {
|
|
48
|
+
"position": {
|
|
49
|
+
"x": 0,
|
|
50
|
+
"y": 366
|
|
51
|
+
},
|
|
52
|
+
"zIndex": 0,
|
|
53
|
+
"width": 300,
|
|
54
|
+
"selectable": true,
|
|
55
|
+
"title": "1 Photo"
|
|
56
|
+
},
|
|
57
|
+
"dynamic_properties": {},
|
|
58
|
+
"dynamic_outputs": {}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "bg",
|
|
62
|
+
"type": "nodetool.image.RemoveBackground",
|
|
63
|
+
"data": {
|
|
64
|
+
"model": {
|
|
65
|
+
"type": "image_model",
|
|
66
|
+
"provider": "",
|
|
67
|
+
"id": "",
|
|
68
|
+
"name": "",
|
|
69
|
+
"path": null,
|
|
70
|
+
"supported_tasks": []
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"ui_properties": {
|
|
74
|
+
"position": {
|
|
75
|
+
"x": 400,
|
|
76
|
+
"y": 441
|
|
77
|
+
},
|
|
78
|
+
"zIndex": 0,
|
|
79
|
+
"width": 300,
|
|
80
|
+
"selectable": true,
|
|
81
|
+
"title": "2 Cut out"
|
|
82
|
+
},
|
|
83
|
+
"dynamic_properties": {},
|
|
84
|
+
"dynamic_outputs": {}
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"id": "comp",
|
|
88
|
+
"type": "nodetool.image.ImageToImage",
|
|
89
|
+
"data": {
|
|
90
|
+
"model": {
|
|
91
|
+
"type": "image_model",
|
|
92
|
+
"provider": "",
|
|
93
|
+
"id": "",
|
|
94
|
+
"name": "",
|
|
95
|
+
"path": null,
|
|
96
|
+
"supported_tasks": []
|
|
97
|
+
},
|
|
98
|
+
"image": [],
|
|
99
|
+
"prompt": "Keep the product as it is. Change only what is around it: warm concrete plinth, soft studio key from upper left, blurred background.",
|
|
100
|
+
"negative_prompt": "",
|
|
101
|
+
"entities": [],
|
|
102
|
+
"aspect_ratio": "1:1",
|
|
103
|
+
"resolution": "1K"
|
|
104
|
+
},
|
|
105
|
+
"ui_properties": {
|
|
106
|
+
"position": {
|
|
107
|
+
"x": 1600,
|
|
108
|
+
"y": 459
|
|
109
|
+
},
|
|
110
|
+
"zIndex": 0,
|
|
111
|
+
"width": 300,
|
|
112
|
+
"selectable": true,
|
|
113
|
+
"title": "3 Place on backdrop"
|
|
114
|
+
},
|
|
115
|
+
"dynamic_properties": {},
|
|
116
|
+
"dynamic_outputs": {}
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"id": "out",
|
|
120
|
+
"type": "nodetool.output.Output",
|
|
121
|
+
"data": {
|
|
122
|
+
"name": "styled"
|
|
123
|
+
},
|
|
124
|
+
"ui_properties": {
|
|
125
|
+
"position": {
|
|
126
|
+
"x": 2000,
|
|
127
|
+
"y": 468
|
|
128
|
+
},
|
|
129
|
+
"zIndex": 0,
|
|
130
|
+
"width": 300,
|
|
131
|
+
"selectable": true,
|
|
132
|
+
"title": "4 Result"
|
|
133
|
+
},
|
|
134
|
+
"dynamic_properties": {},
|
|
135
|
+
"dynamic_outputs": {}
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"id": "edge-softness",
|
|
139
|
+
"type": "nodetool.input.FloatInput",
|
|
140
|
+
"data": {
|
|
141
|
+
"name": "edge_softness",
|
|
142
|
+
"value": 1,
|
|
143
|
+
"min": 0,
|
|
144
|
+
"max": 3,
|
|
145
|
+
"description": "Edge softness in pixels. Set to 0 for the original cutout."
|
|
146
|
+
},
|
|
147
|
+
"ui_properties": {
|
|
148
|
+
"position": {
|
|
149
|
+
"x": 0,
|
|
150
|
+
"y": 590
|
|
151
|
+
},
|
|
152
|
+
"width": 300,
|
|
153
|
+
"title": "Edge softness"
|
|
154
|
+
},
|
|
155
|
+
"dynamic_properties": {},
|
|
156
|
+
"dynamic_outputs": {}
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"id": "soften-alpha",
|
|
160
|
+
"type": "lib.image.filter.GaussianBlur",
|
|
161
|
+
"data": {
|
|
162
|
+
"radius": 1,
|
|
163
|
+
"sigma": 0
|
|
164
|
+
},
|
|
165
|
+
"ui_properties": {
|
|
166
|
+
"position": {
|
|
167
|
+
"x": 800,
|
|
168
|
+
"y": 455
|
|
169
|
+
},
|
|
170
|
+
"width": 300,
|
|
171
|
+
"title": "Soften cutout edge"
|
|
172
|
+
},
|
|
173
|
+
"dynamic_properties": {},
|
|
174
|
+
"dynamic_outputs": {}
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"id": "refine-cutout",
|
|
178
|
+
"type": "lib.image.channel.Merge",
|
|
179
|
+
"data": {
|
|
180
|
+
"alpha_channel": 3
|
|
181
|
+
},
|
|
182
|
+
"ui_properties": {
|
|
183
|
+
"position": {
|
|
184
|
+
"x": 1200,
|
|
185
|
+
"y": 465
|
|
186
|
+
},
|
|
187
|
+
"width": 300,
|
|
188
|
+
"title": "Keep product detail"
|
|
189
|
+
},
|
|
190
|
+
"dynamic_properties": {},
|
|
191
|
+
"dynamic_outputs": {}
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
"edges": [
|
|
195
|
+
{
|
|
196
|
+
"id": "e1",
|
|
197
|
+
"source": "in",
|
|
198
|
+
"sourceHandle": "output",
|
|
199
|
+
"target": "bg",
|
|
200
|
+
"targetHandle": "image"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"id": "e3",
|
|
204
|
+
"source": "comp",
|
|
205
|
+
"sourceHandle": "output",
|
|
206
|
+
"target": "out",
|
|
207
|
+
"targetHandle": "value"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"id": "bg-soften-alpha-image",
|
|
211
|
+
"source": "bg",
|
|
212
|
+
"sourceHandle": "output",
|
|
213
|
+
"target": "soften-alpha",
|
|
214
|
+
"targetHandle": "image"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"id": "edge-softness-soften-alpha-radius",
|
|
218
|
+
"source": "edge-softness",
|
|
219
|
+
"sourceHandle": "output",
|
|
220
|
+
"target": "soften-alpha",
|
|
221
|
+
"targetHandle": "radius"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"id": "bg-refine-cutout-image",
|
|
225
|
+
"source": "bg",
|
|
226
|
+
"sourceHandle": "output",
|
|
227
|
+
"target": "refine-cutout",
|
|
228
|
+
"targetHandle": "image"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"id": "soften-alpha-refine-cutout-alpha",
|
|
232
|
+
"source": "soften-alpha",
|
|
233
|
+
"sourceHandle": "output",
|
|
234
|
+
"target": "refine-cutout",
|
|
235
|
+
"targetHandle": "alpha"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"id": "e2",
|
|
239
|
+
"source": "refine-cutout",
|
|
240
|
+
"sourceHandle": "output",
|
|
241
|
+
"target": "comp",
|
|
242
|
+
"targetHandle": "image"
|
|
243
|
+
}
|
|
244
|
+
]
|
|
245
|
+
},
|
|
246
|
+
"input_schema": null,
|
|
247
|
+
"output_schema": null,
|
|
248
|
+
"settings": null,
|
|
249
|
+
"package_name": "nodetool-base",
|
|
250
|
+
"path": null,
|
|
251
|
+
"run_mode": null
|
|
252
|
+
}
|
|
@@ -0,0 +1,358 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "",
|
|
3
|
+
"access": "private",
|
|
4
|
+
"created_at": "2026-07-30T12:00:00.000Z",
|
|
5
|
+
"updated_at": "2026-07-30T12:00:00.000Z",
|
|
6
|
+
"name": "Put a Voice Over a Music Bed",
|
|
7
|
+
"tool_name": null,
|
|
8
|
+
"description": "Voice a script over a quiet music bed. Match the music to the voiceover and fade the start and finish.",
|
|
9
|
+
"tags": [
|
|
10
|
+
"audio",
|
|
11
|
+
"example"
|
|
12
|
+
],
|
|
13
|
+
"thumbnail": null,
|
|
14
|
+
"thumbnail_url": null,
|
|
15
|
+
"graph": {
|
|
16
|
+
"nodes": [
|
|
17
|
+
{
|
|
18
|
+
"id": "intro-comment",
|
|
19
|
+
"type": "nodetool.workflows.base_node.Comment",
|
|
20
|
+
"data": {
|
|
21
|
+
"comment": "# Put a Voice Over a Music Bed\n\nVoices a one-line script and mixes it over a generated music bed. Use it to make a short audio spot.\n\n**How it works:** \"Voice\" reads the \"Script\". \"Normalize\" and a \"Gain\" of -3 dB set the voice level, and \"GetAudioInfo\" measures its length. \"Music bed\" generates music, which \"Trim\" cuts to that length. A \"Gain\" of -18 dB, \"FadeIn\" and \"FadeOut\" place it under the voice. \"Overlay\" mixes both into the \"Spot\".\n\n**Try this:** Pick models on \"Voice\" and \"Music bed\", then rewrite \"Script\" with your own tagline."
|
|
22
|
+
},
|
|
23
|
+
"ui_properties": {
|
|
24
|
+
"position": {
|
|
25
|
+
"x": 0,
|
|
26
|
+
"y": 0
|
|
27
|
+
},
|
|
28
|
+
"zIndex": 0,
|
|
29
|
+
"width": 560,
|
|
30
|
+
"selectable": true,
|
|
31
|
+
"height": 286
|
|
32
|
+
},
|
|
33
|
+
"dynamic_properties": {},
|
|
34
|
+
"dynamic_outputs": {}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"id": "t",
|
|
38
|
+
"type": "nodetool.constant.String",
|
|
39
|
+
"data": {
|
|
40
|
+
"value": "Built for people who would rather ship than configure."
|
|
41
|
+
},
|
|
42
|
+
"ui_properties": {
|
|
43
|
+
"position": {
|
|
44
|
+
"x": 0,
|
|
45
|
+
"y": 615
|
|
46
|
+
},
|
|
47
|
+
"zIndex": 0,
|
|
48
|
+
"width": 280,
|
|
49
|
+
"selectable": true,
|
|
50
|
+
"title": "1 Script"
|
|
51
|
+
},
|
|
52
|
+
"dynamic_properties": {},
|
|
53
|
+
"dynamic_outputs": {}
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"id": "tts",
|
|
57
|
+
"type": "nodetool.audio.TextToSpeech",
|
|
58
|
+
"data": {
|
|
59
|
+
"model": {
|
|
60
|
+
"type": "tts_model",
|
|
61
|
+
"provider": "",
|
|
62
|
+
"id": "",
|
|
63
|
+
"name": "",
|
|
64
|
+
"path": null,
|
|
65
|
+
"voices": [],
|
|
66
|
+
"selected_voice": ""
|
|
67
|
+
},
|
|
68
|
+
"text": "",
|
|
69
|
+
"speed": 1.0
|
|
70
|
+
},
|
|
71
|
+
"ui_properties": {
|
|
72
|
+
"position": {
|
|
73
|
+
"x": 380,
|
|
74
|
+
"y": 567
|
|
75
|
+
},
|
|
76
|
+
"zIndex": 0,
|
|
77
|
+
"width": 280,
|
|
78
|
+
"selectable": true,
|
|
79
|
+
"title": "2 Voice"
|
|
80
|
+
},
|
|
81
|
+
"dynamic_properties": {},
|
|
82
|
+
"dynamic_outputs": {}
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"id": "mus",
|
|
86
|
+
"type": "nodetool.audio.TextToMusic",
|
|
87
|
+
"data": {
|
|
88
|
+
"model": {
|
|
89
|
+
"type": "music_model",
|
|
90
|
+
"provider": "",
|
|
91
|
+
"id": "",
|
|
92
|
+
"name": "",
|
|
93
|
+
"path": null
|
|
94
|
+
},
|
|
95
|
+
"prompt": "calm ambient pad, no drums, soft and unobtrusive",
|
|
96
|
+
"lyrics": "",
|
|
97
|
+
"duration": 8.0
|
|
98
|
+
},
|
|
99
|
+
"ui_properties": {
|
|
100
|
+
"position": {
|
|
101
|
+
"x": 1140,
|
|
102
|
+
"y": 596
|
|
103
|
+
},
|
|
104
|
+
"zIndex": 0,
|
|
105
|
+
"width": 280,
|
|
106
|
+
"selectable": true,
|
|
107
|
+
"title": "3 Music bed"
|
|
108
|
+
},
|
|
109
|
+
"dynamic_properties": {},
|
|
110
|
+
"dynamic_outputs": {}
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"id": "ov",
|
|
114
|
+
"type": "nodetool.audio.OverlayAudio",
|
|
115
|
+
"data": {},
|
|
116
|
+
"ui_properties": {
|
|
117
|
+
"position": {
|
|
118
|
+
"x": 3040,
|
|
119
|
+
"y": 473
|
|
120
|
+
},
|
|
121
|
+
"zIndex": 0,
|
|
122
|
+
"width": 280,
|
|
123
|
+
"selectable": true,
|
|
124
|
+
"title": "4 Overlay"
|
|
125
|
+
},
|
|
126
|
+
"dynamic_properties": {},
|
|
127
|
+
"dynamic_outputs": {},
|
|
128
|
+
"sync_mode": "on_all"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"id": "out",
|
|
132
|
+
"type": "nodetool.output.Output",
|
|
133
|
+
"data": {
|
|
134
|
+
"name": "spot"
|
|
135
|
+
},
|
|
136
|
+
"ui_properties": {
|
|
137
|
+
"position": {
|
|
138
|
+
"x": 3420,
|
|
139
|
+
"y": 482
|
|
140
|
+
},
|
|
141
|
+
"zIndex": 0,
|
|
142
|
+
"width": 280,
|
|
143
|
+
"selectable": true,
|
|
144
|
+
"title": "5 Spot"
|
|
145
|
+
},
|
|
146
|
+
"dynamic_properties": {},
|
|
147
|
+
"dynamic_outputs": {}
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"id": "voice-level",
|
|
151
|
+
"type": "nodetool.audio.Normalize",
|
|
152
|
+
"data": {},
|
|
153
|
+
"ui_properties": {
|
|
154
|
+
"position": {
|
|
155
|
+
"x": 760,
|
|
156
|
+
"y": 649
|
|
157
|
+
},
|
|
158
|
+
"width": 280
|
|
159
|
+
},
|
|
160
|
+
"dynamic_properties": {},
|
|
161
|
+
"dynamic_outputs": {},
|
|
162
|
+
"sync_mode": "on_all"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"id": "voice-headroom",
|
|
166
|
+
"type": "lib.audio.Gain",
|
|
167
|
+
"data": {
|
|
168
|
+
"gain_db": -3
|
|
169
|
+
},
|
|
170
|
+
"ui_properties": {
|
|
171
|
+
"position": {
|
|
172
|
+
"x": 1140,
|
|
173
|
+
"y": 366
|
|
174
|
+
},
|
|
175
|
+
"width": 280
|
|
176
|
+
},
|
|
177
|
+
"dynamic_properties": {},
|
|
178
|
+
"dynamic_outputs": {},
|
|
179
|
+
"sync_mode": "on_all"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"id": "voice-length",
|
|
183
|
+
"type": "nodetool.audio.GetAudioInfo",
|
|
184
|
+
"data": {},
|
|
185
|
+
"ui_properties": {
|
|
186
|
+
"position": {
|
|
187
|
+
"x": 1140,
|
|
188
|
+
"y": 913
|
|
189
|
+
},
|
|
190
|
+
"width": 280
|
|
191
|
+
},
|
|
192
|
+
"dynamic_properties": {},
|
|
193
|
+
"dynamic_outputs": {},
|
|
194
|
+
"sync_mode": "on_all"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"id": "music-trim",
|
|
198
|
+
"type": "nodetool.audio.Trim",
|
|
199
|
+
"data": {
|
|
200
|
+
"start": 0
|
|
201
|
+
},
|
|
202
|
+
"ui_properties": {
|
|
203
|
+
"position": {
|
|
204
|
+
"x": 1520,
|
|
205
|
+
"y": 744
|
|
206
|
+
},
|
|
207
|
+
"width": 280
|
|
208
|
+
},
|
|
209
|
+
"dynamic_properties": {},
|
|
210
|
+
"dynamic_outputs": {},
|
|
211
|
+
"sync_mode": "on_all"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"id": "music-level",
|
|
215
|
+
"type": "lib.audio.Gain",
|
|
216
|
+
"data": {
|
|
217
|
+
"gain_db": -18
|
|
218
|
+
},
|
|
219
|
+
"ui_properties": {
|
|
220
|
+
"position": {
|
|
221
|
+
"x": 1900,
|
|
222
|
+
"y": 636
|
|
223
|
+
},
|
|
224
|
+
"width": 280
|
|
225
|
+
},
|
|
226
|
+
"dynamic_properties": {},
|
|
227
|
+
"dynamic_outputs": {},
|
|
228
|
+
"sync_mode": "on_all"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"id": "music-start",
|
|
232
|
+
"type": "nodetool.audio.FadeIn",
|
|
233
|
+
"data": {
|
|
234
|
+
"duration": 0.2
|
|
235
|
+
},
|
|
236
|
+
"ui_properties": {
|
|
237
|
+
"position": {
|
|
238
|
+
"x": 2280,
|
|
239
|
+
"y": 636
|
|
240
|
+
},
|
|
241
|
+
"width": 280
|
|
242
|
+
},
|
|
243
|
+
"dynamic_properties": {},
|
|
244
|
+
"dynamic_outputs": {},
|
|
245
|
+
"sync_mode": "on_all"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"id": "music-end",
|
|
249
|
+
"type": "nodetool.audio.FadeOut",
|
|
250
|
+
"data": {
|
|
251
|
+
"duration": 0.6
|
|
252
|
+
},
|
|
253
|
+
"ui_properties": {
|
|
254
|
+
"position": {
|
|
255
|
+
"x": 2660,
|
|
256
|
+
"y": 582
|
|
257
|
+
},
|
|
258
|
+
"width": 280
|
|
259
|
+
},
|
|
260
|
+
"dynamic_properties": {},
|
|
261
|
+
"dynamic_outputs": {},
|
|
262
|
+
"sync_mode": "on_all"
|
|
263
|
+
}
|
|
264
|
+
],
|
|
265
|
+
"edges": [
|
|
266
|
+
{
|
|
267
|
+
"id": "e1",
|
|
268
|
+
"source": "t",
|
|
269
|
+
"sourceHandle": "output",
|
|
270
|
+
"target": "tts",
|
|
271
|
+
"targetHandle": "text"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"id": "e4",
|
|
275
|
+
"source": "ov",
|
|
276
|
+
"sourceHandle": "output",
|
|
277
|
+
"target": "out",
|
|
278
|
+
"targetHandle": "value"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"id": "tts-voice-level",
|
|
282
|
+
"source": "tts",
|
|
283
|
+
"sourceHandle": "audio",
|
|
284
|
+
"target": "voice-level",
|
|
285
|
+
"targetHandle": "audio"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"id": "voice-level-voice-headroom",
|
|
289
|
+
"source": "voice-level",
|
|
290
|
+
"sourceHandle": "output",
|
|
291
|
+
"target": "voice-headroom",
|
|
292
|
+
"targetHandle": "audio"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"id": "voice-level-voice-length",
|
|
296
|
+
"source": "voice-level",
|
|
297
|
+
"sourceHandle": "output",
|
|
298
|
+
"target": "voice-length",
|
|
299
|
+
"targetHandle": "audio"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"id": "voice-headroom-ov",
|
|
303
|
+
"source": "voice-headroom",
|
|
304
|
+
"sourceHandle": "output",
|
|
305
|
+
"target": "ov",
|
|
306
|
+
"targetHandle": "a"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"id": "mus-music-trim",
|
|
310
|
+
"source": "mus",
|
|
311
|
+
"sourceHandle": "audio",
|
|
312
|
+
"target": "music-trim",
|
|
313
|
+
"targetHandle": "audio"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"id": "voice-length-music-trim",
|
|
317
|
+
"source": "voice-length",
|
|
318
|
+
"sourceHandle": "duration",
|
|
319
|
+
"target": "music-trim",
|
|
320
|
+
"targetHandle": "end"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"id": "music-trim-music-level",
|
|
324
|
+
"source": "music-trim",
|
|
325
|
+
"sourceHandle": "output",
|
|
326
|
+
"target": "music-level",
|
|
327
|
+
"targetHandle": "audio"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"id": "music-level-music-start",
|
|
331
|
+
"source": "music-level",
|
|
332
|
+
"sourceHandle": "output",
|
|
333
|
+
"target": "music-start",
|
|
334
|
+
"targetHandle": "audio"
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"id": "music-start-music-end",
|
|
338
|
+
"source": "music-start",
|
|
339
|
+
"sourceHandle": "output",
|
|
340
|
+
"target": "music-end",
|
|
341
|
+
"targetHandle": "audio"
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"id": "music-end-ov",
|
|
345
|
+
"source": "music-end",
|
|
346
|
+
"sourceHandle": "output",
|
|
347
|
+
"target": "ov",
|
|
348
|
+
"targetHandle": "b"
|
|
349
|
+
}
|
|
350
|
+
]
|
|
351
|
+
},
|
|
352
|
+
"input_schema": null,
|
|
353
|
+
"output_schema": null,
|
|
354
|
+
"settings": null,
|
|
355
|
+
"package_name": "nodetool-base",
|
|
356
|
+
"path": null,
|
|
357
|
+
"run_mode": null
|
|
358
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# nodetool-base Example Workflows
|
|
2
|
+
|
|
3
|
+
Every `*.json` in this directory is a shipped example workflow. They are loaded
|
|
4
|
+
into the in-app gallery, exposed to agents through `get_example_workflow`, and
|
|
5
|
+
generate the public template pages under `marketing/src/routes/templates`.
|
|
6
|
+
|
|
7
|
+
Because each file becomes a gallery card and a public page, a new example has to
|
|
8
|
+
earn its place. The bar:
|
|
9
|
+
|
|
10
|
+
- **It does work.** A graph whose only nodes are a constant and an output
|
|
11
|
+
teaches nothing the node reference does not.
|
|
12
|
+
- **It is not a re-skin.** If an existing example has the same node types and
|
|
13
|
+
the same configuration, and only the prompt or the port names differ, edit
|
|
14
|
+
that one instead of adding a second.
|
|
15
|
+
- **The description stands alone.** Under 80 characters and the marketing
|
|
16
|
+
generator marks the page `indexable: false`. Say what the graph does and why
|
|
17
|
+
the settings are what they are.
|
|
18
|
+
- **A thumbnail exists.** `packages/base-nodes/nodetool/assets/nodetool-base/<name>.jpg`,
|
|
19
|
+
matched by workflow name. A missing thumbnail also drops the page from the
|
|
20
|
+
index.
|
|
21
|
+
|
|
22
|
+
## Validating
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
npm run dev:nodetool -- validate "packages/base-nodes/nodetool/examples/nodetool-base/<name>.json"
|
|
26
|
+
npm run test --workspace=packages/base-nodes # example-workflows-validation, *-examples-run
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
`packages/base-nodes/tests/example-workflows-validation.test.ts` checks every
|
|
30
|
+
file here against the live node registry — unknown node types, missing
|
|
31
|
+
properties and dangling edges fail the suite.
|
|
32
|
+
|
|
33
|
+
## After adding or removing a workflow
|
|
34
|
+
|
|
35
|
+
The marketing catalog is generated and CI fails when it is stale:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
cd marketing && npm run gen:templates # regenerates templateEntries.generated.ts + public/templates
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Thumbnails
|
|
42
|
+
|
|
43
|
+
`gallery_thumbnail_generator.ts` walks every `*.json` here, asks an LLM for an
|
|
44
|
+
icon concept from the workflow's name, description, tags and node types, then
|
|
45
|
+
renders it with FLUX.2 [klein] on fal.ai. Tint follows the gallery category
|
|
46
|
+
(Image=violet, Video=magenta, Audio=amber, Multimodal=cyan, Agents=blue,
|
|
47
|
+
Data & Web=green), mirroring `web/src/utils/templateCategories.ts`. Masters land
|
|
48
|
+
as PNG in `../../assets/nodetool-base/`; `scripts/convert-thumbnails.ts` encodes
|
|
49
|
+
the served 1280×720 `.jpg` cards.
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
# from repo root — only missing masters by default
|
|
53
|
+
npx tsx packages/base-nodes/nodetool/examples/nodetool-base/gallery_thumbnail_generator.ts
|
|
54
|
+
# --all regenerate every workflow
|
|
55
|
+
# --only "Color" regenerate workflows whose name matches
|
|
56
|
+
npx tsx packages/base-nodes/scripts/convert-thumbnails.ts
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Requires `OPENAI_API_KEY` and `FAL_API_KEY` in the local secret store.
|