How to turn a photo into a cartoon and keep the likeness

Runbo Li
Runbo Li
·
· 4 min read
Original animation-inspired still illustration of a fictional adult, generated with Nano Banana 2 from the permitted portrait and the article prompt

To turn a photo into a cartoon, start with a clear photo and name one look you want, such as cel shading, comic ink or clay. Tell the editor which details to keep, especially the shape of the face, the pose and the framing. Compare the result to the original before downloading. For group shots, count everyone and check each small face.

Choose a source photo that shows the important details

A sharp face and even light make it easier to see what changes. For glasses or accessories, pick a photo where they are fully visible. For a group portrait, choose a frame where faces are separate and people near the edges have room around them. Use a photo you have permission to edit.

Open the Magic Hour cartoon photo tool and upload the original photo. Keep a copy of the original beside the preview so you can check the result without relying on memory.

Ask for a visual style and name the details to keep

For a portrait, try “Turn this photo into a cel-shaded cartoon with clean outlines and two simple shadow tones. Keep the hairline, glasses, eye spacing, expression and shoulder crop. Simplify the background to a light solid color.”

For a family or group, try “Make this look like a warm clay illustration. Keep all four people in the same positions and keep their expressions, clothing colors and height differences. Soften the background and leave space around the group.” Replace four with the number in your photo.

These prompts give you a starting point. Use the art-style guide if you want to compare ink, flat color, clay and other looks before picking one.

Compare a real input and result

This fictional-adult portrait was edited in Magic Hour with Nano Banana 2. The published example used the source aspect ratio and 1K output. Look at what changes around the face, the texture and the setting, and decide which of those changes you would accept for your own photo.

Original fictional-adult portrait from Magic Hour’s published animation-inspired example.

Original fictional adult portrait used for the Magic Hour face swap demonstration, October 8, 2026

Published Nano Banana 2 still image with cel-like shading and a painted setting.

Original animation-inspired still illustration of a fictional adult, generated with Nano Banana 2 from the permitted portrait and the article prompt

The original article has the full written style brief and the conditions for the run. See the published Magic Hour example.

Fix the first detail you would miss

If the person stops looking like themselves, return to the original and ask for less stylization around the eyes, mouth and hairline. If the group changes, describe who stands at each side and keep the crop from the source. If a profile crop cuts off a head or prop, give the subject more space before you make another edit.

Before you download, open the largest available preview and check the edge of each face and any hands close to the camera. For a profile picture, also look at it at the size where people will see it. A line that looks clean when enlarged can disappear in the final crop.

Use the same crop on the original and on the cartoon, then view both at profile-photo size. If the eyes read differently at a glance, go back to the original and ask for softer stylization around the eyes. For a group photo, check faces left to right to make sure the result preserves the number and order of people.

Runbo Li
Runbo Li
CEO of Magic Hour
Runbo Li is the Co-founder and CEO of Magic Hour, where he builds AI video and image tools for content creation. He is a Y Combinator W24 founder and former Data Scientist at Meta, where he worked on 0-1 consumer social products in New Product Experimentation. He writes about AI video generation, AI image creation, creative workflows, and creator tools.
View author →

Continue Reading

AI-generated view of a cyberpunk city at night.

35 AI art styles: visual traits and copy-ready prompts

35 AI art styles: visual traits and copy-ready prompts
ghibli trend

Studio Ghibli AI trend: history and safer prompts (2027 guide)

Studio Ghibli AI trend: history and safer prompts (2027 guide)
Profile photo contact prints and a large profile-picture headline in a blue, violet and warm red print collage.

10 profile picture ideas: professional, creative & clear

10 profile picture ideas: professional, creative & clear
Ai-generated hero using Magic Hour with one of the art prompts from the list

32 best prompts for AI art to inspire your next project (2027)

32 best prompts for AI art to inspire your next project (2027)
Nano Banana AI Editing Guide

Nano Banana 2 image editing tutorial (2027)

Nano Banana 2 image editing tutorial (2027)
Collage of the best AI image generator logos

10 best AI image generators: features, costs and examples (2027)

10 best AI image generators: features, costs and examples (2027)