> ## Documentation Index
> Fetch the complete documentation index at: https://ailabtools.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# AI Face Swap

> AI Face Swap API swaps a source face onto a target image and returns an asynchronous task ID for result retrieval.

## Renderings show| TEMPLATE IMAGE | TARGET IMAGE | RESULT IMAGE |
| :- | :- | :- |
| ![TEMPLATE IMAGE][TemplateImage-1] | ![TARGET IMAGE][TargetImage-1] | ![RESULT IMAGE][ResultImage-1] |> [!TIP]
>
> Explore this API through the [👉 Online Experience 👈](https://www.ailabtools.com/face-swap) or integrate it using the [👉 Run with API 👈](https://ailabtools.mintlify.site/docs/ai-portrait/editing/ai-face-swap/api.md).## Billing Instructions
      \<table><thead><tr><th>Price</th>
            \<th>Requests</th>
            \<th>Cost / Request</th></tr></thead>
        \<tbody /></table>

      

\> [!TIP]
\>
\> Each successful API request consumes **5 credits (≈ )**. Failed requests are not billed.
\>
\>         <ul><li>View pricing on the [pricing page](https://www.ailabtools.com/price?tab=api) or manage credits in the [developer platform](https://www.ailabtools.com/developer/billing).</li>
\>           <li>Need more credits or an enterprise plan? Contact [business@ailabtools.com](mailto:business@ailabtools.com).</li></ul>


    ## File Storage Policy<table><thead><tr><th>Data Type</th>
<th>Stored</th>
<th>Retention</th>
<th>Training</th>
<th>Deletion</th></tr></thead>
<tbody><tr><td>Uploaded Files</td>
<td>No</td>
<td>N/A</td>
<td>No</td>
<td>Immediate</td></tr></tbody></table>> [!TIP]
>
> For more information, see the [File Storage Policy](https://ailabtools.mintlify.site/docs/file-storage-policy.md) and [Privacy Policy](https://www.ailabtools.com/privacy-policy).## Application Scenarios- **Social avatar generation**: create fun face-swapped portraits for profile pictures and personal branding.
- **Campaign interaction**: build interactive face-swap activities for events, promotions, and festive content.
- **Creative prototyping**: quickly produce face-replacement mockups for storyboards, ads, and visual testing.## Featured Advantages- **High facial consistency**: the swapped face preserves key identity features with natural blending.
- **Context retention**: keeps the target image’s pose, lighting, and background as much as possible.
- **Asynchronous workflow**: supports async processing for high-concurrency scenarios and batch submission.[TemplateImage-1]: https://ai-resource.ailabtools.com/rapidapi/facebody/AIFaceSwap/TemplateImages-1.webp[TargetImage-1]: https://ai-resource.ailabtools.com/rapidapi/facebody/AIFaceSwap/TargetImage-1.webp[ResultImage-1]: https://ai-resource.ailabtools.com/rapidapi/facebody/AIFaceSwap/ResultImage-1.webp


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.