Browse ModelsHalf Moon AIHalf Moon AI Image Face Swap

Half Moon Ai Image Face Swap

Half Moon Ai Image Face Swap

Playground

Try it on WavespeedAI!

Half-Moon AI Image Face Swap takes one person’s face and realistically blends it onto another’s in a photo. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

Features

Image Face Swap

Image Face Swap is an AI-powered face-swapping model that seamlessly transfers a face from one image onto another. It produces natural, high-quality results with accurate facial alignment, skin-tone blending, and expression preservation — all in a single step.


Why Choose This?

  • One-click face swap Upload a source face and a target image — the model handles alignment, blending, and lighting automatically.

  • Natural blending Skin tone, lighting, and shadows are matched to the target image for realistic, artifact-free results.

  • Expression and pose preservation The swapped face adapts to the target’s pose and expression, maintaining a natural look.

  • Fast processing Results are generated in seconds with no local setup required.


Parameters

ParameterRequiredDescription
source_faceYesThe face image to transfer (upload or public URL).
target_imageYesThe image that will receive the swapped face (upload or public URL).

How to Use

  1. Upload the source face — a clear, front-facing photo works best.
  2. Upload the target image — the image where the face will be swapped in.
  3. Run — the model processes and returns the result in seconds.
  4. Download the output image.

Pricing

Just $0.009 per image.


Best Use Cases

  • Content Creation — Swap faces for memes, social media posts, and creative projects.
  • Entertainment & Fun — See yourself in different scenes, outfits, or styles.
  • Design & Prototyping — Quickly visualize face placements in mockups and compositions.
  • Video Production — Generate face-swapped stills for storyboarding and pre-visualization.

Pro Tips

  • Use a clear, well-lit source face with minimal occlusion (no sunglasses or heavy shadows) for the best results.
  • The source face should be front-facing or near-frontal — extreme angles may reduce quality.
  • Higher-resolution input images generally produce sharper, more detailed outputs.
  • If the result looks unnatural, try a different source photo with better lighting or angle match.

Notes

  • If you provide a URL instead of uploading locally, make sure the URL is publicly accessible. A successfully accessible image will display a preview in the interface.
  • Please use this model responsibly and in compliance with applicable laws and platform policies.

  • Wan2.1 I2V 480p — Generate videos from images for animated face-swap storytelling.

Authentication

For authentication details, please refer to the Authentication Guide.

API Endpoints

Submit Task & Query Result


# Submit the task
curl --location --request POST "https://api.wavespeed.ai/api/v3/half-moon-ai/image-face-swap" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{}'

# Get the result
curl --location --request GET "https://api.wavespeed.ai/api/v3/predictions/${requestId}/result" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}"

Parameters

Task Submission Parameters

Request Parameters

ParameterTypeRequiredDefaultRangeDescription
source_facestringYes--Source facial image (bmp, jpeg, png, tiff, webp).
target_imagestringYes--Target image to swap face onto (bmp, jpeg, png, tiff, webp).

Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
data.idstringUnique identifier for the prediction, Task Id
data.modelstringModel ID used for the prediction
data.outputsarrayArray of URLs to the generated content (empty when status is not completed)
data.urlsobjectObject containing related API endpoints
data.urls.getstringURL to retrieve the prediction result
data.has_nsfw_contentsarrayArray of boolean values indicating NSFW detection for each output
data.statusstringStatus of the task: created, processing, completed, or failed
data.created_atstringISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”)
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds

Result Request Parameters

ParameterTypeRequiredDefaultDescription
idstringYes-Task ID

Result Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
dataobjectThe prediction data object containing all details
data.idstringUnique identifier for the prediction, the ID of the prediction to get
data.modelstringModel ID used for the prediction
data.outputsstringArray of URLs to the generated image.
data.urlsobjectObject containing related API endpoints
data.urls.getstringURL to retrieve the prediction result
data.statusstringStatus of the task: created, processing, completed, or failed
data.created_atstringISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”)
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds
© 2025 WaveSpeedAI. All rights reserved.