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

# Get image binary(이미지 링크로 이미지 binary 불러오기)



## OpenAPI

````yaml https://beta.flamel.app/api-json get /api/images/{id}/binary
openapi: 3.0.0
info:
  title: Flamel API 문서
  description: REST API 문서입니다. 발급받은 API키를 X-Api-Key 헤더에 넣은 뒤 api를 사용하면 됩니다.
  version: '1.1'
  contact: {}
servers:
  - url: http://localhost:4010
    description: Local
  - url: https://beta.flamel.app
    description: Beta
security: []
tags:
  - name: Flamel
    description: ''
paths:
  /api/images/{id}/binary:
    get:
      tags:
        - images
      summary: Get image binary(이미지 링크로 이미지 binary 불러오기)
      operationId: ImagesApiController_getImageBinary
      parameters:
        - name: collection
          required: false
          in: query
          description: Is this a Collection Image?(컬렉션 여부)
          schema:
            default: false
            type: boolean
        - name: watermarked
          required: false
          in: query
          description: Is this a Watermarked Image?(워터마크 여부)
          schema:
            default: false
            type: boolean
        - name: scaleSize
          required: false
          in: query
          description: Scale Size(스케일 사이즈)
          schema:
            pattern: /\dx/
            type: string
        - name: imageType
          required: false
          in: query
          description: Image Type(이미지 타입)
          schema:
            default: png
            type: string
            enum:
              - jpeg
              - png
              - webp
              - svg
        - name: id
          required: true
          in: path
          schema:
            type: number
      responses:
        '200':
          description: Binary data of image(이미지 바이너리 데이터)
          content:
            image/png:
              schema:
                type: string
                format: binary
            image/jpeg:
              schema:
                type: string
                format: binary
            image/webp:
              schema:
                type: string
                format: binary
            image/svg+xml:
              schema:
                type: string
                format: binary
        '401':
          description: Unauthorized
          content:
            application/json:
              examples:
                InvalidApiKey:
                  summary: Invalid API KEY(API KEY 틀림)
                  value:
                    success: false
                    code: 401
                    data: wrong_api_key
                ApiKeyExpired:
                  summary: API KEY Expired(API KEY 만료)
                  value:
                    success: false
                    code: 401
                    data: api_key_expired
        '403':
          description: >-
            컬렉션이 아님(not_collection) | 구매하지 않음(not_bought) | 로그인 하지
            않음(not_logged_in)
        '404':
          description: 이미지가 존재하지 않음(no_input_image (:imageId))
      security:
        - apiKey: []
components:
  securitySchemes:
    apiKey:
      type: apiKey
      name: X-Api-Key
      in: header

````