# 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.openjourneybot.com/face-swap.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
