高清放大接口
开发中
POST
/api/images/upscaler/turbo
放大
请求参数
Body 参数application/json
args
object
必需
prompt
string
必需
>= 0 字符<= 1000 字符
negative_prompt
string
必需
>= 0 字符<= 1000 字符
upscaler
number
保留一位小数
>= 0<= 2.5
reference_img
string
必需
weight
number
保留两 位小数
>= 0<= 10
mode
enum<integer>
必需
枚举值:
012
engine
enum<integer>
必需
枚举值:
12
hdr
number
必需
>= 0<= 10
resemblance
number
必需
>= 0<= 10
type
enum<string>
必需
枚举值:
mx-upscale-turbo
示例
{
"args": {
"prompt": "",
"negivate_prompt": "",
"upscaler": 1,
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://open-qr.mewx.art/api/images/upscaler/turbo' \
--header 'Content-Type: application/json' \
--data-raw '{
"args": {
"prompt": "",
"negivate_prompt": "",
"upscaler": 1,
}
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}