Giảm 50% mô hình Vidu Q3 & Q3 Pro · Chỉ trên WaveSpeedAI | 20/5 – 2/6

Image Body Swap

wavespeed-ai /

Image Body Swap replaces the body in a target image with your face. Upload a face image and a body image to get a seamless swap. Ready-to-use REST inference API, no coldstarts, affordable pricing.

portrait-transfer
Input

Kéo & thả hoặc nhấp để tải lên

preview

Kéo & thả hoặc nhấp để tải lên

preview

Idle

$0.05per run·~20 / $1

ExamplesView all

Related Models

README

Image Body Swap

Image Body Swap places your face onto any body image in seconds. Upload a face photo and a body photo — AI composites them together with natural blending, consistent lighting, and seamless results.

Why You'll Love It

  • Instant face-to-body compositing Advanced AI places your face onto any body photo with natural blending and consistent skin tone matching.

  • Two-image simplicity No masks, no manual editing, no technical knowledge needed — just a face and a body.

  • Endlessly versatile Swap onto fitness photos, fashion looks, fun costumes, or any creative scenario you can imagine.

How to Use

  1. Upload your face image — a clear, front-facing portrait with good lighting works best.
  2. Upload your body image — the photo whose body you want to swap the face onto.
  3. Hit Run — your swapped portrait is ready in seconds.
  4. Download and share.

Pricing

Just $0.05 per image.

Best Use Cases

  • Fashion & styling — Try on outfits or looks without physically wearing them.
  • Fun and social content — Swap onto wild, funny, or dramatic body photos for shareable posts.
  • Creative projects — Composite faces into illustrations, costumes, or character designs.
  • Personalized gifts — Put a friend's face on a superhero, athlete, or iconic figure for a one-of-a-kind gift.

Pro Tips

  • Use a clear, well-lit face photo with a front-facing angle for the most natural compositing result.
  • Body images with a clearly visible, unobstructed upper body blend more cleanly.
  • Similar face angles between the face image and body image produce the most realistic output.

Notes

  • Both image and body_image are required fields.
  • Ensure image URLs are publicly accessible if using links rather than direct uploads.
  • Please ensure your content complies with WaveSpeed AI's usage policies.
Accessibility:This website uses AI models provided by third parties.

Image Body Swap API — Quick start

Grab a WaveSpeedAI API key, then call POST https://api.wavespeed.ai/api/v3/wavespeed-ai/image-body-swap with your input as JSON. The endpoint returns a prediction id; poll the prediction endpoint until status flips to completed, then read the output URL from data.outputs[0]. Examples for Image Body Swap below.

HTTP example
# Submit the prediction
curl -X POST "https://api.wavespeed.ai/api/v3/wavespeed-ai/image-body-swap" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $WAVESPEED_API_KEY" \
  -d '{
    "image": "https://example.com/your-input.jpg"
}'

# Response includes a prediction id. Poll for the result:
curl -X GET "https://api.wavespeed.ai/api/v3/predictions/{request_id}/result" \
  -H "Authorization: Bearer $WAVESPEED_API_KEY"

# When status is "completed", read the output from data.outputs[0].
Node.js example
// npm install wavespeed
const WaveSpeed = require('wavespeed');

const client = new WaveSpeed(); // reads WAVESPEED_API_KEY from env

const result = await client.run("wavespeed-ai/image-body-swap", {
        "image": "https://example.com/your-input.jpg"
});

console.log(result.outputs[0]); // → URL of the generated output
Python example
# pip install wavespeed
import wavespeed

output = wavespeed.run(
    "wavespeed-ai/image-body-swap",
    {
    "image": "https://example.com/your-input.jpg"
}
)

print(output["outputs"][0])  # → URL of the generated output

Image Body Swap API — Frequently asked questions

What is the Image Body Swap API?

Image Body Swap is a WaveSpeedAI model for AI inference, exposed as a REST API on WaveSpeedAI. Image Body Swap replaces the body in a target image with your face. Upload a face image and a body image to get a seamless swap. Ready-to-use REST inference API, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.

How do I call the Image Body Swap API?

POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your WaveSpeedAI API key in the Authorization header. Submission returns a prediction ID; poll the prediction endpoint until status flips to "completed", then read the output URL from the result. The playground generates a ready-to-paste code sample in Python, JavaScript, or cURL for whatever inputs you've set. Full request/response shape is documented at https://wavespeed.ai/docs/docs-api/wavespeed-ai/image-body-swap.

How much does Image Body Swap cost per run?

Image Body Swap starts at $0.050 per run. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.

What inputs does Image Body Swap accept?

Key inputs: `image`, `body_image`. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at https://wavespeed.ai/docs/docs-api/wavespeed-ai/image-body-swap.

How do I get started with the Image Body Swap API?

Sign up for a free WaveSpeedAI account to claim starter credits, copy your API key from /accesskey, then call the endpoint shown in the API tab of the playground. The playground also auto-generates a code sample in Python, JavaScript, or cURL for the parameters you've set.

Can I use Image Body Swap outputs commercially?

Commercial usage rights depend on the model's license, set by its provider (WaveSpeedAI). The license summary appears on the model card above; see WaveSpeedAI's Terms of Service for platform-level conditions.