Nano Banana Photoshop Script
AI Script for Photoshop

Bring your Photoshop edits to life using Nano Banana and Flux Kontext! Make photo editing and compositing in Photoshop feel even more intuitive with AI-powered tools that keep lighting, shadows, and materials consistent.

Fast Generation

Nano Banana with Gemini 2.5 Flash for quick AI edits

Context-Aware

Flux Kontext for professional typography and lighting

Easy Integration

Seamlessly integrates with your existing Photoshop workflow

Ready to Get Started?

Get instant access to the complete Nano Banana Photoshop Script and transform your creative workflow today.

One-time payment • Lifetime access • Free updates

See It In Action

Watch how Nano Banana and Flux Kontext transforms your Photoshop workflow with AI-powered editing capabilities.

Powerful Features

Experience the future of photo editing with AI-powered tools that seamlessly integrate into your existing Photoshop workflow.

Nano Banana (Gemini 2.5 Flash)

Fast generation with extras like Use Foreground Color and Reference Image support on macOS. Perfect for quick creative iterations.

Flux Kontext (Pro & Max)

Context-aware edits, typography, and lighting adjustments. Professional-grade AI processing for complex compositions.

Layer Integration

Results appear as new layers on top of your original, maintaining your non-destructive workflow and project organization.

Consistent Materials

AI maintains lighting, shadows, and materials consistency across your edits, ensuring natural-looking results.

Simple User Interface

User-friendly prompts that work with your existing Photoshop tools like selections, brushes, and colors.

Reference Image Support

Insert reference images into your selections for more precise control over the AI generation process.

Platform Compatibility

macOS

Full feature support including Reference Image functionality and seamless integration.

Windows 10 & 11

Compatible with minor quirks. Reference Image feature coming soon. Command windows may briefly appear during processing.

Installation & Setup Guide

Follow these step-by-step instructions to get Nano Banana Photoshop Script up and running in your workflow.

1

Set up Replicate

Go to Replicate

Visit replicate.com and click Sign in.

Go to Replicate

Sign in with GitHub

Click Sign in with GitHub. If you do not have a GitHub account yet, create one during the login process.

Sign in with GitHub 1
Sign in with GitHub 2

Open Account settings

After signing in, click your profile picture and choose Account settings.

Open Account settings

Add credit

In Account settings open Billing. Click Add credit and add at least $10. Current costs per image: about $0.039 for Nano Banana, $0.04 for Flux Kontext Pro and $0.08 for Flux Kontext Max. A ten dollar deposit is plenty to test the plugin.

Add credit 1
Add credit 2

Disable auto reload

Click Manage auto reload and make sure auto reload is disabled to avoid unwanted charges.

Disable auto reload

Create an API token

In Account settings open API tokens. Create a new token and copy it. You will paste this token in Photoshop later.

Create an API token
2

Installation

Download the .jsx file

Click here for $3.99 discount purchase of the script file.

Copy to Scripts folder

Copy it to your Photoshop Scripts folder: macOS: /Applications/Adobe Photoshop [version]/Presets/Scripts/ Windows: C:\Program Files\Adobe\Adobe Photoshop [version]\Presets\Scripts\

Restart Photoshop

Restart Photoshop to load the script.

Access the script

The script will show up under File → Scripts → Nano-Banana-Flux-Kontext.

Installation
3

First time setup

Open the script

Open any document, then go to File → Scripts → FluxKontext.

Configure settings

The first time you open the script, the Settings will open first. Paste your Replicate API token.

Choose a model

When you're done, choose a model: Nano Banana: with options for Foreground Color and Reference Image (only on macOS). Flux Kontext: context-aware edits, typography, and lighting.

First time setup 1
First time setup 2
4

Run your first AI edit

Make a selection

Make a selection in Photoshop using any selection tool.

Open the script

Go to File → Scripts → Nano-Banana-Flux-Kontext.

Enter a prompt

Enter a short, specific prompt describing what you want to generate.

Choose model and generate

Choose a model: Nano Banana: with options for Foreground Color and (on macOS) Reference Image. With Reference image, you can insert an image in your selection. Flux Kontext: context-aware edits, typography, and lighting. Click Generate. The result appears as a new layer on top of your original.

5

Tips

Keyboard shortcut

Assign a keyboard shortcut (Edit → Keyboard Shortcuts). I use Cmd-Shift-K. In the Keyboard Shortcuts section, navigate to File > Scripts > Nano-Banana-Flux-Kontext, click in the field next to it and type your preferred shortcut.

Prompt guidelines

Keep prompts short and specific. Mention material, color, lighting. Prompts in Flux Kontext need to be more specific than Nano Banana.

Selection tips

Make selections slightly larger or softer to give the models more context.

Model recommendations

Try both Flux Kontext Pro and Max: Pro is great for most cases, Max can be stronger on typography. My preferred method is Nano Banana nowadays, except for changing the environmental lighting, and blending objects.

Creative techniques

Try drawing a sketch, and then let Nano Banana make something out of it. I had very impressive results. Use Upscale if the generated area feels too small or soft.

Ready to Get Started?

Visit Replicate to create your account and start using Nano Banana Photoshop Script today!

Open Replicate

Complete Guide to Nano Banana Photoshop Script

Everything you need to know about this revolutionary AI-powered Photoshop automation tool.

What is Nano Banana Photoshop Script?

Revolutionary AI Integration for Creative Professionals

The nano banana photoshop script represents a groundbreaking advancement in digital photo editing technology. This innovative AI script seamlessly integrates artificial intelligence capabilities directly into Adobe Photoshop, transforming how creative professionals approach image editing and digital composition. By leveraging cutting-edge AI models like Gemini 2.5 Flash and Flux Kontext, this script empowers users to achieve professional-quality results with unprecedented speed and precision.

Advanced AI Models for Professional Results

The nano banana photoshop script utilizes two powerful AI engines to deliver exceptional editing capabilities. Nano Banana, powered by Gemini 2.5 Flash, provides lightning-fast generation with advanced features like foreground color integration and reference image support. Flux Kontext offers context-aware editing with sophisticated typography and lighting adjustments, ensuring your edits maintain natural consistency throughout your creative projects.

Key Benefits and Features

Streamlined Workflow Integration

The nano banana photoshop script seamlessly integrates into your existing Photoshop workflow without disrupting your creative process. Unlike complex plugins that require extensive learning curves, this script works with familiar Photoshop tools including selections, brushes, and color palettes. The AI-generated content appears as new layers, maintaining your non-destructive editing workflow and preserving your original artwork.

Cost-Effective AI Solutions

With generation costs as low as $0.039 per image for Nano Banana and slightly higher for premium Flux Kontext models, the nano banana photoshop script offers exceptional value for professional creatives. A modest $10 credit deposit provides extensive testing opportunities, making advanced AI editing accessible to photographers, designers, and digital artists regardless of budget constraints.

Advanced Editing Capabilities

Context-Aware Material Consistency

The nano banana photoshop script excels at maintaining realistic lighting, shadows, and material properties across your edits. This advanced AI understanding ensures that generated content blends naturally with existing image elements, eliminating the artificial appearance often associated with traditional compositing techniques. Whether you're adding new objects or modifying existing elements, the script preserves visual coherence throughout your composition.

Typography and Environmental Lighting

Flux Kontext within the nano banana photoshop script offers specialized capabilities for typography integration and environmental lighting adjustments. This feature proves invaluable for commercial photographers and graphic designers who need to seamlessly blend text elements with photographic content or modify ambient lighting conditions to match specific creative visions or client requirements.

Technical Implementation and Platform Support

Cross-Platform Compatibility

The nano banana photoshop script supports both macOS and Windows platforms, ensuring broad accessibility for creative professionals regardless of their operating system preference. macOS users enjoy full feature access including reference image functionality, while Windows users receive comprehensive support with minor interface considerations.

Replicate API Integration

Built on Replicate's robust cloud infrastructure, the nano banana photoshop script leverages enterprise-grade AI processing capabilities. This cloud-based approach ensures consistent performance regardless of local hardware limitations while providing access to state-of-the-art AI models that would be impossible to run locally on most creative workstations.

Simple Installation Process

Installing the nano banana photoshop script requires minimal technical expertise. The straightforward installation process involves copying a single .jsx file to your Photoshop Scripts folder and configuring your Replicate API credentials. This simplicity ensures that creative professionals can focus on their artistic work rather than complex technical setup procedures.

Professional Applications and Use Cases

Commercial Photography and Retouching

Professional photographers leverage the nano banana photoshop script for advanced retouching workflows, product photography enhancement, and creative compositing projects. The script's ability to maintain consistent lighting and material properties makes it ideal for commercial applications where visual quality and realism are paramount. Fashion photographers, product specialists, and architectural photographers particularly benefit from the script's sophisticated understanding of light interaction and material rendering.

Digital Art and Creative Compositing

Digital artists and creative professionals use the nano banana photoshop script to accelerate concept development and explore creative possibilities. The script's sketch-to-image capabilities enable rapid prototyping of artistic concepts, while its reference image integration allows for precise creative direction. This functionality proves invaluable for concept artists, matte painters, and digital illustrators working in entertainment, advertising, and publishing industries.

Workflow Optimization and Productivity

The nano banana photoshop script dramatically reduces time-to-completion for complex editing tasks that would traditionally require hours of manual work. By automating repetitive processes while maintaining creative control, professionals can focus on high-value creative decisions rather than technical execution. This efficiency gain translates directly to improved project profitability and increased creative output across various commercial and artistic applications.