More modelsAtlascloudReal esrgan
Generate image with atlascloud/real-esrgan
Generates an image using the atlascloud/real-esrgan model.
AuthorizationBearer <token>
API key is required to authorize requests. Obtain a key from your AtlasCloud dashboard.
In: header
modelstring
model name
imagestring
Input image.
Format
uriscale?number
The factor to scale image by.
Default
4Range
0 <= value <= 10face_enhance?boolean
Run face enhancement along with upscaling.
Default
falseResponse Body
curl -X POST "https://api.atlascloud.ai/api/v1/model/generateImage" \ -H "Content-Type: application/json" \ -d '{ "model": "atlascloud/real-esrgan", "image": "https://static.atlascloud.ai/media/images/1744206178039419379_bDY951YU.png" }'{
"id": "string",
"urls": {},
"model": "string",
"status": "string",
"outputs": [
"string"
],
"created_at": "2019-08-24T14:15:22Z",
"has_nsfw_contents": [
true
]
}