Close Menu
  • Home
  • Opinion
  • Region
    • Africa
    • Asia
    • Europe
    • Middle East
    • North America
    • Oceania
    • South America
  • AI & Machine Learning
  • Robotics & Automation
  • Space & Deep Tech
  • Web3 & Digital Economies
  • Climate & Sustainability Tech
  • Biotech & Future Health
  • Mobility & Smart Cities
  • Global Tech Pulse
  • Cybersecurity & Digital Rights
  • Future of Work & Education
  • Trend Radar & Startup Watch
  • Creator Economy & Culture
What's Hot

Toronto-made North Shore explores the ‘magnificence and hazard’ of skating in Canadian nature

March 29, 2026

Why Avid gamers Profit from Shopping for a PS5 Now Earlier than Costs Rise Subsequent Week

March 29, 2026

Beipei Expertise Launches AI Companion for Kids, Stories 51% Retention After 150 Days

March 29, 2026
Facebook X (Twitter) Instagram LinkedIn RSS
NextTech NewsNextTech News
Facebook X (Twitter) Instagram LinkedIn RSS
  • Home
  • Africa
  • Asia
  • Europe
  • Middle East
  • North America
  • Oceania
  • South America
  • Opinion
Trending
  • Toronto-made North Shore explores the ‘magnificence and hazard’ of skating in Canadian nature
  • Why Avid gamers Profit from Shopping for a PS5 Now Earlier than Costs Rise Subsequent Week
  • Beipei Expertise Launches AI Companion for Kids, Stories 51% Retention After 150 Days
  • This can be a 3D-Printed Macintosh That Apple By no means Constructed
  • Meet A-Evolve: The PyTorch Second For Agentic AI Methods Changing Guide Tuning With Automated State Mutation And Self-Correction
  • Smartee Advances “Mandibular Repositioning” Options within the UK with Specialised Scientific Convention in London
  • Soviet CD Gamers Used Glass Discs Helium Neon Lasers and Static Delicate Buttons
  • Ordnance Survey expands digital map of Nice Britain
Sunday, March 29
NextTech NewsNextTech News
Home - Creator Economy & Culture - Construct an AI Headshot App in 15 Minutes (with Google Nano Banana)
Creator Economy & Culture

Construct an AI Headshot App in 15 Minutes (with Google Nano Banana)

NextTechBy NextTechOctober 1, 2025No Comments7 Mins Read
Share Facebook Twitter Pinterest LinkedIn Tumblr Telegram Email Copy Link
Follow Us
Google News Flipboard
Construct an AI Headshot App in 15 Minutes (with Google Nano Banana)
Share
Facebook Twitter LinkedIn Pinterest Email


Pricey subscribers,

In the present day, I need to present you tips on how to construct an app that turns your photographs into skilled headshots utilizing Google’s nano banana picture mannequin.

It is a nice app to construct in case you’re new to AI coding as a result of it’s simply actually enjoyable to create skilled headshots for your loved ones and associates.

I’ve made this tutorial 100% free and included all my AI prompts beneath to make this as easy for you as attainable. Watch now:

Timestamps:

  • (00:00) An summary of our AI headshot app

  • (00:46) Step 1: Work with AI to draft the spec

  • (04:00) Step 2: Constructing the UI and scaffolding

  • (05:55) Step 3: Creating 3 prompts for headshot kinds

  • (09:10) Step 4: Hooking up Google’s Nano Banana API

  • (11:49) Step 5: Fixing bugs and points

  • (12:35) Testing the whole app finish to finish

Watch now on YouTube or learn the written information beneath. P.S. I get up at 6 am to make these tutorials so subscribe to my YouTube in case you take pleasure in them. 🙏

Due to Linear for sponsoring this article!

Groups on the quickest rising corporations on the planet (together with OpenAI, Ramp, Cursor, and extra) are utilizing Linear to collaborate with AI brokers that may:

  • Analyze buyer suggestions from a number of sources

  • Auto-triage tickets and assign homeowners

  • Construct full options from scratch

It’s the very best device that I’ve tried for planning and constructing merchandise. See for your self what the distinction is by attempting Linear Enterprise for six months totally free.

Strive Linear Enterprise for Free

Image

Let’s construct an app utilizing Google’s nano banana API the place you may:

  1. Add a selfie

  2. Choose from 3 skilled headshot kinds (company, inventive, govt)

  3. Get a refined headshot to obtain

Begin by pasting this immediate into your AI coding device (I exploit Cursor with Claude Code):

Create a spec.md for an expert headshot AI app the place I can add a photograph, choose from one in all three kinds (company basic, inventive skilled, govt portrait), after which get an expert headshot that I can instantly evaluate to my authentic photograph.

Embrace the necessities, tech stack, and a couple of milestones. First milestone is to arrange the UI and 2nd is so as to add Google’s nano banana picture to picture API: https://ai.google.dev/gemini-api/docs/image-generation. 

Use React for frontend and Categorical for backend.

When getting AI to put in writing the spec, I prefer to ask it to incorporate:

  1. Necessities, tech stack, and milestones.

  2. Directions to construct the UI within the first milestone so I can see the app replace dwell.

  3. Hyperlinks to related documentation (e.g., Google’s nano banana API docs).

As soon as AI drafts the spec, be sure that to evaluate and simplify it. AI usually needs to construct greater than you ask for which might result in issues down the road.

Now let’s ask AI to “Construct milestone 1 and run localhost. Use TailwindCSS 3.”

Tip: I requested AI to make use of “Tailwind 3” (an older frontend react framework) as a result of it’s dangerous at understanding new frameworks (Tailwind 4 simply shipped this yr).

In case you’re run into Tailwind points, don’t surrender. Paste the error messages that you just see within the browser for AI to repair and ultimately, it’s best to get a UI the place you may add a photograph and choose a method:

https%3A%2F%2Fsubstack post media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa17d9359 c985 4df6 a615

The precise picture era received’t work as a result of we haven’t built-in the API but.

Now that we now have the UI arrange, let’s ask AI to create a immediate.md file with 3 kinds:

Create a immediate.md file with prompts for 3 kinds:

1. Company: Commonplace LinkedIn-style headshot with impartial background.
2. Inventive: Shut-up with delicate bokeh background and pure lighting.
3. Editorial: Dramatic black and white portrait with inventive lighting.

To your comfort, I’ve included prompts for all three kinds beneath so that you can simply copy and paste into your immediate.md file:

Rework this photograph into a refined profile shot sustaining the precise facial options and id. Topic framed chest-up with headroom, eyes trying instantly at digital camera whereas physique angles barely away. White t-shirt with black leather-based jacket, open smile. Impartial studio background. Excessive-angle perspective with delicate, subtle lighting creating mild catchlights. 85mm lens aesthetic with shallow depth of discipline - sharp concentrate on eyes, delicate bokeh background. Pure pores and skin texture with seen hair element. Vivid, ethereal really feel. Make topic look nice and correct to their authentic look.
Rework this photograph right into a close-up portrait with shallow depth of discipline creating delicate bokeh background. Heat, pure lighting highlighting topic’s options. Informal apparel and real, partaking smile. Topic fills extra of the body. Background hints at inventive workspace or out of doors setting with lovely blur. Protect pure pores and skin texture and genuine options. Fashionable, approachable inventive skilled aesthetic. Make topic look nice and correct to their authentic look.
Rework this photograph right into a dramatic black and white portrait in editorial fashion. Protect topic’s genuine options and character. Apply these specs: monochromatic remedy with wealthy grayscale tones, deep charcoal or black background with delicate gradation, dramatic aspect lighting creating sturdy shadows and highlights on face (Rembrandt or cut up lighting), protect all pure pores and skin texture and element - no smoothing, sharp focus capturing fantastic particulars in eyes and facial options, relaxed and contemplative expression - not smiling, informal skilled apparel (darkish textured jacket, no tie), hand gesture close to chest or face for dynamic composition, excessive distinction with deep blacks and shiny highlights, cinematic movie grain for texture. Preserve editorial pictures aesthetic - inventive however skilled. Make topic look nice and correct to their authentic look.

Tip: To strive one other fashion, simply paste a headshot that you just like into AI and ask it to “Create an AI immediate to recreate this fashion.”

Let’s construct milestone 2 subsequent. First, let’s get a Gemini API key by going to Google AI Studio → Get API key → Create API key:

https%3A%2F%2Fsubstack post media.s3.amazonaws.com%2Fpublic%2Fimages%2Febd26bdd 3f50 4a0e a8ce

Subsequent, ask AI to construct milestone 2 and paste the API key into the immediate:

Construct milestone 2. Use this API key: [YOUR_KEY]

Keep in mind to observe the directions within the docs to construct image-to-image: https://ai.google.dev/gemini-api/docs/image-generation

If you wish to give extra context to AI, you can even simply paste on this total part of the Google’s docs as a part of your immediate:

https%3A%2F%2Fsubstack post media.s3.amazonaws.com%2Fpublic%2Fimages%2F33d5717a 5f0b 4e3e 9939
Whoops

Listed here are some errors that you just may run into whereas constructing this app:

  1. Picture era is random. AI is likely to be utilizing the improper Gemini mannequin. Ask it to make use of “gemini-2.5-flash-image-preview.” If it says that Gemini can’t do image-to-image era, inform it that it’s improper and refer it to the docs once more.

  2. The UI appears dangerous. Strive pasting a screenshot of my UI within the “What we’ll construct” part up high after which ask AI to make the app look nearer to the screenshot.

https%3A%2F%2Fsubstack post media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe4864e88 5908 4813 a2e8
Some headshots I generated

You’ll be able to watch me check the whole app right here with some photographs of myself and my associates. In case you adopted this tutorial intently, you now know tips on how to get AI to:

  1. Write a spec

  2. Construct a full stack app

  3. Hook up an actual API

Now go generate some headshots of your folks and tag me on social 📸

If you wish to preserve constructing, take a look at the “AI tutorial” part of my YouTube channel for less difficult to observe tutorials.

Elevate your perspective with NextTech Information, the place innovation meets perception.
Uncover the newest breakthroughs, get unique updates, and join with a worldwide community of future-focused thinkers.
Unlock tomorrow’s traits right now: learn extra, subscribe to our publication, and develop into a part of the NextTech group at NextTech-news.com

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
NextTech
  • Website

Related Posts

These 9 Shoptalk Conversations Are Shaping Commerce’s Future

March 29, 2026

YouTube monetization replace: What creators must know as ‘AI slop’ overwhelms the platform

March 29, 2026

How music’s ‘Instagram second’ led to its quick style period

March 28, 2026
Add A Comment
Leave A Reply Cancel Reply

Economy News

Toronto-made North Shore explores the ‘magnificence and hazard’ of skating in Canadian nature

By NextTechMarch 29, 2026

Whereas hockey is a well-liked sport, particularly in Canada, there aren’t many video video games…

Why Avid gamers Profit from Shopping for a PS5 Now Earlier than Costs Rise Subsequent Week

March 29, 2026

Beipei Expertise Launches AI Companion for Kids, Stories 51% Retention After 150 Days

March 29, 2026
Top Trending

Toronto-made North Shore explores the ‘magnificence and hazard’ of skating in Canadian nature

By NextTechMarch 29, 2026

Whereas hockey is a well-liked sport, particularly in Canada, there aren’t many…

Why Avid gamers Profit from Shopping for a PS5 Now Earlier than Costs Rise Subsequent Week

By NextTechMarch 29, 2026

Sony introduced earlier this week that the PS5 is getting a value…

Beipei Expertise Launches AI Companion for Kids, Stories 51% Retention After 150 Days

By NextTechMarch 29, 2026

Beipei Expertise, based by former Alibaba senior govt Huang Yingning, has launched…

Subscribe to News

Get the latest sports news from NewsSite about world, sports and politics.

NEXTTECH-LOGO
Facebook X (Twitter) Instagram YouTube

AI & Machine Learning

Robotics & Automation

Space & Deep Tech

Web3 & Digital Economies

Climate & Sustainability Tech

Biotech & Future Health

Mobility & Smart Cities

Global Tech Pulse

Cybersecurity & Digital Rights

Future of Work & Education

Creator Economy & Culture

Trend Radar & Startup Watch

News By Region

Africa

Asia

Europe

Middle East

North America

Oceania

South America

2025 © NextTech-News. All Rights Reserved
  • About Us
  • Contact Us
  • Privacy Policy
  • Terms Of Service
  • Advertise With Us
  • Write For Us
  • Submit Article & Press Release

Type above and press Enter to search. Press Esc to cancel.

Subscribe For Latest Updates

Sign up to best of Tech news, informed analysis and opinions on what matters to you.

Invalid email address
 We respect your inbox and never send spam. You can unsubscribe from our newsletter at any time.     
Thanks for subscribing!