@cli4ai/nanobanana 1.0.3 → 1.0.4
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 +30 -0
- package/c4ai.json +1 -1
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# @cli4ai/nanobanana
|
|
2
|
+
|
|
3
|
+
> Official @cli4ai package • https://cli4ai.com • Install c4ai: `npm i -g c4ai`
|
|
4
|
+
|
|
5
|
+
Image generation with Gemini (Nano Banana Pro) via a connected Chrome session.
|
|
6
|
+
|
|
7
|
+
## Setup
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm i -g c4ai
|
|
11
|
+
c4ai add -g chrome nanobanana
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
1) Start Chrome with remote debugging (see `@cli4ai/chrome`), then:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
c4ai run chrome connect
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
2) Make sure you’re logged into Gemini in that Chrome session.
|
|
21
|
+
|
|
22
|
+
## Commands
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
c4ai run nanobanana image "<prompt>"
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Notes
|
|
29
|
+
|
|
30
|
+
- The tool triggers a download to `~/Downloads` and returns the downloaded file path as JSON.
|
package/c4ai.json
CHANGED