More modelsAtlascloudImage upscaler
Generate image with atlascloud/image-upscaler
Generates an image using the atlascloud/image-upscaler model.
AuthorizationBearer <token>
API key is required to authorize requests. Obtain a key from your AtlasCloud dashboard.
In: header
modelstring
model name
imagestring
The URL of the image to generate an image from.
creativity?number
Controls how strongly the upscaler will try to improve the image quality.
Default
0Range
-2 <= value <= 2output_format?string
The format of the output image.
Value in
"jpeg" | "png" | "webp"enable_sync_mode?boolean
If set to true, the function will wait for the image to be generated and uploaded before returning the response. It allows you to get the image directly in the response. This property is only available through the API.
Default
falsetarget_resolution?string
The target resolution of the generated image.
Value in
"2k" | "4k" | "8k"enable_base64_output?boolean
If enabled, the output will be encoded into a BASE64 string instead of a URL. This property is only available through the API.
Default
falseResponse Body
curl -X POST "https://api.atlascloud.ai/api/v1/model/generateImage" \ -H "Content-Type: application/json" \ -d '{ "model": "atlascloud/image-upscaler", "image": "string" }'{
"id": "string",
"urls": {},
"model": "string",
"status": "string",
"outputs": [
"string"
],
"created_at": "2019-08-24T14:15:22Z",
"has_nsfw_contents": [
true
]
}