@runapi.ai/nano-banana-mcp 0.1.6 → 0.1.8

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
@@ -13,7 +13,7 @@
13
13
  <a href="https://github.com/runapi-ai/nano-banana-mcp"><img src="https://img.shields.io/badge/GitHub-runapi--ai%2Fnano--banana--mcp-24292f?style=flat-square" alt="GitHub repository"></a>
14
14
  <a href="LICENSE"><img src="https://img.shields.io/badge/License-Apache_2.0-blue?style=flat-square" alt="Apache-2.0 license"></a>
15
15
  <img src="https://img.shields.io/badge/Type-MCP_Server-blue?style=flat-square" alt="MCP Server">
16
- <img src="https://img.shields.io/badge/Models-4-16a34a?style=flat-square" alt="4 models">
16
+ <img src="https://img.shields.io/badge/Models-5-16a34a?style=flat-square" alt="5 models">
17
17
  </p>
18
18
 
19
19
  <p align="center">
@@ -30,7 +30,7 @@
30
30
  ## Why This Package?
31
31
 
32
32
  `@runapi.ai/nano-banana-mcp` is a focused Model Context Protocol server for the **Nano Banana** model line on RunAPI.
33
- It gives MCP-compatible assistants direct access to 2 endpoints and 4 model variants without loading the full RunAPI catalog.
33
+ It gives MCP-compatible assistants direct access to 2 endpoints and 5 model variants without loading the full RunAPI catalog.
34
34
 
35
35
  Use this per-model server when an agent should stay scoped to Nano Banana. Use [`@runapi.ai/mcp`](https://github.com/runapi-ai/mcp) when one assistant should discover every RunAPI model line.
36
36
 
@@ -83,12 +83,12 @@ Ready-made examples are in [`examples/`](examples/) for Claude, Cursor, Windsurf
83
83
 
84
84
  ## Models
85
85
 
86
- Nano Banana covers 4 model variants across 2 endpoints. Each tool accepts the models listed for it:
86
+ Nano Banana covers 5 model variants across 2 endpoints. Each tool accepts the models listed for it:
87
87
 
88
88
  | Tool | Models |
89
89
  |---|---|
90
- | `edit_image` | `nano-banana-edit` |
91
- | `text_to_image` | `nano-banana`, `nano-banana-2`, `nano-banana-pro` |
90
+ | `edit_image` | `nano-banana-2-lite`, `nano-banana-edit` |
91
+ | `text_to_image` | `nano-banana`, `nano-banana-2`, `nano-banana-2-lite`, `nano-banana-pro` |
92
92
 
93
93
  Model availability can change between releases. Use `check_pricing` or the [Nano Banana model page](https://runapi.ai/models/nano-banana) for the current catalog view.
94
94
 
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "catalog_models": [
3
+ "nano-banana-2-lite",
3
4
  "nano-banana-edit",
4
5
  "nano-banana",
5
6
  "nano-banana-2",
@@ -10,11 +11,83 @@
10
11
  "model": "Nano Banana",
11
12
  "endpoint": "edit_image",
12
13
  "models": [
14
+ "nano-banana-2-lite",
13
15
  "nano-banana-edit"
14
16
  ],
17
+ "rules": [
18
+ {
19
+ "when": {
20
+ "model": "nano-banana-2-lite"
21
+ },
22
+ "forbidden": [
23
+ "output_format"
24
+ ]
25
+ }
26
+ ],
15
27
  "fields_by_model": {
28
+ "nano-banana-2-lite": {
29
+ "model": {
30
+ "type": "string"
31
+ },
32
+ "prompt": {
33
+ "type": "string",
34
+ "max": 20000,
35
+ "min": 1,
36
+ "length": true,
37
+ "required": true
38
+ },
39
+ "callback_url": {
40
+ "type": "string"
41
+ },
42
+ "output_format": {
43
+ "type": "string"
44
+ },
45
+ "aspect_ratio": {
46
+ "type": "string",
47
+ "enum": [
48
+ "1:1",
49
+ "1:4",
50
+ "1:8",
51
+ "2:3",
52
+ "3:2",
53
+ "3:4",
54
+ "4:1",
55
+ "4:3",
56
+ "4:5",
57
+ "5:4",
58
+ "8:1",
59
+ "9:16",
60
+ "16:9",
61
+ "21:9",
62
+ "auto"
63
+ ],
64
+ "default": "auto",
65
+ "required": true
66
+ },
67
+ "source_image_urls": {
68
+ "type": "array",
69
+ "required": true
70
+ }
71
+ },
16
72
  "nano-banana-edit": {
73
+ "model": {
74
+ "type": "string"
75
+ },
76
+ "prompt": {
77
+ "type": "string"
78
+ },
79
+ "callback_url": {
80
+ "type": "string"
81
+ },
82
+ "output_format": {
83
+ "type": "string",
84
+ "enum": [
85
+ "png",
86
+ "jpeg"
87
+ ]
88
+ },
17
89
  "aspect_ratio": {
90
+ "type": "string",
18
91
  "enum": [
19
92
  "1:1",
20
93
  "9:16",
@@ -29,11 +102,9 @@
29
102
  "auto"
30
103
  ]
31
104
  },
32
- "output_format": {
33
- "enum": [
34
- "png",
35
- "jpeg"
36
- ]
105
+ "source_image_urls": {
106
+ "type": "array",
107
+ "required": true
37
108
  }
38
109
  }
39
110
  }
@@ -44,11 +115,41 @@
44
115
  "models": [
45
116
  "nano-banana",
46
117
  "nano-banana-2",
118
+ "nano-banana-2-lite",
47
119
  "nano-banana-pro"
48
120
  ],
121
+ "rules": [
122
+ {
123
+ "when": {
124
+ "model": "nano-banana-2-lite"
125
+ },
126
+ "forbidden": [
127
+ "output_resolution",
128
+ "output_format"
129
+ ]
130
+ }
131
+ ],
49
132
  "fields_by_model": {
50
133
  "nano-banana": {
134
+ "model": {
135
+ "type": "string"
136
+ },
137
+ "prompt": {
138
+ "type": "string"
139
+ },
140
+ "callback_url": {
141
+ "type": "string"
142
+ },
143
+ "output_format": {
144
+ "type": "string",
145
+ "enum": [
146
+ "png",
147
+ "jpeg",
148
+ "jpg"
149
+ ]
150
+ },
51
151
  "aspect_ratio": {
152
+ "type": "string",
52
153
  "enum": [
53
154
  "1:1",
54
155
  "9:16",
@@ -63,16 +164,33 @@
63
164
  "auto"
64
165
  ]
65
166
  },
167
+ "output_resolution": {
168
+ "type": "string"
169
+ },
170
+ "reference_image_urls": {
171
+ "type": "array"
172
+ }
173
+ },
174
+ "nano-banana-2": {
175
+ "model": {
176
+ "type": "string"
177
+ },
178
+ "prompt": {
179
+ "type": "string"
180
+ },
181
+ "callback_url": {
182
+ "type": "string"
183
+ },
66
184
  "output_format": {
185
+ "type": "string",
67
186
  "enum": [
68
187
  "png",
69
188
  "jpeg",
70
189
  "jpg"
71
190
  ]
72
- }
73
- },
74
- "nano-banana-2": {
191
+ },
75
192
  "aspect_ratio": {
193
+ "type": "string",
76
194
  "enum": [
77
195
  "1:1",
78
196
  "1:4",
@@ -91,50 +209,108 @@
91
209
  "auto"
92
210
  ]
93
211
  },
94
- "output_format": {
95
- "enum": [
96
- "png",
97
- "jpeg",
98
- "jpg"
99
- ]
100
- },
101
212
  "output_resolution": {
213
+ "type": "string",
102
214
  "enum": [
103
215
  "1k",
104
216
  "2k",
105
217
  "4k"
106
218
  ]
219
+ },
220
+ "reference_image_urls": {
221
+ "type": "array"
107
222
  }
108
223
  },
109
- "nano-banana-pro": {
224
+ "nano-banana-2-lite": {
225
+ "model": {
226
+ "type": "string"
227
+ },
228
+ "prompt": {
229
+ "type": "string",
230
+ "max": 20000,
231
+ "min": 1,
232
+ "length": true,
233
+ "required": true
234
+ },
235
+ "callback_url": {
236
+ "type": "string"
237
+ },
238
+ "output_format": {
239
+ "type": "string"
240
+ },
110
241
  "aspect_ratio": {
242
+ "type": "string",
111
243
  "enum": [
112
244
  "1:1",
245
+ "1:4",
246
+ "1:8",
113
247
  "2:3",
114
248
  "3:2",
115
249
  "3:4",
250
+ "4:1",
116
251
  "4:3",
117
252
  "4:5",
118
253
  "5:4",
254
+ "8:1",
119
255
  "9:16",
120
256
  "16:9",
121
257
  "21:9",
122
258
  "auto"
123
- ]
259
+ ],
260
+ "default": "auto",
261
+ "required": true
262
+ },
263
+ "output_resolution": {
264
+ "type": "string"
265
+ },
266
+ "reference_image_urls": {
267
+ "type": "array"
268
+ }
269
+ },
270
+ "nano-banana-pro": {
271
+ "model": {
272
+ "type": "string"
273
+ },
274
+ "prompt": {
275
+ "type": "string"
276
+ },
277
+ "callback_url": {
278
+ "type": "string"
124
279
  },
125
280
  "output_format": {
281
+ "type": "string",
126
282
  "enum": [
127
283
  "png",
128
284
  "jpeg",
129
285
  "jpg"
130
286
  ]
131
287
  },
288
+ "aspect_ratio": {
289
+ "type": "string",
290
+ "enum": [
291
+ "1:1",
292
+ "2:3",
293
+ "3:2",
294
+ "3:4",
295
+ "4:3",
296
+ "4:5",
297
+ "5:4",
298
+ "9:16",
299
+ "16:9",
300
+ "21:9",
301
+ "auto"
302
+ ]
303
+ },
132
304
  "output_resolution": {
305
+ "type": "string",
133
306
  "enum": [
134
307
  "1k",
135
308
  "2k",
136
309
  "4k"
137
310
  ]
311
+ },
312
+ "reference_image_urls": {
313
+ "type": "array"
138
314
  }
139
315
  }
140
316
  }
package/data/pricing.json CHANGED
@@ -1,5 +1,11 @@
1
1
  {
2
2
  "endpoints": {
3
+ "nano-banana-2-lite/edit_image": {
4
+ "unit_price_cents": 3
5
+ },
6
+ "nano-banana-2-lite/text_to_image": {
7
+ "unit_price_cents": 3
8
+ },
3
9
  "nano-banana-edit/edit_image": {
4
10
  "unit_price_cents": 4
5
11
  },
@@ -17,6 +23,9 @@
17
23
  }
18
24
  }
19
25
  },
26
+ "nano-banana-2-lite/text_to_image": {
27
+ "unit_price_cents": 3
28
+ },
20
29
  "nano-banana-pro/text_to_image": {
21
30
  "unit_price_cents": 18,
22
31
  "billing_config": {
@@ -1,5 +1,5 @@
1
1
  export declare const META: {
2
2
  readonly name: "@runapi.ai/nano-banana-mcp";
3
- readonly version: "0.1.6";
3
+ readonly version: "0.1.8";
4
4
  readonly lineSlug: "nano-banana";
5
5
  };
package/dist/src/meta.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export const META = {
2
2
  name: "@runapi.ai/nano-banana-mcp",
3
- version: "0.1.6",
3
+ version: "0.1.8",
4
4
  lineSlug: "nano-banana"
5
5
  };
6
6
  //# sourceMappingURL=meta.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@runapi.ai/nano-banana-mcp",
3
- "version": "0.1.6",
4
- "description": "RunAPI Nano Banana MCP server for image generation: create tasks, poll results, and check pricing across 4 model variants from Claude Code, Codex, Cursor, and VS Code.",
3
+ "version": "0.1.8",
4
+ "description": "RunAPI Nano Banana MCP server for image generation: create tasks, poll results, and check pricing across 5 model variants from Claude Code, Codex, Cursor, and VS Code.",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",
7
7
  "bin": {
@@ -56,7 +56,7 @@
56
56
  },
57
57
  "dependencies": {
58
58
  "@modelcontextprotocol/sdk": "^1.29.0",
59
- "@runapi.ai/mcp-core": "0.1.5",
59
+ "@runapi.ai/mcp-core": "0.1.6",
60
60
  "zod": "^3.25.76"
61
61
  },
62
62
  "devDependencies": {
package/server.json CHANGED
@@ -6,12 +6,12 @@
6
6
  "url": "https://github.com/runapi-ai/nano-banana-mcp",
7
7
  "source": "github"
8
8
  },
9
- "version": "0.1.6",
9
+ "version": "0.1.8",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "@runapi.ai/nano-banana-mcp",
14
- "version": "0.1.6",
14
+ "version": "0.1.8",
15
15
  "transport": {
16
16
  "type": "stdio"
17
17
  },