AILabTools
  1. Image Enhancement
AILabTools
  • 简介
  • AI IMAGE
    • Image Enhancement
      • Image Dehaze
        POST
      • Image Upscaler
        POST
      • Stretched Image Restoration
        POST
      • Image sharpness enhancement
        POST
      • Image contrast enhancement
        POST
      • Image color enhancement
        POST
    • Image Effects
      • AI Cartoon Generator
      • AI Photo Colorize
      • Photo to Painting
      • Style transfer
      • Color Migration
      • HD color migration
      • Image Micro Motion
    • Image Editing
      • AI Image cropping
      • Intelligent Composition
      • Photo retouch
      • Image Invisible Picture Watermark
      • Image Invisible Text Watermark
      • Image Erasure
    • Image scoring
      • Image composition aesthetics score
      • Image exposure score
    • Querying asynchronous task results
      GET
  • AI BACKGROUND REMOVAL
    • Portrait
      • Human background removal
      • Head Extraction
      • Hairstyle Extraction
    • General
      • Universal Background Removal
      • Food Background Removal
      • Product background removal
      • Costume background removal
  • AI PORTRAIT
    • Portrait effects
      • Cartoon yourself
      • Merge Portraits
      • Smart Beauty
      • AI Skin Beauty
      • AI Face Slimming
      • Face Beauty
      • AI Makeup
      • Face Filters
      • Facial aesthetics
      • Change facial expressions
      • Hairstyle changer
      • Hairstyle changer Pro
      • Bring photos to life
      • Photo to 3d slow-motion
      • Face Blur
      • Age & Gender swap
      • AI Face Enhancer
      • Lips Color Changer
    • Portrait Analysis
      • Face Key Points
      • Detect Skin Disease
      • Skin analyze
      • Skin analyze Advanced
      • Skin analyze Pro
      • Face Analyzer
  • AI COMMON
    • Querying asynchronous task results
      GET
    • Querying credits
      GET
  1. Image Enhancement

Image Upscaler

开发环境
开发环境
POST
/api/image/enhance/image-lossless-enlargement
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/image/enhance/image-lossless-enlargement' \
--header 'ailabapi-api-key;' \
--form 'image=@""' \
--form 'upscale_factor=""' \
--form 'mode=""' \
--form 'output_format=""' \
--form 'output_quality=""'
响应示例响应示例
{
  "error_code":     0,
  "error_code_str": "",
  "error_msg":      "",
  "request_id":     "",
  "log_id":         "",
  "data":           {
    "url": ""
  }
}

请求参数

Header 参数
ailabapi-api-key
string 
必需
Application API KEY.
Body 参数multipart/form-data
image
file 
必需
upscale_factor
string 
必需
Magnification.
mode
string 
必需
Image output mode.
  • base: Normal mode, i.e. stable super-resolution effect.
  • enhancement: Enhancement mode, which has a more prominent enhancement effect than the normal mode, further improving the clarity and sharpness of the output image.
  • output_format
    string 
    必需
    Output image format.
    output_quality
    string 
    必需
    Quality factor of the output image, where a higher value corresponds to higher quality. Only applicable when output_format=jpg.

    返回响应

    ⚪0Image Upscaler
    application/json
    Body
    error_code
    integer 
    必需
    error_code_str
    string 
    必需
    error_msg
    string 
    必需
    request_id
    string 
    必需
    log_id
    string 
    必需
    data
    object 
    必需
    url
    string 
    必需
    上一页
    Image Dehaze
    下一页
    Stretched Image Restoration
    Built with