> For the complete documentation index, see [llms.txt](https://otjang.gitbook.io/otjang/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://otjang.gitbook.io/otjang/image.md).

# Image

이미지 파일을 url로 변환 시켜주는 API를 제공합니다.

## Get Image Url

<mark style="color:green;">`POST`</mark> `http://15.165.197.67:5000/image/upload`

&#x20;이미지 업로드 시 사용될 url로 변환된 주소를 보내줍니다.&#x20;

#### Request Body

| Name  | Type   | Description |
| ----- | ------ | ----------- |
| image | string |             |

{% tabs %}
{% tab title="200 S3에 이미지가 성공적으로 업로드 됐을 때, " %}

```
{    "imageUrl": "url 주소"    }
```

{% endtab %}

{% tab title="404  응답이 실패했을  때,  " %}

```
{    "message": err.message    }
```

{% endtab %}
{% endtabs %}
