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

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
90
  | `edit_image` | `nano-banana-edit` |
91
- | `text_to_image` | `nano-banana`, `nano-banana-2`, `nano-banana-pro` |
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
 
@@ -3,6 +3,7 @@
3
3
  "nano-banana-edit",
4
4
  "nano-banana",
5
5
  "nano-banana-2",
6
+ "nano-banana-2-lite",
6
7
  "nano-banana-pro"
7
8
  ],
8
9
  "actions": {
@@ -14,7 +15,24 @@
14
15
  ],
15
16
  "fields_by_model": {
16
17
  "nano-banana-edit": {
18
+ "model": {
19
+ "type": "string"
20
+ },
21
+ "prompt": {
22
+ "type": "string"
23
+ },
24
+ "callback_url": {
25
+ "type": "string"
26
+ },
27
+ "output_format": {
28
+ "type": "string",
29
+ "enum": [
30
+ "png",
31
+ "jpeg"
32
+ ]
33
+ },
17
34
  "aspect_ratio": {
35
+ "type": "string",
18
36
  "enum": [
19
37
  "1:1",
20
38
  "9:16",
@@ -29,11 +47,9 @@
29
47
  "auto"
30
48
  ]
31
49
  },
32
- "output_format": {
33
- "enum": [
34
- "png",
35
- "jpeg"
36
- ]
50
+ "source_image_urls": {
51
+ "type": "array",
52
+ "required": true
37
53
  }
38
54
  }
39
55
  }
@@ -44,11 +60,41 @@
44
60
  "models": [
45
61
  "nano-banana",
46
62
  "nano-banana-2",
63
+ "nano-banana-2-lite",
47
64
  "nano-banana-pro"
48
65
  ],
66
+ "rules": [
67
+ {
68
+ "when": {
69
+ "model": "nano-banana-2-lite"
70
+ },
71
+ "forbidden": [
72
+ "output_resolution",
73
+ "output_format"
74
+ ]
75
+ }
76
+ ],
49
77
  "fields_by_model": {
50
78
  "nano-banana": {
79
+ "model": {
80
+ "type": "string"
81
+ },
82
+ "prompt": {
83
+ "type": "string"
84
+ },
85
+ "callback_url": {
86
+ "type": "string"
87
+ },
88
+ "output_format": {
89
+ "type": "string",
90
+ "enum": [
91
+ "png",
92
+ "jpeg",
93
+ "jpg"
94
+ ]
95
+ },
51
96
  "aspect_ratio": {
97
+ "type": "string",
52
98
  "enum": [
53
99
  "1:1",
54
100
  "9:16",
@@ -63,16 +109,33 @@
63
109
  "auto"
64
110
  ]
65
111
  },
112
+ "output_resolution": {
113
+ "type": "string"
114
+ },
115
+ "reference_image_urls": {
116
+ "type": "array"
117
+ }
118
+ },
119
+ "nano-banana-2": {
120
+ "model": {
121
+ "type": "string"
122
+ },
123
+ "prompt": {
124
+ "type": "string"
125
+ },
126
+ "callback_url": {
127
+ "type": "string"
128
+ },
66
129
  "output_format": {
130
+ "type": "string",
67
131
  "enum": [
68
132
  "png",
69
133
  "jpeg",
70
134
  "jpg"
71
135
  ]
72
- }
73
- },
74
- "nano-banana-2": {
136
+ },
75
137
  "aspect_ratio": {
138
+ "type": "string",
76
139
  "enum": [
77
140
  "1:1",
78
141
  "1:4",
@@ -91,50 +154,108 @@
91
154
  "auto"
92
155
  ]
93
156
  },
94
- "output_format": {
95
- "enum": [
96
- "png",
97
- "jpeg",
98
- "jpg"
99
- ]
100
- },
101
157
  "output_resolution": {
158
+ "type": "string",
102
159
  "enum": [
103
160
  "1k",
104
161
  "2k",
105
162
  "4k"
106
163
  ]
164
+ },
165
+ "reference_image_urls": {
166
+ "type": "array"
107
167
  }
108
168
  },
109
- "nano-banana-pro": {
169
+ "nano-banana-2-lite": {
170
+ "model": {
171
+ "type": "string"
172
+ },
173
+ "prompt": {
174
+ "type": "string",
175
+ "max": 20000,
176
+ "min": 1,
177
+ "length": true,
178
+ "required": true
179
+ },
180
+ "callback_url": {
181
+ "type": "string"
182
+ },
183
+ "output_format": {
184
+ "type": "string"
185
+ },
110
186
  "aspect_ratio": {
187
+ "type": "string",
111
188
  "enum": [
112
189
  "1:1",
190
+ "1:4",
191
+ "1:8",
113
192
  "2:3",
114
193
  "3:2",
115
194
  "3:4",
195
+ "4:1",
116
196
  "4:3",
117
197
  "4:5",
118
198
  "5:4",
199
+ "8:1",
119
200
  "9:16",
120
201
  "16:9",
121
202
  "21:9",
122
203
  "auto"
123
- ]
204
+ ],
205
+ "default": "auto",
206
+ "required": true
207
+ },
208
+ "output_resolution": {
209
+ "type": "string"
210
+ },
211
+ "reference_image_urls": {
212
+ "type": "array"
213
+ }
214
+ },
215
+ "nano-banana-pro": {
216
+ "model": {
217
+ "type": "string"
218
+ },
219
+ "prompt": {
220
+ "type": "string"
221
+ },
222
+ "callback_url": {
223
+ "type": "string"
124
224
  },
125
225
  "output_format": {
226
+ "type": "string",
126
227
  "enum": [
127
228
  "png",
128
229
  "jpeg",
129
230
  "jpg"
130
231
  ]
131
232
  },
233
+ "aspect_ratio": {
234
+ "type": "string",
235
+ "enum": [
236
+ "1:1",
237
+ "2:3",
238
+ "3:2",
239
+ "3:4",
240
+ "4:3",
241
+ "4:5",
242
+ "5:4",
243
+ "9:16",
244
+ "16:9",
245
+ "21:9",
246
+ "auto"
247
+ ]
248
+ },
132
249
  "output_resolution": {
250
+ "type": "string",
133
251
  "enum": [
134
252
  "1k",
135
253
  "2k",
136
254
  "4k"
137
255
  ]
256
+ },
257
+ "reference_image_urls": {
258
+ "type": "array"
138
259
  }
139
260
  }
140
261
  }
package/data/pricing.json CHANGED
@@ -17,6 +17,9 @@
17
17
  }
18
18
  }
19
19
  },
20
+ "nano-banana-2-lite/text_to_image": {
21
+ "unit_price_cents": 3
22
+ },
20
23
  "nano-banana-pro/text_to_image": {
21
24
  "unit_price_cents": 18,
22
25
  "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.7";
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.7",
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.7",
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": {
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.7",
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.7",
15
15
  "transport": {
16
16
  "type": "stdio"
17
17
  },