@wavespeed/mcp 1.1.1 → 1.1.2

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.
@@ -76,16 +76,16 @@ export function videoModelForEndpoint(modelId) {
76
76
  return VIDEO_MODEL_KEYS.map((k) => VIDEO_MODELS[k]).find((m) => m.turbo === turbo && modelId.startsWith(`${m.base}/`));
77
77
  }
78
78
  /**
79
- * A model's endpoints. Wan, Kling 4.0 and H3 take references on a dedicated
80
- * reference-to-video endpoint; Seedance takes them on text-to-video. Turbo
81
- * endpoints have no extend.
79
+ * A model's endpoints. Every family takes references on a dedicated
80
+ * reference-to-video endpoint. Seedance has turbo ones; the others do not.
81
+ * Turbo endpoints have no extend.
82
82
  */
83
83
  export function videoEndpoints(m) {
84
84
  const suffix = m.turbo ? '-turbo' : '';
85
85
  return {
86
86
  text: `${m.base}/text-to-video${suffix}`,
87
87
  image: `${m.base}/image-to-video${suffix}`,
88
- ...(m.family === 'wan-3.0' || m.family === 'kling-4.0' || m.family === 'minimax-h3' ? { reference: `${m.base}/reference-to-video` } : {}),
88
+ reference: `${m.base}/reference-to-video${m.family === 'seedance-2.5' || m.family === 'seedance-2.0' ? suffix : ''}`,
89
89
  edit: `${m.base}/video-edit${suffix}`,
90
90
  ...(m.modes.includes('extend') ? { extend: `${m.base}/video-extend` } : {}),
91
91
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavespeed/mcp",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
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": {