图像编辑 DreamO-弃用
将废弃
POST
/v1/images/edits
提示
应用场景
请求参数
Body 参数multipart/form-data
image
file
必需
要编辑的图像
File
对象。可以传入多个image参数。例如需要多张图合并成一张,或迁移元素等。prompt
string
必需
示例值:
让小狗微笑
model
string
可选
示例值:
DreamO
size
string
可选
256x256
、512x512
、1024x1024
、1152x896
、768x1024
、1024x576
、576x1024
、1024x683
、683x1024
。示例值:
1024x1024
guidance_scale
number
可选
num_inference_steps
integer
可选
seed
integer
随机种子
默认值:
-1
response_format
enum<string>
可选
url
或 b64_json
之一。URL 仅在图像生成后的 60 分钟内有效。枚举值:
urlb64_json
默认值:
b64_json
示例代码
返回响应
修改于 2025-06-03 08:21:38