> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://documentation.celestory.io/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 🟡 Edit Image (OpenAI)

The **Edit Image** block allows to use Open AI's API to edit an image via the URL given to the block.

*An API (Application Programming Interface) is a set of functionalities made available to a client/user via a library (methods of a programming language) or a web service.*

![](https://storage.crisp.chat/users/helpdesk/website/-/d/4/6/a/d46a92e92b2b3800/capture-decran-2025-04-30-1409_1yqlcq6.png =517x400)

This block has different settings : 
* the _size_ field allows to change to size the returned image
* the _prompt_ field allows to send the request to the AI
* the _URL_ field allows to send a link to the image that will be edited to the AI
* the _quality_ field allows to set the quality of the returned image

**Important:** using OpenAI's API can take some time (between 30 seconds to more than 1 minute): it is necessary to wait a few seconds to have a result.
**Note:** the URL returned by the **Edit Image** block is quite big (a few Mega bits). To get a visual of the image in Voltask, it is recommanded to use the **WriteToLog** block, or it possible to show it in the **HTML5** block of Celestory.

Here is an example of what the **Edit Image** block can to:

*the image used*

![](https://storage.crisp.chat/users/helpdesk/website/-/d/4/6/a/d46a92e92b2b3800/cottagehouseai_wb3jqd.png =400x400)

*after the edition*

![](https://storage.crisp.chat/users/helpdesk/website/-/d/4/6/a/d46a92e92b2b3800/cottagehouseaiedit_12wtoer.png =400x400)