@nodetool-ai/project-services 0.8.9-beta.2 → 0.8.9-beta.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.
Files changed (257) hide show
  1. package/dist/.nodetool-build-stamp +1 -1
  2. package/dist/asset-autosave.d.ts +80 -0
  3. package/dist/asset-autosave.d.ts.map +1 -0
  4. package/dist/asset-autosave.js +456 -0
  5. package/dist/asset-autosave.js.map +1 -0
  6. package/dist/example-catalog.d.ts +11 -0
  7. package/dist/example-catalog.d.ts.map +1 -0
  8. package/dist/example-catalog.js +154 -0
  9. package/dist/example-catalog.js.map +1 -0
  10. package/dist/example-thumbnail.d.ts +21 -0
  11. package/dist/example-thumbnail.d.ts.map +1 -0
  12. package/dist/example-thumbnail.js +50 -0
  13. package/dist/example-thumbnail.js.map +1 -0
  14. package/dist/example-workflows.d.ts +22 -0
  15. package/dist/example-workflows.d.ts.map +1 -0
  16. package/dist/example-workflows.js +141 -0
  17. package/dist/example-workflows.js.map +1 -0
  18. package/dist/examples/nodetool-base/50 Ad Variants Overnight.json +270 -0
  19. package/dist/examples/nodetool-base/A Campaign Concept from a Brief.json +135 -0
  20. package/dist/examples/nodetool-base/A Gradient Card as PNG.json +128 -0
  21. package/dist/examples/nodetool-base/A Poster in Portrait.json +129 -0
  22. package/dist/examples/nodetool-base/A Repeating Texture Tile.json +129 -0
  23. package/dist/examples/nodetool-base/A Run Button for Any Job.json +152 -0
  24. package/dist/examples/nodetool-base/A Webhook That Answers.json +170 -0
  25. package/dist/examples/nodetool-base/AI Spokesperson.json +328 -0
  26. package/dist/examples/nodetool-base/Action Items from a Meeting Recording.json +198 -0
  27. package/dist/examples/nodetool-base/Ad Copy in Three Registers.json +135 -0
  28. package/dist/examples/nodetool-base/Ad Loop from a Product Photo.json +277 -0
  29. package/dist/examples/nodetool-base/Add Reverb to a Voice.json +125 -0
  30. package/dist/examples/nodetool-base/Album Art from a Mood.json +129 -0
  31. package/dist/examples/nodetool-base/Assemble a UGC Product Video.json +158 -0
  32. package/dist/examples/nodetool-base/Audio To Image.json +184 -0
  33. package/dist/examples/nodetool-base/B-Roll Reel from a Brief.json +339 -0
  34. package/dist/examples/nodetool-base/Batch a List.json +171 -0
  35. package/dist/examples/nodetool-base/Black and White, Hard.json +147 -0
  36. package/dist/examples/nodetool-base/Blog Post to Social Thread.json +135 -0
  37. package/dist/examples/nodetool-base/Blur a Channel.json +205 -0
  38. package/dist/examples/nodetool-base/Blur an Image.json +179 -0
  39. package/dist/examples/nodetool-base/Boost Saturation.json +178 -0
  40. package/dist/examples/nodetool-base/Brand Asset Generator.json +585 -0
  41. package/dist/examples/nodetool-base/Brand a UGC Product Video.json +402 -0
  42. package/dist/examples/nodetool-base/Bring a Still to Life.json +250 -0
  43. package/dist/examples/nodetool-base/Bullet Points to Press Release.json +135 -0
  44. package/dist/examples/nodetool-base/Camera Move Contact Sheet.json +210 -0
  45. package/dist/examples/nodetool-base/Camera Move.json +257 -0
  46. package/dist/examples/nodetool-base/Chapter Markers for a Long Recording.json +198 -0
  47. package/dist/examples/nodetool-base/Character in Any Scene.json +276 -0
  48. package/dist/examples/nodetool-base/Chat With Your Documents.json +569 -0
  49. package/dist/examples/nodetool-base/Chunk a Transcript for Indexing.json +202 -0
  50. package/dist/examples/nodetool-base/Circles and Lines.json +126 -0
  51. package/dist/examples/nodetool-base/Clean Up a Rough Voice Recording.json +208 -0
  52. package/dist/examples/nodetool-base/Clip on Kie.json +173 -0
  53. package/dist/examples/nodetool-base/Cold Outreach Co-Pilot.json +423 -0
  54. package/dist/examples/nodetool-base/Color Boost Video.json +250 -0
  55. package/dist/examples/nodetool-base/Compose Directed Campaign Formats.json +764 -0
  56. package/dist/examples/nodetool-base/Concept Art Iteration Board.json +439 -0
  57. package/dist/examples/nodetool-base/Concept Art, Then a Moving Version.json +173 -0
  58. package/dist/examples/nodetool-base/Conditional Logic Engine.json +535 -0
  59. package/dist/examples/nodetool-base/Consistent Cast Storyboard.json +330 -0
  60. package/dist/examples/nodetool-base/Count a List.json +168 -0
  61. package/dist/examples/nodetool-base/Count to Three with a Loop.json +157 -0
  62. package/dist/examples/nodetool-base/Crop an Image.json +181 -0
  63. package/dist/examples/nodetool-base/Crop then Fit.json +208 -0
  64. package/dist/examples/nodetool-base/Crush It to 8 Bits.json +123 -0
  65. package/dist/examples/nodetool-base/Cut Out the Subject.json +184 -0
  66. package/dist/examples/nodetool-base/Cut a Landscape Clip for Vertical.json +123 -0
  67. package/dist/examples/nodetool-base/Cut a Product Out of Its Background.json +238 -0
  68. package/dist/examples/nodetool-base/Data Generator.json +216 -0
  69. package/dist/examples/nodetool-base/Denoise Footage.json +178 -0
  70. package/dist/examples/nodetool-base/Direct a Short Film.json +305 -0
  71. package/dist/examples/nodetool-base/Directed Film to Timeline.json +385 -0
  72. package/dist/examples/nodetool-base/Does This Text Mention the Deadline.json +130 -0
  73. package/dist/examples/nodetool-base/Draft Answers for an FAQ.json +135 -0
  74. package/dist/examples/nodetool-base/Draw a Badge in SVG.json +126 -0
  75. package/dist/examples/nodetool-base/Drop Duplicates.json +170 -0
  76. package/dist/examples/nodetool-base/Drop the First Few.json +148 -0
  77. package/dist/examples/nodetool-base/Dub a Video into 5 Languages.json +285 -0
  78. package/dist/examples/nodetool-base/Dungeon and Ruins Starter Pack.json +786 -0
  79. package/dist/examples/nodetool-base/Edit a Still with Words.json +284 -0
  80. package/dist/examples/nodetool-base/Editorial Still from a Line.json +197 -0
  81. package/dist/examples/nodetool-base/Effects Gallery.json +189 -0
  82. package/dist/examples/nodetool-base/Emboss a Still.json +120 -0
  83. package/dist/examples/nodetool-base/Every Combination.json +225 -0
  84. package/dist/examples/nodetool-base/Every Hour, On the Hour.json +162 -0
  85. package/dist/examples/nodetool-base/Executive Summary of a Long Document.json +135 -0
  86. package/dist/examples/nodetool-base/Explainer Clip from a Paragraph.json +244 -0
  87. package/dist/examples/nodetool-base/Extract the Claims Worth Checking.json +135 -0
  88. package/dist/examples/nodetool-base/Fade Audio In and Out.json +203 -0
  89. package/dist/examples/nodetool-base/Fade Audio Out.json +202 -0
  90. package/dist/examples/nodetool-base/Fill a Template.json +149 -0
  91. package/dist/examples/nodetool-base/Find Every Number in a Sentence.json +127 -0
  92. package/dist/examples/nodetool-base/Find and Replace.json +224 -0
  93. package/dist/examples/nodetool-base/Find the Edges.json +123 -0
  94. package/dist/examples/nodetool-base/Fit an Image.json +179 -0
  95. package/dist/examples/nodetool-base/Five Headlines for a Landing Page.json +135 -0
  96. package/dist/examples/nodetool-base/Flashcard Generator.json +297 -0
  97. package/dist/examples/nodetool-base/Gate Out the Room Noise.json +124 -0
  98. package/dist/examples/nodetool-base/Generate a Native-Audio UGC Testimonial.json +276 -0
  99. package/dist/examples/nodetool-base/Generate a Silent Bed.json +126 -0
  100. package/dist/examples/nodetool-base/Generate then Upscale a Poster.json +164 -0
  101. package/dist/examples/nodetool-base/Hacker News Agent.json +183 -0
  102. package/dist/examples/nodetool-base/Hook & Thumbnail Factory.json +498 -0
  103. package/dist/examples/nodetool-base/How Long Is This Transcript.json +185 -0
  104. package/dist/examples/nodetool-base/Image Enhance.json +272 -0
  105. package/dist/examples/nodetool-base/Image To Audio Story.json +180 -0
  106. package/dist/examples/nodetool-base/Image to Video Animation.json +346 -0
  107. package/dist/examples/nodetool-base/Inspect a Clip's Audio.json +187 -0
  108. package/dist/examples/nodetool-base/Inspect a Clip.json +163 -0
  109. package/dist/examples/nodetool-base/Invert a Still.json +120 -0
  110. package/dist/examples/nodetool-base/Keep Only the Long Lines.json +220 -0
  111. package/dist/examples/nodetool-base/Keep Only the Matches.json +148 -0
  112. package/dist/examples/nodetool-base/Key Out a Green Screen.json +124 -0
  113. package/dist/examples/nodetool-base/Last One Wins.json +144 -0
  114. package/dist/examples/nodetool-base/Lens and Look.json +327 -0
  115. package/dist/examples/nodetool-base/Lip-sync a Clip to a Voice Track.json +313 -0
  116. package/dist/examples/nodetool-base/Localise a Product Listing.json +135 -0
  117. package/dist/examples/nodetool-base/Localise a Script and Revoice It.json +242 -0
  118. package/dist/examples/nodetool-base/Localized Explainer.json +430 -0
  119. package/dist/examples/nodetool-base/Low-poly Adventure Starter Pack.json +786 -0
  120. package/dist/examples/nodetool-base/Low-poly Seaside Starter Pack.json +786 -0
  121. package/dist/examples/nodetool-base/Master a Voice Track.json +180 -0
  122. package/dist/examples/nodetool-base/Meeting Transcript Summarizer.json +524 -0
  123. package/dist/examples/nodetool-base/Model Arena.json +550 -0
  124. package/dist/examples/nodetool-base/Moodboard Frame from a Theme.json +129 -0
  125. package/dist/examples/nodetool-base/Movie Posters.json +660 -0
  126. package/dist/examples/nodetool-base/Movie Trailer Generator.json +418 -0
  127. package/dist/examples/nodetool-base/Music Video Visualizer.json +720 -0
  128. package/dist/examples/nodetool-base/Name a File from Its Narration.json +231 -0
  129. package/dist/examples/nodetool-base/Narrate a Script.json +169 -0
  130. package/dist/examples/nodetool-base/Narration with a Music Bed.json +360 -0
  131. package/dist/examples/nodetool-base/Normalize a Clip's Audio.json +201 -0
  132. package/dist/examples/nodetool-base/One Tagline, Six Markets.json +135 -0
  133. package/dist/examples/nodetool-base/Pad a Canvas.json +188 -0
  134. package/dist/examples/nodetool-base/Per-SKU Ad Factory.json +511 -0
  135. package/dist/examples/nodetool-base/Photo Enhancement Suite.json +417 -0
  136. package/dist/examples/nodetool-base/Picture in Picture.json +231 -0
  137. package/dist/examples/nodetool-base/Pitch a Voice Up.json +122 -0
  138. package/dist/examples/nodetool-base/Pixelate a Still.json +122 -0
  139. package/dist/examples/nodetool-base/Platformer Playground Starter Pack.json +786 -0
  140. package/dist/examples/nodetool-base/Podcast Episode to Show Notes.json +198 -0
  141. package/dist/examples/nodetool-base/Podcast Repurposing Studio.json +745 -0
  142. package/dist/examples/nodetool-base/Pokemon Maker.json +282 -0
  143. package/dist/examples/nodetool-base/Poster on Kie.json +172 -0
  144. package/dist/examples/nodetool-base/Posterize to Four Bits.json +122 -0
  145. package/dist/examples/nodetool-base/Private Assistant.json +236 -0
  146. package/dist/examples/nodetool-base/Product Mockup Generator.json +608 -0
  147. package/dist/examples/nodetool-base/Product Spot from Text.json +330 -0
  148. package/dist/examples/nodetool-base/Product URL to CGI Commercial.json +289 -0
  149. package/dist/examples/nodetool-base/Product URL to UGC Ad.json +298 -0
  150. package/dist/examples/nodetool-base/Product Video Generator.json +344 -0
  151. package/dist/examples/nodetool-base/Prompt Template.json +221 -0
  152. package/dist/examples/nodetool-base/Propose Three Campaign Directions.json +614 -0
  153. package/dist/examples/nodetool-base/Pull a Field out of JSON Text.json +128 -0
  154. package/dist/examples/nodetool-base/Pull a Still from a Clip.json +179 -0
  155. package/dist/examples/nodetool-base/Pull the Quotable Lines Out of an Interview.json +198 -0
  156. package/dist/examples/nodetool-base/Put a Product on a Studio Backdrop.json +252 -0
  157. package/dist/examples/nodetool-base/Put a Voice Over a Music Bed.json +358 -0
  158. package/dist/examples/nodetool-base/README_EXAMPLES.md +59 -0
  159. package/dist/examples/nodetool-base/Re-delimit a List.json +199 -0
  160. package/dist/examples/nodetool-base/Read a Clip's Frame Rate.json +120 -0
  161. package/dist/examples/nodetool-base/Redact Email Addresses.json +129 -0
  162. package/dist/examples/nodetool-base/Redact and Tidy a Log Line.json +266 -0
  163. package/dist/examples/nodetool-base/Relight a Product for a Seasonal Campaign.json +131 -0
  164. package/dist/examples/nodetool-base/Render a Directed Campaign Hero.json +338 -0
  165. package/dist/examples/nodetool-base/Reopen a Directed Campaign.json +1748 -0
  166. package/dist/examples/nodetool-base/Research Agent.json +231 -0
  167. package/dist/examples/nodetool-base/Research a Brand from Its Website.json +445 -0
  168. package/dist/examples/nodetool-base/Restyle a Photo as an Illustration.json +136 -0
  169. package/dist/examples/nodetool-base/Reverse Audio.json +201 -0
  170. package/dist/examples/nodetool-base/Reverse a Clip.json +176 -0
  171. package/dist/examples/nodetool-base/Revise an Accepted Campaign Hero.json +486 -0
  172. package/dist/examples/nodetool-base/Rewrite This So a Customer Understands It.json +135 -0
  173. package/dist/examples/nodetool-base/Rotate Footage.json +178 -0
  174. package/dist/examples/nodetool-base/SEO Content Engine.json +708 -0
  175. package/dist/examples/nodetool-base/SEO Title and Meta Description.json +135 -0
  176. package/dist/examples/nodetool-base/Sci-fi Game Model Starter Pack.json +693 -0
  177. package/dist/examples/nodetool-base/Sci-fi Outpost Expansion.json +601 -0
  178. package/dist/examples/nodetool-base/Score a Clip from Its Own Mood.json +229 -0
  179. package/dist/examples/nodetool-base/Score a Silent Clip.json +382 -0
  180. package/dist/examples/nodetool-base/Script to Narrated Clip.json +224 -0
  181. package/dist/examples/nodetool-base/Script to Screen.json +940 -0
  182. package/dist/examples/nodetool-base/Sharpen Footage.json +179 -0
  183. package/dist/examples/nodetool-base/Shot List from a Synopsis.json +136 -0
  184. package/dist/examples/nodetool-base/Single Shot from a Line.json +199 -0
  185. package/dist/examples/nodetool-base/Slice Text.json +159 -0
  186. package/dist/examples/nodetool-base/Slow a Clip Without Dropping Pitch.json +122 -0
  187. package/dist/examples/nodetool-base/Soften a Plate.json +178 -0
  188. package/dist/examples/nodetool-base/Solarize a Still.json +122 -0
  189. package/dist/examples/nodetool-base/Speak a Line, Then Trim the Silence.json +157 -0
  190. package/dist/examples/nodetool-base/Spin a Packshot into a Turntable Clip.json +137 -0
  191. package/dist/examples/nodetool-base/Split a Channel.json +178 -0
  192. package/dist/examples/nodetool-base/Split a Log into Records.json +128 -0
  193. package/dist/examples/nodetool-base/Stabilize Handheld.json +179 -0
  194. package/dist/examples/nodetool-base/Still on Replicate.json +172 -0
  195. package/dist/examples/nodetool-base/Subject Lines Worth Testing.json +135 -0
  196. package/dist/examples/nodetool-base/Subtitle Lines from a Script.json +170 -0
  197. package/dist/examples/nodetool-base/Subtitle Text from a Recording.json +198 -0
  198. package/dist/examples/nodetool-base/Summarise a Recorded Call.json +198 -0
  199. package/dist/examples/nodetool-base/Swirl and Echo.json +154 -0
  200. package/dist/examples/nodetool-base/Take While the Numbers Are Small.json +148 -0
  201. package/dist/examples/nodetool-base/Take a Product Shot to Print Resolution.json +209 -0
  202. package/dist/examples/nodetool-base/Take the First Few Seconds of a Bed.json +127 -0
  203. package/dist/examples/nodetool-base/Take the First Few.json +170 -0
  204. package/dist/examples/nodetool-base/Talking Avatar from a Photo and a Script.json +252 -0
  205. package/dist/examples/nodetool-base/Telephone Voice.json +174 -0
  206. package/dist/examples/nodetool-base/Themes Across Customer Feedback.json +135 -0
  207. package/dist/examples/nodetool-base/Three Ratios.json +315 -0
  208. package/dist/examples/nodetool-base/Tidy Up Messy Text.json +199 -0
  209. package/dist/examples/nodetool-base/Top-down Native Asset Pack.json +955 -0
  210. package/dist/examples/nodetool-base/Trailer Beats from a Premise.json +136 -0
  211. package/dist/examples/nodetool-base/Train a Character.json +243 -0
  212. package/dist/examples/nodetool-base/Transcribe Audio.json +138 -0
  213. package/dist/examples/nodetool-base/Transcribe a Clip.json +198 -0
  214. package/dist/examples/nodetool-base/Translate Marketing Copy to German.json +135 -0
  215. package/dist/examples/nodetool-base/Translate a Script for Dubbing.json +224 -0
  216. package/dist/examples/nodetool-base/Trim Audio to a Range.json +203 -0
  217. package/dist/examples/nodetool-base/Trim a Blurb to Length.json +128 -0
  218. package/dist/examples/nodetool-base/Trim a Clip.json +180 -0
  219. package/dist/examples/nodetool-base/Turn Research Notes into a Comparison Table.json +136 -0
  220. package/dist/examples/nodetool-base/Turn Specs into Product Copy.json +135 -0
  221. package/dist/examples/nodetool-base/Turn a Changelog into Release Notes.json +135 -0
  222. package/dist/examples/nodetool-base/Turn a Logo into Print-Ready Vector.json +126 -0
  223. package/dist/examples/nodetool-base/Turn a Support Thread into a Bug Report.json +135 -0
  224. package/dist/examples/nodetool-base/Turn a Talk into a Blog Post.json +198 -0
  225. package/dist/examples/nodetool-base/Upscale a Still.json +186 -0
  226. package/dist/examples/nodetool-base/Vectorize a Generated Logo.json +162 -0
  227. package/dist/examples/nodetool-base/Video Restyle Studio.json +281 -0
  228. package/dist/examples/nodetool-base/Vignette a Portrait.json +124 -0
  229. package/dist/examples/nodetool-base/Voice a Script in Two Voices.json +217 -0
  230. package/dist/examples/nodetool-base/Warm Up a Cold Clip.json +124 -0
  231. package/dist/examples/nodetool-base/Watch a Folder, Act on What Lands.json +177 -0
  232. package/dist/examples/nodetool-base/Widen a Mono Voice.json +151 -0
  233. package/dist/examples/nodetool-base/Workflow As A Tool.json +257 -0
  234. package/dist/examples/nodetool-base/Write a Listing from the Product Photo.json +139 -0
  235. package/dist/examples/nodetool-base/Write the Prompt, Then Make the Image.json +200 -0
  236. package/dist/examples/nodetool-base/gallery_thumbnail_generator.ts +384 -0
  237. package/dist/mcp-tool-host-deps.d.ts +29 -0
  238. package/dist/mcp-tool-host-deps.d.ts.map +1 -0
  239. package/dist/mcp-tool-host-deps.js +69 -0
  240. package/dist/mcp-tool-host-deps.js.map +1 -0
  241. package/dist/package-assets.d.ts +41 -0
  242. package/dist/package-assets.d.ts.map +1 -0
  243. package/dist/package-assets.js +155 -0
  244. package/dist/package-assets.js.map +1 -0
  245. package/dist/project-delete.d.ts +14 -0
  246. package/dist/project-delete.d.ts.map +1 -0
  247. package/dist/project-delete.js +66 -0
  248. package/dist/project-delete.js.map +1 -0
  249. package/dist/worker-settings-env.d.ts +23 -0
  250. package/dist/worker-settings-env.d.ts.map +1 -0
  251. package/dist/worker-settings-env.js +47 -0
  252. package/dist/worker-settings-env.js.map +1 -0
  253. package/dist/workflow-runtime-environment.d.ts +20 -0
  254. package/dist/workflow-runtime-environment.d.ts.map +1 -0
  255. package/dist/workflow-runtime-environment.js +137 -0
  256. package/dist/workflow-runtime-environment.js.map +1 -0
  257. package/package.json +12 -8
@@ -0,0 +1,486 @@
1
+ {
2
+ "id": "directed-campaign-revision",
3
+ "access": "private",
4
+ "created_at": "2026-09-12T00:00:00.000Z",
5
+ "updated_at": "2026-09-12T00:00:00.000Z",
6
+ "name": "Revise an Accepted Campaign Hero",
7
+ "tool_name": null,
8
+ "description": "Apply one bounded revision to the accepted campaign hero while recording the exact change, preservation instructions, allowed response, and parent contract.",
9
+ "tags": [
10
+ "campaign",
11
+ "image",
12
+ "example"
13
+ ],
14
+ "thumbnail": null,
15
+ "thumbnail_url": null,
16
+ "graph": {
17
+ "nodes": [
18
+ {
19
+ "id": "intro",
20
+ "type": "nodetool.workflows.base_node.Comment",
21
+ "data": {
22
+ "comment": "# Revise an Accepted Campaign Hero\n\nMakes one bounded edit to an accepted campaign hero and records exactly what changed. Use it when a hero is approved but needs a single adjustment, such as a new time of day. It ships with the coffee photo and a sample contract, so Run works at once.\n\n**How it works:** \"Accepted hero\" passes through \"Normalize app image\", which turns an app value into an image reference. \"Capture revision request\" reads that image, the \"Accepted contract\", and the \"Change\", \"Preserve\" and \"Allow to respond\" texts, checks their length limits, and writes a prompt plus a child contract that keeps the parent. \"Make one revision\" edits the hero at strength 0.45 and 16:9, with a negative prompt against added text or a changed product. \"Finalize revision candidate\" waits for the image, then emits \"Revision candidate\", \"Revision contract\" and \"Review phase\". The edit step uses your default image model, or the one you pick on the node.\n\n**Try this:** Set \"Change\" to \"Dust the table with a little cocoa powder\" and keep \"Preserve\" as it is. The candidate should change the weather and leave the cup, the beans and the composition alone."
23
+ },
24
+ "ui_properties": {
25
+ "position": {
26
+ "x": 0,
27
+ "y": 0
28
+ },
29
+ "width": 560,
30
+ "height": 423,
31
+ "selectable": true
32
+ },
33
+ "dynamic_properties": {}
34
+ },
35
+ {
36
+ "id": "in-hero",
37
+ "type": "nodetool.input.ImageInput",
38
+ "data": {
39
+ "name": "hero",
40
+ "value": {
41
+ "type": "image",
42
+ "uri": "package://nodetool-base/recipe-inputs/coffee.jpg"
43
+ },
44
+ "description": "Accepted campaign hero. This is the primary and only editing source."
45
+ },
46
+ "ui_properties": {
47
+ "position": {
48
+ "x": 0,
49
+ "y": 503
50
+ },
51
+ "width": 280,
52
+ "title": "Accepted hero"
53
+ },
54
+ "dynamic_properties": {},
55
+ "dynamic_outputs": {}
56
+ },
57
+ {
58
+ "id": "in-contract",
59
+ "type": "nodetool.input.StringInput",
60
+ "data": {
61
+ "name": "contract",
62
+ "value": "{\"schemaVersion\": 1, \"kind\": \"hero\", \"brief\": {\"productName\": \"House Blend Coffee\", \"campaignMessage\": \"A small-batch house blend, roasted every week and shipped within two days of roasting.\", \"audience\": \"Home coffee drinkers who grind their own beans.\", \"headline\": \"Roasted this week, brewed this morning\", \"cta\": \"Order a bag\", \"referenceRole\": \"none\", \"referenceUse\": \"\", \"referenceIgnore\": \"\"}, \"selectedDirection\": {\"id\": \"B\", \"title\": \"First light at the counter\", \"setting\": \"A pale stone kitchen counter beside a tall window, with a burr grinder and a scattering of fresh beans just out of focus.\", \"composition\": \"The mug sits on the right third at eye level. Beans lead the eye from the lower left. The upper left stays open for the headline.\", \"lighting\": \"Low golden sunrise light from the left, with soft steam backlit above the cup and long, warm shadows.\", \"palette\": \"Cream ceramic, roasted brown, warm amber and a deep green shadow tone.\", \"preservationInstructions\": \"Keep the white espresso cup, its crema, the moka pot of ground coffee and the bean shapes exactly as in the product photo.\"}, \"copy\": {\"productName\": \"House Blend Coffee\", \"headline\": \"Roasted this week, brewed this morning\", \"cta\": \"Order a bag\"}, \"sourceOrder\": [\"product identity\"], \"render\": {\"aspectRatio\": \"16:9\", \"resolution\": \"1K\", \"prompt\": \"Sample contract shipped with the example. Run Render a Directed Campaign Hero to capture your own.\"}}",
63
+ "description": "Accepted hero contract.",
64
+ "line_mode": "multi_line"
65
+ },
66
+ "ui_properties": {
67
+ "position": {
68
+ "x": 0,
69
+ "y": 759
70
+ },
71
+ "width": 280,
72
+ "title": "Accepted contract"
73
+ },
74
+ "dynamic_properties": {},
75
+ "dynamic_outputs": {}
76
+ },
77
+ {
78
+ "id": "in-change",
79
+ "type": "nodetool.input.StringInput",
80
+ "data": {
81
+ "name": "change",
82
+ "value": "Move the scene from late afternoon to blue hour.",
83
+ "description": "The requested change.",
84
+ "line_mode": "multi_line",
85
+ "max_length": 500
86
+ },
87
+ "ui_properties": {
88
+ "position": {
89
+ "x": 0,
90
+ "y": 984
91
+ },
92
+ "width": 280,
93
+ "title": "Change"
94
+ },
95
+ "dynamic_properties": {},
96
+ "dynamic_outputs": {}
97
+ },
98
+ {
99
+ "id": "in-preserve",
100
+ "type": "nodetool.input.StringInput",
101
+ "data": {
102
+ "name": "preserve",
103
+ "value": "Keep the cup, the moka pot, the beans, the camera position, the composition and the wooden table.",
104
+ "description": "What must remain unchanged.",
105
+ "line_mode": "multi_line",
106
+ "max_length": 700
107
+ },
108
+ "ui_properties": {
109
+ "position": {
110
+ "x": 0,
111
+ "y": 1209
112
+ },
113
+ "width": 280,
114
+ "title": "Preserve"
115
+ },
116
+ "dynamic_properties": {},
117
+ "dynamic_outputs": {}
118
+ },
119
+ {
120
+ "id": "in-allow",
121
+ "type": "nodetool.input.StringInput",
122
+ "data": {
123
+ "name": "allow",
124
+ "value": "Let reflections, shadows, and the sky respond to the light.",
125
+ "description": "What may respond naturally to the change.",
126
+ "line_mode": "multi_line",
127
+ "max_length": 500
128
+ },
129
+ "ui_properties": {
130
+ "position": {
131
+ "x": 0,
132
+ "y": 1434
133
+ },
134
+ "width": 280,
135
+ "title": "Allow to respond"
136
+ },
137
+ "dynamic_properties": {},
138
+ "dynamic_outputs": {}
139
+ },
140
+ {
141
+ "id": "normalize-hero",
142
+ "type": "nodetool.code.Code",
143
+ "data": {
144
+ "code": "let value = inputs.value;\nif (typeof value === \"string\") {\n const trimmed = value.trim();\n if (trimmed.startsWith(\"{\")) {\n try { value = JSON.parse(trimmed); } catch { value = { type: \"image\", uri: trimmed }; }\n } else {\n value = { type: \"image\", uri: trimmed };\n }\n}\nif (!value || value.type !== \"image\" || (typeof value.uri !== \"string\" && typeof value.data !== \"string\" && typeof value.asset_id !== \"string\")) throw new Error(\"The accepted hero is not a valid image reference.\");\n// Inline bytes would cross the node boundary as one large value, so store\n// them once and pass the small reference on.\nif (typeof value.data === \"string\" && value.data.length > 0) {\n const bytes = await media.bytes(value);\n const info = await media.info(value);\n value = await media.toImage(bytes, { mimeType: info.mimeType || undefined });\n}\nawait output(\"image\", value);"
145
+ },
146
+ "ui_properties": {
147
+ "position": {
148
+ "x": 380,
149
+ "y": 675
150
+ },
151
+ "width": 320,
152
+ "title": "Normalize app image"
153
+ },
154
+ "dynamic_properties": {
155
+ "value": null
156
+ },
157
+ "dynamic_inputs": {
158
+ "value": {
159
+ "type": {
160
+ "type": "any"
161
+ }
162
+ }
163
+ },
164
+ "dynamic_outputs": {
165
+ "image": {
166
+ "type": "image",
167
+ "type_args": [],
168
+ "optional": false
169
+ }
170
+ },
171
+ "sync_mode": "on_all"
172
+ },
173
+ {
174
+ "id": "revision-prepare",
175
+ "type": "nodetool.code.Code",
176
+ "data": {
177
+ "code": "const heroBytes = await media.bytes(inputs.hero);\nif (heroBytes.length === 0) throw new Error(\"The accepted hero is empty.\");\nlet parentContract;\ntry { parentContract = JSON.parse(String(inputs.contract ?? \"\")); } catch { throw new Error(\"The accepted hero contract is invalid.\"); }\nif (!parentContract || parentContract.schemaVersion !== 1 || !parentContract.copy || !parentContract.selectedDirection) throw new Error(\"The accepted hero contract is incomplete.\");\nconst bounded = (name, max) => {\n const value = String(inputs[name] ?? \"\").trim();\n if (!value) throw new Error(`${name} is required.`);\n if (value.length > max) throw new Error(`${name} must be ${max} characters or fewer.`);\n return value;\n};\nconst change = bounded(\"change\", 500);\nconst preserve = bounded(\"preserve\", 700);\nconst allow = bounded(\"allow\", 500);\nconst prompt = `Edit the accepted campaign hero supplied as Image 1.\\n\\nChange: ${change}\\nPreserve exactly: ${preserve}\\nAllow to respond: ${allow}\\n\\nThe accepted image remains the source of truth for product identity, geometry, camera, surface, composition, visible branding, and copy space. Do not add, rewrite, or render the headline or CTA. Do not introduce another product.`;\nconst revisedContract = { schemaVersion: 1, kind: \"revision\", parentContract, brief: parentContract.brief, selectedDirection: parentContract.selectedDirection, copy: parentContract.copy, revisionRequest: { change, preserve, allow }, sourceOrder: [\"accepted campaign hero\"], render: { aspectRatio: \"16:9\", resolution: \"1K\", prompt } };\nawait output(\"prompt\", prompt);\nawait output(\"images\", [inputs.hero]);\nawait output(\"contract\", JSON.stringify(revisedContract));"
178
+ },
179
+ "ui_properties": {
180
+ "position": {
181
+ "x": 800,
182
+ "y": 887
183
+ },
184
+ "width": 440,
185
+ "title": "Capture revision request"
186
+ },
187
+ "dynamic_properties": {
188
+ "hero": {
189
+ "type": "image",
190
+ "uri": ""
191
+ },
192
+ "contract": "",
193
+ "change": "",
194
+ "preserve": "",
195
+ "allow": ""
196
+ },
197
+ "dynamic_inputs": {
198
+ "hero": {
199
+ "type": {
200
+ "type": "any"
201
+ }
202
+ },
203
+ "contract": {
204
+ "type": {
205
+ "type": "str"
206
+ }
207
+ },
208
+ "change": {
209
+ "type": {
210
+ "type": "str"
211
+ }
212
+ },
213
+ "preserve": {
214
+ "type": {
215
+ "type": "str"
216
+ }
217
+ },
218
+ "allow": {
219
+ "type": {
220
+ "type": "str"
221
+ }
222
+ }
223
+ },
224
+ "dynamic_outputs": {
225
+ "prompt": {
226
+ "type": "str",
227
+ "type_args": [],
228
+ "optional": false
229
+ },
230
+ "images": {
231
+ "type": "list",
232
+ "type_args": [
233
+ {
234
+ "type": "image",
235
+ "type_args": [],
236
+ "optional": false
237
+ }
238
+ ],
239
+ "optional": false
240
+ },
241
+ "contract": {
242
+ "type": "str",
243
+ "type_args": [],
244
+ "optional": false
245
+ }
246
+ },
247
+ "sync_mode": "on_all"
248
+ },
249
+ {
250
+ "id": "revision-edit",
251
+ "type": "nodetool.image.ImageToImage",
252
+ "data": {
253
+ "model": {
254
+ "type": "image_model",
255
+ "provider": "",
256
+ "id": "",
257
+ "name": "",
258
+ "path": null,
259
+ "supported_tasks": []
260
+ },
261
+ "image": [],
262
+ "prompt": "",
263
+ "negative_prompt": "added text, changed product, changed logo, changed camera, duplicate product",
264
+ "entities": [],
265
+ "strength": 0.45,
266
+ "aspect_ratio": "16:9",
267
+ "resolution": "1K",
268
+ "scheduler": ""
269
+ },
270
+ "ui_properties": {
271
+ "position": {
272
+ "x": 1340,
273
+ "y": 1025
274
+ },
275
+ "width": 320,
276
+ "title": "Make one revision"
277
+ },
278
+ "dynamic_properties": {},
279
+ "dynamic_outputs": {},
280
+ "sync_mode": "on_all"
281
+ },
282
+ {
283
+ "id": "revision-finalize",
284
+ "type": "nodetool.code.Code",
285
+ "data": {
286
+ "code": "if (!inputs.hero || inputs.hero.type !== \"image\" || (typeof inputs.hero.uri !== \"string\" && typeof inputs.hero.data !== \"string\")) throw new Error(\"The revision model did not return a valid image.\");\nlet contract;\ntry { contract = JSON.parse(String(inputs.contract ?? \"\")); } catch { throw new Error(\"The revised contract is invalid.\"); }\nif (!contract || contract.schemaVersion !== 1 || contract.kind !== \"revision\" || !contract.parentContract || !contract.revisionRequest) throw new Error(\"The revised contract is incomplete.\");\nawait output(\"hero\", inputs.hero);\nawait output(\"contract\", JSON.stringify(contract));\nawait output(\"phase\", \"revision_review\");"
287
+ },
288
+ "ui_properties": {
289
+ "position": {
290
+ "x": 1760,
291
+ "y": 889
292
+ },
293
+ "width": 380,
294
+ "title": "Finalize revision candidate"
295
+ },
296
+ "dynamic_properties": {
297
+ "hero": {
298
+ "type": "image",
299
+ "uri": ""
300
+ },
301
+ "contract": ""
302
+ },
303
+ "dynamic_inputs": {
304
+ "hero": {
305
+ "type": {
306
+ "type": "image"
307
+ }
308
+ },
309
+ "contract": {
310
+ "type": {
311
+ "type": "str"
312
+ }
313
+ }
314
+ },
315
+ "dynamic_outputs": {
316
+ "hero": {
317
+ "type": "image",
318
+ "type_args": [],
319
+ "optional": false
320
+ },
321
+ "contract": {
322
+ "type": "str",
323
+ "type_args": [],
324
+ "optional": false
325
+ },
326
+ "phase": {
327
+ "type": "str",
328
+ "type_args": [],
329
+ "optional": false
330
+ }
331
+ },
332
+ "sync_mode": "on_all"
333
+ },
334
+ {
335
+ "id": "out-hero",
336
+ "type": "nodetool.output.Output",
337
+ "data": {
338
+ "name": "hero"
339
+ },
340
+ "ui_properties": {
341
+ "position": {
342
+ "x": 2240,
343
+ "y": 834
344
+ },
345
+ "width": 250,
346
+ "title": "Revision candidate"
347
+ },
348
+ "dynamic_properties": {},
349
+ "dynamic_outputs": {}
350
+ },
351
+ {
352
+ "id": "out-contract",
353
+ "type": "nodetool.output.Output",
354
+ "data": {
355
+ "name": "contract"
356
+ },
357
+ "ui_properties": {
358
+ "position": {
359
+ "x": 2240,
360
+ "y": 1034
361
+ },
362
+ "width": 250,
363
+ "title": "Revision contract"
364
+ },
365
+ "dynamic_properties": {},
366
+ "dynamic_outputs": {}
367
+ },
368
+ {
369
+ "id": "out-phase",
370
+ "type": "nodetool.output.Output",
371
+ "data": {
372
+ "name": "phase"
373
+ },
374
+ "ui_properties": {
375
+ "position": {
376
+ "x": 2240,
377
+ "y": 1234
378
+ },
379
+ "width": 250,
380
+ "title": "Review phase"
381
+ },
382
+ "dynamic_properties": {},
383
+ "dynamic_outputs": {}
384
+ }
385
+ ],
386
+ "edges": [
387
+ {
388
+ "id": "hero-to-normalizer",
389
+ "source": "in-hero",
390
+ "sourceHandle": "output",
391
+ "target": "normalize-hero",
392
+ "targetHandle": "value"
393
+ },
394
+ {
395
+ "id": "hero-to-prepare",
396
+ "source": "normalize-hero",
397
+ "sourceHandle": "image",
398
+ "target": "revision-prepare",
399
+ "targetHandle": "hero"
400
+ },
401
+ {
402
+ "id": "contract-to-prepare",
403
+ "source": "in-contract",
404
+ "sourceHandle": "output",
405
+ "target": "revision-prepare",
406
+ "targetHandle": "contract"
407
+ },
408
+ {
409
+ "id": "change-to-prepare",
410
+ "source": "in-change",
411
+ "sourceHandle": "output",
412
+ "target": "revision-prepare",
413
+ "targetHandle": "change"
414
+ },
415
+ {
416
+ "id": "preserve-to-prepare",
417
+ "source": "in-preserve",
418
+ "sourceHandle": "output",
419
+ "target": "revision-prepare",
420
+ "targetHandle": "preserve"
421
+ },
422
+ {
423
+ "id": "allow-to-prepare",
424
+ "source": "in-allow",
425
+ "sourceHandle": "output",
426
+ "target": "revision-prepare",
427
+ "targetHandle": "allow"
428
+ },
429
+ {
430
+ "id": "prompt-to-edit",
431
+ "source": "revision-prepare",
432
+ "sourceHandle": "prompt",
433
+ "target": "revision-edit",
434
+ "targetHandle": "prompt"
435
+ },
436
+ {
437
+ "id": "images-to-edit",
438
+ "source": "revision-prepare",
439
+ "sourceHandle": "images",
440
+ "target": "revision-edit",
441
+ "targetHandle": "image"
442
+ },
443
+ {
444
+ "id": "edit-to-finalize",
445
+ "source": "revision-edit",
446
+ "sourceHandle": "output",
447
+ "target": "revision-finalize",
448
+ "targetHandle": "hero"
449
+ },
450
+ {
451
+ "id": "contract-to-finalize",
452
+ "source": "revision-prepare",
453
+ "sourceHandle": "contract",
454
+ "target": "revision-finalize",
455
+ "targetHandle": "contract"
456
+ },
457
+ {
458
+ "id": "hero-out",
459
+ "source": "revision-finalize",
460
+ "sourceHandle": "hero",
461
+ "target": "out-hero",
462
+ "targetHandle": "value"
463
+ },
464
+ {
465
+ "id": "contract-out",
466
+ "source": "revision-finalize",
467
+ "sourceHandle": "contract",
468
+ "target": "out-contract",
469
+ "targetHandle": "value"
470
+ },
471
+ {
472
+ "id": "phase-out",
473
+ "source": "revision-finalize",
474
+ "sourceHandle": "phase",
475
+ "target": "out-phase",
476
+ "targetHandle": "value"
477
+ }
478
+ ]
479
+ },
480
+ "input_schema": null,
481
+ "output_schema": null,
482
+ "settings": null,
483
+ "package_name": "nodetool-base",
484
+ "path": null,
485
+ "run_mode": null
486
+ }
@@ -0,0 +1,135 @@
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": "Rewrite This So a Customer Understands It",
7
+ "tool_name": null,
8
+ "description": "Jargon in, plain and simple language out, at a stated reading level. The most common editing job there is, and the one most worth a repeatable workflow.",
9
+ "tags": [
10
+ "text",
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": "# Rewrite This So a Customer Understands It\n\nRewrites technical text in plain language for a general reader. Use it for help articles, release notes, or support replies that start full of jargon.\n\n**How it works:** \"Input\" takes the text to simplify. \"Agent\" rewrites it at roughly a UK Year 9 reading level, keeping every fact and explaining jargon inline. \"Output\" returns the plain-English version.\n\n**Try this:** Pick a model on \"Agent\", then change its system prompt to target a different reader, such as a new employee in finance."
22
+ },
23
+ "ui_properties": {
24
+ "position": {
25
+ "x": 0,
26
+ "y": 0
27
+ },
28
+ "zIndex": 0,
29
+ "width": 560,
30
+ "selectable": true,
31
+ "height": 266
32
+ },
33
+ "dynamic_properties": {},
34
+ "dynamic_outputs": {}
35
+ },
36
+ {
37
+ "id": "in",
38
+ "type": "nodetool.input.StringInput",
39
+ "data": {
40
+ "name": "text",
41
+ "value": "",
42
+ "description": "The text to simplify"
43
+ },
44
+ "ui_properties": {
45
+ "position": {
46
+ "x": 0,
47
+ "y": 365
48
+ },
49
+ "zIndex": 0,
50
+ "width": 300,
51
+ "selectable": true,
52
+ "title": "1 Input"
53
+ },
54
+ "dynamic_properties": {},
55
+ "dynamic_outputs": {}
56
+ },
57
+ {
58
+ "id": "ag",
59
+ "type": "nodetool.agents.Agent",
60
+ "data": {
61
+ "model": {
62
+ "type": "language_model",
63
+ "provider": "",
64
+ "id": "",
65
+ "name": "",
66
+ "path": null,
67
+ "supported_tasks": []
68
+ },
69
+ "system": "You rewrite technical text for a general reader at roughly a UK Year 9 reading level. Keep every fact. Replace jargon or explain it inline. Do not add new claims.",
70
+ "prompt": "",
71
+ "tools": [],
72
+ "image": [],
73
+ "audio": [],
74
+ "history": [],
75
+ "thread_id": "",
76
+ "max_tokens": 16384,
77
+ "max_turns": 100
78
+ },
79
+ "ui_properties": {
80
+ "position": {
81
+ "x": 400,
82
+ "y": 346
83
+ },
84
+ "zIndex": 0,
85
+ "width": 300,
86
+ "selectable": true,
87
+ "title": "2 Agent"
88
+ },
89
+ "dynamic_properties": {},
90
+ "dynamic_outputs": {}
91
+ },
92
+ {
93
+ "id": "out",
94
+ "type": "nodetool.output.Output",
95
+ "data": {
96
+ "name": "plain_english"
97
+ },
98
+ "ui_properties": {
99
+ "position": {
100
+ "x": 800,
101
+ "y": 378
102
+ },
103
+ "zIndex": 0,
104
+ "width": 300,
105
+ "selectable": true,
106
+ "title": "3 Output"
107
+ },
108
+ "dynamic_properties": {},
109
+ "dynamic_outputs": {}
110
+ }
111
+ ],
112
+ "edges": [
113
+ {
114
+ "id": "e1",
115
+ "source": "in",
116
+ "sourceHandle": "output",
117
+ "target": "ag",
118
+ "targetHandle": "prompt"
119
+ },
120
+ {
121
+ "id": "e2",
122
+ "source": "ag",
123
+ "sourceHandle": "text",
124
+ "target": "out",
125
+ "targetHandle": "value"
126
+ }
127
+ ]
128
+ },
129
+ "input_schema": null,
130
+ "output_schema": null,
131
+ "settings": null,
132
+ "package_name": "nodetool-base",
133
+ "path": null,
134
+ "run_mode": null
135
+ }