@wavespeed/mcp 1.2.7 → 1.2.9

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 CHANGED
@@ -9,10 +9,10 @@
9
9
 
10
10
  # WaveSpeed MCP Server
11
11
 
12
- <a href="https://cursor.com/install-mcp?name=wavespeed&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkB3YXZlc3BlZWQvbWNwIl0sImVudiI6eyJXQVZFU1BFRURfQVBJX0tFWSI6Indza18uLi4ifX0%3D">
12
+ <a href="https://cursor.com/install-mcp?name=wavespeed&config=eyJ1cmwiOiJodHRwczovL2FwaS53YXZlc3BlZWQuYWkvbWNwIn0%3D">
13
13
  <picture>
14
14
  <source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/deeplink/mcp-install-light.svg">
15
- <img src="https://cursor.com/deeplink/mcp-install-dark.svg" alt="Add wavespeed MCP server to Cursor" height="32"/>
15
+ <img src="https://cursor.com/deeplink/mcp-install-dark.svg" alt="Add the hosted wavespeed MCP server to Cursor" height="32"/>
16
16
  </picture>
17
17
  </a>
18
18
 
package/dist/lib/api.js CHANGED
@@ -208,7 +208,7 @@ export function modelPlaygroundUrl(modelId) {
208
208
  }
209
209
  export async function fetchPricing(modelId, inputs) {
210
210
  // /model/price is the documented pricing endpoint.
211
- return apiPost('/api/v3/model/price', { model_id: modelId, inputs });
211
+ return apiPost('/api/v3/model/price', { model_id: modelId, input: inputs });
212
212
  }
213
213
  /**
214
214
  * Submit a prediction WITHOUT waiting for it. Split from polling so the
@@ -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-10-26). The first of each is the default.
3
+ // lib/media-models.ts, checked 2026-11-05). 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
@@ -18,6 +18,7 @@ export const IMAGE_MODELS = {
18
18
  '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
19
  '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),
20
20
  'nano-banana-pro': image('nano-banana-pro', 'Nano Banana Pro', 'google/nano-banana-pro', 'text-to-image', ['1k', '2k', '4k'], NANO_BANANA_RATIOS, 14),
21
+ 'gpt-image-2.6': image('gpt-image-2.6', 'GPT Image 2.6', 'openai/gpt-image-2.6-sunburst', 'text-to-image', ['1k', '2k', '4k'], WIDE_RATIOS, 16),
21
22
  'gpt-image-2.5': image('gpt-image-2.5', 'GPT Image 2.5', 'openai/gpt-image-2.5-sunburst', 'text-to-image', ['1k', '2k', '4k'], WIDE_RATIOS, 16),
22
23
  'gpt-image-2': image('gpt-image-2', 'GPT Image 2', 'openai/gpt-image-2', 'text-to-image', ['1k', '2k', '4k'], WIDE_RATIOS, 16),
23
24
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavespeed/mcp",
3
- "version": "1.2.7",
3
+ "version": "1.2.9",
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": {