Skip to content

创建图片

Servers

https://api.rainboxs.com/RAINBOXS API 服务器

绘画模型/即梦(seedream)


创建图片

POST
/v1/images/generations

Parameters

Header Parameters

Authorization*

所有请求都需要在 HTTP Header 中包含 Authorization 字段,用于身份认证。

Type
string
Required
Example"sk-2SiNP"

Request Body

application/json
JSON
{
"model": "string",
"prompt": "string",
"image": "string",
"size": "string",
"response_format": "string"
}

Responses

application/json
JSON
{
}

Playground

Headers
Body

Samples

cURL
JavaScript
PHP
Python

Powered by VitePress OpenAPI

RAINBOXS API 文档