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

# Topaz Upscale Image Precision



## OpenAPI

````yaml openapi-spec/topaz-upscale-image-precision.json POST /v1/images/generations/async
openapi: 3.1.0
info:
  description: High fidelity image upscaling that preserves detail.
  summary: API for Topaz Upscale Image Precision model
  title: Topaz Upscale Image Precision API
  version: 1.0.0
servers:
  - description: Model Verse API Server
    url: https://api.siray.ai
security: []
tags:
  - description: >-
      Topaz Upscale Image Precision - High fidelity image upscaling that
      preserves detail.
    name: Topaz Upscale Image Precision
paths:
  /v1/images/generations/async:
    post:
      tags:
        - Topaz Upscale Image Precision
      summary: Generate image
      description: Generate an image using the Topaz Upscale Image Precision model
      operationId: image_model-66ckhd5zd35fg3eg
      requestBody:
        content:
          application/json:
            example:
              crop_to_fill: false
              denoise: 0
              face_enhancement: false
              face_enhancement_creativity: 0
              face_enhancement_strength: 0
              fix_compression: 0
              image: example_value
              model: topaz/topaz-upscale-image-precision
              model_variant: Standard V2
              output_format: jpg
              sharpen: 0
              strength: 0.01
              subject_detection: All
              upscale_factor: 1
            schema:
              description: Request format for image generation models
              properties:
                crop_to_fill:
                  description: Crop the image to fill the output frame instead of padding
                  type: boolean
                denoise:
                  description: 'Noise reduction strength. Supported range: [0, 1].'
                  maximum: 1
                  minimum: 0
                  type: number
                face_enhancement:
                  description: Enhance faces in the image
                  type: boolean
                face_enhancement_creativity:
                  description: >-
                    Creativity applied to face enhancement. Supported range: [0,
                    1].
                  maximum: 1
                  minimum: 0
                  type: number
                face_enhancement_strength:
                  description: 'Strength of the face enhancement. Supported range: [0, 1].'
                  maximum: 1
                  minimum: 0
                  type: number
                fix_compression:
                  description: 'Repair compression artifacts. Supported range: [0, 1].'
                  maximum: 1
                  minimum: 0
                  type: number
                image:
                  description: Input image for generation, it can be data URL or image URL
                  type: string
                model:
                  description: Model name to use for the request
                  enum:
                    - topaz/topaz-upscale-image-precision
                  type: string
                model_variant:
                  description: Model variant to use for the generation
                  enum:
                    - Standard V2
                    - High Fidelity V3
                    - High Fidelity V2
                    - Low Resolution V2
                    - CGI
                    - Text Refine
                    - Faces
                  type: string
                output_format:
                  description: Output format for the 3D model
                  enum:
                    - jpg
                    - png
                  type: string
                sharpen:
                  description: 'Sharpening strength. Supported range: [0, 1].'
                  maximum: 1
                  minimum: 0
                  type: number
                strength:
                  description: 'Overall enhancement strength. Supported range: [0.01, 1].'
                  maximum: 1
                  minimum: 0.01
                  type: number
                subject_detection:
                  description: >-
                    Which subject layer to enhance. Supported values: All,
                    Foreground, Background.
                  enum:
                    - All
                    - Foreground
                    - Background
                  type: string
                upscale_factor:
                  description: >-
                    Upscale multiplier applied to the output. Supported range:
                    [1, 4].
                  maximum: 4
                  minimum: 1
                  type: number
              required:
                - model
                - image
              title: Image Generation Request
              type: object
        description: Request payload
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskResponse'
          description: Successful response
      security:
        - bearerAuth: []
components:
  schemas:
    TaskResponse:
      description: Standard async task creation response
      properties:
        code:
          description: Status code returned by the service
          example: success
          type: string
        data:
          description: Response payload containing task details
          properties:
            task_id:
              description: Identifier of the created task
              type: string
          required:
            - task_id
          type: object
        fail_code:
          description: Failure code if the task submission did not succeed
          type: string
        message:
          description: Additional information about the request result
          type: string
      required:
        - data
        - code
        - message
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: API Key
      description: Bearer authentication using API key
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.