chutes-js 1.0.0 → 1.0.1
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 +13 -7
- package/package.json +7 -3
package/README.md
CHANGED
|
@@ -252,15 +252,21 @@ Cancel/delete a job.
|
|
|
252
252
|
|
|
253
253
|
## Available Models
|
|
254
254
|
|
|
255
|
-
|
|
256
|
-
|
|
255
|
+
This SDK supports **all models** available on Chutes.ai. Below are some examples:
|
|
256
|
+
|
|
257
|
+
| Type | Example Model | Method | Notes |
|
|
258
|
+
|------|---------------|--------|-------|
|
|
257
259
|
| LLM | `zai-org/GLM-4.7-TEE` | `chat()` / `chatStream()` | OpenAI-compatible |
|
|
258
|
-
| Image | `qwen-image` | `image()` | Text-to-image |
|
|
259
|
-
|
|
|
260
|
-
|
|
|
261
|
-
|
|
|
260
|
+
| Image | `qwen-image`, `FLUX.1-dev` | `image()` | Text-to-image |
|
|
261
|
+
| Image | `hunyuan-image-3`, `hidream` | `invoke()` | Subdomain models |
|
|
262
|
+
| Video | `wan-2-2-i2v-14b-fast` | `video()` | Image-to-video |
|
|
263
|
+
| Video | `wan2.1-14b` | `invoke()` | Text-to-video |
|
|
264
|
+
| Audio | `kokoro`, `csm-1b` | `audio()` | Text-to-speech |
|
|
265
|
+
|
|
266
|
+
> **Tip**: Use `image()`, `video()`, and `audio()` for common models. Use `invoke()` for any model with a subdomain URL pattern.
|
|
267
|
+
|
|
268
|
+
Browse all models at [chutes.ai/app](https://chutes.ai/app)
|
|
262
269
|
|
|
263
|
-
Find more models at [chutes.ai/app](https://chutes.ai/app)
|
|
264
270
|
|
|
265
271
|
## Error Handling
|
|
266
272
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chutes-js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "A lightweight, functional Node.js client for consuming Chutes.ai models (LLM, Image, Video, Audio).",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "node tests/test.js",
|
|
@@ -38,9 +38,13 @@
|
|
|
38
38
|
"license": "MIT",
|
|
39
39
|
"repository": {
|
|
40
40
|
"type": "git",
|
|
41
|
-
"url": ""
|
|
41
|
+
"url": "git+https://github.com/yum72/chutes-js.git"
|
|
42
42
|
},
|
|
43
|
+
"bugs": {
|
|
44
|
+
"url": "https://github.com/yum72/chutes-js/issues"
|
|
45
|
+
},
|
|
46
|
+
"homepage": "https://github.com/yum72/chutes-js#readme",
|
|
43
47
|
"devDependencies": {
|
|
44
48
|
"dotenv": "^17.2.3"
|
|
45
49
|
}
|
|
46
|
-
}
|
|
50
|
+
}
|