# AI Skin Retouch

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/aiart/retouchskin:
    post:
      summary: AI Skin Retouch
      deprecated: false
      description: >-
        Image Format Requirements:


        Supported formats: JPEG, JPG, PNG.


        Maximum image size: 6 MB.


        Image resolution: greater than 128×128 pixels and less than or equal to
        5000×5000 pixels, with the longest side not exceeding 5000 pixels.


        Image Content: Must contain 1 to 10 portraits with a significant skin
        area.


        URL: The URL should not contain Chinese characters.


        Note: If the image resolution exceeds the maximum limit, please resize
        the image first before uploading.
      tags:
        - Reference
      parameters:
        - name: Authorization
          in: header
          description: ''
          required: true
          example: Bearer <your api key>
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                userImageUrl:
                  type: string
                  description: Image URL or BASE64 encoded image.
              required:
                - userImageUrl
              x-apifox-orders:
                - userImageUrl
            example:
              userImageUrl: >-
                https://pub-static.fotor.com/assets/goart-effects/examples/mini-figure-after.jpg
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    description: '000: Success，999: Unknown error'
                    x-apifox-mock: '000'
                    examples:
                      - '000'
                  msg:
                    type: string
                    x-apifox-mock: success
                    examples:
                      - success
                  data:
                    type: object
                    properties:
                      taskId:
                        type: string
                        description: Task ID, used to query task information.
                        x-apifox-mock: e0dc194703174b6eafeacb4ee8e02850
                        examples:
                          - e0dc194703174b6eafeacb4ee8e02850
                    required:
                      - taskId
                    x-apifox-orders:
                      - taskId
                required:
                  - code
                  - msg
                  - data
                x-apifox-orders:
                  - code
                  - msg
                  - data
          headers: {}
          x-apifox-name: success
      security: []
      x-apifox-folder: Reference
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/5562290/apis/api-255176075-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api-b.fotor.com
    description: 正式环境
security: []

```
