Edit image
gateway
Edit image
Edit an image through the Dench gateway.
POST
Edit image
Authorizations
Workspace-scoped Dench API key from workspace settings. This is the same key used by DENCH_API_KEY in sandboxes.
Body
application/json
Image prompt.
Required string length:
1 - 32000Base64-encoded source images (1-8).
Required array length:
1 - 8 elementse.g. 1024x1024, 1536x1024, auto.
Available options:
auto, low, medium, high Available options:
png, jpeg, webp Required range:
0 <= x <= 100Available options:
auto, opaque, transparent Workspace path to write the image.
Optional base64 mask image.
Response
Successful response