Edit Image
在给定原始图像和提示的情况下创建编辑或扩展图像。
Documentation Index
Fetch the complete documentation index at: https://docs.utoken.wgame-hk.com/llms.txt
Use this file to discover all available pages before exploring further.
Body
The image to edit. Must be a valid PNG file, less than 4MB, and square. If mask is not provided, image must have transparency, which will be used as mask.
A text description of the desired image. The maximum length is 1000 characters.
"A cute baby sea otter wearing a beret."
An additional image whose fully transparent regions (e.g., where alpha is zero) indicate where image should be edited. Must be a valid PNG file, less than 4MB, and with the same dimensions as image.
The number of images to generate. Must be between 1 and 10.
"1"
The size of the generated images. Must be one of 256x256, 512x512, or 1024x1024.
"1024x1024"
The format in which the generated images are returned. Must be url or b64_json.
"url"
A unique identifier representing your end-user, which can help monitor and detect abuse. Learn More。
""
"dall-e-2"
Response
Response
The response is of type object.
