Skip to main content
POST
Upscale()

Headers

Authorization
string
default:{{YOUR_API_KEY}}

Body

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相同。

Example:

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

Response

200 - application/json

Request succeeded.

data
object[]
required
created
string
required

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