pi-banana 2.1.1 → 2.1.2
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/extensions/index.ts +4 -0
- package/package.json +1 -1
package/extensions/index.ts
CHANGED
|
@@ -438,6 +438,7 @@ export default function (pi: ExtensionAPI) {
|
|
|
438
438
|
aspectRatio,
|
|
439
439
|
imageSize,
|
|
440
440
|
outputPath,
|
|
441
|
+
referenceImages,
|
|
441
442
|
} = details as any;
|
|
442
443
|
|
|
443
444
|
container.addChild(new Spacer(1));
|
|
@@ -467,6 +468,9 @@ export default function (pi: ExtensionAPI) {
|
|
|
467
468
|
if (aspectRatio) addSetting("Aspect", aspectRatio);
|
|
468
469
|
if (imageSize) addSetting("Size", imageSize);
|
|
469
470
|
if (outputPath) addSetting("Path", outputPath);
|
|
471
|
+
if (referenceImages && referenceImages.length > 0) {
|
|
472
|
+
addSetting("Refs", Array.isArray(referenceImages) ? referenceImages.join(", ") : referenceImages);
|
|
473
|
+
}
|
|
470
474
|
|
|
471
475
|
settingsBox.addChild(settingsContainer);
|
|
472
476
|
container.addChild(settingsBox);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-banana",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"description": "Generate, edit, and analyze images in pi using Google Nano Banana (image gen) and Gemini Vision (analysis). Inline terminal preview, reference-image editing, auto-save.",
|
|
5
5
|
"author": "Francesco Frapporti <effedue@gmail.com>",
|
|
6
6
|
"license": "MIT",
|