
—
Face Swap
From $0.013 per image
Head Swap replaces the entire head in a target photo with the head from a source photo: face, hair, ears and outline. Pose, lighting and background stay put. Try it below or call it with an API key, flat price per image.
1playground-target.webp
✓ 1 file added
Required · public http(s) URL
1playground-head.webp
✓ 1 file added
Required · public http(s) URL
0–2147483647 · 0 or empty = random
Head Swap is an image-to-image model exposed on reAPI as one async endpoint with three parameters: the target photo, the source head, and an optional seed. It replaces the whole head in the target photo, hair and outline included, and keeps the target's body, pose, lighting and background. One image per request at a flat rate, in the playground on this page or through the API.
Real-world workflows and production use cases you can build and ship with this model.

When the hair is part of the identity, a face swap is not enough. Head Swap carries the whole head across, so a character keeps their look on any body, in any scene, from one API call.
Read the API docs
Keep the outfit, the pose and the set; change who is wearing it. Head Swap keeps the target's body and background and replaces the head with the source, hair and all.

Pin a seed and the same two photos give the same result every time. Run one scene against a set of source heads overnight and keep the ones that work.
Credit-based — 1 credit = $0.001 USD. Pay only for completed generations.
One sample at the cheapest tier (1 image).
| Model | Category | Price |
|---|---|---|
| head-swap | Per image | $0.013 13 credits · 1 image |
A face swap keeps the target's hair and head shape. Head Swap brings the source's hair, contour and ears along, so the likeness is much stronger.
There is no content-filter switch on this model because there is no filtered route to switch to. Run it on this page or call it with an API key. Platform terms still apply.
1 credit equals $0.001 USD. Head Swap bills one flat rate per image whatever the photo size. POST, get a task_id, poll. Failed swaps are refunded.
Both put a different head on a photo. Head Swap on reAPI is one HTTP call with two image URLs; a manual head swap is a masking and blending job in an image editor, redone by hand for every picture.
Comparison reflects publicly documented behavior at the time of writing. Model behavior and pricing can change; check the pricing card above and the API docs for current values.
Try Head Swap in the playground on this page first. For your own code, sign up, create a key in the dashboard, and pass it as a Bearer token.
OpenPOST to /api/v1/images/generations with model: head-swap, image_url for the target photo and head_image_url for the source head. You get a task_id at once.
OpenGET /api/v1/tasks/:id until status is completed. The Head Swap image URL stays valid for 30 days; copy it to your own storage if you need it longer.
Opencurl -X POST https://reapi.ai/api/v1/images/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "head-swap",
"image_url": "https://example.com/target-photo.jpg",
"head_image_url": "https://example.com/source-head.jpg"
}'Rejected synchronously with the failing field named. Check enum values, ranges, and URL fields — nothing is charged.
401 means a missing or invalid Bearer key; 402 means the reserve exceeds your balance. Manage keys and credits in the console.
Reference material and outputs pass automated moderation. Rejected tasks fail with a clear error and a full refund.
A task that reaches a failed state is never charged — the reserve refunds automatically. Keep the task id and retry when ready.
Common questions about this model.
Explore more models in the same category.

—
From $0.013 per image

SpaceXAI
From $0.005 per image

Alibaba
From $0.020 per image

Alibaba
From $0.004 per image
Try it in the playground or grab an API key to integrate now.