@nodetool-ai/node-sdk 0.8.4-a24.2 → 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/_sandbox/README.md +176 -0
- package/dist/_sandbox/sandbox-aws/SKILL.md +98 -0
- package/dist/_sandbox/sandbox-aws/package.json +40 -0
- package/dist/_sandbox/sandbox-chrono/SKILL.md +39 -0
- package/dist/_sandbox/sandbox-chrono/package.json +40 -0
- package/dist/_sandbox/sandbox-color/SKILL.md +35 -0
- package/dist/_sandbox/sandbox-color/package.json +43 -0
- package/dist/_sandbox/sandbox-csv/SKILL.md +50 -0
- package/dist/_sandbox/sandbox-csv/package.json +39 -0
- package/dist/_sandbox/sandbox-dates/SKILL.md +47 -0
- package/dist/_sandbox/sandbox-dates/package.json +41 -0
- package/dist/_sandbox/sandbox-decimal/SKILL.md +36 -0
- package/dist/_sandbox/sandbox-decimal/package.json +43 -0
- package/dist/_sandbox/sandbox-diff/SKILL.md +36 -0
- package/dist/_sandbox/sandbox-diff/package.json +39 -0
- package/dist/_sandbox/sandbox-docx/SKILL.md +53 -0
- package/dist/_sandbox/sandbox-docx/package.json +40 -0
- package/dist/_sandbox/sandbox-dsl/SKILL.md +137 -0
- package/dist/_sandbox/sandbox-dsl/package.json +413 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/authoring.js +382 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/core.js +382 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/gemini.audio.js +12 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/gemini.image.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/gemini.text.js +12 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/gemini.video.js +12 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/index.js +149 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/kie.dynamic_schema.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.audio.js +68 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.browser.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.charts.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.comfy.js +16 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.grid.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.image.channel.js +12 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.image.color.js +32 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.image.color_grading.js +44 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.image.draw.js +36 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.image.effects.js +24 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.image.enhance.js +28 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.image.filter.js +64 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.image.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.image.keyer.js +12 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.image.mask.js +16 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.image.warp.js +36 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.pdf.js +32 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.sqlite.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.stable_diffusion_cpp.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.svg.js +12 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/lib.video.download.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/messaging.discord.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/messaging.telegram.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/mistral.embeddings.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/mistral.text.js +12 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/mistral.vision.js +12 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.agents.js +32 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.audio.js +104 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.audio.realtime.js +28 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.audio.synth.js +40 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.blender.js +28 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.code.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.compare.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.constant.js +132 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.control.js +96 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.creative.js +24 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.data.js +12 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.document.js +16 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.entity.js +16 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.fake.js +12 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.game.js +36 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.generators.js +24 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.image.js +120 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.input.js +140 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.manimgx.js +16 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.model3d.js +76 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.output.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.script.js +28 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.sketch.js +16 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.storyboard.js +32 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.text.js +56 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.timeline.js +24 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.triggers.js +24 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.variable.js +12 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.video.js +136 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.workflows.app_node.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.workflows.base_node.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.workflows.subgraph.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/nodetool.workflows.workflow_node.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/openai.agents.js +16 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/openai.audio.js +16 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/openai.image.js +16 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/openai.text.js +16 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/vector.js +56 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/whisper_cpp.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/xai.image.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/xai.text.js +12 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/generated/xai.vision.js +8 -0
- package/dist/_sandbox/sandbox-dsl/sandbox/index.js +13 -0
- package/dist/_sandbox/sandbox-dsl/scripts/build.mjs +116 -0
- package/dist/_sandbox/sandbox-epub/SKILL.md +61 -0
- package/dist/_sandbox/sandbox-epub/package.json +40 -0
- package/dist/_sandbox/sandbox-exif/SKILL.md +30 -0
- package/dist/_sandbox/sandbox-exif/package.json +40 -0
- package/dist/_sandbox/sandbox-expr/SKILL.md +28 -0
- package/dist/_sandbox/sandbox-expr/package.json +40 -0
- package/dist/_sandbox/sandbox-fabric/SKILL.md +113 -0
- package/dist/_sandbox/sandbox-fabric/package.json +40 -0
- package/dist/_sandbox/sandbox-flow/SKILL.md +131 -0
- package/dist/_sandbox/sandbox-flow/package.json +411 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/gemini.audio.js +12 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/gemini.image.js +8 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/gemini.text.js +12 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/gemini.video.js +12 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/kie.dynamic_schema.js +8 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.audio.js +68 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.browser.js +8 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.charts.js +8 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.comfy.js +25 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.grid.js +8 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.image.channel.js +12 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.image.color.js +32 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.image.color_grading.js +44 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.image.draw.js +36 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.image.effects.js +24 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.image.enhance.js +28 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.image.filter.js +64 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.image.js +8 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.image.keyer.js +12 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.image.mask.js +16 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.image.warp.js +36 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.pdf.js +32 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.sqlite.js +8 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.stable_diffusion_cpp.js +8 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.svg.js +12 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/lib.video.download.js +8 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/messaging.discord.js +11 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/messaging.telegram.js +11 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/mistral.embeddings.js +8 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/mistral.text.js +12 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/mistral.vision.js +12 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.agents.js +41 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.audio.js +110 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.audio.realtime.js +46 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.audio.synth.js +67 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.blender.js +28 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.code.js +11 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.compare.js +8 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.constant.js +132 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.control.js +165 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.creative.js +27 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.data.js +18 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.document.js +19 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.entity.js +19 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.fake.js +12 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.game.js +39 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.generators.js +30 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.image.js +126 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.input.js +143 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.manimgx.js +16 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.model3d.js +76 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.output.js +11 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.script.js +28 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.sketch.js +16 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.storyboard.js +35 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.text.js +68 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.timeline.js +24 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.triggers.js +33 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.variable.js +15 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.video.js +145 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.workflows.app_node.js +11 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.workflows.base_node.js +8 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.workflows.subgraph.js +11 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/nodetool.workflows.workflow_node.js +11 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/openai.agents.js +25 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/openai.audio.js +16 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/openai.image.js +16 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/openai.text.js +16 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/vector.js +56 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/whisper_cpp.js +11 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/xai.image.js +8 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/xai.text.js +12 -0
- package/dist/_sandbox/sandbox-flow/sandbox/generated/xai.vision.js +8 -0
- package/dist/_sandbox/sandbox-flow/sandbox/guest-core.js +35 -0
- package/dist/_sandbox/sandbox-flow/sandbox/index.js +10 -0
- package/dist/_sandbox/sandbox-flow/scripts/build.mjs +120 -0
- package/dist/_sandbox/sandbox-game/SKILL.md +116 -0
- package/dist/_sandbox/sandbox-game/package.json +36 -0
- package/dist/_sandbox/sandbox-game/sandbox/index.js +208 -0
- package/dist/_sandbox/sandbox-gif/SKILL.md +36 -0
- package/dist/_sandbox/sandbox-gif/package.json +43 -0
- package/dist/_sandbox/sandbox-html/SKILL.md +107 -0
- package/dist/_sandbox/sandbox-html/package.json +40 -0
- package/dist/_sandbox/sandbox-ics/SKILL.md +41 -0
- package/dist/_sandbox/sandbox-ics/package.json +40 -0
- package/dist/_sandbox/sandbox-jmespath/SKILL.md +26 -0
- package/dist/_sandbox/sandbox-jmespath/package.json +43 -0
- package/dist/_sandbox/sandbox-mammoth/SKILL.md +46 -0
- package/dist/_sandbox/sandbox-mammoth/package.json +41 -0
- package/dist/_sandbox/sandbox-markdown/SKILL.md +123 -0
- package/dist/_sandbox/sandbox-markdown/package.json +41 -0
- package/dist/_sandbox/sandbox-notion/SKILL.md +101 -0
- package/dist/_sandbox/sandbox-notion/package.json +38 -0
- package/dist/_sandbox/sandbox-ocr/SKILL.md +47 -0
- package/dist/_sandbox/sandbox-ocr/package.json +40 -0
- package/dist/_sandbox/sandbox-pdf/SKILL.md +47 -0
- package/dist/_sandbox/sandbox-pdf/package.json +39 -0
- package/dist/_sandbox/sandbox-pdflib/SKILL.md +56 -0
- package/dist/_sandbox/sandbox-pdflib/package.json +38 -0
- package/dist/_sandbox/sandbox-pptx/SKILL.md +42 -0
- package/dist/_sandbox/sandbox-pptx/package.json +40 -0
- package/dist/_sandbox/sandbox-pptxgen/SKILL.md +49 -0
- package/dist/_sandbox/sandbox-pptxgen/package.json +38 -0
- package/dist/_sandbox/sandbox-qr/SKILL.md +43 -0
- package/dist/_sandbox/sandbox-qr/package.json +42 -0
- package/dist/_sandbox/sandbox-rrule/SKILL.md +37 -0
- package/dist/_sandbox/sandbox-rrule/package.json +43 -0
- package/dist/_sandbox/sandbox-stats/SKILL.md +42 -0
- package/dist/_sandbox/sandbox-stats/package.json +43 -0
- package/dist/_sandbox/sandbox-subtitle/SKILL.md +38 -0
- package/dist/_sandbox/sandbox-subtitle/package.json +41 -0
- package/dist/_sandbox/sandbox-supabase/SKILL.md +108 -0
- package/dist/_sandbox/sandbox-supabase/package.json +39 -0
- package/dist/_sandbox/sandbox-tfjs/SKILL.md +76 -0
- package/dist/_sandbox/sandbox-tfjs/package.json +42 -0
- package/dist/_sandbox/sandbox-timeline/SKILL.md +647 -0
- package/dist/_sandbox/sandbox-timeline/package.json +46 -0
- package/dist/_sandbox/sandbox-timeline/sandbox/charts.js +356 -0
- package/dist/_sandbox/sandbox-timeline/sandbox/components.js +171 -0
- package/dist/_sandbox/sandbox-timeline/sandbox/index.d.ts +700 -0
- package/dist/_sandbox/sandbox-timeline/sandbox/index.js +1658 -0
- package/dist/_sandbox/sandbox-tokens/SKILL.md +46 -0
- package/dist/_sandbox/sandbox-tokens/package.json +40 -0
- package/dist/_sandbox/sandbox-twilio/SKILL.md +93 -0
- package/dist/_sandbox/sandbox-twilio/package.json +39 -0
- package/dist/_sandbox/sandbox-xlsx/SKILL.md +74 -0
- package/dist/_sandbox/sandbox-xlsx/package.json +40 -0
- package/dist/_sandbox/sandbox-xml/SKILL.md +36 -0
- package/dist/_sandbox/sandbox-xml/package.json +40 -0
- package/dist/_sandbox/sandbox-yaml/SKILL.md +48 -0
- package/dist/_sandbox/sandbox-yaml/package.json +41 -0
- package/dist/_sandbox/sandbox-zip/SKILL.md +54 -0
- package/dist/_sandbox/sandbox-zip/package.json +40 -0
- package/dist/code-node-validation.d.ts +2 -0
- package/dist/code-node-validation.d.ts.map +1 -1
- package/dist/code-node-validation.js +1 -1
- package/dist/code-node-validation.js.map +1 -1
- package/dist/pack-loader.d.ts +1 -0
- package/dist/pack-loader.d.ts.map +1 -1
- package/dist/pack-loader.js +1 -0
- package/dist/pack-loader.js.map +1 -1
- package/dist/sandbox-catalog-host.js +1 -1
- package/dist/sandbox-catalog-host.js.map +1 -1
- package/dist/sandbox-pack-discovery.d.ts +3 -0
- package/dist/sandbox-pack-discovery.d.ts.map +1 -1
- package/dist/sandbox-pack-discovery.js +7 -3
- package/dist/sandbox-pack-discovery.js.map +1 -1
- package/package.json +5 -5
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
// Built from @nodetool-ai/dsl by scripts/build.mjs — do not edit
|
|
2
|
+
import { createNode } from "../core.js";
|
|
3
|
+
function paste(inputs, options) {
|
|
4
|
+
return createNode("nodetool.image.Paste", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "image" }, defaultOutput: "output" });
|
|
5
|
+
}
|
|
6
|
+
function scale(inputs, options) {
|
|
7
|
+
return createNode("nodetool.image.Scale", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "image" }, defaultOutput: "output" });
|
|
8
|
+
}
|
|
9
|
+
function resizeImage(inputs, options) {
|
|
10
|
+
return createNode("nodetool.image.ResizeImage", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "image" }, defaultOutput: "output" });
|
|
11
|
+
}
|
|
12
|
+
function resize(inputs, options) {
|
|
13
|
+
return createNode("nodetool.image.Resize", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "image" }, defaultOutput: "output" });
|
|
14
|
+
}
|
|
15
|
+
function canvasResize(inputs, options) {
|
|
16
|
+
return createNode("nodetool.image.CanvasResize", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "image" }, defaultOutput: "output" });
|
|
17
|
+
}
|
|
18
|
+
function crop(inputs, options) {
|
|
19
|
+
return createNode("nodetool.image.Crop", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "image" }, defaultOutput: "output" });
|
|
20
|
+
}
|
|
21
|
+
function fit(inputs, options) {
|
|
22
|
+
return createNode("nodetool.image.Fit", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "image" }, defaultOutput: "output" });
|
|
23
|
+
}
|
|
24
|
+
function rotateAndFlip(inputs, options) {
|
|
25
|
+
return createNode("nodetool.image.RotateAndFlip", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "image" }, defaultOutput: "output" });
|
|
26
|
+
}
|
|
27
|
+
function channels(inputs, options) {
|
|
28
|
+
return createNode("nodetool.image.Channels", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "image" }, defaultOutput: "output" });
|
|
29
|
+
}
|
|
30
|
+
function blur(inputs, options) {
|
|
31
|
+
return createNode("nodetool.image.Blur", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "image" }, defaultOutput: "output" });
|
|
32
|
+
}
|
|
33
|
+
function levels(inputs, options) {
|
|
34
|
+
return createNode("nodetool.image.Levels", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "image" }, defaultOutput: "output" });
|
|
35
|
+
}
|
|
36
|
+
function compositor(inputs, options) {
|
|
37
|
+
return createNode("nodetool.image.Compositor", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "image" }, defaultOutput: "output" });
|
|
38
|
+
}
|
|
39
|
+
function loadImageFile(inputs, options) {
|
|
40
|
+
return createNode("nodetool.image.LoadImageFile", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "image" }, defaultOutput: "output" });
|
|
41
|
+
}
|
|
42
|
+
function loadImageFolder(inputs, options) {
|
|
43
|
+
return createNode("nodetool.image.LoadImageFolder", inputs, { id: options?.id, outputNames: ["image", "path", "images"], outputTypes: { "image": "image", "path": "str", "images": "list" }, streaming: true, inputMode: "buffered", outputCorrelation: { "image": { "kind": "iteration", "source": "__execution__", "group": "items" }, "path": { "kind": "iteration", "source": "__execution__", "group": "items" }, "images": { "kind": "single", "source": "__execution__" } } });
|
|
44
|
+
}
|
|
45
|
+
function saveImageFile(inputs, options) {
|
|
46
|
+
return createNode("nodetool.image.SaveImageFile", inputs, { id: options?.id, outputNames: ["output", "path"], outputTypes: { "output": "image", "path": "str" } });
|
|
47
|
+
}
|
|
48
|
+
function loadImageAssets(inputs, options) {
|
|
49
|
+
return createNode("nodetool.image.LoadImageAssets", inputs, { id: options?.id, outputNames: ["image", "name", "images"], outputTypes: { "image": "image", "name": "str", "images": "list" }, streaming: true, inputMode: "buffered", outputCorrelation: { "image": { "kind": "iteration", "source": "__execution__", "group": "items" }, "name": { "kind": "iteration", "source": "__execution__", "group": "items" }, "images": { "kind": "single", "source": "__execution__" } } });
|
|
50
|
+
}
|
|
51
|
+
function saveImage(inputs, options) {
|
|
52
|
+
return createNode("nodetool.image.SaveImage", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "image" }, defaultOutput: "output" });
|
|
53
|
+
}
|
|
54
|
+
function getMetadata(inputs, options) {
|
|
55
|
+
return createNode("nodetool.image.GetMetadata", inputs, { id: options?.id, outputNames: ["format", "mode", "width", "height", "channels"], outputTypes: { "format": "str", "mode": "str", "width": "int", "height": "int", "channels": "int" } });
|
|
56
|
+
}
|
|
57
|
+
function batchToList(inputs, options) {
|
|
58
|
+
return createNode("nodetool.image.BatchToList", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "list[image]" }, defaultOutput: "output" });
|
|
59
|
+
}
|
|
60
|
+
function imagesToList(inputs, options) {
|
|
61
|
+
return createNode("nodetool.image.ImagesToList", inputs ?? {}, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "list[image]" }, defaultOutput: "output" });
|
|
62
|
+
}
|
|
63
|
+
function painter(inputs, options) {
|
|
64
|
+
return createNode("nodetool.image.Painter", inputs, { id: options?.id, outputNames: ["mask", "image"], outputTypes: { "mask": "image", "image": "image" } });
|
|
65
|
+
}
|
|
66
|
+
function textToImage(inputs, options) {
|
|
67
|
+
return createNode("nodetool.image.TextToImage", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "image" }, defaultOutput: "output" });
|
|
68
|
+
}
|
|
69
|
+
function imageToImage(inputs, options) {
|
|
70
|
+
return createNode("nodetool.image.ImageToImage", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "image" }, defaultOutput: "output" });
|
|
71
|
+
}
|
|
72
|
+
function upscale(inputs, options) {
|
|
73
|
+
return createNode("nodetool.image.Upscale", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "image" }, defaultOutput: "output" });
|
|
74
|
+
}
|
|
75
|
+
function removeBackground(inputs, options) {
|
|
76
|
+
return createNode("nodetool.image.RemoveBackground", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "image" }, defaultOutput: "output" });
|
|
77
|
+
}
|
|
78
|
+
function estimateDepth(inputs, options) {
|
|
79
|
+
return createNode("nodetool.image.EstimateDepth", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "image" }, defaultOutput: "output" });
|
|
80
|
+
}
|
|
81
|
+
function relight(inputs, options) {
|
|
82
|
+
return createNode("nodetool.image.Relight", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "image" }, defaultOutput: "output" });
|
|
83
|
+
}
|
|
84
|
+
function vectorize(inputs, options) {
|
|
85
|
+
return createNode("nodetool.image.Vectorize", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "svg_element" }, defaultOutput: "output" });
|
|
86
|
+
}
|
|
87
|
+
function segment(inputs, options) {
|
|
88
|
+
return createNode("nodetool.image.Segment", inputs, { id: options?.id, outputNames: ["masks", "labels", "scores"], outputTypes: { "masks": "list[image]", "labels": "list[str]", "scores": "list[float]" } });
|
|
89
|
+
}
|
|
90
|
+
export {
|
|
91
|
+
batchToList,
|
|
92
|
+
blur,
|
|
93
|
+
canvasResize,
|
|
94
|
+
channels,
|
|
95
|
+
compositor,
|
|
96
|
+
crop,
|
|
97
|
+
estimateDepth,
|
|
98
|
+
fit,
|
|
99
|
+
getMetadata,
|
|
100
|
+
imageToImage,
|
|
101
|
+
imagesToList,
|
|
102
|
+
levels,
|
|
103
|
+
loadImageAssets,
|
|
104
|
+
loadImageFile,
|
|
105
|
+
loadImageFolder,
|
|
106
|
+
painter,
|
|
107
|
+
paste,
|
|
108
|
+
relight,
|
|
109
|
+
removeBackground,
|
|
110
|
+
resize,
|
|
111
|
+
resizeImage,
|
|
112
|
+
rotateAndFlip,
|
|
113
|
+
saveImage,
|
|
114
|
+
saveImageFile,
|
|
115
|
+
scale,
|
|
116
|
+
segment,
|
|
117
|
+
textToImage,
|
|
118
|
+
upscale,
|
|
119
|
+
vectorize
|
|
120
|
+
};
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
// Built from @nodetool-ai/dsl by scripts/build.mjs — do not edit
|
|
2
|
+
import { createNode } from "../core.js";
|
|
3
|
+
function valueInput(inputs, options) {
|
|
4
|
+
return createNode("nodetool.input.ValueInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "any" }, defaultOutput: "output" });
|
|
5
|
+
}
|
|
6
|
+
function floatInput(inputs, options) {
|
|
7
|
+
return createNode("nodetool.input.FloatInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "float" }, defaultOutput: "output" });
|
|
8
|
+
}
|
|
9
|
+
function booleanInput(inputs, options) {
|
|
10
|
+
return createNode("nodetool.input.BooleanInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "bool" }, defaultOutput: "output" });
|
|
11
|
+
}
|
|
12
|
+
function integerInput(inputs, options) {
|
|
13
|
+
return createNode("nodetool.input.IntegerInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "int" }, defaultOutput: "output" });
|
|
14
|
+
}
|
|
15
|
+
function stringInput(inputs, options) {
|
|
16
|
+
return createNode("nodetool.input.StringInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "str" }, defaultOutput: "output" });
|
|
17
|
+
}
|
|
18
|
+
function selectInput(inputs, options) {
|
|
19
|
+
return createNode("nodetool.input.SelectInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "str" }, defaultOutput: "output" });
|
|
20
|
+
}
|
|
21
|
+
function stringListInput(inputs, options) {
|
|
22
|
+
return createNode("nodetool.input.StringListInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "list[str]" }, defaultOutput: "output" });
|
|
23
|
+
}
|
|
24
|
+
function folderPathInput(inputs, options) {
|
|
25
|
+
return createNode("nodetool.input.FolderPathInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "str" }, defaultOutput: "output" });
|
|
26
|
+
}
|
|
27
|
+
function huggingFaceModelInput(inputs, options) {
|
|
28
|
+
return createNode("nodetool.input.HuggingFaceModelInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "hf.model" }, defaultOutput: "output" });
|
|
29
|
+
}
|
|
30
|
+
function colorInput(inputs, options) {
|
|
31
|
+
return createNode("nodetool.input.ColorInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "color" }, defaultOutput: "output" });
|
|
32
|
+
}
|
|
33
|
+
function imageSizeInput(inputs, options) {
|
|
34
|
+
return createNode("nodetool.input.ImageSizeInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "image_size" }, defaultOutput: "output" });
|
|
35
|
+
}
|
|
36
|
+
function languageModelInput(inputs, options) {
|
|
37
|
+
return createNode("nodetool.input.LanguageModelInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "language_model" }, defaultOutput: "output" });
|
|
38
|
+
}
|
|
39
|
+
function imageModelInput(inputs, options) {
|
|
40
|
+
return createNode("nodetool.input.ImageModelInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "image_model" }, defaultOutput: "output" });
|
|
41
|
+
}
|
|
42
|
+
function videoModelInput(inputs, options) {
|
|
43
|
+
return createNode("nodetool.input.VideoModelInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "video_model" }, defaultOutput: "output" });
|
|
44
|
+
}
|
|
45
|
+
function ttsModelInput(inputs, options) {
|
|
46
|
+
return createNode("nodetool.input.TTSModelInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "tts_model" }, defaultOutput: "output" });
|
|
47
|
+
}
|
|
48
|
+
function asrModelInput(inputs, options) {
|
|
49
|
+
return createNode("nodetool.input.ASRModelInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "asr_model" }, defaultOutput: "output" });
|
|
50
|
+
}
|
|
51
|
+
function embeddingModelInput(inputs, options) {
|
|
52
|
+
return createNode("nodetool.input.EmbeddingModelInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "embedding_model" }, defaultOutput: "output" });
|
|
53
|
+
}
|
|
54
|
+
function dataframeInput(inputs, options) {
|
|
55
|
+
return createNode("nodetool.input.DataframeInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "dataframe" }, defaultOutput: "output" });
|
|
56
|
+
}
|
|
57
|
+
function documentInput(inputs, options) {
|
|
58
|
+
return createNode("nodetool.input.DocumentInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "document" }, defaultOutput: "output" });
|
|
59
|
+
}
|
|
60
|
+
function imageInput(inputs, options) {
|
|
61
|
+
return createNode("nodetool.input.ImageInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "image" }, defaultOutput: "output" });
|
|
62
|
+
}
|
|
63
|
+
function imageListInput(inputs, options) {
|
|
64
|
+
return createNode("nodetool.input.ImageListInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "list[image]" }, defaultOutput: "output" });
|
|
65
|
+
}
|
|
66
|
+
function videoListInput(inputs, options) {
|
|
67
|
+
return createNode("nodetool.input.VideoListInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "list[video]" }, defaultOutput: "output" });
|
|
68
|
+
}
|
|
69
|
+
function audioListInput(inputs, options) {
|
|
70
|
+
return createNode("nodetool.input.AudioListInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "list[audio]" }, defaultOutput: "output" });
|
|
71
|
+
}
|
|
72
|
+
function textListInput(inputs, options) {
|
|
73
|
+
return createNode("nodetool.input.TextListInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "list[str]" }, defaultOutput: "output" });
|
|
74
|
+
}
|
|
75
|
+
function videoInput(inputs, options) {
|
|
76
|
+
return createNode("nodetool.input.VideoInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "video" }, defaultOutput: "output" });
|
|
77
|
+
}
|
|
78
|
+
function audioInput(inputs, options) {
|
|
79
|
+
return createNode("nodetool.input.AudioInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "audio" }, defaultOutput: "output" });
|
|
80
|
+
}
|
|
81
|
+
function model3DInput(inputs, options) {
|
|
82
|
+
return createNode("nodetool.input.Model3DInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "model_3d" }, defaultOutput: "output" });
|
|
83
|
+
}
|
|
84
|
+
function realtimeAudioInput(inputs, options) {
|
|
85
|
+
return createNode("nodetool.input.RealtimeAudioInput", inputs, { id: options?.id, outputNames: ["chunk"], outputTypes: { "chunk": "chunk" }, defaultOutput: "chunk", streaming: true, inputMode: "buffered", outputCorrelation: { "chunk": { "kind": "chunk", "source": "__execution__" } } });
|
|
86
|
+
}
|
|
87
|
+
function assetFolderInput(inputs, options) {
|
|
88
|
+
return createNode("nodetool.input.AssetFolderInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "folder" }, defaultOutput: "output" });
|
|
89
|
+
}
|
|
90
|
+
function filePathInput(inputs, options) {
|
|
91
|
+
return createNode("nodetool.input.FilePathInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "str" }, defaultOutput: "output" });
|
|
92
|
+
}
|
|
93
|
+
function documentFileInput(inputs, options) {
|
|
94
|
+
return createNode("nodetool.input.DocumentFileInput", inputs, { id: options?.id, outputNames: ["document", "path"], outputTypes: { "document": "document", "path": "str" } });
|
|
95
|
+
}
|
|
96
|
+
function messageInput(inputs, options) {
|
|
97
|
+
return createNode("nodetool.input.MessageInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "message" }, defaultOutput: "output" });
|
|
98
|
+
}
|
|
99
|
+
function messageListInput(inputs, options) {
|
|
100
|
+
return createNode("nodetool.input.MessageListInput", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "list[message]" }, defaultOutput: "output" });
|
|
101
|
+
}
|
|
102
|
+
function messageDeconstructor(inputs, options) {
|
|
103
|
+
return createNode("nodetool.input.MessageDeconstructor", inputs, { id: options?.id, outputNames: ["id", "thread_id", "role", "text", "image", "audio", "model"], outputTypes: { "id": "str", "thread_id": "str", "role": "str", "text": "str", "image": "image", "audio": "audio", "model": "language_model" } });
|
|
104
|
+
}
|
|
105
|
+
export {
|
|
106
|
+
asrModelInput,
|
|
107
|
+
assetFolderInput,
|
|
108
|
+
audioInput,
|
|
109
|
+
audioListInput,
|
|
110
|
+
booleanInput,
|
|
111
|
+
colorInput,
|
|
112
|
+
dataframeInput,
|
|
113
|
+
documentFileInput,
|
|
114
|
+
documentInput,
|
|
115
|
+
embeddingModelInput,
|
|
116
|
+
filePathInput,
|
|
117
|
+
floatInput,
|
|
118
|
+
folderPathInput,
|
|
119
|
+
huggingFaceModelInput,
|
|
120
|
+
imageInput,
|
|
121
|
+
imageListInput,
|
|
122
|
+
imageModelInput,
|
|
123
|
+
imageSizeInput,
|
|
124
|
+
integerInput,
|
|
125
|
+
languageModelInput,
|
|
126
|
+
messageDeconstructor,
|
|
127
|
+
messageInput,
|
|
128
|
+
messageListInput,
|
|
129
|
+
model3DInput,
|
|
130
|
+
realtimeAudioInput,
|
|
131
|
+
selectInput,
|
|
132
|
+
stringInput,
|
|
133
|
+
stringListInput,
|
|
134
|
+
textListInput,
|
|
135
|
+
ttsModelInput,
|
|
136
|
+
valueInput,
|
|
137
|
+
videoInput,
|
|
138
|
+
videoListInput,
|
|
139
|
+
videoModelInput
|
|
140
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Built from @nodetool-ai/dsl by scripts/build.mjs — do not edit
|
|
2
|
+
import { createNode } from "../core.js";
|
|
3
|
+
function renderScene(inputs, options) {
|
|
4
|
+
return createNode("nodetool.manimgx.RenderScene", inputs, { id: options?.id, outputNames: ["video", "storyboard", "report", "subtitles", "duration"], outputTypes: { "video": "video", "storyboard": "list[image]", "report": "str", "subtitles": "str", "duration": "float" } });
|
|
5
|
+
}
|
|
6
|
+
function inspectScene(inputs, options) {
|
|
7
|
+
return createNode("nodetool.manimgx.InspectScene", inputs, { id: options?.id, outputNames: ["ok", "problems", "report", "storyboard", "duration"], outputTypes: { "ok": "bool", "problems": "bool", "report": "str", "storyboard": "list[image]", "duration": "float" } });
|
|
8
|
+
}
|
|
9
|
+
function generateScene(inputs, options) {
|
|
10
|
+
return createNode("nodetool.manimgx.GenerateScene", inputs, { id: options?.id, outputNames: ["video", "code", "storyboard", "report", "attempts"], outputTypes: { "video": "video", "code": "str", "storyboard": "list[image]", "report": "str", "attempts": "int" } });
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
generateScene,
|
|
14
|
+
inspectScene,
|
|
15
|
+
renderScene
|
|
16
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// Built from @nodetool-ai/dsl by scripts/build.mjs — do not edit
|
|
2
|
+
import { createNode } from "../core.js";
|
|
3
|
+
function loadModel3DFile(inputs, options) {
|
|
4
|
+
return createNode("nodetool.model3d.LoadModel3DFile", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "model_3d" }, defaultOutput: "output" });
|
|
5
|
+
}
|
|
6
|
+
function saveModel3DFile(inputs, options) {
|
|
7
|
+
return createNode("nodetool.model3d.SaveModel3DFile", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "model_3d" }, defaultOutput: "output" });
|
|
8
|
+
}
|
|
9
|
+
function saveModel3D(inputs, options) {
|
|
10
|
+
return createNode("nodetool.model3d.SaveModel3D", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "model_3d" }, defaultOutput: "output" });
|
|
11
|
+
}
|
|
12
|
+
function formatConverter(inputs, options) {
|
|
13
|
+
return createNode("nodetool.model3d.FormatConverter", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "model_3d" }, defaultOutput: "output" });
|
|
14
|
+
}
|
|
15
|
+
function getModel3DMetadata(inputs, options) {
|
|
16
|
+
return createNode("nodetool.model3d.GetModel3DMetadata", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "dict" }, defaultOutput: "output" });
|
|
17
|
+
}
|
|
18
|
+
function transform3D(inputs, options) {
|
|
19
|
+
return createNode("nodetool.model3d.Transform3D", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "model_3d" }, defaultOutput: "output" });
|
|
20
|
+
}
|
|
21
|
+
function decimate(inputs, options) {
|
|
22
|
+
return createNode("nodetool.model3d.Decimate", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "model_3d" }, defaultOutput: "output" });
|
|
23
|
+
}
|
|
24
|
+
function boolean3D(inputs, options) {
|
|
25
|
+
return createNode("nodetool.model3d.Boolean3D", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "model_3d" }, defaultOutput: "output" });
|
|
26
|
+
}
|
|
27
|
+
function recalculateNormals(inputs, options) {
|
|
28
|
+
return createNode("nodetool.model3d.RecalculateNormals", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "model_3d" }, defaultOutput: "output" });
|
|
29
|
+
}
|
|
30
|
+
function centerMesh(inputs, options) {
|
|
31
|
+
return createNode("nodetool.model3d.CenterMesh", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "model_3d" }, defaultOutput: "output" });
|
|
32
|
+
}
|
|
33
|
+
function flipNormals(inputs, options) {
|
|
34
|
+
return createNode("nodetool.model3d.FlipNormals", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "model_3d" }, defaultOutput: "output" });
|
|
35
|
+
}
|
|
36
|
+
function normalizeModel3D(inputs, options) {
|
|
37
|
+
return createNode("nodetool.model3d.NormalizeModel3D", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "model_3d" }, defaultOutput: "output" });
|
|
38
|
+
}
|
|
39
|
+
function extractLargestComponent(inputs, options) {
|
|
40
|
+
return createNode("nodetool.model3d.ExtractLargestComponent", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "model_3d" }, defaultOutput: "output" });
|
|
41
|
+
}
|
|
42
|
+
function repairMesh(inputs, options) {
|
|
43
|
+
return createNode("nodetool.model3d.RepairMesh", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "model_3d" }, defaultOutput: "output" });
|
|
44
|
+
}
|
|
45
|
+
function mergeMeshes(inputs, options) {
|
|
46
|
+
return createNode("nodetool.model3d.MergeMeshes", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "model_3d" }, defaultOutput: "output" });
|
|
47
|
+
}
|
|
48
|
+
function textTo3D(inputs, options) {
|
|
49
|
+
return createNode("nodetool.model3d.TextTo3D", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "model_3d" }, defaultOutput: "output" });
|
|
50
|
+
}
|
|
51
|
+
function imageTo3D(inputs, options) {
|
|
52
|
+
return createNode("nodetool.model3d.ImageTo3D", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "model_3d" }, defaultOutput: "output" });
|
|
53
|
+
}
|
|
54
|
+
function renderToImage(inputs, options) {
|
|
55
|
+
return createNode("nodetool.model3d.RenderToImage", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "image" }, defaultOutput: "output" });
|
|
56
|
+
}
|
|
57
|
+
export {
|
|
58
|
+
boolean3D,
|
|
59
|
+
centerMesh,
|
|
60
|
+
decimate,
|
|
61
|
+
extractLargestComponent,
|
|
62
|
+
flipNormals,
|
|
63
|
+
formatConverter,
|
|
64
|
+
getModel3DMetadata,
|
|
65
|
+
imageTo3D,
|
|
66
|
+
loadModel3DFile,
|
|
67
|
+
mergeMeshes,
|
|
68
|
+
normalizeModel3D,
|
|
69
|
+
recalculateNormals,
|
|
70
|
+
renderToImage,
|
|
71
|
+
repairMesh,
|
|
72
|
+
saveModel3D,
|
|
73
|
+
saveModel3DFile,
|
|
74
|
+
textTo3D,
|
|
75
|
+
transform3D
|
|
76
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// Built from @nodetool-ai/dsl by scripts/build.mjs — do not edit
|
|
2
|
+
import { createNode } from "../core.js";
|
|
3
|
+
function output(inputs, options) {
|
|
4
|
+
return createNode("nodetool.output.Output", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "any" }, defaultOutput: "output", streaming: true, inputMode: "buffered", outputCorrelation: { "output": { "kind": "forward", "source": "value" } } });
|
|
5
|
+
}
|
|
6
|
+
export {
|
|
7
|
+
output
|
|
8
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// Built from @nodetool-ai/dsl by scripts/build.mjs — do not edit
|
|
2
|
+
import { createNode } from "../core.js";
|
|
3
|
+
function loadScript(inputs, options) {
|
|
4
|
+
return createNode("nodetool.script.LoadScript", inputs, { id: options?.id, outputNames: ["text", "lines", "name", "line_count"], outputTypes: { "text": "str", "lines": "list[str]", "name": "str", "line_count": "int" } });
|
|
5
|
+
}
|
|
6
|
+
function voiceScript(inputs, options) {
|
|
7
|
+
return createNode("nodetool.script.VoiceScript", inputs, { id: options?.id, outputNames: ["output", "voiced_count"], outputTypes: { "output": "script", "voiced_count": "int" } });
|
|
8
|
+
}
|
|
9
|
+
function scriptToTimeline(inputs, options) {
|
|
10
|
+
return createNode("nodetool.script.ScriptToTimeline", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "timeline" }, defaultOutput: "output" });
|
|
11
|
+
}
|
|
12
|
+
function scriptToSubtitles(inputs, options) {
|
|
13
|
+
return createNode("nodetool.script.ScriptToSubtitles", inputs, { id: options?.id, outputNames: ["subtitles", "cue_count"], outputTypes: { "subtitles": "str", "cue_count": "int" } });
|
|
14
|
+
}
|
|
15
|
+
function writeScript(inputs, options) {
|
|
16
|
+
return createNode("nodetool.script.WriteScript", inputs, { id: options?.id, outputNames: ["script", "line_count"], outputTypes: { "script": "script", "line_count": "int" } });
|
|
17
|
+
}
|
|
18
|
+
function fillScript(inputs, options) {
|
|
19
|
+
return createNode("nodetool.script.FillScript", inputs, { id: options?.id, outputNames: ["script", "filled", "unresolved"], outputTypes: { "script": "script", "filled": "list[str]", "unresolved": "list[str]" } });
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
fillScript,
|
|
23
|
+
loadScript,
|
|
24
|
+
scriptToSubtitles,
|
|
25
|
+
scriptToTimeline,
|
|
26
|
+
voiceScript,
|
|
27
|
+
writeScript
|
|
28
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Built from @nodetool-ai/dsl by scripts/build.mjs — do not edit
|
|
2
|
+
import { createNode } from "../core.js";
|
|
3
|
+
function renderSketch(inputs, options) {
|
|
4
|
+
return createNode("nodetool.sketch.RenderSketch", inputs, { id: options?.id, outputNames: ["image", "mask"], outputTypes: { "image": "image", "mask": "image" } });
|
|
5
|
+
}
|
|
6
|
+
function sketchLayers(inputs, options) {
|
|
7
|
+
return createNode("nodetool.sketch.SketchLayers", inputs, { id: options?.id, outputNames: ["layers", "names"], outputTypes: { "layers": "list[image]", "names": "list[str]" } });
|
|
8
|
+
}
|
|
9
|
+
function createSketch(inputs, options) {
|
|
10
|
+
return createNode("nodetool.sketch.CreateSketch", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "sketch" }, defaultOutput: "output" });
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
createSketch,
|
|
14
|
+
renderSketch,
|
|
15
|
+
sketchLayers
|
|
16
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// Built from @nodetool-ai/dsl by scripts/build.mjs — do not edit
|
|
2
|
+
import { createNode } from "../core.js";
|
|
3
|
+
function loadStoryboard(inputs, options) {
|
|
4
|
+
return createNode("nodetool.storyboard.LoadStoryboard", inputs, { id: options?.id, outputNames: ["storyboard", "shots", "entities", "style", "aspect_ratio", "name", "image_model", "video_model", "shot_count"], outputTypes: { "storyboard": "storyboard", "shots": "list[dict]", "entities": "list[entity]", "style": "str", "aspect_ratio": "str", "name": "str", "image_model": "image_model", "video_model": "video_model", "shot_count": "int" } });
|
|
5
|
+
}
|
|
6
|
+
function storyboardShots(inputs, options) {
|
|
7
|
+
return createNode("nodetool.storyboard.StoryboardShots", inputs, { id: options?.id, outputNames: ["shot", "index", "slug", "keyframe", "clip", "output"], outputTypes: { "shot": "dict", "index": "int", "slug": "str", "keyframe": "image", "clip": "video", "output": "list[dict]" }, streaming: true, inputMode: "buffered", outputCorrelation: { "shot": { "kind": "iteration", "source": "__execution__", "group": "items" }, "index": { "kind": "iteration", "source": "__execution__", "group": "items" }, "slug": { "kind": "iteration", "source": "__execution__", "group": "items" }, "keyframe": { "kind": "iteration", "source": "__execution__", "group": "items" }, "clip": { "kind": "iteration", "source": "__execution__", "group": "items" }, "output": { "kind": "single", "source": "__execution__" } } });
|
|
8
|
+
}
|
|
9
|
+
function createStoryboard(inputs, options) {
|
|
10
|
+
return createNode("nodetool.storyboard.CreateStoryboard", inputs, { id: options?.id, outputNames: ["storyboard", "shots", "shot_count", "created"], outputTypes: { "storyboard": "storyboard", "shots": "list[dict]", "shot_count": "int", "created": "bool" } });
|
|
11
|
+
}
|
|
12
|
+
function recastStoryboard(inputs, options) {
|
|
13
|
+
return createNode("nodetool.storyboard.RecastStoryboard", inputs, { id: options?.id, outputNames: ["storyboard", "invalidated", "kept"], outputTypes: { "storyboard": "storyboard", "invalidated": "list[str]", "kept": "list[str]" } });
|
|
14
|
+
}
|
|
15
|
+
function renderStills(inputs, options) {
|
|
16
|
+
return createNode("nodetool.storyboard.RenderStills", inputs, { id: options?.id, outputNames: ["storyboard", "keyframes", "rendered", "skipped", "failed"], outputTypes: { "storyboard": "storyboard", "keyframes": "list[image]", "rendered": "list[str]", "skipped": "list[str]", "failed": "list[str]" } });
|
|
17
|
+
}
|
|
18
|
+
function renderClips(inputs, options) {
|
|
19
|
+
return createNode("nodetool.storyboard.RenderClips", inputs, { id: options?.id, outputNames: ["storyboard", "clips", "rendered", "skipped", "failed"], outputTypes: { "storyboard": "storyboard", "clips": "list[video]", "rendered": "list[str]", "skipped": "list[str]", "failed": "list[str]" } });
|
|
20
|
+
}
|
|
21
|
+
function assembleTimeline(inputs, options) {
|
|
22
|
+
return createNode("nodetool.storyboard.AssembleTimeline", inputs, { id: options?.id, outputNames: ["timeline", "skipped_shots", "retimed"], outputTypes: { "timeline": "timeline", "skipped_shots": "list[str]", "retimed": "list[dict]" } });
|
|
23
|
+
}
|
|
24
|
+
export {
|
|
25
|
+
assembleTimeline,
|
|
26
|
+
createStoryboard,
|
|
27
|
+
loadStoryboard,
|
|
28
|
+
recastStoryboard,
|
|
29
|
+
renderClips,
|
|
30
|
+
renderStills,
|
|
31
|
+
storyboardShots
|
|
32
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// Built from @nodetool-ai/dsl by scripts/build.mjs — do not edit
|
|
2
|
+
import { createNode } from "../core.js";
|
|
3
|
+
function automaticSpeechRecognition(inputs, options) {
|
|
4
|
+
return createNode("nodetool.text.AutomaticSpeechRecognition", inputs, { id: options?.id, outputNames: ["text"], outputTypes: { "text": "str" }, defaultOutput: "text" });
|
|
5
|
+
}
|
|
6
|
+
function embedding(inputs, options) {
|
|
7
|
+
return createNode("nodetool.text.Embedding", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "list" }, defaultOutput: "output" });
|
|
8
|
+
}
|
|
9
|
+
function rerank(inputs, options) {
|
|
10
|
+
return createNode("nodetool.text.Rerank", inputs, { id: options?.id, outputNames: ["documents", "scores", "indices"], outputTypes: { "documents": "list[str]", "scores": "list[float]", "indices": "list[int]" } });
|
|
11
|
+
}
|
|
12
|
+
function saveTextFile(inputs, options) {
|
|
13
|
+
return createNode("nodetool.text.SaveTextFile", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "text" }, defaultOutput: "output" });
|
|
14
|
+
}
|
|
15
|
+
function saveText(inputs, options) {
|
|
16
|
+
return createNode("nodetool.text.SaveText", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "text" }, defaultOutput: "output" });
|
|
17
|
+
}
|
|
18
|
+
function loadTextFolder(inputs, options) {
|
|
19
|
+
return createNode("nodetool.text.LoadTextFolder", inputs, { id: options?.id, outputNames: ["text", "path", "texts", "paths"], outputTypes: { "text": "str", "path": "str", "texts": "list", "paths": "list" }, streaming: true });
|
|
20
|
+
}
|
|
21
|
+
function loadTextAssets(inputs, options) {
|
|
22
|
+
return createNode("nodetool.text.LoadTextAssets", inputs, { id: options?.id, outputNames: ["text", "name", "texts", "names"], outputTypes: { "text": "text", "name": "str", "texts": "list", "names": "list" }, streaming: true });
|
|
23
|
+
}
|
|
24
|
+
function filterString(inputs, options) {
|
|
25
|
+
return createNode("nodetool.text.FilterString", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "str" }, defaultOutput: "output", streaming: true, outputCorrelation: { "output": { "kind": "forward", "source": "value" } } });
|
|
26
|
+
}
|
|
27
|
+
function filterRegexString(inputs, options) {
|
|
28
|
+
return createNode("nodetool.text.FilterRegexString", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "str" }, defaultOutput: "output", streaming: true, outputCorrelation: { "output": { "kind": "forward", "source": "value" } } });
|
|
29
|
+
}
|
|
30
|
+
function concat(inputs, options) {
|
|
31
|
+
return createNode("nodetool.text.Concat", inputs ?? {}, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "str" }, defaultOutput: "output" });
|
|
32
|
+
}
|
|
33
|
+
function collect(inputs, options) {
|
|
34
|
+
return createNode("nodetool.text.Collect", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "str" }, defaultOutput: "output" });
|
|
35
|
+
}
|
|
36
|
+
function prompt(inputs, options) {
|
|
37
|
+
return createNode("nodetool.text.Prompt", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "str" }, defaultOutput: "output" });
|
|
38
|
+
}
|
|
39
|
+
function template(inputs, options) {
|
|
40
|
+
return createNode("nodetool.text.Template", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "str" }, defaultOutput: "output" });
|
|
41
|
+
}
|
|
42
|
+
export {
|
|
43
|
+
automaticSpeechRecognition,
|
|
44
|
+
collect,
|
|
45
|
+
concat,
|
|
46
|
+
embedding,
|
|
47
|
+
filterRegexString,
|
|
48
|
+
filterString,
|
|
49
|
+
loadTextAssets,
|
|
50
|
+
loadTextFolder,
|
|
51
|
+
prompt,
|
|
52
|
+
rerank,
|
|
53
|
+
saveText,
|
|
54
|
+
saveTextFile,
|
|
55
|
+
template
|
|
56
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// Built from @nodetool-ai/dsl by scripts/build.mjs — do not edit
|
|
2
|
+
import { createNode } from "../core.js";
|
|
3
|
+
function renderTimeline(inputs, options) {
|
|
4
|
+
return createNode("nodetool.timeline.RenderTimeline", inputs, { id: options?.id, outputNames: ["output", "frames"], outputTypes: { "output": "video", "frames": "document" } });
|
|
5
|
+
}
|
|
6
|
+
function transcript(inputs, options) {
|
|
7
|
+
return createNode("nodetool.timeline.Transcript", inputs, { id: options?.id, outputNames: ["text", "lines"], outputTypes: { "text": "str", "lines": "list[str]" } });
|
|
8
|
+
}
|
|
9
|
+
function addClips(inputs, options) {
|
|
10
|
+
return createNode("nodetool.timeline.AddClips", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "timeline" }, defaultOutput: "output" });
|
|
11
|
+
}
|
|
12
|
+
function fillTimelineText(inputs, options) {
|
|
13
|
+
return createNode("nodetool.timeline.FillTimelineText", inputs, { id: options?.id, outputNames: ["timeline", "filled", "unresolved"], outputTypes: { "timeline": "timeline", "filled": "list[str]", "unresolved": "list[str]" } });
|
|
14
|
+
}
|
|
15
|
+
function retargetTimeline(inputs, options) {
|
|
16
|
+
return createNode("nodetool.timeline.RetargetTimeline", inputs, { id: options?.id, outputNames: ["timeline", "cropped"], outputTypes: { "timeline": "timeline", "cropped": "list[str]" } });
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
addClips,
|
|
20
|
+
fillTimelineText,
|
|
21
|
+
renderTimeline,
|
|
22
|
+
retargetTimeline,
|
|
23
|
+
transcript
|
|
24
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// Built from @nodetool-ai/dsl by scripts/build.mjs — do not edit
|
|
2
|
+
import { createNode } from "../core.js";
|
|
3
|
+
function wait(inputs, options) {
|
|
4
|
+
return createNode("nodetool.triggers.Wait", inputs, { id: options?.id, outputNames: ["data", "resumed_at", "waited_seconds"], outputTypes: { "data": "any", "resumed_at": "str", "waited_seconds": "float" } });
|
|
5
|
+
}
|
|
6
|
+
function manualTrigger(inputs, options) {
|
|
7
|
+
return createNode("nodetool.triggers.ManualTrigger", inputs, { id: options?.id, outputNames: ["data", "timestamp", "source", "event_type"], outputTypes: { "data": "any", "timestamp": "str", "source": "str", "event_type": "str" }, streamingInput: true });
|
|
8
|
+
}
|
|
9
|
+
function intervalTrigger(inputs, options) {
|
|
10
|
+
return createNode("nodetool.triggers.IntervalTrigger", inputs, { id: options?.id, outputNames: ["tick", "elapsed_seconds", "interval_seconds", "timestamp", "source", "event_type"], outputTypes: { "tick": "int", "elapsed_seconds": "float", "interval_seconds": "float", "timestamp": "str", "source": "str", "event_type": "str" }, streaming: true });
|
|
11
|
+
}
|
|
12
|
+
function webhookTrigger(inputs, options) {
|
|
13
|
+
return createNode("nodetool.triggers.WebhookTrigger", inputs ?? {}, { id: options?.id, outputNames: ["body", "headers", "query", "method", "path", "timestamp", "source", "event_type"], outputTypes: { "body": "any", "headers": "dict[str, any]", "query": "dict[str, any]", "method": "str", "path": "str", "timestamp": "str", "source": "str", "event_type": "str" } });
|
|
14
|
+
}
|
|
15
|
+
function fileWatchTrigger(inputs, options) {
|
|
16
|
+
return createNode("nodetool.triggers.FileWatchTrigger", inputs, { id: options?.id, outputNames: ["event", "path", "dest_path", "is_directory", "timestamp"], outputTypes: { "event": "str", "path": "str", "dest_path": "str", "is_directory": "bool", "timestamp": "str" }, streaming: true });
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
fileWatchTrigger,
|
|
20
|
+
intervalTrigger,
|
|
21
|
+
manualTrigger,
|
|
22
|
+
wait,
|
|
23
|
+
webhookTrigger
|
|
24
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// Built from @nodetool-ai/dsl by scripts/build.mjs — do not edit
|
|
2
|
+
import { createNode } from "../core.js";
|
|
3
|
+
function setVariable(inputs, options) {
|
|
4
|
+
return createNode("nodetool.variable.SetVariable", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "any" }, defaultOutput: "output" });
|
|
5
|
+
}
|
|
6
|
+
function getVariable(inputs, options) {
|
|
7
|
+
return createNode("nodetool.variable.GetVariable", inputs, { id: options?.id, outputNames: ["output"], outputTypes: { "output": "any" }, defaultOutput: "output", streaming: true, outputCorrelation: { "output": { "kind": "iteration", "source": "__execution__", "group": "channel" } } });
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
getVariable,
|
|
11
|
+
setVariable
|
|
12
|
+
};
|