编辑图片
Servers
https://api.rainboxs.com/RAINBOXS API 服务器
编辑图片
POST
/v1/images/edits
Parameters
Header Parameters
Authorization*
所有请求都需要在 HTTP Header 中包含 Authorization 字段,用于身份认证。
Type
Requiredstring
Example
"k-2SiNP"Request Body
multipart/form-data
object
model
string
Required
模型名
prompt
string
Required
所需图像的文本描述。最大长度为 1000 个字符。
image
string
输入的图片信息
Format
"binary"size
string
生成图像的大小。
seedream-4-0 :
方式1
可选值:1K、2K、4K
方式2
默认值:2048x2048
总像素取值范围:[1024x1024, 4096x4096]
宽高比取值范围:[1/16, 16]
seedream-3-0:
默认值:1024x1024
总像素取值范围: [512x512, 2048x2048]
示例值:
1K2K4K1024x10242048x2048
response_format
string
返回生成的图像的格式。必须是url或者base64
Responses
application/json
{
}