Nano Banana, FLUX.1 Kontext & Seedream - AI Scripts for Photoshop
2025/10/14

Nano Banana, FLUX.1 Kontext & Seedream - AI Scripts for Photoshop

Practical, source-backed guide to using Nano Banana, FLUX.1 Kontext, and Seedream inside Photoshop for fast, context-faithful edits, stylized backgrounds, and layout-safe text changes.

What these models are (and why they matter)

Nano Banana (Gemini 2.5 Flash Image)

"Nano Banana" is the community nickname for Google's Gemini 2.5 Flash image model that went viral for its playful, 3D-figurine-like generations and fast, stylized edits. It's recently become usable directly inside Photoshop's beta Generative Fill alongside other models. Practically, this means less app-switching and faster iterations.

You'll also find third-party plugins that connect Photoshop to Nano Banana via a Gemini API key, enabling background replacement, character-consistent variations, and quick concept comps—all from a panel.

FLUX.1 Kontext (Black Forest Labs)

FLUX.1 Kontext is purpose-built for in-context image generation and editing. You can prompt with text and example images, keep lighting and composition consistent, and make coherent changes instead of "starting over" each time. In other words: better respect for your source.

Seedream 4.0 (ByteDance)

Seedream 4.0 emphasizes prompt-based precision editing (e.g., remove a subject, change poster text while preserving fonts/colors/layout) and fast, high-quality generations. It's not an official Adobe plugin, but you can tap Seedream-style workflows inside Photoshop via community extensions that relay prompts/edits and return results to your layers.


Can I really run these inside Photoshop?

Yes—there are Adobe Exchange listings and community scripts that add a panel or actions to drive these models from within Photoshop. Some releases bundle Nano Banana, Flux Kontext, and Seedream workflows in one place; there's also a free edition to test the basics. Always review the listing pages for current features and version compatibility.

On the Photoshop beta channel, Adobe has enabled model switching so you can select Nano Banana and Flux Kontext [pro] directly in Generative Fill. This makes it much easier to compare outputs for the same selection.


Requirements & setup

  • Photoshop version: For native model switching to Nano Banana / Flux in Generative Fill, install Photoshop (Beta) from Creative Cloud. For marketplace/community scripts, standard current Photoshop is typically fine—check the extension page for details.
  • API keys (where applicable): Some plugins require a Gemini API key to talk to Nano Banana (Gemini 2.5 Flash Image). Free tiers often work for testing.
  • Install method: Many ship as a .ccx package—double-click to install and restart Photoshop. The panel usually appears under Window › Extensions or Plugins › Panels. Confirm on the listing's "How to install" section.

The strengths of each model (use-case map)

TaskBest First TryWhy
Stylized background swaps, playful figure edits, concept compsNano BananaFast, expressive, "viral" look; excels at playful, coherent restylings.
Realistic, lighting-aware edits, composition-consistent variationsFLUX.1 KontextIn-context generation respects scene lighting and geometry.
Precise in-place changes (remove subject, replace poster text, keep typography/colors)Seedream 4.0Prompt-based editing designed to preserve layout and style.

Pro tip: You don't have to pick just one. Many teams audition multiple models against the same selection and keep the best patch. The Photoshop beta's model switching streamlines exactly this.


Workflow #1 — Product background replacement (fast stylized look with Nano Banana)

Goal: Put a shoe on a clean, on-brand backdrop while keeping shadows and surface detail.

  1. Prep your layer

    • Place the product on its own layer; run Select Subject and refine edges where needed.
  2. Create a tight selection

    • Invert the selection so the background is targeted (Select › Inverse).
  3. Run Nano Banana

    • If you're on the beta channel: choose Nano Banana as the model in Generative Fill; otherwise use your Nano Banana panel that asks for a prompt and uses the Gemini API key behind the scenes.
  4. Prompt example

    clean e-commerce background, soft gradient from light gray to subtle warm white, studio look, preserve product color and texture, realistic soft shadow under the shoe
  5. Refine

    • If the shadow looks off, lasso the area under the shoe and prompt: add a soft, short shadow consistent with overhead studio lighting

What good looks like

  • The laces and textures are unchanged; the shadow direction matches your key light.

Suggested illustration: Before/After — Nano Banana background swap (Screenshot your layers: original product, mask, AI-generated background.)


Workflow #2 — Portrait relighting & cleanup (realistic consistency with FLUX.1 Kontext)

Goal: Light a headshot to match a client’s brand spec (softer key, warm rim), keep identity intact.

  1. Reference inputs

    • Place a small reference swatch/mood image (brand photography sample) on a hidden layer or bring it into your Kontext panel if supported. FLUX Kontext can attend to reference images for in-context control.
  2. Tight selections

    • Use Select and Mask to isolate the subject; separate hair and background where possible.
  3. Prompt example

    relight subject with soft key from camera left (35°), gentle warm rim from right, keep skin tone natural, preserve facial features and hair detail, subtle studio background blur
  4. Iterate

    • If the rim is too strong: reduce rim intensity by 30%, keep key soft, avoid flattening contrast
  5. Composite

    • Put the result on a layer below your retouch stack so you can blend with frequency separation or clean-up layers.

Suggested illustration: Relighting with FLUX.1 Kontext — consistency demo Tip: A/B the same selection through Nano Banana and FLUX; pick the most natural skin texture.


Workflow #3 — Poster text replacement without breaking design (Seedream 4.0-style edit)

Goal: Change event text on a poster while keeping font, alignment, and color intact.

  1. Make a rectangular marquee covering the text block.

  2. Prompt example

    Change "Santiago Music Festival" to "Seedream Photography Exhibition" and dates to "2025.10.01–07". Preserve font, kerning, color, and alignment. Keep background artwork untouched.
  3. Review

    • Check for spacing and baseline shift. If off: preserve original kerning; keep letter spacing identical to source

Seedream highlights this exact style-preserving edit in its demos, which translates well to Photoshop via compatible plugins.

Suggested illustration: Seedream-style text swap


Prompt patterns that consistently work

  • Structure your prompt: [intent], [constraints to preserve], [scene/lighting], [undesired changes to avoid]. Example: “Replace cloudy sky with golden hour cumulus; preserve horizon line and building edges; avoid color cast on the subject.”

  • Be explicit about preservation: Say "preserve typography," "don't change skin texture," "maintain depth of field."

  • Use references when available (Kontext): a mood image or previous shot helps anchor lighting and tone.

  • Iterate locally: Re-prompt on lassoed micro-areas (e.g., "fix specular highlight on right cheek only") to avoid collateral changes.

  • Version branching: Generate 3–5 variations, then build a layer stack to mask the best parts of each into a single composite.

For more tactical prompt tips tuned to Flux Kontext, community guides show effective phrasing for character/identity retention and composition control.


Installation snapshots (what to expect)

  • Adobe Exchange listing: after clicking Install, Photoshop adds a panel (or menu command). Look for Plugins › Panels or Window › Extensions. Some bundles mention Nano Banana, Flux Kontext and Seedream explicitly and provide a free/test edition.

  • API-key panels (e.g., Nano Banana via Gemini): first-run asks for your Gemini API key; paste and save. You'll see a prompt field, seed/size controls, and a Generate/Apply button that writes the result onto a new layer.

Suggested illustration: Photoshop panel — AI script example


When to choose which model (decision cheat-sheet)

  • Choose Nano Banana when you need speed and style—mood boards, playful product shots, and imaginative set dressing. If you're testing multiple looks quickly, it's a great first pass.
  • Choose FLUX.1 Kontext when you must respect the source scene—lighting continuity, pose coherence, and composition fidelity matter most.
  • Choose Seedream-style editing when the task is surgical—replacing text, removing subjects, or making pixel-accurate changes while preserving layout and brand assets.

Quality, licensing & brand safety notes

  • Attribution & commercial safety: Adobe still positions Firefly as the "commercially safe" default in many contexts. When bringing external models into a commercial job, confirm your license terms and data usage for each model/provider. Model switching in the beta makes experimenting easy, but legal review is still on you.

  • Typography and logos: When replacing text on brand materials, keep vector type layers when possible and treat the AI output as a temporary raster you'll redraw or set in type for final delivery.

  • Human subjects: For identity-sensitive edits (portraits, products with trademarks), bake a review step and log which model generated which patch.


Troubleshooting FAQ

Q: My panel says I'm out of credits or failing requests. A: If you're using a Gemini-based Nano Banana panel, check your API key and request limits; free tiers exist, but heavy sessions can hit caps.

Q: Flux Kontext changed details I wanted to keep. A: Re-prompt with explicit preservation clauses ("preserve face identity and hairstyle") and use smaller selections. Kontext improves with tighter intent and reference imagery.

Q: Text replacement looks "AI-ish." A: Seedream-style edits do a good job at preserving layout, but for pixel-perfect typography, keep a vector type layer for final set. Use AI to block in the layout, then replace with real text.

Q: I can't find the models in Generative Fill. A: Confirm you're on the Photoshop beta and that model switching is available on your build; otherwise, install a marketplace script that brings these models into Photoshop via a panel.


Real-world case study: fast e-commerce hero with mixed models

  1. Base cleanup: Manual retouch (dust, scratches).
  2. Background generation: Nano Banana for 5 variations of "soft daylight loft interior." Pick the most brand-aligned.
  3. Relight & shadow match: Flux Kontext to harmonize product shadows with background floorboards—preserve product texture.
  4. Text overlay: If the comp includes a poster/sign in the scene, use Seedream-style prompt to auto-set campaign copy while keeping the frame's look.
  5. Final polish: Curves and grain to unify the composite.

Suggested illustration: Composite pipeline with three models

Final thoughts

Photoshop has quietly become a hub for multiple AI models, not just a single in-house engine. With Nano Banana for expressive style, FLUX.1 Kontext for scene-faithful edits, and Seedream 4.0 for surgical replacements, designers can mix strengths to hit both speed and quality—without leaving their layer stack. If you haven't tried the beta model switcher or a marketplace script yet, set up a small test project and time your end-to-end workflow. Chances are, you'll ship better comps faster—with fewer trips out to separate web apps.

Newsletter

Stay Updated with seedream4.0

Subscribe to receive the latest updates, tips, and news about AI image generation