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

# POST /duel/upload-image

**URL:** [https://xapi.duelduck.com/duel/upload-image](https://xapi.duelduck.com/duel/upload-image)

Uploads and processes a prediction logo image (JPEG, PNG, SVG, WebP; max 3 MB). Returns the URL of the saved logo.

### **Parameters**

| Name           | Type   | Header        | formData                          | Required | Description                     |
| :------------- | :----- | :------------ | --------------------------------- | :------- | :------------------------------ |
| Authorization  | string | Authorization | —                                 | yes      | Authorization<br />Bearer token |
| **duel\_logo** | file   | —             | Choose File /<br />No file chosen | yes      | Prediction logo<br />image      |

### **Responses**

**Response content type:** application / json .

#### Code 200

duel\_logo\_url.

```text theme={"dark"}
{
  "additionalProp1": "string",
  "additionalProp2": "string",
  "additionalProp3": "string"
}
```

#### Code 400

Invalid request data.

```text theme={"dark"}
{
  "message": "string",
  "status": 0
}
```

#### Code 401

Unauthorized.

```text theme={"dark"}
{
  "message": "string",
  "status": 0
}
```

#### Code 429

Too many uploads.

```text theme={"dark"}
{
  "message": "string",
  "status": 0
}
```

#### Code 500

Internal server error.

```text theme={"dark"}
{
  "message": "string",
  "status": 0
}
```
