@cli4ai/nanobanana 1.0.4 → 1.0.5
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 +5 -5
- package/{c4ai.json → cli4ai.json} +2 -2
- package/package.json +9 -7
package/README.md
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
# @cli4ai/nanobanana
|
|
2
2
|
|
|
3
|
-
> Official @cli4ai package • https://cli4ai.com • Install
|
|
3
|
+
> Official @cli4ai package • https://cli4ai.com • Install cli4ai: `npm i -g cli4ai`
|
|
4
4
|
|
|
5
5
|
Image generation with Gemini (Nano Banana Pro) via a connected Chrome session.
|
|
6
6
|
|
|
7
7
|
## Setup
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm i -g
|
|
11
|
-
|
|
10
|
+
npm i -g cli4ai
|
|
11
|
+
cli4ai add -g chrome nanobanana
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
1) Start Chrome with remote debugging (see `@cli4ai/chrome`), then:
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
|
-
|
|
17
|
+
cli4ai run chrome connect
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
2) Make sure you’re logged into Gemini in that Chrome session.
|
|
@@ -22,7 +22,7 @@ c4ai run chrome connect
|
|
|
22
22
|
## Commands
|
|
23
23
|
|
|
24
24
|
```bash
|
|
25
|
-
|
|
25
|
+
cli4ai run nanobanana image "<prompt>"
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
## Notes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nanobanana",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Image generation with Gemini (Nano Banana Pro)",
|
|
5
5
|
"author": "cliforai",
|
|
6
6
|
"license": "MIT",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"commander": "^14.0.0"
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
18
|
-
"chrome": "
|
|
18
|
+
"chrome": "cli4ai chrome tool must be connected with Google account logged in"
|
|
19
19
|
},
|
|
20
20
|
"mcp": { "enabled": true, "transport": "stdio" }
|
|
21
21
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cli4ai/nanobanana",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Image generation with Gemini (Nano Banana Pro)",
|
|
5
5
|
"author": "cliforai",
|
|
6
6
|
"license": "MIT",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"type": "module",
|
|
12
12
|
"keywords": [
|
|
13
|
-
"
|
|
13
|
+
"cli4ai",
|
|
14
14
|
"cli",
|
|
15
15
|
"ai-tools",
|
|
16
16
|
"gemini",
|
|
@@ -21,21 +21,23 @@
|
|
|
21
21
|
],
|
|
22
22
|
"repository": {
|
|
23
23
|
"type": "git",
|
|
24
|
-
"url": "https://github.com/
|
|
24
|
+
"url": "https://github.com/cliforai/packages",
|
|
25
25
|
"directory": "packages/nanobanana"
|
|
26
26
|
},
|
|
27
|
-
"homepage": "https://github.com/
|
|
27
|
+
"homepage": "https://github.com/cliforai/packages/tree/main/packages/nanobanana",
|
|
28
28
|
"bugs": {
|
|
29
|
-
"url": "https://github.com/
|
|
29
|
+
"url": "https://github.com/cliforai/packages/issues"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@cli4ai/lib": "^1.0.0",
|
|
33
32
|
"puppeteer": "^24.0.0",
|
|
34
33
|
"commander": "^14.0.0"
|
|
35
34
|
},
|
|
35
|
+
"peerDependencies": {
|
|
36
|
+
"chrome": "cli4ai chrome tool must be connected with Google account logged in"
|
|
37
|
+
},
|
|
36
38
|
"files": [
|
|
37
39
|
"run.ts",
|
|
38
|
-
"
|
|
40
|
+
"cli4ai.json",
|
|
39
41
|
"README.md",
|
|
40
42
|
"LICENSE"
|
|
41
43
|
],
|