Upscale Image
upscale_imageUpscale image resolution with the Brainiall image-upscaling engine.
Enhances image resolution by 2x or 4x with the GPU-accelerated Brainiall image-upscaling engine super-resolution. Processes in tiles (256x256) to manage VRAM. Maximum output dimension: 8192x8192.
Args: image_base64: Base64-encoded image data (PNG, JPEG, or WebP). scale: Upscale factor -- 2 or 4 (default: 4).
Returns: dict with keys: - image (str): Base64-encoded upscaled image - format (str): Output image format - width (int): Output width - height (int): Output height - scale (int): Scale factor applied - processing_time_ms (float): Processing time in milliseconds
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Upscale factor: 2 or 4 (default: 4) | |
| image_base64 | Yes | Base64-encoded image data. Supports PNG, JPEG, and WebP formats. |