Skip to main content
POST
Upscale(放大高清)

请求头

Authorization
string
默认值:{{YOUR_API_KEY}}

请求体

multipart/form-data
image_file
file

An image binary; only JPEG, WEBPs and PNGs are supported at this time 图像二进制;目前仅支持 JPEG、WEBP 和 PNG 格式

image_request
string

A request to generate a new image using a provided image and a prompt. 请求生成一张新图像,使用提供的图像和提示。大致和Generate相同。

示例:

"{\"resemblance\":50,\"magic_prompt_option\":\"AUTO\",\"prompt\":\"A%20serene%20tropical%20beach%20\",\"seed\":12345,\"detail\":50}"

响应

200 - application/json

请求成功

data
object[]
必填
created
string
必填

The time the request was created. 请求创建的时间。