> ## Documentation Index
> Fetch the complete documentation index at: https://nixai.ru/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Редактирование изображения

> Изменяет исходное изображение по текстовому описанию. Размер каждого
файла не должен превышать 12 МБ. Несколько изображений можно передать
в повторяющемся поле `image[]`.

Запрос выполняется синхронно.


<CodeGroup>
  ```bash cURL theme={null}
  curl https://api.nixai.ru/v1/images/edits \
    -H "Authorization: Bearer $NIXAI_API_KEY" \
    --max-time 360 \
    -F model="midjourney-fast" \
    -F prompt="make the sky stormy, add lightning" \
    -F image="@photo.png"
  ```
</CodeGroup>


## API Specification

The full API specification for this endpoint is available in the [documentation index](https://nixai.ru/docs/llms.txt).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.