Skip to main content
POST
OpenAI images.edit 兼容
POST https://api.openai.com/v1/images/edits 对齐(multipart/form-data)。同步返回。 要上传文件 / base64 用本接口。异步 /openai/images 只接受公网 URL。 input_fidelityhigh / low)仅编辑生效。模型:gpt-image-2gpt-image-2.5-flaregpt-image-2.5-sunburst 详见 兼容接口总览

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

响应

200 - application/json
created
number
必填

创建时间(unix 秒)

data
object[]
必填

图片列表

background
enum<string>
可用选项:
transparent,
opaque
output_format
enum<string>
可用选项:
png,
webp,
jpeg
quality
enum<string>
可用选项:
low,
medium,
high
size
string
usage
object