> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hobbo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Image Enhancement

> Transform low-quality images into high-resolution, professional-quality images using AI. Enhances image clarity, sharpness, and detail while preserving the original subject's identity and characteristics.



## OpenAPI

````yaml POST /features/image-enhancement
openapi: 3.1.0
info:
  title: OpenAPI Plant Store
  description: >-
    A sample API that uses a plant store as an example to demonstrate features
    in the OpenAPI specification
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.hobbo.ai
    description: Main API server
  - url: https://py-api.hobbo.ai
    description: Python API server for scraper endpoints
security:
  - ApiKeyAuth: []
paths:
  /features/image-enhancement:
    post:
      description: >-
        Transform low-quality images into high-resolution, professional-quality
        images using AI. Enhances image clarity, sharpness, and detail while
        preserving the original subject's identity and characteristics.
      requestBody:
        description: Image enhancement parameters
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ImageEnhancementRequest'
        required: true
      responses:
        '200':
          description: Image enhanced successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ImageEnhancementResponse'
        '400':
          description: Validation error or unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                validationError:
                  value:
                    error: <string>
        '504':
          description: Request timeout
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                timeoutError:
                  value:
                    error: >-
                      Image enhancement request timed out. Please try again with
                      a smaller image or check your connection.
      servers:
        - url: https://py-api.hobbo.ai
components:
  schemas:
    ImageEnhancementRequest:
      type: object
      required:
        - image_url
      properties:
        image_url:
          type: string
          format: uri
          description: >-
            URL of the image to enhance. Must be a valid HTTP/HTTPS URL pointing
            to an image file.
        image_id:
          type:
            - string
            - 'null'
          description: Optional identifier for tracking the image enhancement request
    ImageEnhancementResponse:
      type: object
      properties:
        enhanced_image_bytes:
          type: string
          description: >-
            Base64-encoded enhanced image in PNG format. The image has been
            upscaled to high resolution (minimum 1536px on shortest side) with
            improved clarity, sharpness, and detail.
    Error:
      type: object
      properties:
        status:
          type: integer
          description: HTTP status code
        data:
          type: object
          description: Empty object or additional error data
        success:
          type: boolean
          description: Indicates operation failed
          example: false
        message:
          type: string
          description: Error message describing what went wrong

````