---
title: "Upload a picture"
method: POST
path: "/api/v1/images"
tags: ["images"]
---

# Upload a picture

`POST /api/v1/images`

## Request

- Base URL: `https://easeweb.host`
- URL: `https://easeweb.host/api/v1/images`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `sessionid`

Store a picture (PNG, JPEG, GIF or WEBP, up to 25 MB, base64-encoded) and get its "src" for an image
block or a slide background. Big pictures are scaled down to 2560 px.

## Request body

- object
  - `data_base64` string, required: The file, base64 (a data: URL prefix is allowed).

## Response `200`

OK

- object

## Other responses

- `4XX`: Error

---

[API](https://skmtc.dev/easeweb/apis/easeweb-presentations-api.md) · [All operations](https://skmtc.dev/easeweb/apis/easeweb-presentations-api/llms.txt) · [OpenAPI document](https://skmtc.dev/easeweb/apis/easeweb-presentations-api/revisions/9f5566adb5d1?raw)
