# Remix Image Without A Trained Model

This operation costs **1 credit**.&#x20;

#### Endpoint

```
POST /api/face-id-remix
```

<table><thead><tr><th width="204">Parameter</th><th>Type</th><th>Required</th><th>Description</th></tr></thead><tbody><tr><td><code>identity_image</code></td><td>binary</td><td>Yes</td><td>Image containing the identity to remix.</td></tr><tr><td><code>artwork_image</code></td><td>binary</td><td>Yes</td><td>Image to be used as artwork.</td></tr><tr><td><code>mask_image</code></td><td>binary</td><td>Yes</td><td>Image containing the mask.</td></tr><tr><td><code>prompt</code></td><td>string</td><td>No</td><td>Prompt to use. Defaults to "".</td></tr><tr><td><code>negative_prompt</code></td><td>string</td><td>No</td><td>Negative Prompt to use. Defaults to "".</td></tr><tr><td><code>mode</code></td><td>string</td><td>No</td><td>Options: "sync" or "async". Defaults to "sync".</td></tr></tbody></table>

#### Bearer

Bearer token authentication uses a token to access APIs. Include the token in your request header as `Authorization: Bearer YOUR_SECRET_API_KEY` to authenticate your requests.

#### Sync mode

The API's `mode` parameter can be `sync` or `async`. Sync mode provides immediate results and is easy to implement. Async mode allows the client to perform other tasks while waiting.

#### Request Example

```bash
curl -X POST "https://api.deepmode.ai/api/face-id-remix" \
-H "Content-Type: multipart/form-data" \
-H "Authorization: Bearer YOUR_SECRET_API_KEY" \
-F "identity_image=@identity.jpg" \
-F "artwork_image=@artwork.jpg" \
-F "mask_image=@mask.jpg" \
-F "prompt=cartoon, pixar, 3d animation" \
-F "negative_prompt=oversaturated, realistic, photo, deformed" \
-F "mode=sync"

```

#### Response

Upon successful generation, the API returns the following response:

```json
{
  "id": "668f1a2bdb4c27d16052c82b",
  "file_name": "a62a9740-1600-44ab-8529-bff93922a4ed.jpeg",
  "status": "completed",
  "created_at": "2024-07-10T23:32:59.210000Z",
  "image_url": "https://deepmodeimage.blob.core.windows.net/face-id-remix-generation/a62a9740-1600-44ab-8529-bff93922a4ed.jpeg?st=2024-07-10T23%3A34%3A17Z&se=2024-07-11T00%3A34%3A17Z&sp=r&sv=2024-05-04&sr=b&sig=aJERtEIw64nX5Ehj5v3LSoHHARpm0t36LEyw4ypNzXc%3D"
}
```


---

# 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://deepmode.gitbook.io/docs/api-endpoints/handling-images/remix-image-without-a-trained-model.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.
