Generate image
gateway
Generate image
Generate an image through the Dench gateway.
POST
Generate 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 - 32000e.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.
Response
Successful response