> For the complete documentation index, see [llms.txt](https://docs.openjourneybot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.openjourneybot.com/face-swap.md).

# Face Swap

<figure><img src="/files/7lDXav7ONuGIQxv77lPc" alt="Face Swap"><figcaption></figcaption></figure>

## Parameters

* [<mark style="color:purple;">**target\_image**</mark>](#target-image)
* [<mark style="color:purple;">**swap\_image**</mark>](#swap-image)

### Target Image

> Add your main targeted image. Now you can upload your local image to our CDN by using **`/upload`** command and grab a image link or you can either upload the image to discord and grab the media link or host the image somewhere else and paste the direct link.
>
> <mark style="color:green;">**Recommended:**</mark> <mark style="color:green;">**`/upload`**</mark>

### Swap Image

> Add your image that includes the face that you want to swap to the [<mark style="color:purple;">**Target Image**</mark>](#target-image)<mark style="color:purple;">**.**</mark> Please make sure to include a full face image that shows every details directly to the camera. Now you can upload your local image to our CDN by using **`/upload`** command and grab a image link or you can either upload the image to discord and grab the media link or host the image somewhere else and paste the direct link.
>
> <mark style="color:green;">**Recommended:**</mark> <mark style="color:green;">**`/upload`**</mark>

### How this Works?

> Face Swap works by simply copy pasting your facial data from the [<mark style="color:purple;">**Swap Image**</mark>](#swap-image) to [<mark style="color:purple;">**Target Image**</mark>](#target-image) and processing through our Neural network to restore and balance the quality of the image and the face. Final output will delivered as a automatically upscaled and quality controlled image.&#x20;

{% hint style="info" %}
Try to use below 4K image on both parameters since our servers not yet powerful enough to process higher quality images on demand.
{% endhint %}
