AI face swap API for photorealistic images

Swap a face from a photo into a new scene while keeping the person recognizable, or turn a photo into a printable color-by-number page. Explore examples for apps, personalized books, and photo gifts.

Realistic face swapping with accurate likeness

Start with a clear portrait and a target image. StoryMagik’s examples show how skin tone, lighting, and head angle can be matched to the scene while preserving the person’s likeness.

Before-and-after face swap examples

Compare each source portrait with the finished scene. Look closely at the face shape, skin tone, expression, and the transition at the neck.

Original portrait used for the cricket scene Face swap result showing the same person in a cricket scene
Original portrait and finished cricket scene

Face swap API questions

What makes a face swap look photorealistic?

The result should preserve recognizable facial features and fit the scene’s skin tones, lighting, head angle, and expression. Check where the face meets the neck and hairline, where visible seams can make a swap look artificial.

How do I choose the best face swap API for my project?

Compare outputs using a few of your own portraits and target images. Look for consistent likeness across scenes with different lighting, poses, and expressions. If you print the results, also check face detail at the finished print size.

Can I swap a face into a photo or an illustration?

The examples cover both. Photorealistic swaps blend with the lighting of a photo. Illustrated swaps adapt the face to comic or storybook art while keeping it recognizable.

Photo to color by number API

Turn photos into printable color-by-number pages. Each example shows the original photo, numbered outlines, a finished color preview, and the matching color key.

Numbered coloring page made from a photo of a dog at game night

Advanced color by number API controls

The API preview includes a palette size of 8 to 24 colors and three detail levels. Use fewer colors and larger regions for an easier activity, or more colors and finer regions for a detailed paint-by-number design.

What is photo by number?

Photo by number turns a picture, such as a pet portrait or family photo, into an outline divided into numbered regions. Each number matches a color in the key. The same format can be used for custom coloring books, printable worksheets, and paint-by-number kits.

Infinite Zoom for detailed images

Preview high-resolution scenes for large prints, puzzles, and search-and-find artwork. Use the close-ups to see the detail at full resolution.

Request API access

Explore the face swap and photo to color-by-number previews, then tell us what you’re building. We review each request and follow up about access.

API reference preview

See the proposed request format for image face swapping, including the source photo, target scene, and expression options.