flowscale 1.0.12 → 1.0.13
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/README.md +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Flowscale Node.js SDK
|
|
2
2
|
|
|
3
|
-
A comprehensive Node.js SDK designed to simplify interaction with the
|
|
3
|
+
A comprehensive Node.js SDK designed to simplify interaction with the FlowScale ComfyUI API. This library abstracts away the complexities of API calls, enabling you to effortlessly invoke workflows, retrieve outputs, manage workflow runs, and monitor system health.
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -45,7 +45,7 @@ const flowscale = new FlowscaleAPI(apiKey, apiUrl);
|
|
|
45
45
|
|
|
46
46
|
```plaintext
|
|
47
47
|
FLOWSCALE_API_KEY=your-api-key
|
|
48
|
-
FLOWSCALE_API_URL=https://api.flowscale.ai
|
|
48
|
+
FLOWSCALE_API_URL=https://your-api-url.pod.flowscale.ai
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
---
|
|
@@ -184,7 +184,7 @@ console.log('Workflow Output:', output);
|
|
|
184
184
|
{
|
|
185
185
|
"status": "success",
|
|
186
186
|
"data": {
|
|
187
|
-
"download_url": "https://runs
|
|
187
|
+
"download_url": "https://runs.s3.amazonaws.com/generations/...",
|
|
188
188
|
"generation_status": "success"
|
|
189
189
|
}
|
|
190
190
|
}
|
|
@@ -240,13 +240,13 @@ console.log('Run Details:', runDetails);
|
|
|
240
240
|
"inputs": [
|
|
241
241
|
{
|
|
242
242
|
"path": "text_51536",
|
|
243
|
-
"value": "
|
|
243
|
+
"value": "a man riding a bike"
|
|
244
244
|
}
|
|
245
245
|
],
|
|
246
246
|
"outputs": [
|
|
247
247
|
{
|
|
248
248
|
"filename": "filename_prefix_58358_5WWF7GQUYF.png",
|
|
249
|
-
"url": "https://runs
|
|
249
|
+
"url": "https://runs.s3.amazonaws.com/generations/..."
|
|
250
250
|
}
|
|
251
251
|
]
|
|
252
252
|
}
|
|
@@ -287,7 +287,7 @@ console.log('All Runs:', allRuns);
|
|
|
287
287
|
"outputs": [
|
|
288
288
|
{
|
|
289
289
|
"filename": "filename_prefix_58358_G3DRLIVVYP.png",
|
|
290
|
-
"url": "https://runs
|
|
290
|
+
"url": "https://runs.s3.amazonaws.com/generations/..."
|
|
291
291
|
}
|
|
292
292
|
]
|
|
293
293
|
}
|