Add a space background to your portrait photo
Put stars and a blue-purple nebula behind your portrait for a clearly imaginative space scene. Work on a still image locally in your browser.
Start editing ↗Choose your frame.
Open a portrait or capture one with your camera. Processing runs in this browser after you choose a photo.
Choose a local image or take a camera photo.
No photo selected.
PNG keeps transparency on the Transparent preset. JPEG always has an opaque background. Downloads begin only when you press a button.
Pick a background
Change the scene without opening your portrait again.
Interiors
Outdoors
Creative
Colors and effects
What this edit does
Put stars and a blue-purple nebula behind your portrait for a clearly imaginative space scene. The quiet center leaves room for the person while distant light and color frame the edges. This is a creative background replacement, with your original face and clothes kept in the foreground.
When to use this look
Try a science-fiction themed avatar, a personal party image or an astronomy-club introduction. Choose a different scene at any time without reopening the portrait.
Example: before and after
Before · sample portrait
After · Space backgroundIllustrative sample portrait generated for this guide; the after image uses this editor's browser segmentation and scene assets.
A portrait taken against an ordinary room becomes a composite with space behind the person. The face and clothing remain from the original photo.
Tips for a believable result
- Inspect dark hair against the star field and use edge softness sparingly.
- Move a bright nebula patch away from the face if it competes with the subject.
The model targets the prominent person in a still image. Fine hair, motion blur, crowds, or similar foreground and background colors can reduce cutout quality.
Four steps
- Open or capture a portrait
Use a local image file, or start the camera and capture a still photo after the optional timer.
- Let the browser find the person
The on-device model separates the prominent person from the original background once per photo.
- Preview space
Inspect the result, move or fit a scene if needed, and adjust edge softness. Switch presets without repeating the cutout.
- Save the result
Choose PNG for transparency or JPEG for an opaque image. Nothing downloads automatically.
Common questions
Does this tool add empty space around a photo?
No. This page adds an outer-space background behind a person. It is not a canvas-expansion or blank-border tool.
Can it add a spacesuit or change my face?
No. The person stays as photographed. Only the background is replaced with the prepared stars and nebula scene.
Does this work with a webcam photo?
Yes. Start the camera, choose a timer if you like, and capture a still image. Camera permission is requested only when you press Use camera.
Does changing backgrounds upload my photo?
No. Portrait segmentation and composition run in your browser. The model and preset images are static files downloaded from this site.