The problem
An AI Image Editor Web App using Gemini 3 solves a simple frustration: editing a photo well still needs either expensive desktop software or fiddly manual tools, while most free online editors only offer filters and crops. This project builds a web app where the user uploads a photo, types what to change in plain English — "warm golden-hour light, keep the same face" — and the app sends the photo and prompt to Google's Gemini 3 Pro Image model (Nano Banana Pro, model gemini-3-pro-image), which returns an edited image at up to 4K resolution. The editor also accepts up to 14 reference images, so a style photo or a second subject can guide the edit, and every image the API returns carries an invisible SynthID watermark. A before/after slider, an edit history and PNG download keep the workflow honest and reviewable, and the single-file demo proves the editor end to end with real local filters on a real photograph.
Uploads a photo and types the change in plain English.
Follow the working sequence
How it works
A photo travels from the user's browser to Google's image model and back in six stages. First the user uploads a photo and types the change in plain English, optionally attaching up to 14 reference images that steer style, subject or composition. The browser shows a local preview with sliders and presets while the real edit is prepared. The backend then sends the photo, the prompt and the reference images to the Gemini 3 Pro Image API as one request, with the API key kept on the server and never exposed in the page. Google's model returns an edited image at up to 4K resolution, carrying an invisible SynthID watermark that marks it as AI-generated. The app places the result beside the original under a draggable before/after slider, records the prompt in the edit history, and offers a PNG download — and the whole loop repeats with a refined prompt whenever the first result misses.
- The user uploads a photo (JPG, PNG or WebP) and it appears in the editor beside the original, with the before/after slider ready.
- The user types the change in plain English and optionally attaches up to 14 reference images — a style photo, a second subject or a product shot.
- Presets and sliders give an instant local preview (brightness, contrast, saturation, warmth, blur, crop, rotate, text overlay) while the API edit is prepared.
- The backend sends the photo, prompt and references to the Gemini 3 Pro Image API (gemini-3-pro-image) with the key held server-side.
- The API returns the edited image at up to 4K resolution with an invisible SynthID watermark, and the app shows it under the before/after slider.
- The edit is recorded in the history with its prompt, and the user downloads the result as a PNG or refines the prompt and runs the loop again.
Tech stack:
- HTML5 · CSS3 · JavaScript
- Gemini 3 Pro Image API (Nano Banana Pro)
- Node.js · Express backend
- REST API · JSON requests
- Canvas API (local preview + PNG export)
- Multer image-upload handling
- dotenv API-key management
- Git · GitHub
| Parameter | Value |
|---|---|
| AI model | Gemini 3 Pro Image (gemini-3-pro-image) |
| Model launch | 20 November 2025 (Google launch) |
| Max output | 4K resolution (API maximum) |
| Reference images | Up to 14 images per edit (API limit) |
| Input formats | JPG · PNG · WebP uploads |
| Demo photo | 900 × 1350 px (measured) |
| Local filter pass | Approximately 1 ms of script time (measured in the demo) |
| Presets | 6 built-in presets |
| Edit history | 4 most recent edits (as built in the demo) |
| Download | PNG export via Canvas API |
| Watermark | Invisible SynthID on API images |
| API billing | Pay-per-image via Gemini API (price not stated) |
Project features
The editor's strongest capabilities are the text-prompt edit, reference-image blending, readable text inside images, and the before/after comparison that keeps every change honest. A text-prompt edit means the user describes the change in plain English instead of learning layers, and the Gemini 3 Pro Image model does the pixel work. Reference-image blending takes up to 14 images — a style photo, a second subject, a product shot — and folds them into one edit, which keeps characters and branding consistent. Text rendering lets posters and social graphics carry real headlines instead of pasted-on captions. The before/after slider then shows the original and the edit side by side, so a reviewer sees exactly what changed. One builder detail: brightness, contrast, saturation and warmth run as one CSS filter chain in a single pass, so moving three sliders never re-decodes the photo, and the demo measures the local filter pass at about 1 ms of script time.
- [Text-prompt photo editing] Type the change in plain English — "warm golden-hour light, keep the same face" — and the Gemini 3 Pro Image model returns an edited image at up to 4K resolution.
- [Reference-image blending] Attach up to 14 reference images per edit, so a style photo, a second subject or a product shot can steer the result.
- [Background change & text rendering] Change the scene behind a subject or draw readable headlines and poster text directly into the image.
- [Before/after comparison slider] Drag the divider to compare the original and the edit on the same photo, at any point in the session.
- [Presets & manual adjustments] Six built-in presets plus brightness, contrast, saturation, warmth, blur, crop, rotate and a text overlay, all applied as one local filter chain.
- [Edit history] Every edit is logged with its prompt and time, so the session can be reviewed, repeated or shown in a demonstration.
- [PNG download] Export the edited image as a PNG from the browser, with the local preview rendered through the Canvas API.
What is included
- Complete frontend (HTML, CSS, JavaScript) and Node.js · Express backend source code
- Single-file working demo with local editing tools and a real photo
- Gemini 3 Pro Image API integration with server-side key handling
- Project report PDF (background, API design, methodology, results, limitations)
- PPT presentation for final review
- Viva Q&A preparation document (API flow, watermarking, cost control, key security)
- Setup guide for the API key and deployment
Limitations & prerequisites
- API edits need a Google API key with billing enabled and an internet connection; without them only the demo's local tools work.
- The API is billed pay-per-image, so heavy use costs more; no price is printed here because Google's pricing page is the source of truth.
- Output quality depends on the prompt and the source photo, and results vary from run to run.
- Text drawn inside images can misspell long or unusual words.
- A subject's likeness is kept approximately, not guaranteed pixel-identical, across edits.
- Very large uploads take longer and may hit API or server size limits.
Frequently Asked Questions
What is Gemini 3 Pro Image, also called Nano Banana Pro?
Gemini 3 Pro Image is Google's image generation and editing model, launched on 20 November 2025 as Nano Banana Pro, and reached through the Gemini API as gemini-3-pro-image. It takes a photo plus a text prompt and returns an edited image at up to 4K resolution, accepting up to 14 reference images in one edit. Google announced Gemini 3 on 18 November 2025; the image model followed two days later. Every image it returns carries an invisible SynthID watermark.
Does the demo call Google's API?
No — the single-file demo in this project edits the photo locally in the browser with sliders, presets, crop, rotate and text overlay, and it holds no API key, so nothing leaves the machine. The delivered build adds a small Node.js backend that forwards the photo and prompt to the Gemini 3 Pro Image API. That split keeps the key off the frontend, where anyone could copy it, and it is the standard way to ship an API-backed web app.
Is this project suitable for a final-year project?
Yes — for Computer Science, IT and Web Development students. It demonstrates a complete modern web application: a polished frontend, a backend that proxies a commercial AI API, file uploads, stateful edit history and a real deployment story built on a model launched in November 2025. The report can discuss API design, key security, watermarking and cost control, which gives the review plenty to examine beyond the interface.
Can it change a photo's background or add text inside the image?
Yes. Background changes and text rendering are two of the model's strongest advertised capabilities: a prompt such as "place the subject on a beach at sunset" re-renders the scene, and short text such as a poster headline is drawn into the image itself. Long or unusual words can still misspell, so the limitations section states that plainly, and the demo's own text overlay shows the local version of the same idea.
What do I need to run the delivered build?
A Google AI Studio API key with billing enabled, Node.js on the machine that serves the app, and an internet connection. The frontend is plain HTML, CSS and JavaScript, the backend is a small Express server, and setup is a single configuration file holding the key. The demo file itself runs with no key at all — open it in a browser and the local tools work immediately, which makes it easy to show the interface before the API is wired in.
How much does each API edit cost?
Google bills Gemini 3 Pro Image per image through the Gemini API, so the cost of an edit depends on the output size and on Google's current pricing page, which is the only source this project quotes. No price is printed on the page because API prices change and a printed figure would go stale. The report explains how to check the live price and how to cap usage, for example by limiting image size and keeping an edit history instead of re-sending the same prompt.
Components & software requirements
- HTML5 · CSS3 · JavaScript
- Gemini 3 Pro Image API (Nano Banana Pro)
- Node.js · Express backend
- REST API · JSON requests
- Canvas API (local preview + PNG export)
- Multer image-upload handling
- dotenv API-key management
- Git · GitHub
Delivery information
Built-to-order project. Delivery timeline is shared after order confirmation based on current queue.
Support terms
Complete documentation, setup guide, and viva preparation included. Support for setup and explanation provided.
Download free synopsis (PDF)
Enter your name and WhatsApp number — the synopsis PDF downloads immediately. We may send occasional project updates on WhatsApp; no spam.