---
title: "Edit photo"
method: POST
path: "/v0/assistant/photo/edit"
tags: ["Media"]
---

# Edit photo

`POST /v0/assistant/photo/edit`

Edits a photo using a text prompt and an input image (URL or file), and returns the image URL. This action costs credits.

## Response `201`

Successful Response

- InfoResponseStr
  - `info` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/unify/apis/unifyai-http-api-reference.md) · [All operations](https://skmtc.net/unify/apis/unifyai-http-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unify/unifyai-http-api-reference/versions/900377f918b6/schema)
