# Standard Model

<mark style="color:green;">`POST`</mark> <https://app.lupaupscaler.com/api/1.1/wf/standard>

**Headers**

| Name         | Value              |
| ------------ | ------------------ |
| Content-Type | `application/json` |
| x-api-key    | `your-api-key`     |

**Body**

| Name         | Type   | Description                                    |
| ------------ | ------ | ---------------------------------------------- |
| `image`      | string | URL of the image. Must be publicly accessible. |
| `creativity` | number | value between -10 and 10                       |
| `Resolution` | number | Must be `2`, `4`, or `6`                       |

**Response**

{% tabs %}
{% tab title="200" %}
{% code title="Sucess call" %}

```json
{
    "status": "success",
    "response": {
        "upscale_id": "1755096783822x441249889369598200"
    }
}
```

{% endcode %}
{% endtab %}

{% tab title="200" %}
{% code title="Insufficient tokens" %}

```json
{
    "status": "success",
    "response": {
        "status": "error",
        "message": "Insufficient tokens"
    }
}
```

{% endcode %}
{% endtab %}

{% tab title="200" %}
{% code title="Incorrect parameters" %}

```json
{
    "status": "success",
    "response": {
        "status": "error",
        "message": "Incorrect parameters, please read the documentation."
    }
}
```

{% endcode %}
{% endtab %}

{% tab title="400" %}
{% code title="Missing parameters" %}

```
Error: Error parsing request body: Unexpected token } in JSON at position 389

Code: 1755097103644x135890962254145100
```

{% endcode %}
{% endtab %}
{% endtabs %}

***

**Example Request**

```
curl -X POST https://app.lupaupscaler.com/api/1.1/wf/standard/ \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
    "image": "https://website.com/image.png",
    "creativity": 6,
    "Resolution": 2
  }'

```


---

# 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://lupaupscaler.gitbook.io/lupaupscaler-docs/api/apis-endpoints/editor.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.
