Readme update + api example

This commit is contained in:
Aaron Burton
2026-03-18 19:02:52 -07:00
parent 96c6d998dd
commit e460b49fb4
4 changed files with 14 additions and 0 deletions
+1
View File
@@ -8,5 +8,6 @@ build/
.venv/
*.log
.DS_Store
.vscode/
Thumbs.db
node.zip
+10
View File
@@ -24,6 +24,16 @@ Most PNG-to-SVG converters produce noisy paths, stray anchor points, and muddy f
The node submits your image, polls for completion, and returns the SVG automatically. No extra steps.
### Storing your API key for reuse
Instead of pasting your key into every node, you can store it once using the **Variable Set** and **Variable Get** nodes from [augment-ComfyUI](https://github.com/augment-lib/augment-ComfyUI). Install that repo for the extra utility nodes, then:
1. Add a **Variable Set (String)** node. Set `variable_name` to `api_key` and paste your key into the `value` field.
2. Add a **Variable Get (String)** node. Set `variable_name` to `api_key` and connect its `text` output to the `api_key` input on **Vectorize Pro**.
3. Once set, you can use **Variable Get** in any workflow and it will always pull your saved key. No need to paste it again.
![API key setup example](assets/api_key_example.png)
## Included nodes
Binary file not shown.

After

Width:  |  Height:  |  Size: 243 KiB

+3
View File
@@ -24,6 +24,9 @@ app.registerExtension({
const origCreated = nodeType.prototype.onNodeCreated;
nodeType.prototype.onNodeCreated = function () {
origCreated?.apply(this, arguments);
if (this.widgets) {
this.widgets = this.widgets.filter(w => w.name !== "Get Tokens");
}
this.addWidget("button", "Get Tokens", null, () => {
window.open("https://augmentstudio.app/pricing", "_blank");
});