---
title: "Image Edit Upload"
method: POST
path: "/v1/image/edit/upload"
tags: ["Image"]
---

# Image Edit Upload

`POST /v1/image/edit/upload`

Specifies: 
- how the image will be processed (`operations`)
- where it will be stored (`output`)

## Response `200`

Successful Response

- ResponseEditResponse — Wrapper for responses
  - `data` EditResponse
    - `input` PipelineInputObject, required
      - `ext` string, required — File extension. Can have values: `"jpg"`, `"png"`, `"avif"`
      - `mps` number, required — Megapixel count
      - `mime` string, required — MIME type (also known as ‘media type’)
      - `format` string, required — File format. Can have values: `"jpeg"`, `"png"`, `"avif"`
      - `width` integer, required — Image width in pixels
      - `height` integer, required — Image height in pixels
    - `output` PipelineOutputObject, required
      - `ext` string, required — File extension. Can have values: `"jpg"`, `"png"`, `"avif"`
      - `mps` number, required — Megapixel count
      - `mime` string, required — MIME type (also known as ‘media type’)
      - `format` string, required — File format. Can have values: `"jpeg"`, `"png"`, `"avif"`
      - `width` integer, required — Image width in pixels
      - `height` integer, required — Image height in pixels
      - `tmp_url` string — Temporal URL of a processed image
      - `object_key` string — Path to a processed image in a bucket
      - `object_bucket` string — Bucket name
      - `object_uri` string — URI of a processed image in a bucket
      - `claid_storage_uri` string — URI of a processed image in a storage
    - `profiling` object

## Other responses

- `401` — Authorization is required.
- `402` — No API calls left.
- `403` — Not enough permissions.
- `422` — Unprocessable Entity.
- `429` — Too many requests.

---

[API](https://skmtc.net/claid/apis/claid-rest-api.md) · [All operations](https://skmtc.net/claid/apis/claid-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/claid/claid-rest-api/revisions/410fc0db9665/schema)
