generate a image
Documentation Index
Fetch the complete documentation index at: https://docs.pmock.com/llms.txt
Use this file to discover all available pages before exploring further.
prompt
1model
gpt-image-2 background transparency
transparent, opaque, auto Audit intensity
auto, low Generation quantity (currently only supports 1)
JPEG/WebP compression level 0-100
Output file format
png, jpeg, webp partial images
quality grade
auto, low, medium, high, standard Response format (compatible with DALL · E; The gpt image series always returns b64_json)
url, b64_json image size
auto, 1024x1024, 1024x1536, 1536x1024, 2048x2048, 2048x1152, 3840x2160, 2160x3840 Input image fidelity (newly added in gpt-image-2, only effective for editing scenes); Generate can be ignored)
high, low user
OK
The response is of type object.