> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-feat-openapi-i18n.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Precision V2로 이미지 업스케일링

> 이미지를 업스케일링하고 동시에 새로운 시각적 요소 또는 세부 정보를 추가합니다(V2).
이 엔드포인트는 프롬프트와 추론된 컨텍스트에 따라 원본 이미지 콘텐츠를 수정할 수 있습니다.
제출 시 고유한 task_id를 반환하며, 이를 통해 진행 상황을 추적할 수 있습니다.




## OpenAPI

````yaml /openapi/registry.ko.yaml post /proxy/freepik/v1/ai/image-upscaler-precision-v2
openapi: 3.0.2
info:
  title: Comfy API
  version: '1.0'
servers:
  - url: https://api.comfy.org
security: []
paths:
  /proxy/freepik/v1/ai/image-upscaler-precision-v2:
    post:
      tags:
        - Freepik
        - Proxy
      summary: Precision V2로 이미지 업스케일링
      description: |
        이미지를 업스케일링하고 동시에 새로운 시각적 요소 또는 세부 정보를 추가합니다(V2).
        이 엔드포인트는 프롬프트와 추론된 컨텍스트에 따라 원본 이미지 콘텐츠를 수정할 수 있습니다.
        제출 시 고유한 task_id를 반환하며, 이를 통해 진행 상황을 추적할 수 있습니다.
      operationId: FreepikMagnificUpscalerPrecisionV2
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FreepikMagnificUpscalerPrecisionV2Request'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FreepikTaskResponse'
          description: OK - 업스케일링 프로세스가 시작되었습니다.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FreepikErrorResponse'
          description: 잘못된 요청
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FreepikErrorResponse'
          description: 내부 서버 오류
      security:
        - BearerAuth: []
components:
  schemas:
    FreepikMagnificUpscalerPrecisionV2Request:
      properties:
        flavor:
          description: |
            이미지 처리 종류:
            - sublime: 예술적 및 일러스트 이미지에 최적화
            - photo: 사진 이미지에 최적화
            - photo_denoiser: 노이즈 감소가 적용된 사진에 특화
          enum:
            - sublime
            - photo
            - photo_denoiser
          type: string
        image:
          description: |
            업스케일할 소스 이미지입니다. 다음 중 하나를 허용합니다:
            - 이미지를 가리키는 공개적으로 접근 가능한 HTTPS URL
            - base64로 인코딩된 이미지 문자열
          type: string
        scale_factor:
          description: 이미지 크기 조절 비율입니다. 출력이 입력에 비해 얼마나 더 커질지 결정합니다.
          maximum: 16
          minimum: 2
          type: integer
        sharpen:
          default: 7
          description: 이미지 선명도 강도 제어입니다. 값이 높을수록 가장자리 정의와 선명도가 증가합니다.
          maximum: 100
          minimum: 0
          type: integer
        smart_grain:
          default: 7
          description: 지능형 입자/텍스처 향상. 값이 높을수록 더 세밀한 텍스처가 추가됩니다.
          maximum: 100
          minimum: 0
          type: integer
        ultra_detail:
          default: 30
          description: 초고해상도 세부 정보 향상 수준. 값이 높을수록 더 복잡한 세부 정보를 생성합니다.
          maximum: 100
          minimum: 0
          type: integer
        webhook_url:
          description: 업스케일링 작업이 완료될 때 비동기 알림을 수신하는 선택적 콜백 URL입니다.
          format: uri
          type: string
      required:
        - image
      type: object
    FreepikTaskResponse:
      properties:
        data:
          $ref: '#/components/schemas/FreepikTaskData'
      required:
        - data
      type: object
    FreepikErrorResponse:
      properties:
        error:
          type: string
        message:
          type: string
      type: object
    FreepikTaskData:
      properties:
        generated:
          description: 생성된 이미지의 URL입니다.
          items:
            format: uri
            type: string
          type: array
        status:
          enum:
            - CREATED
            - IN_PROGRESS
            - COMPLETED
            - FAILED
          type: string
        task_id:
          example: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
          format: uuid
          type: string
      type: object
  securitySchemes:
    BearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http

````