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

# Get detailed resource information by ID

> Retrieve the detailed information of a specific resource by its ID. This endpoint supports multiple resource types including PSD, vector, photo, and AI-generated content.



## OpenAPI

````yaml get /v1/resources/{resource-id}
openapi: 3.0.0
info:
  description: >-
    The Magnific API is your gateway to a vast collection of high-quality
    digital resources for your applications and projects. As a leading platform,
    it offers a wide range of graphics, including vectors, photos,
    illustrations, icons, PSD templates, and more, all curated by talented
    designers from around the world.
  title: Magnific API
  version: 1.0.0
servers:
  - description: B2B API Production V1
    url: https://api.magnific.com
security:
  - magnificApiKey: []
paths:
  /v1/resources/{resource-id}:
    get:
      tags:
        - Resources
      summary: Get detailed resource information by ID
      description: >-
        Retrieve the detailed information of a specific resource by its ID. This
        endpoint supports multiple resource types including PSD, vector, photo,
        and AI-generated content.
      operationId: get_resource_detail_by_id
      parameters:
        - description: Photo, video or PSD resource ID
          example: 30955
          in: path
          name: resource-id
          required: true
          schema:
            type: string
        - description: >
            Specifies the search query language using the ISO 639-1 (2-letter

            language code) and the ISO 3166-1 (2-letter country code) for
            language variants.

            The API will use "en-US" as a default language for processing if a
            code is not

            provided, or does not exist.
          example: en-US
          in: header
          name: Accept-Language
          required: false
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                detail_photo:
                  $ref: '#/components/examples/200-detail-photo-b2b'
                detail_vector:
                  $ref: '#/components/examples/200-detail-vector-b2b'
                detail_psd:
                  $ref: '#/components/examples/200-detail-psd-b2b'
                detail_ai:
                  $ref: '#/components/examples/200-detail-ai-b2b'
              schema:
                $ref: '#/components/schemas/get_resource_detail_by_id_200_response'
          description: OK Response
        '400':
          content:
            application/json:
              examples:
                invalid_page:
                  summary: Parameter 'page' is not valid
                  value:
                    message: Parameter 'page' must be greater than 0
                invalid_query:
                  summary: Parameter 'query' is not valid
                  value:
                    message: Parameter 'query' must not be empty
                invalid_filter:
                  summary: Parameter 'filter' is not valid
                  value:
                    message: Parameter 'filter' is not valid
                generic_bad_request:
                  summary: Bad Request
                  value:
                    message: Parameter ':attribute' is not valid
              schema:
                $ref: '#/components/schemas/get_all_style_transfer_tasks_400_response'
            application/problem+json:
              examples:
                invalid_page:
                  summary: Parameter 'page' is not valid
                  value:
                    message: Your request parameters didn't validate.
                    invalid_params:
                      - name: page
                        reason: Parameter 'page' must be greater than 0
                      - name: per_page
                        reason: Parameter 'per_page' must be greater than 0
              schema:
                $ref: >-
                  #/components/schemas/get_all_style_transfer_tasks_400_response_1
          description: >-
            Bad Request - The server could not understand the request due to
            invalid syntax.
        '401':
          content:
            application/json:
              examples:
                invalid_api_key:
                  summary: API key is not valid
                  value:
                    message: Invalid API key
                missing_api_key:
                  summary: API key is not provided
                  value:
                    message: Missing API key
              schema:
                $ref: '#/components/schemas/get_all_style_transfer_tasks_400_response'
          description: >-
            Unauthorized - The client must authenticate itself to get the
            requested response.
        '404':
          content:
            application/json:
              examples:
                ai_resource_not_found:
                  summary: AI resource with provided id does not exist
                  value:
                    message: AI resource not found
                collection_not_found:
                  summary: Collection with provided id does not exist
                  value:
                    message: Collection not found
                resource_not_found:
                  summary: Resource with provided id does not exist
                  value:
                    message: Resource not found
                resources_not_found:
                  summary: Resources not found
                  value:
                    message: Resources not found
                user_not_found:
                  summary: User with provided id does not exist
                  value:
                    message: User not found
                video_not_found:
                  summary: Video with provided id does not exist
                  value:
                    message: Video not found
                video_assets_not_found:
                  summary: Video with provided id has not associated assets
                  value:
                    message: Video not found
                icon_not_found:
                  summary: Icon with provided id does not exist
                  value:
                    message: Icon not found
                author_not_found:
                  summary: Author with provided id does not exist
                  value:
                    message: Author not found
                developer_not_found:
                  summary: Developer with provided email does not exist
                  value:
                    message: Developer not found
                country_not_found:
                  summary: Country with provided code does not exist
                  value:
                    message: Country not found
                generic_not_found:
                  summary: Not Found
                  value:
                    message: Not found
              schema:
                $ref: '#/components/schemas/get_all_style_transfer_tasks_400_response'
          description: Not Found - The server can not find the requested resource.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_all_style_transfer_tasks_500_response'
          description: >-
            Internal Server Error - The server has encountered a situation it
            doesn't know how to handle.
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_all_style_transfer_tasks_503_response'
          description: Service Unavailable
components:
  examples:
    200-detail-photo-b2b:
      summary: Success - Detail Photo resource information
      value:
        data:
          id: 770012
          name: Abstract of white lines background generative ai
          slug: abstract-white-lines-background-generative-ai
          type: photo
          is_ai_generated: false
          premium: true
          new: true
          url: >-
            https://www.freepik.com/premium-photo/abstract-white-lines-background-generative-ai_39178780.htm
          preview:
            url: >-
              https://www.freepik.com/premium-photo/abstract-white-lines-background-generative-ai_39178780.htm
            width: 300
            height: 200
          has_prompt: false
          author:
            id: 744082
            name: flaticon
            avatar: https://avatar.cdnpk.net/744082.jpg
            slug: flaticon
            assets: 100
          license: https://www.freepik.com/profile/license/pdf/4350594
          created: '2020-01-01T00:00:00.000Z'
          dimensions:
            width: 1000
            height: 1000
          download_size: 1024
          available_formats:
            jpg:
              total: 1
              items:
                - size: 100
          related_resources:
            suggested:
              - id: 770011
                name: Sports bike
                slug: sports-bike
                type: vector
                is_ai_generated: true
                premium: false
                new: true
                url: https://www.freepik.com/free-vector/sports-bike_770011.htm
                preview:
                  url: https://www.freepik.com/free-vector/sports-bike_770011.jpg
                  width: 300
                  height: 200
                has_prompt: true
                author:
                  id: 744082
                  name: flaticon
                  avatar: https://avatar.cdnpk.net/744082.jpg
                  slug: flaticon
                  assets: 100
            same_author:
              - id: 770011
                name: Sports bike
                slug: sports-bike
                type: vector
                is_ai_generated: true
                premium: false
                new: true
                url: https://www.freepik.com/free-vector/sports-bike_770011.htm
                preview:
                  url: https://www.freepik.com/free-vector/sports-bike_770011.jpg
                  width: 300
                  height: 200
                has_prompt: true
                author:
                  id: 744082
                  name: flaticon
                  avatar: https://avatar.cdnpk.net/744082.jpg
                  slug: flaticon
                  assets: 100
            same_collection:
              url: https://www.freepik.com/collection/shining/2552
              items:
                - id: 770011
                  name: Sports bike
                  slug: sports-bike
                  type: vector
                  is_ai_generated: true
                  premium: false
                  new: true
                  url: https://www.freepik.com/free-vector/sports-bike_770011.htm
                  preview:
                    url: https://www.freepik.com/free-vector/sports-bike_770011.jpg
                    width: 300
                    height: 200
                  has_prompt: true
                  author:
                    id: 744082
                    name: flaticon
                    avatar: https://avatar.cdnpk.net/744082.jpg
                    slug: flaticon
                    assets: 100
            same_series:
              url: https://www.freepik.com/serie/32689488
              items:
                - id: 770011
                  name: Sports bike
                  slug: sports-bike
                  type: vector
                  is_ai_generated: true
                  premium: false
                  new: true
                  url: https://www.freepik.com/free-vector/sports-bike_770011.htm
                  preview:
                    url: https://www.freepik.com/free-vector/sports-bike_770011.jpg
                    width: 300
                    height: 200
                  has_prompt: true
                  author:
                    id: 744082
                    name: flaticon
                    avatar: https://avatar.cdnpk.net/744082.jpg
                    slug: flaticon
                    assets: 100
          related_tags:
            - name: coloring pages
              slug: coloring-pages
              url: https://www.freepik.com/free-photos-vectors/coloring-pages
            - slug: kawaii-coloring-page
              name: kawaii coloring page
            - slug: cute-kawaii
              name: cute kawaii
            - slug: adorable
              name: adorable
            - slug: chibi
              name: chibi
            - slug: line-art
              name: line art
    200-detail-vector-b2b:
      summary: Success - Detail Vector resource information
      value:
        data:
          id: 770011
          name: Sports car
          slug: sports-car
          type: vector
          is_ai_generated: false
          premium: false
          new: true
          url: https://www.freepik.com/free-vector/sports-car_770011.htm
          preview:
            url: https://www.freepik.com/free-vector/sports-car_770011.jpg
            width: 300
            height: 200
          has_prompt: false
          license: https://www.freepik.com/profile/license/pdf/4350594
          created: '2020-01-01T00:00:00.000Z'
          download_size: 1024
          available_formats:
            jpg:
              total: 2
              items:
                - id: 444
                  name: Sports car
                  colorspace: RGB
                  size: 100
                - id: 555
                  name: Sports car
                  colorspace: RGB
                  size: 200
          author:
            id: 744082
            name: flaticon
            avatar: https://avatar.cdnpk.net/744082.jpg
            slug: flaticon
            assets: 100
          related_resources:
            suggested:
              - id: 770011
                name: Sports car
                slug: sports-car
                type: vector
                is_ai_generated: true
                premium: false
                new: true
                url: https://www.freepik.com/free-vector/sports-car_770011.htm
                preview:
                  url: https://www.freepik.com/free-vector/sports-car_770011.jpg
                  width: 300
                  height: 200
                has_prompt: true
                author:
                  id: 744082
                  name: flaticon
                  avatar: https://avatar.cdnpk.net/744082.jpg
                  slug: flaticon
                  assets: 100
            same_author:
              - id: 770011
                name: Sports car
                slug: sports-car
                type: vector
                is_ai_generated: true
                premium: false
                new: true
                url: https://www.freepik.com/free-vector/sports-car_770011.htm
                preview:
                  url: https://www.freepik.com/free-vector/sports-car_770011.jpg
                  width: 300
                  height: 200
                has_prompt: true
                author:
                  id: 744082
                  name: flaticon
                  avatar: https://avatar.cdnpk.net/744082.jpg
                  slug: flaticon
                  assets: 100
            same_collection:
              url: https://www.freepik.com/collection/shining
              items:
                - id: 770011
                  name: Sports car
                  slug: sports-car
                  type: vector
                  is_ai_generated: true
                  premium: false
                  new: true
                  url: https://www.freepik.com/free-vector/sports-car_770011.htm
                  preview:
                    url: https://www.freepik.com/free-vector/sports-car_770011.jpg
                    width: 300
                    height: 200
                  has_prompt: true
                  author:
                    id: 744082
                    name: flaticon
                    avatar: https://avatar.cdnpk.net/744082.jpg
                    slug: flaticon
                    assets: 100
            same_series:
              url: https://www.freepik.com/serie/32689488
              items:
                - id: 770011
                  name: Sports bike
                  slug: sports-bike
                  type: vector
                  is_ai_generated: true
                  premium: false
                  new: true
                  url: https://www.freepik.com/free-vector/sports-bike_770011.htm
                  preview:
                    url: https://www.freepik.com/free-vector/sports-bike_770011.jpg
                    width: 300
                    height: 200
                  has_prompt: true
                  author:
                    id: 744082
                    name: flaticon
                    avatar: https://avatar.cdnpk.net/744082.jpg
                    slug: flaticon
                    assets: 100
          related_tags:
            - slug: coloring-pages
              name: coloring pages
            - slug: kawaii-coloring-page
              name: kawaii coloring page
            - slug: cute-kawaii
              name: cute kawaii
            - slug: adorable
              name: adorable
            - slug: chibi
              name: chibi
            - slug: line-art
              name: line art
    200-detail-psd-b2b:
      summary: Success - Detail PSD resource information
      value:
        data:
          id: 770012
          name: T-shirts mockup psd in black
          slug: t-shirts-mockup-psd-in-black
          type: psd
          is_ai_generated: false
          premium: true
          new: true
          url: >-
            https://www.freepik.com/premium-psd/t-shirts-mockup-psd-black_17860378.htm
          preview:
            url: >-
              https://www.freepik.com/premium-psd/t-shirts-mockup-psd-black_17860378.htm
            width: 300
            height: 200
          has_prompt: false
          license: https://www.freepik.com/profile/license/pdf/4350594
          created: '2020-01-01T00:00:00.000Z'
          download_size: 1024
          available_formats:
            jpg:
              total: 2
              items:
                - id: 444
                  name: T-shirts mockup psd in black
                  colorspace: RGB
                  size: 100
                - id: 555
                  name: T-shirts mockup psd in black
                  colorspace: RGB
                  size: 200
            ai:
              total: 1
              items:
                - id: 444
                  name: T-shirts mockup psd in black
                  colorspace: RGB
                  size: 100
          author:
            id: 744082
            name: flaticon
            avatar: https://avatar.cdnpk.net/744082.jpg
            slug: flaticon
            assets: 100
          related_resources:
            suggested:
              - id: 770011
                name: Sports bike
                slug: sports-bike
                type: vector
                is_ai_generated: true
                premium: false
                new: true
                url: https://www.freepik.com/free-vector/sports-bike_770011.htm
                preview:
                  url: https://www.freepik.com/free-vector/sports-bike_770011.jpg
                  width: 300
                  height: 200
                has_prompt: true
                author:
                  id: 744082
                  name: flaticon
                  avatar: https://avatar.cdnpk.net/744082.jpg
                  slug: flaticon
                  assets: 100
            same_author:
              - id: 770011
                name: Sports bike
                slug: sports-bike
                type: vector
                is_ai_generated: true
                premium: false
                new: true
                url: https://www.freepik.com/free-vector/sports-bike_770011.htm
                preview:
                  url: https://www.freepik.com/free-vector/sports-bike_770011.jpg
                  width: 300
                  height: 200
                has_prompt: true
                author:
                  id: 744082
                  name: flaticon
                  avatar: https://avatar.cdnpk.net/744082.jpg
                  slug: flaticon
                  assets: 100
            same_collection:
              url: https://www.freepik.com/collection/shining
              items:
                - id: 770011
                  name: Sports bike
                  slug: sports-bike
                  type: vector
                  is_ai_generated: true
                  premium: false
                  new: true
                  url: https://www.freepik.com/free-vector/sports-bike_770011.htm
                  preview:
                    url: https://www.freepik.com/free-vector/sports-bike_770011.jpg
                    width: 300
                    height: 200
                  has_prompt: true
                  author:
                    id: 744082
                    name: flaticon
                    avatar: https://avatar.cdnpk.net/744082.jpg
                    slug: flaticon
                    assets: 100
            same_series:
              url: https://www.freepik.com/serie/32689488
              items:
                - id: 770011
                  name: Sports bike
                  slug: sports-bike
                  type: vector
                  is_ai_generated: true
                  premium: false
                  new: true
                  url: https://www.freepik.com/free-vector/sports-bike_770011.htm
                  preview:
                    url: https://www.freepik.com/free-vector/sports-bike_770011.jpg
                    width: 300
                    height: 200
                  has_prompt: true
                  author:
                    id: 744082
                    name: flaticon
                    avatar: https://avatar.cdnpk.net/744082.jpg
                    slug: flaticon
                    assets: 100
          related_tags:
            - slug: coloring-pages
              name: coloring pages
            - slug: kawaii-coloring-page
              name: kawaii coloring page
            - slug: cute-kawaii
              name: cute kawaii
            - slug: adorable
              name: adorable
            - slug: chibi
              name: chibi
            - slug: line-art
              name: line art
    200-detail-ai-b2b:
      summary: Success - Detail AI Photo information
      value:
        data:
          id: 770012
          name: Abstract of white lines background generative ai
          slug: abstract-white-lines-background-generative-ai
          type: photo
          is_ai_generated: true
          premium: true
          new: true
          url: >-
            https://www.freepik.com/premium-photo/abstract-white-lines-background-generative-ai_39178780.htm
          preview:
            url: >-
              https://www.freepik.com/premium-photo/abstract-white-lines-background-generative-ai_39178780.htm
            width: 300
            height: 200
          has_prompt: true
          author:
            id: 744082
            name: flaticon
            avatar: https://avatar.cdnpk.net/744082.jpg
            slug: flaticon
            assets: 100
          license: https://www.freepik.com/profile/license/pdf/4350594
          created: '2020-01-01T00:00:00.000Z'
          model_type: Midjourney
          model_subtype: Midjourney 5
          dimensions:
            width: 1000
            height: 1000
          download_size: 1024
          available_formats:
            jpg:
              total: 1
              items:
                - size: 100
          related_resources:
            suggested:
              - id: 770011
                name: Sports bike
                slug: sports-bike
                type: vector
                is_ai_generated: true
                premium: false
                new: true
                url: https://www.freepik.com/free-vector/sports-bike_770011.htm
                preview:
                  url: https://www.freepik.com/free-vector/sports-bike_770011.jpg
                  width: 300
                  height: 200
                has_prompt: true
                author:
                  id: 744082
                  name: flaticon
                  avatar: https://avatar.cdnpk.net/744082.jpg
                  slug: flaticon
                  assets: 100
          related_tags:
            - slug: coloring-pages
              name: coloring pages
            - slug: kawaii-coloring-page
              name: kawaii coloring page
            - slug: cute-kawaii
              name: cute kawaii
            - slug: adorable
              name: adorable
            - slug: chibi
              name: chibi
            - slug: line-art
              name: line art
  schemas:
    get_resource_detail_by_id_200_response:
      example:
        data:
          preview:
            width: 300
            url: >-
              https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
            height: 500
          new: true
          author:
            assets: 0
            name: John Doe
            id: 2147483647
            avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
            slug: merry-christmas
          created: '2023-03-07T23:05:26.000Z'
          available_formats:
            psd:
              total: 1
              items:
                - size: 100
                  colorspace: RGB
                  name: image.jpg
                  id: 1
                - size: 100
                  colorspace: RGB
                  name: image.jpg
                  id: 1
            jpg:
              total: 1
              items:
                - size: 100
                  colorspace: RGB
                  name: image.jpg
                  id: 1
                - size: 100
                  colorspace: RGB
                  name: image.jpg
                  id: 1
            zip:
              total: 1
              items:
                - size: 100
                  colorspace: RGB
                  name: image.jpg
                  id: 1
                - size: 100
                  colorspace: RGB
                  name: image.jpg
                  id: 1
            fonts:
              total: 1
              items:
                - size: 100
                  colorspace: RGB
                  name: image.jpg
                  id: 1
                - size: 100
                  colorspace: RGB
                  name: image.jpg
                  id: 1
            svg:
              total: 1
              items:
                - size: 100
                  colorspace: RGB
                  name: image.jpg
                  id: 1
                - size: 100
                  colorspace: RGB
                  name: image.jpg
                  id: 1
            ai:
              total: 1
              items:
                - size: 100
                  colorspace: RGB
                  name: image.jpg
                  id: 1
                - size: 100
                  colorspace: RGB
                  name: image.jpg
                  id: 1
            png:
              total: 1
              items:
                - size: 100
                  colorspace: RGB
                  name: image.jpg
                  id: 1
                - size: 100
                  colorspace: RGB
                  name: image.jpg
                  id: 1
            eps:
              total: 1
              items:
                - size: 100
                  colorspace: RGB
                  name: image.jpg
                  id: 1
                - size: 100
                  colorspace: RGB
                  name: image.jpg
                  id: 1
            resources:
              total: 1
              items:
                - size: 100
                  colorspace: RGB
                  name: image.jpg
                  id: 1
                - size: 100
                  colorspace: RGB
                  name: image.jpg
                  id: 1
            3d-render:
              total: 1
              items:
                - size: 100
                  colorspace: RGB
                  name: image.jpg
                  id: 1
                - size: 100
                  colorspace: RGB
                  name: image.jpg
                  id: 1
            atn:
              total: 1
              items:
                - size: 100
                  colorspace: RGB
                  name: image.jpg
                  id: 1
                - size: 100
                  colorspace: RGB
                  name: image.jpg
                  id: 1
          type: photo
          url: >-
            https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
          license: https://www.freepik.com/profile/license/pdf/4350594
          premium: true
          is_ai_generated: true
          related_resources:
            suggested:
              - preview:
                  width: 300
                  url: >-
                    https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
                  height: 500
                new: true
                premium: true
                is_ai_generated: true
                author:
                  assets: 0
                  name: John Doe
                  id: 2147483647
                  avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
                  slug: merry-christmas
                name: White t-shirt with copy space on gray background
                id: 15667327
                type: vector
                has_prompt: true
                slug: merry-christmas
                url: >-
                  https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
              - preview:
                  width: 300
                  url: >-
                    https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
                  height: 500
                new: true
                premium: true
                is_ai_generated: true
                author:
                  assets: 0
                  name: John Doe
                  id: 2147483647
                  avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
                  slug: merry-christmas
                name: White t-shirt with copy space on gray background
                id: 15667327
                type: vector
                has_prompt: true
                slug: merry-christmas
                url: >-
                  https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
            same_author:
              - preview:
                  width: 300
                  url: >-
                    https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
                  height: 500
                new: true
                premium: true
                is_ai_generated: true
                author:
                  assets: 0
                  name: John Doe
                  id: 2147483647
                  avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
                  slug: merry-christmas
                name: White t-shirt with copy space on gray background
                id: 15667327
                type: vector
                has_prompt: true
                slug: merry-christmas
                url: >-
                  https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
              - preview:
                  width: 300
                  url: >-
                    https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
                  height: 500
                new: true
                premium: true
                is_ai_generated: true
                author:
                  assets: 0
                  name: John Doe
                  id: 2147483647
                  avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
                  slug: merry-christmas
                name: White t-shirt with copy space on gray background
                id: 15667327
                type: vector
                has_prompt: true
                slug: merry-christmas
                url: >-
                  https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
            same_collection:
              items:
                - preview:
                    width: 300
                    url: >-
                      https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
                    height: 500
                  new: true
                  premium: true
                  is_ai_generated: true
                  author:
                    assets: 0
                    name: John Doe
                    id: 2147483647
                    avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
                    slug: merry-christmas
                  name: White t-shirt with copy space on gray background
                  id: 15667327
                  type: vector
                  has_prompt: true
                  slug: merry-christmas
                  url: >-
                    https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
                - preview:
                    width: 300
                    url: >-
                      https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
                    height: 500
                  new: true
                  premium: true
                  is_ai_generated: true
                  author:
                    assets: 0
                    name: John Doe
                    id: 2147483647
                    avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
                    slug: merry-christmas
                  name: White t-shirt with copy space on gray background
                  id: 15667327
                  type: vector
                  has_prompt: true
                  slug: merry-christmas
                  url: >-
                    https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
              url: https://www.freepik.com/collection/shining
            same_series:
              items:
                - preview:
                    width: 300
                    url: >-
                      https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
                    height: 500
                  new: true
                  premium: true
                  is_ai_generated: true
                  author:
                    assets: 0
                    name: John Doe
                    id: 2147483647
                    avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
                    slug: merry-christmas
                  name: White t-shirt with copy space on gray background
                  id: 15667327
                  type: vector
                  has_prompt: true
                  slug: merry-christmas
                  url: >-
                    https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
                - preview:
                    width: 300
                    url: >-
                      https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
                    height: 500
                  new: true
                  premium: true
                  is_ai_generated: true
                  author:
                    assets: 0
                    name: John Doe
                    id: 2147483647
                    avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
                    slug: merry-christmas
                  name: White t-shirt with copy space on gray background
                  id: 15667327
                  type: vector
                  has_prompt: true
                  slug: merry-christmas
                  url: >-
                    https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
              url: https://www.freepik.com/serie/32689488
          name: White t-shirt with copy space on gray background
          id: 15667327
          has_prompt: true
          download_size: 1024
          slug: merry-christmas
          related_tags:
            - name: Merry Christmas
              slug: merry-christmas
              url: https://www.freepik.com/dog
            - name: Merry Christmas
              slug: merry-christmas
              url: https://www.freepik.com/dog
          dimensions:
            width: 2000
            height: 3000
      properties:
        data:
          $ref: '#/components/schemas/get_resource_detail_by_id_200_response_data'
      required:
        - data
      type: object
    get_all_style_transfer_tasks_400_response:
      example:
        message: message
      properties:
        message:
          type: string
      type: object
    get_all_style_transfer_tasks_400_response_1:
      properties:
        problem:
          $ref: >-
            #/components/schemas/get_all_style_transfer_tasks_400_response_1_problem
      type: object
    get_all_style_transfer_tasks_500_response:
      example:
        message: Internal Server Error
      properties:
        message:
          example: Internal Server Error
          type: string
      type: object
    get_all_style_transfer_tasks_503_response:
      example:
        message: Service Unavailable. Please try again later.
      properties:
        message:
          example: Service Unavailable. Please try again later.
          type: string
      type: object
    get_resource_detail_by_id_200_response_data:
      anyOf:
        - $ref: '#/components/schemas/detail_vector'
        - $ref: '#/components/schemas/detail_psd'
        - $ref: '#/components/schemas/detail_photo'
        - $ref: '#/components/schemas/detail_ai'
    get_all_style_transfer_tasks_400_response_1_problem:
      properties:
        message:
          example: Your request parameters didn't validate.
          type: string
        invalid_params:
          items:
            $ref: >-
              #/components/schemas/get_all_style_transfer_tasks_400_response_1_problem_invalid_params_inner
          type: array
      required:
        - invalid_params
        - message
      type: object
    detail_vector:
      allOf:
        - $ref: '#/components/schemas/detail_resource'
        - description: Vector details.
          properties:
            type:
              enum:
                - vector
              example: photo
              type: string
            available_formats:
              $ref: '#/components/schemas/available_formats_1'
            related_tags:
              items:
                $ref: '#/components/schemas/tag_2'
              type: array
            related_resources:
              $ref: '#/components/schemas/vector_related'
            dimensions:
              $ref: '#/components/schemas/dimensions'
          required:
            - available_formats
            - dimensions
            - related_resources
            - related_tags
            - type
          type: object
      example:
        preview:
          width: 300
          url: https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
          height: 500
        new: true
        author:
          assets: 0
          name: John Doe
          id: 2147483647
          avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
          slug: merry-christmas
        created: '2023-03-07T23:05:26.000Z'
        available_formats:
          psd:
            total: 1
            items:
              - size: 100
                colorspace: RGB
                name: image.jpg
                id: 1
              - size: 100
                colorspace: RGB
                name: image.jpg
                id: 1
          jpg:
            total: 1
            items:
              - size: 100
                colorspace: RGB
                name: image.jpg
                id: 1
              - size: 100
                colorspace: RGB
                name: image.jpg
                id: 1
          zip:
            total: 1
            items:
              - size: 100
                colorspace: RGB
                name: image.jpg
                id: 1
              - size: 100
                colorspace: RGB
                name: image.jpg
                id: 1
          fonts:
            total: 1
            items:
              - size: 100
                colorspace: RGB
                name: image.jpg
                id: 1
              - size: 100
                colorspace: RGB
                name: image.jpg
                id: 1
          svg:
            total: 1
            items:
              - size: 100
                colorspace: RGB
                name: image.jpg
                id: 1
              - size: 100
                colorspace: RGB
                name: image.jpg
                id: 1
          ai:
            total: 1
            items:
              - size: 100
                colorspace: RGB
                name: image.jpg
                id: 1
              - size: 100
                colorspace: RGB
                name: image.jpg
                id: 1
          png:
            total: 1
            items:
              - size: 100
                colorspace: RGB
                name: image.jpg
                id: 1
              - size: 100
                colorspace: RGB
                name: image.jpg
                id: 1
          eps:
            total: 1
            items:
              - size: 100
                colorspace: RGB
                name: image.jpg
                id: 1
              - size: 100
                colorspace: RGB
                name: image.jpg
                id: 1
          resources:
            total: 1
            items:
              - size: 100
                colorspace: RGB
                name: image.jpg
                id: 1
              - size: 100
                colorspace: RGB
                name: image.jpg
                id: 1
          3d-render:
            total: 1
            items:
              - size: 100
                colorspace: RGB
                name: image.jpg
                id: 1
              - size: 100
                colorspace: RGB
                name: image.jpg
                id: 1
          atn:
            total: 1
            items:
              - size: 100
                colorspace: RGB
                name: image.jpg
                id: 1
              - size: 100
                colorspace: RGB
                name: image.jpg
                id: 1
        type: photo
        url: >-
          https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
        license: https://www.freepik.com/profile/license/pdf/4350594
        premium: true
        is_ai_generated: true
        related_resources:
          suggested:
            - preview:
                width: 300
                url: >-
                  https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
                height: 500
              new: true
              premium: true
              is_ai_generated: true
              author:
                assets: 0
                name: John Doe
                id: 2147483647
                avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
                slug: merry-christmas
              name: White t-shirt with copy space on gray background
              id: 15667327
              type: vector
              has_prompt: true
              slug: merry-christmas
              url: >-
                https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
            - preview:
                width: 300
                url: >-
                  https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
                height: 500
              new: true
              premium: true
              is_ai_generated: true
              author:
                assets: 0
                name: John Doe
                id: 2147483647
                avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
                slug: merry-christmas
              name: White t-shirt with copy space on gray background
              id: 15667327
              type: vector
              has_prompt: true
              slug: merry-christmas
              url: >-
                https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
          same_author:
            - preview:
                width: 300
                url: >-
                  https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
                height: 500
              new: true
              premium: true
              is_ai_generated: true
              author:
                assets: 0
                name: John Doe
                id: 2147483647
                avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
                slug: merry-christmas
              name: White t-shirt with copy space on gray background
              id: 15667327
              type: vector
              has_prompt: true
              slug: merry-christmas
              url: >-
                https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
            - preview:
                width: 300
                url: >-
                  https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
                height: 500
              new: true
              premium: true
              is_ai_generated: true
              author:
                assets: 0
                name: John Doe
                id: 2147483647
                avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
                slug: merry-christmas
              name: White t-shirt with copy space on gray background
              id: 15667327
              type: vector
              has_prompt: true
              slug: merry-christmas
              url: >-
                https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
          same_collection:
            items:
              - preview:
                  width: 300
                  url: >-
                    https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
                  height: 500
                new: true
                premium: true
                is_ai_generated: true
                author:
                  assets: 0
                  name: John Doe
                  id: 2147483647
                  avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
                  slug: merry-christmas
                name: White t-shirt with copy space on gray background
                id: 15667327
                type: vector
                has_prompt: true
                slug: merry-christmas
                url: >-
                  https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
              - preview:
                  width: 300
                  url: >-
                    https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
                  height: 500
                new: true
                premium: true
                is_ai_generated: true
                author:
                  assets: 0
                  name: John Doe
                  id: 2147483647
                  avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
                  slug: merry-christmas
                name: White t-shirt with copy space on gray background
                id: 15667327
                type: vector
                has_prompt: true
                slug: merry-christmas
                url: >-
                  https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
            url: https://www.freepik.com/collection/shining
          same_series:
            items:
              - preview:
                  width: 300
                  url: >-
                    https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
                  height: 500
                new: true
                premium: true
                is_ai_generated: true
                author:
                  assets: 0
                  name: John Doe
                  id: 2147483647
                  avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
                  slug: merry-christmas
                name: White t-shirt with copy space on gray background
                id: 15667327
                type: vector
                has_prompt: true
                slug: merry-christmas
                url: >-
                  https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
              - preview:
                  width: 300
                  url: >-
                    https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
                  height: 500
                new: true
                premium: true
                is_ai_generated: true
                author:
                  assets: 0
                  name: John Doe
                  id: 2147483647
                  avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
                  slug: merry-christmas
                name: White t-shirt with copy space on gray background
                id: 15667327
                type: vector
                has_prompt: true
                slug: merry-christmas
                url: >-
                  https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
            url: https://www.freepik.com/serie/32689488
        name: White t-shirt with copy space on gray background
        id: 15667327
        has_prompt: true
        download_size: 1024
        slug: merry-christmas
        related_tags:
          - name: Merry Christmas
            slug: merry-christmas
            url: https://www.freepik.com/dog
          - name: Merry Christmas
            slug: merry-christmas
            url: https://www.freepik.com/dog
        dimensions:
          width: 2000
          height: 3000
    detail_psd:
      allOf:
        - $ref: '#/components/schemas/detail_resource'
        - description: PSD details.
          properties:
            type:
              enum:
                - psd
              example: photo
              type: string
            available_formats:
              $ref: '#/components/schemas/available_formats'
            related_tags:
              items:
                $ref: '#/components/schemas/tag_2'
              type: array
            related_resources:
              $ref: '#/components/schemas/psd_related'
            dimensions:
              $ref: '#/components/schemas/dimensions'
          required:
            - available_formats
            - dimensions
            - related_resources
            - related_tags
            - type
          type: object
    detail_photo:
      allOf:
        - $ref: '#/components/schemas/detail_resource'
        - description: Photo details.
          properties:
            type:
              enum:
                - photo
              example: photo
              type: string
            dimensions:
              $ref: '#/components/schemas/dimensions'
            available_formats:
              $ref: '#/components/schemas/photo_available_formats'
            related_tags:
              items:
                $ref: '#/components/schemas/tag_2'
              type: array
            related_resources:
              $ref: '#/components/schemas/photo_related'
          required:
            - available_formats
            - dimensions
            - related_resources
            - related_tags
            - type
          type: object
    detail_ai:
      allOf:
        - $ref: '#/components/schemas/detail_resource'
        - description: AI photo details.
          properties:
            dimensions:
              $ref: '#/components/schemas/dimensions'
            model_type:
              example: Dall-E
              nullable: true
              type: string
            model_subtype:
              example: niji
              nullable: true
              type: string
            type:
              enum:
                - photo
              example: photo
              type: string
            available_formats:
              $ref: '#/components/schemas/photo_available_formats'
            related_resources:
              $ref: '#/components/schemas/ai_related'
            related_tags:
              items:
                $ref: '#/components/schemas/tag_2'
              type: array
          required:
            - available_formats
            - dimensions
            - model_subtype
            - model_type
            - related_resources
            - related_tags
            - type
          type: object
    get_all_style_transfer_tasks_400_response_1_problem_invalid_params_inner:
      properties:
        name:
          example: page
          type: string
        reason:
          example: Parameter 'page' must be greater than 0
          type: string
      required:
        - name
        - reason
      type: object
    detail_resource:
      allOf:
        - $ref: '#/components/schemas/resource'
        - description: Vector details.
          properties:
            license:
              description: The URL of the license.
              example: https://www.freepik.com/profile/license/pdf/4350594
              format: uri
              type: string
            download_size:
              description: The size of the resource in bytes.
              example: 1024
              minimum: 0
              type: integer
            created:
              description: The date when the resource was created.
              example: '2023-03-07T23:05:26.000Z'
              format: date-time
              type: string
          required:
            - created
            - download_size
            - license
          type: object
    available_formats_1:
      description: The available formats for the resource.
      example:
        psd:
          total: 1
          items:
            - size: 100
              colorspace: RGB
              name: image.jpg
              id: 1
            - size: 100
              colorspace: RGB
              name: image.jpg
              id: 1
        jpg:
          total: 1
          items:
            - size: 100
              colorspace: RGB
              name: image.jpg
              id: 1
            - size: 100
              colorspace: RGB
              name: image.jpg
              id: 1
        zip:
          total: 1
          items:
            - size: 100
              colorspace: RGB
              name: image.jpg
              id: 1
            - size: 100
              colorspace: RGB
              name: image.jpg
              id: 1
        fonts:
          total: 1
          items:
            - size: 100
              colorspace: RGB
              name: image.jpg
              id: 1
            - size: 100
              colorspace: RGB
              name: image.jpg
              id: 1
        svg:
          total: 1
          items:
            - size: 100
              colorspace: RGB
              name: image.jpg
              id: 1
            - size: 100
              colorspace: RGB
              name: image.jpg
              id: 1
        ai:
          total: 1
          items:
            - size: 100
              colorspace: RGB
              name: image.jpg
              id: 1
            - size: 100
              colorspace: RGB
              name: image.jpg
              id: 1
        png:
          total: 1
          items:
            - size: 100
              colorspace: RGB
              name: image.jpg
              id: 1
            - size: 100
              colorspace: RGB
              name: image.jpg
              id: 1
        eps:
          total: 1
          items:
            - size: 100
              colorspace: RGB
              name: image.jpg
              id: 1
            - size: 100
              colorspace: RGB
              name: image.jpg
              id: 1
        resources:
          total: 1
          items:
            - size: 100
              colorspace: RGB
              name: image.jpg
              id: 1
            - size: 100
              colorspace: RGB
              name: image.jpg
              id: 1
        3d-render:
          total: 1
          items:
            - size: 100
              colorspace: RGB
              name: image.jpg
              id: 1
            - size: 100
              colorspace: RGB
              name: image.jpg
              id: 1
        atn:
          total: 1
          items:
            - size: 100
              colorspace: RGB
              name: image.jpg
              id: 1
            - size: 100
              colorspace: RGB
              name: image.jpg
              id: 1
      nullable: true
      properties:
        psd:
          $ref: '#/components/schemas/formats'
        ai:
          $ref: '#/components/schemas/formats'
        eps:
          $ref: '#/components/schemas/formats'
        atn:
          $ref: '#/components/schemas/formats'
        fonts:
          $ref: '#/components/schemas/formats'
        resources:
          $ref: '#/components/schemas/formats'
        png:
          $ref: '#/components/schemas/formats'
        jpg:
          $ref: '#/components/schemas/formats'
        3d-render:
          $ref: '#/components/schemas/formats'
        zip:
          $ref: '#/components/schemas/formats'
        svg:
          $ref: '#/components/schemas/formats'
      type: object
    tag_2:
      allOf:
        - $ref: '#/components/schemas/tag_1'
        - properties:
            url:
              description: >-
                It will not be null when some SEO rules like redirects and
                canonicals are applied.
              example: https://www.freepik.com/dog
              format: uri
              nullable: true
              type: string
          type: object
      example:
        name: Merry Christmas
        slug: merry-christmas
        url: https://www.freepik.com/dog
    vector_related:
      allOf:
        - description: Related resources and tags for this resource.
          properties:
            suggested:
              description: Other resources related to this one.
              items:
                $ref: '#/components/schemas/resource'
              type: array
            same_author:
              description: Other resources created by this author.
              items:
                $ref: '#/components/schemas/resource'
              type: array
          required:
            - same_author
            - same_series
            - suggested
          type: object
        - $ref: '#/components/schemas/related_same_series'
        - $ref: '#/components/schemas/related_same_collection'
      example:
        suggested:
          - preview:
              width: 300
              url: >-
                https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
              height: 500
            new: true
            premium: true
            is_ai_generated: true
            author:
              assets: 0
              name: John Doe
              id: 2147483647
              avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
              slug: merry-christmas
            name: White t-shirt with copy space on gray background
            id: 15667327
            type: vector
            has_prompt: true
            slug: merry-christmas
            url: >-
              https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
          - preview:
              width: 300
              url: >-
                https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
              height: 500
            new: true
            premium: true
            is_ai_generated: true
            author:
              assets: 0
              name: John Doe
              id: 2147483647
              avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
              slug: merry-christmas
            name: White t-shirt with copy space on gray background
            id: 15667327
            type: vector
            has_prompt: true
            slug: merry-christmas
            url: >-
              https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
        same_author:
          - preview:
              width: 300
              url: >-
                https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
              height: 500
            new: true
            premium: true
            is_ai_generated: true
            author:
              assets: 0
              name: John Doe
              id: 2147483647
              avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
              slug: merry-christmas
            name: White t-shirt with copy space on gray background
            id: 15667327
            type: vector
            has_prompt: true
            slug: merry-christmas
            url: >-
              https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
          - preview:
              width: 300
              url: >-
                https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
              height: 500
            new: true
            premium: true
            is_ai_generated: true
            author:
              assets: 0
              name: John Doe
              id: 2147483647
              avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
              slug: merry-christmas
            name: White t-shirt with copy space on gray background
            id: 15667327
            type: vector
            has_prompt: true
            slug: merry-christmas
            url: >-
              https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
        same_collection:
          items:
            - preview:
                width: 300
                url: >-
                  https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
                height: 500
              new: true
              premium: true
              is_ai_generated: true
              author:
                assets: 0
                name: John Doe
                id: 2147483647
                avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
                slug: merry-christmas
              name: White t-shirt with copy space on gray background
              id: 15667327
              type: vector
              has_prompt: true
              slug: merry-christmas
              url: >-
                https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
            - preview:
                width: 300
                url: >-
                  https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
                height: 500
              new: true
              premium: true
              is_ai_generated: true
              author:
                assets: 0
                name: John Doe
                id: 2147483647
                avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
                slug: merry-christmas
              name: White t-shirt with copy space on gray background
              id: 15667327
              type: vector
              has_prompt: true
              slug: merry-christmas
              url: >-
                https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
          url: https://www.freepik.com/collection/shining
        same_series:
          items:
            - preview:
                width: 300
                url: >-
                  https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
                height: 500
              new: true
              premium: true
              is_ai_generated: true
              author:
                assets: 0
                name: John Doe
                id: 2147483647
                avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
                slug: merry-christmas
              name: White t-shirt with copy space on gray background
              id: 15667327
              type: vector
              has_prompt: true
              slug: merry-christmas
              url: >-
                https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
            - preview:
                width: 300
                url: >-
                  https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
                height: 500
              new: true
              premium: true
              is_ai_generated: true
              author:
                assets: 0
                name: John Doe
                id: 2147483647
                avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
                slug: merry-christmas
              name: White t-shirt with copy space on gray background
              id: 15667327
              type: vector
              has_prompt: true
              slug: merry-christmas
              url: >-
                https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
          url: https://www.freepik.com/serie/32689488
    dimensions:
      description: Resource's dimensions.
      example:
        width: 2000
        height: 3000
      properties:
        width:
          description: Width of the resource image in pixels.
          example: 2000
          minimum: 0
          type: integer
        height:
          description: Height of the resource image in pixels.
          example: 3000
          minimum: 0
          type: integer
      required:
        - height
        - width
      type: object
    available_formats:
      description: The available formats for the resource.
      nullable: true
      properties:
        psd:
          $ref: '#/components/schemas/formats_1'
        ai:
          $ref: '#/components/schemas/formats_1'
        eps:
          $ref: '#/components/schemas/formats_1'
        atn:
          $ref: '#/components/schemas/formats_1'
        fonts:
          $ref: '#/components/schemas/formats_1'
        resources:
          $ref: '#/components/schemas/formats_1'
        png:
          $ref: '#/components/schemas/formats_1'
        jpg:
          $ref: '#/components/schemas/formats_1'
        3d-render:
          $ref: '#/components/schemas/formats_1'
        zip:
          $ref: '#/components/schemas/formats_1'
        svg:
          $ref: '#/components/schemas/formats_1'
      type: object
    psd_related:
      allOf:
        - description: Related resources and tags for this resource.
          properties:
            suggested:
              description: Other resources related to this one.
              items:
                $ref: '#/components/schemas/resource'
              type: array
            same_author:
              description: Other resources created by this author.
              items:
                $ref: '#/components/schemas/resource'
              type: array
          required:
            - same_author
            - same_series
            - suggested
          type: object
        - $ref: '#/components/schemas/related_same_series'
        - $ref: '#/components/schemas/related_same_collection'
    photo_available_formats:
      description: The available formats for the photo.
      nullable: true
      properties:
        jpg:
          $ref: '#/components/schemas/photo_formats'
      type: object
    photo_related:
      allOf:
        - description: Related resources and tags for this resource.
          properties:
            suggested:
              description: Other resources related to this one.
              items:
                $ref: '#/components/schemas/resource'
              type: array
            same_author:
              description: Other resources created by this author.
              items:
                $ref: '#/components/schemas/resource'
              type: array
          required:
            - same_author
            - suggested
          type: object
        - $ref: '#/components/schemas/related_same_series'
        - $ref: '#/components/schemas/related_same_collection'
    ai_related:
      description: Related resources and tags for this resource.
      nullable: true
      properties:
        suggested:
          description: Other resources related to this one.
          items:
            $ref: '#/components/schemas/resource'
          type: array
      required:
        - suggested
      type: object
    resource:
      description: A regular resource.
      example:
        preview:
          width: 300
          url: https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
          height: 500
        new: true
        premium: true
        is_ai_generated: true
        author:
          assets: 0
          name: John Doe
          id: 2147483647
          avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
          slug: merry-christmas
        name: White t-shirt with copy space on gray background
        id: 15667327
        type: vector
        has_prompt: true
        slug: merry-christmas
        url: >-
          https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
      properties:
        id:
          description: Resource's id.
          example: 15667327
          minimum: 1
          type: integer
        name:
          description: Resource's name.
          example: White t-shirt with copy space on gray background
          type: string
        slug:
          example: merry-christmas
          minLength: 1
          type: string
        type:
          $ref: '#/components/schemas/resource-type'
        is_ai_generated:
          description: True if the resource is generated by AI, false otherwise.
          example: true
          type: boolean
        new:
          description: True if the resource is new, false otherwise.
          example: true
          type: boolean
        premium:
          description: True if the resource is premium, false otherwise.
          example: true
          type: boolean
        url:
          description: Detail resource's url
          example: >-
            https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
          format: uri
          type: string
        preview:
          $ref: '#/components/schemas/preview'
        has_prompt:
          description: True if the resource has prompt, false otherwise.
          example: true
          type: boolean
        author:
          $ref: '#/components/schemas/author'
      required:
        - author
        - has_prompt
        - id
        - is_ai_generated
        - name
        - new
        - premium
        - preview
        - slug
        - type
        - url
      type: object
    formats:
      allOf:
        - $ref: '#/components/schemas/formats_1'
        - properties:
            items:
              items:
                $ref: '#/components/schemas/format_1'
              type: array
          required:
            - items
          type: object
      example:
        total: 1
        items:
          - size: 100
            colorspace: RGB
            name: image.jpg
            id: 1
          - size: 100
            colorspace: RGB
            name: image.jpg
            id: 1
    tag_1:
      example:
        name: Merry Christmas
        slug: merry-christmas
      properties:
        slug:
          example: merry-christmas
          minLength: 1
          type: string
        name:
          description: The name of the tag.
          example: Merry Christmas
          minLength: 1
          type: string
      required:
        - name
        - slug
      type: object
    related_same_series:
      properties:
        same_series:
          $ref: '#/components/schemas/related_same_series_same_series'
      type: object
    related_same_collection:
      properties:
        same_collection:
          $ref: '#/components/schemas/related_same_collection_same_collection'
      type: object
    formats_1:
      properties:
        total:
          description: The total number of files for that format.
          example: 1
          type: integer
        items:
          items:
            $ref: '#/components/schemas/format'
          type: array
      required:
        - items
        - total
      type: object
    photo_formats:
      properties:
        total:
          description: The total number of files for that format.
          example: 1
          type: integer
        items:
          items:
            $ref: '#/components/schemas/photo_format'
          type: array
      required:
        - items
        - total
      type: object
    resource-type:
      description: The type of the resource.
      enum:
        - photo
        - vector
        - psd
        - icon
        - video
        - 3d
        - font
      example: vector
      type: string
    preview:
      description: Information needed to preview a resource.
      example:
        width: 300
        url: https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
        height: 500
      properties:
        url:
          description: Resource's url.
          example: https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
          format: uri
          type: string
        width:
          description: Resource image width.
          example: 300
          minimum: 0
          type: integer
        height:
          description: Resource image height.
          example: 500
          minimum: 0
          type: integer
      required:
        - height
        - url
        - width
      type: object
    author:
      example:
        assets: 0
        name: John Doe
        id: 2147483647
        avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
        slug: merry-christmas
      properties:
        id:
          maximum: 9223372036854776000
          minimum: 1
          type: integer
        name:
          example: John Doe
          minLength: 1
          type: string
        avatar:
          example: https://avatar.cdnpk.net/61668527-220726032514.jpg
          format: uri
          type: string
        assets:
          description: The number of assets of this author.
          minimum: 0
          type: integer
        slug:
          example: merry-christmas
          minLength: 1
          type: string
      required:
        - assets
        - avatar
        - id
        - name
        - slug
      type: object
    format_1:
      allOf:
        - $ref: '#/components/schemas/format'
        - properties:
            name:
              description: The name of the file.
              example: image.jpg
              type: string
            colorspace:
              description: The colorspace of the file.
              enum:
                - RGB
                - CMYK
                - UNKNOWN
              example: RGB
              type: string
          required:
            - colorspace
            - name
          type: object
      example:
        size: 100
        colorspace: RGB
        name: image.jpg
        id: 1
    related_same_series_same_series:
      description: Other photos which belongs to the same photo series.
      example:
        items:
          - preview:
              width: 300
              url: >-
                https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
              height: 500
            new: true
            premium: true
            is_ai_generated: true
            author:
              assets: 0
              name: John Doe
              id: 2147483647
              avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
              slug: merry-christmas
            name: White t-shirt with copy space on gray background
            id: 15667327
            type: vector
            has_prompt: true
            slug: merry-christmas
            url: >-
              https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
          - preview:
              width: 300
              url: >-
                https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
              height: 500
            new: true
            premium: true
            is_ai_generated: true
            author:
              assets: 0
              name: John Doe
              id: 2147483647
              avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
              slug: merry-christmas
            name: White t-shirt with copy space on gray background
            id: 15667327
            type: vector
            has_prompt: true
            slug: merry-christmas
            url: >-
              https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
        url: https://www.freepik.com/serie/32689488
      nullable: true
      properties:
        url:
          description: The url of the series.
          example: https://www.freepik.com/serie/32689488
          format: uri
          type: string
        items:
          description: Other resources which belongs to the same photo series.
          items:
            $ref: '#/components/schemas/resource'
          type: array
      required:
        - items
        - url
      type: object
    related_same_collection_same_collection:
      description: Related resources of the same collection.
      example:
        items:
          - preview:
              width: 300
              url: >-
                https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
              height: 500
            new: true
            premium: true
            is_ai_generated: true
            author:
              assets: 0
              name: John Doe
              id: 2147483647
              avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
              slug: merry-christmas
            name: White t-shirt with copy space on gray background
            id: 15667327
            type: vector
            has_prompt: true
            slug: merry-christmas
            url: >-
              https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
          - preview:
              width: 300
              url: >-
                https://www.freepik.com/free-ai-image/surreal-landscape_41357833.htm
              height: 500
            new: true
            premium: true
            is_ai_generated: true
            author:
              assets: 0
              name: John Doe
              id: 2147483647
              avatar: https://avatar.cdnpk.net/61668527-220726032514.jpg
              slug: merry-christmas
            name: White t-shirt with copy space on gray background
            id: 15667327
            type: vector
            has_prompt: true
            slug: merry-christmas
            url: >-
              https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
        url: https://www.freepik.com/collection/shining
      nullable: true
      properties:
        url:
          description: The url of the collection.
          example: https://www.freepik.com/collection/shining
          format: uri
          type: string
        items:
          description: >-
            Other resources which belongs to a public collection of the author
            Magnific.
          items:
            $ref: '#/components/schemas/resource'
          type: array
      required:
        - items
        - url
      type: object
    format:
      example:
        size: 100
        id: 1
      properties:
        id:
          description: The id of the format. Null if doesn't exist
          example: 1
          nullable: true
          type: integer
        size:
          description: The size of the file in bytes.
          example: 100
          type: integer
      required:
        - id
        - size
      type: object
    photo_format:
      properties:
        id:
          description: The id of the format. Null if doesn't exist
          example: 1
          minimum: 1
          nullable: true
          type: integer
        colorspace:
          description: >-
            The colorspace of the file. This property is not sent when the file
            id is null.
          enum:
            - RGB
            - CMYK
            - UNKNOWN
          example: RGB
          type: string
        name:
          description: >-
            The name of the file. This property is not sent when the file id is
            null.
          example: image.jpg
          type: string
        size:
          description: The size of the photo in bytes.
          example: 100
          type: integer
        is_remove_bg:
          description: Indicates that the file is the result of the remove background tool.
          example: true
          type: boolean
      required:
        - size
      type: object
  securitySchemes:
    magnificApiKey:
      description: >
        Your Magnific API key. Required for authentication. [Learn how to obtain
        an API key](https://docs.magnific.com/quickstart)
      in: header
      name: x-magnific-api-key
      type: apiKey

````