Banana Prompt Selector
Nine Nano Banana recipes in one dropdown
- prompt
If BananaMainNode is the engine of this pack, the Banana Prompt Selector is the steering wheel. It's a dropdown of nine ready-made prompts written specifically for Nano Banana - the face-fusion default, pencil sketch, photo-to-figure, isolate a 3D building, "myself in different eras," cross-view, character stickers, anime-to-cosplayer, and a reset-camera-parameters one. Pick a title and you get a finished prompt wired straight into the main node.
The thing to understand before you judge it: these are not SD tag lists. Nano Banana is a Gemini-class, LLM-driven image model - you don't feed it "1girl, masterpiece, best quality" and hope. It eats full instructions, and the prompts in this pack read like ChatGPT system prompts ("CRITICAL TASK: Photorealistic 50/50 Face Fusion. Your goal is to merge the two provided faces..."). Several are in Chinese, because that's the language the author actually uses it in, and the era-transfer one has bracketed placeholders like [1970] and [男性] that you're meant to edit before running. Match the language of the prompt to the language the model handles best, and these recipes are a genuinely good starting point for the pack's target jobs.
How it works is the clever part. The prompts live in the pack's prompts.json, loaded when ComfyUI starts. A small frontend extension fetches them from the pack's /frankai/get_prompts endpoint and, the moment you change the dropdown, rewrites the prompt textarea underneath with the matching text. That textarea is the second input, prompt - a multiline STRING that starts life as the selected title's prompt but is fully editable. The backend keeps your custom text as long as it doesn't exactly match one of the nine built-ins, so you can tweak freely without the dropdown snapping your edit back on the next run.
Inputs: title (the enum with the 9 choices) and prompt (the editable multiline text). Output: prompt as a STRING, which you wire into BananaMainNode's prompt input.
Install is part of the pack - no separate step beyond the clone:
cd ComfyUI/custom_nodes
git clone https://github.com/fr0nky0ng/ComfyUI-frankAI-banana
One genuine gotcha: the auto-update is a web-UI feature implemented in JS. If you drive ComfyUI headless or through the API, the dropdown still exists but nothing rewrites the prompt for you - set the prompt text directly. And if the textarea ever fails to update after a title change, reload the page; the extension fetches the prompt list once and caches it for the session.
The honest take: this is the pack's best idea, because the hard part of Nano Banana isn't the plumbing - it's knowing how to prompt a model that wants instructions instead of tags. Even if you never use the dropdown, stealing the recipes for your own Gemini prompts is worth the install.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| title | COMBO | 9 options: ai-facial-fusion, pencil-sketch, 照片变手办 photo to figure, Isolate 3D models 分离出3D建筑/制作等距模型 , 不同时代的自己 Myself in different eras, 跨视角图像生成 Cross-view, +3 | |
| prompt | STRING | CRITICAL TASK: Photorealistic 50/50 Face Fusion. Your goal is to merge the two provided faces into a single, new, and believable person. Do not simply copy one face or the other. You must create a perfectly balanced, 50/50 blend of their key features (eyes, nose, mouth, jawline). The final output must be a seamless, high-quality photograph of this new individual, with no text or artifacts. | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| prompt | STRING | — |