@wavespeed/mcp 1.2.10 → 1.2.11
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 +1 -1
- package/dist/lib/media-models.js +2 -1
- package/dist/server.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ Built on the same design as the open-source [`@wavespeed/cli`](https://github.co
|
|
|
34
34
|
| `list_models` | Search the live catalog by text or modality type |
|
|
35
35
|
| `get_model_schema` | A model's real input schema (required, properties, defaults), with a link to the model's playground page |
|
|
36
36
|
| `run_model` | Submit + wait; rejects input keys the model doesn't accept; `@path` inputs upload automatically; returns output URLs |
|
|
37
|
-
| `generate_image` | Image from a prompt with the /chat image models (default Seedream 5
|
|
37
|
+
| `generate_image` | Image from a prompt with the /chat image models (default Seedream 5.5); reference images use the model's edit endpoint |
|
|
38
38
|
| `edit_image` | Edit, restyle or combine existing images with the same models |
|
|
39
39
|
| `generate_video` | Video from a prompt, a first/last frame or reference images/videos/audio, with the /chat video models (default Seedance 2.5); the mode (text, image, reference) is picked from the inputs |
|
|
40
40
|
| `edit_video` | Edit an existing video, optionally with reference images/audio |
|
package/dist/lib/media-models.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// The image and video models the dedicated generate/edit tools offer: the
|
|
2
2
|
// same list, in the same order, as the WaveSpeed /chat page (api-dashboard
|
|
3
|
-
// lib/media-models.ts, checked 2026-11-
|
|
3
|
+
// lib/media-models.ts, checked 2026-11-10). The first of each is the default.
|
|
4
4
|
// This is a vendored copy: when /chat changes its models, change this file and
|
|
5
5
|
// its test (src/lib/media-models.test.ts) with it. Capabilities mirror the
|
|
6
6
|
// endpoints' input schemas; the tools still fit every request to the live
|
|
@@ -14,6 +14,7 @@ const image = (id, label, base, generate, resolutions, aspectRatios, maxImages)
|
|
|
14
14
|
});
|
|
15
15
|
/** In menu order; the first is the default. */
|
|
16
16
|
export const IMAGE_MODELS = {
|
|
17
|
+
'seedream-5-5': image('seedream-5-5', 'Seedream 5.5', 'bytedance/seedream-v5.5', '', ['1k', '1.5k', '2k'], WIDE_RATIOS, 10),
|
|
17
18
|
'seedream-5-pro': image('seedream-5-pro', 'Seedream 5 Pro', 'bytedance/seedream-v5.0-pro', '', ['1k', '1.5k', '2k'], WIDE_RATIOS, 10),
|
|
18
19
|
'nano-banana-2.1': image('nano-banana-2.1', 'Nano Banana 2.1', 'google/nano-banana-2.1', 'text-to-image', ['1k', '2k', '4k'], NANO_BANANA_2_RATIOS, 14),
|
|
19
20
|
'nano-banana-2': image('nano-banana-2', 'Nano Banana 2', 'google/nano-banana-2', 'text-to-image', ['0.5k', '1k', '2k', '4k'], NANO_BANANA_2_RATIOS, 14),
|
package/dist/server.js
CHANGED
|
@@ -366,7 +366,7 @@ export function createServer() {
|
|
|
366
366
|
const IMAGE_RESOLUTIONS = ['0.5k', '1k', '1.5k', '2k', '4k'];
|
|
367
367
|
const imageShape = {
|
|
368
368
|
prompt: z.string().min(1).describe('Complete visual prompt: subject, composition, style, lighting, mood.'),
|
|
369
|
-
model: z.enum(IMAGE_MODEL_KEYS).optional().describe('Only when the user names a model; default is the first (Seedream 5
|
|
369
|
+
model: z.enum(IMAGE_MODEL_KEYS).optional().describe('Only when the user names a model; default is the first (Seedream 5.5).'),
|
|
370
370
|
aspect_ratio: z.string().optional().describe('e.g. 1:1, 16:9, 9:16, 4:3, 3:4, 21:9, 9:21. The closest ratio the model supports is used; a note says when. If omitted: text-to-image is 1:1; with input images it is determined automatically from the input image.'),
|
|
371
371
|
resolution: z
|
|
372
372
|
.enum(IMAGE_RESOLUTIONS)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wavespeed/mcp",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.11",
|
|
4
4
|
"description": "WaveSpeed MCP server — run any model on the live WaveSpeed catalog (image, video, audio, 3D) with schema introspection, local-file upload, and price quotes.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|