- AI image generation
- task query
- train model
- image tool
- Flux text2imagePOST
- Single Face Swap V1.0POST
- Single Face Swap V2.0POST
- instantIDPOST
- Face restorationPOST
- Super ResolutionPOST
- image descriptionPOST
- Multiple Face SwapPOST
- Face DetectionPOST
- Prompt expansionPOST
- Hairstyle changerPOST
- Object RemovalPOST
- Style recognitionPOST
- OutpaintingPOST
- CNT previewPOST
- background removePOST
- image enlargePOST
- image watermarkPOST
image enlarge
Developing
POST
/AIGCImgOpenServ/saas/tool/image/enlarge
Request
Header Params
X-Request-req-accessKeyId
string
optional
X-Request-req-accessKeySecret
string
optional
Body Params application/json
businessTaskId
string
required
imageUrl
string
image url
scalingRatio
integer
Image magnification
modelName
string
Use model name
ext
string
Picture saving format
callbackUr
string
callback address
Example
{
"businessTaskId": "test111",
"imageUrl": "https://dbt-aigc.oss-cn-hangzhou.aliyuncs.com/Output-Img2/zjy/three_test.webp",
"scalingRatio": 2,
"modelName": "realesr-animevideov3"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.zhiqite.com/AIGCImgOpenServ/saas/tool/image/enlarge' \
--header 'X-Request-req-accessKeyId;' \
--header 'X-Request-req-accessKeySecret;' \
--header 'Content-Type: application/json' \
--data-raw '{
"businessTaskId": "test111",
"imageUrl": "https://dbt-aigc.oss-cn-hangzhou.aliyuncs.com/Output-Img2/zjy/three_test.webp",
"scalingRatio": 2,
"modelName": "realesr-animevideov3"
}'
Responses
🟢200OK
application/json
Body
code
string
required
msg
string
required
data
object
required
businessTaskId
string
required
outputImageUrl
string
required
status
integer
required
taskId
string
required
Example
{
"code": "string",
"msg": "string",
"data": {
"businessTaskId": "string",
"outputImageUrl": "string",
"status": 0,
"taskId": "string"
}
}
Modified at 2024-08-09 01:36:04