More modelsAtlascloudImage upscaler

Generate image with atlascloud/image-upscaler

Generates an image using the atlascloud/image-upscaler model.

POST
/api/v1/model/generateImage
AuthorizationBearer <token>

API key is required to authorize requests. Obtain a key from your Atlas Cloud dashboard.

In: header

modelstring

Model name.

Value in"atlascloud/image-upscaler"
imagestring

Input image URL to upscale.

outscale?number

Output scale multiplier. Use 2.0 for standard upscaling and 4.0 for the maximum exposed scale.

Default1
Range1 <= value <= 4
output_format?string

Output image format.

Value in"jpeg" | "png" | "webp" | "jpg"

Response Body

curl -X POST "https://api.atlascloud.ai/api/v1/model/generateImage" \  -H "Content-Type: application/json" \  -d '{    "model": "atlascloud/image-upscaler",    "image": "string"  }'
{
  "created_at": "2019-08-24T14:15:22Z",
  "has_nsfw_contents": [
    true
  ],
  "id": "string",
  "model": "string",
  "outputs": [
    "string"
  ],
  "status": "string",
  "urls": {}
}