Vidu Q3 और Q3 Pro मॉडल पर 50% छूट · केवल WaveSpeedAI | 20 मई – 2 जून

Akool Image Face Swap

akool /

Akool Image Face Swap swaps faces in photos using a source and target image, including multi-face replacement for group photos. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

portrait-transfer
Input

Drag & drop करें या upload के लिए click करें

preview

Drag & drop करें या upload के लिए click करें

preview

Drag & drop करें या upload के लिए click करें

preview

Drag & drop करें या upload के लिए click करें

preview

Drag & drop करें या upload के लिए click करें

preview
Whether to enhance face quality after swapping
If enabled, the output will be encoded into a BASE64 string instead of a URL. This property is only available through the API.

Idle

$0.16per run·~62 / $10

ExamplesView all

Related Models

README

Akool Image Face Swap

Akool Image Face Swap is a powerful AI-powered face swapping model that seamlessly replaces faces in images with remarkable precision and realism. Swap single or multiple faces in one image while preserving natural lighting, skin tone, and facial expressions.

Why It Stands Out

  • Multi-face swapping: Swap multiple faces in a single image simultaneously.
  • High-quality blending: Seamlessly integrates swapped faces with natural lighting and skin tone matching.
  • Face enhancement: Optional post-swap face quality enhancement for sharper, cleaner results.
  • Flexible input: Upload multiple source and target face images for precise control.
  • One-click operation: Simple workflow — upload images and get results instantly.

Parameters

ParameterRequiredDescription
imageYesThe main image where faces will be swapped.
source_imageYesFace(s) to use as replacement (can add multiple).
target_imageYesFace(s) in the main image to be replaced (can add multiple).
face_enhanceNoEnhance face quality after swapping (default: enabled).
enable_base64_outputNoReturn base64 string instead of URL (API only).

How to Use

  1. Upload the main image — the image where you want to swap faces.
  2. Add source image(s) — upload the face(s) you want to use as replacements.
  3. Add target image(s) — upload reference images of the face(s) to be replaced in the main image.
  4. Enable face enhance (recommended) — improves output quality.
  5. Click Run and wait for processing.
  6. Preview and download the result.

Best Use Cases

  • Creative Projects — Create fun, artistic face swaps for personal projects.
  • Content Creation — Generate engaging content for social media and entertainment.
  • Marketing & Advertising — Visualize models or personas in different scenarios.
  • Film & Video Production — Create concept images for pre-visualization.
  • E-commerce — Show products on different face types for diverse representation.

Pricing

OutputPrice
Per image$0.16

Pro Tips for Best Quality

  • Use high-resolution, well-lit face images for both source and target.
  • Ensure faces are clearly visible and not obscured by accessories or hair.
  • For best matching, use source faces with similar angles to the target faces.
  • Keep face_enhance enabled for sharper, more natural-looking results.
  • When swapping multiple faces, match source and target images in the same order.

Notes

  • Ensure uploaded image URLs are publicly accessible.
  • Processing time varies based on the number of faces and current queue load.
  • Please use responsibly and ensure your content complies with usage guidelines.
Accessibility:This website uses AI models provided by third parties.

Image Face Swap API — Quick start

Grab a WaveSpeedAI API key, then call POST https://api.wavespeed.ai/api/v3/akool/image-face-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 Face Swap below.

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

# 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("akool/image-face-swap", {
        "image": "https://example.com/your-input.jpg",
        "face_enhance": false,
        "enable_base64_output": false
});

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

output = wavespeed.run(
    "akool/image-face-swap",
    {
    "image": "https://example.com/your-input.jpg",
    "face_enhance": false,
    "enable_base64_output": false
}
)

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

Image Face Swap API — Frequently asked questions

What is the Image Face Swap API?

Image Face Swap is a Akool model for AI inference, exposed as a REST API on WaveSpeedAI. Akool Image Face Swap swaps faces in photos using a source and target image, including multi-face replacement for group photos. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.

How do I call the Image Face 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/akool/akool-image-face-swap.

How much does Image Face Swap cost per run?

Image Face Swap starts at $0.16 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 Face Swap accept?

Key inputs: `image`, `enable_base64_output`, `face_enhance`, `source_image`, `target_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/akool/akool-image-face-swap.

How long does Image Face Swap take to generate?

Average end-to-end generation time on WaveSpeedAI is around 7 seconds per request — measured across recent runs. Queue time scales with global demand; live status is visible in the prediction record.

Can I use Image Face Swap outputs commercially?

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