Edit Image
Edit an image based on a text prompt and optional mask using the specified model.
X-API-Key<token>
Project-scoped Nebul API key. Also accepted as Authorization: Bearer <key>.
In: header
Request Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/images/edits" \ -F model="string" \ -F prompt="string" \ -F image="[ \"string\" ]"{ "created": 0, "data": [ { "b64_json": "string", "url": "string" } ], "background": "string", "output_format": "string", "size": "string", "quality": "string", "usage": {}}