> ## 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 an image or template

> One image or template by its `id`: its formats, author, license and previews.



## OpenAPI

````yaml openapi/magnific-api-v2-stock-openapi.yaml GET /v2/stock/resources/{resource_id}
openapi: 3.1.0
info:
  title: Magnific API v2 — Stock
  version: 2.0.0
  description: >-
    Search, read and download stock under `/v2/stock`: images and templates,
    icons and videos (same items, licences and billing as API v1), and music and
    sound effects (free, as on the web).
servers:
  - url: https://api.magnific.com
    description: Production V2
security:
  - magnificApiKey: []
  - bearerAuth: []
tags:
  - name: Videos
    description: >-
      Generate and edit videos. Add `?dry_run=true` to get the price of a
      request first.
paths:
  /v2/stock/resources/{resource_id}:
    get:
      tags:
        - Resources
      summary: Get an image or template
      description: |-
        The detail of one resource.

        A personal token needs `api:read`.
      operationId: stock_resources_resource_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':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: >-
                      #/components/schemas/Stockget_resource_detail_by_id_200_response_data
                required:
                  - data
              examples:
                detail_photo:
                  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
                      vertical: photo
                      is_ai_generated: false
                      premium: true
                      new: true
                      url: >-
                        https://www.magnific.com/premium-photo/abstract-white-lines-background-generative-ai_39178780.htm
                      preview:
                        url: >-
                          https://www.magnific.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.magnific.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.magnific.com/free-vector/sports-bike_770011.htm
                            preview:
                              url: >-
                                https://img.b2bpic.net/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.magnific.com/free-vector/sports-bike_770011.htm
                            preview:
                              url: >-
                                https://img.b2bpic.net/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.magnific.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.magnific.com/free-vector/sports-bike_770011.htm
                              preview:
                                url: >-
                                  https://img.b2bpic.net/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.magnific.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.magnific.com/free-vector/sports-bike_770011.htm
                              preview:
                                url: >-
                                  https://img.b2bpic.net/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.magnific.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
                detail_vector:
                  summary: Success - Detail Vector resource information
                  value:
                    data:
                      id: 770011
                      name: Sports car
                      slug: sports-car
                      type: vector
                      vertical: vector
                      is_ai_generated: false
                      premium: false
                      new: true
                      url: >-
                        https://www.magnific.com/free-vector/sports-car_770011.htm
                      preview:
                        url: >-
                          https://img.b2bpic.net/free-vector/sports-car_770011.jpg
                        width: 300
                        height: 200
                      has_prompt: false
                      license: https://www.magnific.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.magnific.com/free-vector/sports-car_770011.htm
                            preview:
                              url: >-
                                https://img.b2bpic.net/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.magnific.com/free-vector/sports-car_770011.htm
                            preview:
                              url: >-
                                https://img.b2bpic.net/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.magnific.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.magnific.com/free-vector/sports-car_770011.htm
                              preview:
                                url: >-
                                  https://img.b2bpic.net/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.magnific.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.magnific.com/free-vector/sports-bike_770011.htm
                              preview:
                                url: >-
                                  https://img.b2bpic.net/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
                detail_psd:
                  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
                      vertical: mockup
                      is_ai_generated: false
                      premium: true
                      new: true
                      url: >-
                        https://www.magnific.com/premium-psd/t-shirts-mockup-psd-black_17860378.htm
                      preview:
                        url: >-
                          https://www.magnific.com/premium-psd/t-shirts-mockup-psd-black_17860378.htm
                        width: 300
                        height: 200
                      has_prompt: false
                      license: https://www.magnific.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.magnific.com/free-vector/sports-bike_770011.htm
                            preview:
                              url: >-
                                https://img.b2bpic.net/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.magnific.com/free-vector/sports-bike_770011.htm
                            preview:
                              url: >-
                                https://img.b2bpic.net/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.magnific.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.magnific.com/free-vector/sports-bike_770011.htm
                              preview:
                                url: >-
                                  https://img.b2bpic.net/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.magnific.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.magnific.com/free-vector/sports-bike_770011.htm
                              preview:
                                url: >-
                                  https://img.b2bpic.net/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
                detail_ai:
                  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
                      vertical: photo
                      is_ai_generated: true
                      premium: true
                      new: true
                      url: >-
                        https://www.magnific.com/premium-photo/abstract-white-lines-background-generative-ai_39178780.htm
                      preview:
                        url: >-
                          https://www.magnific.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.magnific.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.magnific.com/free-vector/sports-bike_770011.htm
                            preview:
                              url: >-
                                https://img.b2bpic.net/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
        '400':
          description: >-
            `validation_failed`: a parameter is not valid (`details.errors` by
            field, e.g. `query`, `cursor`, `filters.color`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StockV2Error'
        '401':
          description: '`unauthenticated`: the token or API key is missing or not valid.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StockV2Error'
        '403':
          description: >-
            `forbidden`, `upgrade_required` (a premium asset on a plan without
            premium), `restricted_author_content`, `magnific_api_disabled`,
            `key_not_supported` or `api_key_wallet_unavailable`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StockV2Error'
        '404':
          description: '`not_found`: no such asset.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StockV2Error'
        '429':
          description: '`rate_limited`: too many requests or downloads.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StockV2Error'
        '500':
          description: '`internal_error`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StockV2Error'
        '503':
          description: >-
            `service_unavailable`: the search engine or a dependency is down;
            retry later.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StockV2Error'
      security:
        - magnificApiKey: []
        - bearerAuth: []
components:
  schemas:
    Stockget_resource_detail_by_id_200_response_data:
      anyOf:
        - $ref: '#/components/schemas/Stockdetail_vector'
        - $ref: '#/components/schemas/Stockdetail_psd'
        - $ref: '#/components/schemas/Stockdetail_photo'
        - $ref: '#/components/schemas/Stockdetail_ai'
    StockV2Error:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: string
          description: >-
            Stable, for code: `validation_failed`, `unauthenticated`,
            `insufficient_credits`, `forbidden`, `upgrade_required`,
            `not_found`, `rate_limited`, `internal_error`,
            `service_unavailable`...
          example: validation_failed
        message:
          type: string
          description: For people. Never the cause of a server error.
        details:
          type: object
          description: Absent on a server error.
          properties:
            errors:
              type: object
              description: Validation messages by field.
              additionalProperties:
                type: array
                items:
                  type: string
        request_id:
          type: string
    Stockdetail_vector:
      allOf:
        - $ref: '#/components/schemas/Stockdetail_resource'
        - description: Vector details.
          properties:
            type:
              enum:
                - vector
              example: photo
              type: string
            available_formats:
              $ref: '#/components/schemas/Stockavailable_formats_1'
            related_tags:
              items:
                $ref: '#/components/schemas/Stocktag_2'
              type: array
            related_resources:
              $ref: '#/components/schemas/Stockvector_related'
            dimensions:
              $ref: '#/components/schemas/Stockdimensions'
          required:
            - available_formats
            - dimensions
            - related_resources
            - related_tags
            - type
          type: object
      example:
        preview:
          width: 300
          url: >-
            https://www.magnific.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
        vertical: mockup
        type: photo
        url: >-
          https://www.magnific.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
        license: https://www.magnific.com/profile/license/pdf/4350594
        premium: true
        is_ai_generated: true
        related_resources:
          suggested:
            - preview:
                width: 300
                url: >-
                  https://www.magnific.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.magnific.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
            - preview:
                width: 300
                url: >-
                  https://www.magnific.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.magnific.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
          same_author:
            - preview:
                width: 300
                url: >-
                  https://www.magnific.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.magnific.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
            - preview:
                width: 300
                url: >-
                  https://www.magnific.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.magnific.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
          same_collection:
            items:
              - preview:
                  width: 300
                  url: >-
                    https://www.magnific.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.magnific.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
              - preview:
                  width: 300
                  url: >-
                    https://www.magnific.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.magnific.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
            url: https://www.magnific.com/collection/shining
          same_series:
            items:
              - preview:
                  width: 300
                  url: >-
                    https://www.magnific.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.magnific.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
              - preview:
                  width: 300
                  url: >-
                    https://www.magnific.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.magnific.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
            url: https://www.magnific.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.magnific.com/dog
          - name: Merry Christmas
            slug: merry-christmas
            url: https://www.magnific.com/dog
        dimensions:
          width: 2000
          height: 3000
    Stockdetail_psd:
      allOf:
        - $ref: '#/components/schemas/Stockdetail_resource'
        - description: PSD details.
          properties:
            type:
              enum:
                - psd
              example: photo
              type: string
            available_formats:
              $ref: '#/components/schemas/Stockavailable_formats'
            related_tags:
              items:
                $ref: '#/components/schemas/Stocktag_2'
              type: array
            related_resources:
              $ref: '#/components/schemas/Stockpsd_related'
            dimensions:
              $ref: '#/components/schemas/Stockdimensions'
            model_type:
              description: >-
                The AI model used to generate the resource. Only present when
                the resource is AI generated.
              example: Midjourney
              type:
                - string
                - 'null'
            model_subtype:
              description: >-
                The AI model version used to generate the resource. Only present
                when the resource is AI generated.
              example: Midjourney 5
              type:
                - string
                - 'null'
          required:
            - available_formats
            - dimensions
            - related_resources
            - related_tags
            - type
          type: object
    Stockdetail_photo:
      allOf:
        - $ref: '#/components/schemas/Stockdetail_resource'
        - description: Photo details.
          properties:
            type:
              enum:
                - photo
              example: photo
              type: string
            dimensions:
              $ref: '#/components/schemas/Stockdimensions'
            available_formats:
              $ref: '#/components/schemas/Stockphoto_available_formats'
            related_tags:
              items:
                $ref: '#/components/schemas/Stocktag_2'
              type: array
            related_resources:
              $ref: '#/components/schemas/Stockphoto_related'
          required:
            - available_formats
            - dimensions
            - related_resources
            - related_tags
            - type
          type: object
    Stockdetail_ai:
      allOf:
        - $ref: '#/components/schemas/Stockdetail_resource'
        - description: AI photo details.
          properties:
            dimensions:
              $ref: '#/components/schemas/Stockdimensions'
            model_type:
              example: Dall-E
              type:
                - string
                - 'null'
            model_subtype:
              example: niji
              type:
                - string
                - 'null'
            type:
              enum:
                - photo
              example: photo
              type: string
            available_formats:
              $ref: '#/components/schemas/Stockphoto_available_formats'
            related_resources:
              $ref: '#/components/schemas/Stockai_related'
            related_tags:
              items:
                $ref: '#/components/schemas/Stocktag_2'
              type: array
          required:
            - available_formats
            - dimensions
            - model_subtype
            - model_type
            - related_resources
            - related_tags
            - type
          type: object
    Stockdetail_resource:
      allOf:
        - $ref: '#/components/schemas/Stockresource'
        - description: Vector details.
          properties:
            license:
              description: The URL of the license.
              example: https://www.magnific.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
            vertical:
              $ref: '#/components/schemas/Stockvertical-type'
          required:
            - created
            - download_size
            - license
            - vertical
          type: object
    Stockavailable_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
      properties:
        psd:
          $ref: '#/components/schemas/Stockformats'
        ai:
          $ref: '#/components/schemas/Stockformats'
        eps:
          $ref: '#/components/schemas/Stockformats'
        atn:
          $ref: '#/components/schemas/Stockformats'
        fonts:
          $ref: '#/components/schemas/Stockformats'
        resources:
          $ref: '#/components/schemas/Stockformats'
        png:
          $ref: '#/components/schemas/Stockformats'
        jpg:
          $ref: '#/components/schemas/Stockformats'
        3d-render:
          $ref: '#/components/schemas/Stockformats'
        zip:
          $ref: '#/components/schemas/Stockformats'
        svg:
          $ref: '#/components/schemas/Stockformats'
      type:
        - object
        - 'null'
    Stocktag_2:
      allOf:
        - $ref: '#/components/schemas/Stocktag_1'
        - properties:
            url:
              description: >-
                It will not be null when some SEO rules like redirects and
                canonicals are applied.
              example: https://www.magnific.com/dog
              format: uri
              type:
                - string
                - 'null'
          type: object
      example:
        name: Merry Christmas
        slug: merry-christmas
        url: https://www.magnific.com/dog
    Stockvector_related:
      allOf:
        - description: Related resources and tags for this resource.
          properties:
            suggested:
              description: Other resources related to this one.
              items:
                $ref: '#/components/schemas/Stockresource'
              type: array
            same_author:
              description: Other resources created by this author.
              items:
                $ref: '#/components/schemas/Stockresource'
              type: array
          required:
            - same_author
            - same_series
            - suggested
          type: object
        - $ref: '#/components/schemas/Stockrelated_same_series'
        - $ref: '#/components/schemas/Stockrelated_same_collection'
      example:
        suggested:
          - preview:
              width: 300
              url: >-
                https://www.magnific.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.magnific.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
          - preview:
              width: 300
              url: >-
                https://www.magnific.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.magnific.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
        same_author:
          - preview:
              width: 300
              url: >-
                https://www.magnific.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.magnific.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
          - preview:
              width: 300
              url: >-
                https://www.magnific.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.magnific.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
        same_collection:
          items:
            - preview:
                width: 300
                url: >-
                  https://www.magnific.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.magnific.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
            - preview:
                width: 300
                url: >-
                  https://www.magnific.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.magnific.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
          url: https://www.magnific.com/collection/shining
        same_series:
          items:
            - preview:
                width: 300
                url: >-
                  https://www.magnific.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.magnific.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
            - preview:
                width: 300
                url: >-
                  https://www.magnific.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.magnific.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
          url: https://www.magnific.com/serie/32689488
    Stockdimensions:
      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
    Stockavailable_formats:
      description: The available formats for the resource.
      properties:
        psd:
          $ref: '#/components/schemas/Stockformats_1'
        ai:
          $ref: '#/components/schemas/Stockformats_1'
        eps:
          $ref: '#/components/schemas/Stockformats_1'
        atn:
          $ref: '#/components/schemas/Stockformats_1'
        fonts:
          $ref: '#/components/schemas/Stockformats_1'
        resources:
          $ref: '#/components/schemas/Stockformats_1'
        png:
          $ref: '#/components/schemas/Stockformats_1'
        jpg:
          $ref: '#/components/schemas/Stockformats_1'
        3d-render:
          $ref: '#/components/schemas/Stockformats_1'
        zip:
          $ref: '#/components/schemas/Stockformats_1'
        svg:
          $ref: '#/components/schemas/Stockformats_1'
      type:
        - object
        - 'null'
    Stockpsd_related:
      allOf:
        - description: Related resources and tags for this resource.
          properties:
            suggested:
              description: Other resources related to this one.
              items:
                $ref: '#/components/schemas/Stockresource'
              type: array
            same_author:
              description: Other resources created by this author.
              items:
                $ref: '#/components/schemas/Stockresource'
              type: array
          required:
            - same_author
            - same_series
            - suggested
          type: object
        - $ref: '#/components/schemas/Stockrelated_same_series'
        - $ref: '#/components/schemas/Stockrelated_same_collection'
    Stockphoto_available_formats:
      description: The available formats for the photo.
      properties:
        jpg:
          $ref: '#/components/schemas/Stockphoto_formats'
      type:
        - object
        - 'null'
    Stockphoto_related:
      allOf:
        - description: Related resources and tags for this resource.
          properties:
            suggested:
              description: Other resources related to this one.
              items:
                $ref: '#/components/schemas/Stockresource'
              type: array
            same_author:
              description: Other resources created by this author.
              items:
                $ref: '#/components/schemas/Stockresource'
              type: array
          required:
            - same_author
            - suggested
          type: object
        - $ref: '#/components/schemas/Stockrelated_same_series'
        - $ref: '#/components/schemas/Stockrelated_same_collection'
    Stockai_related:
      description: Related resources and tags for this resource.
      properties:
        suggested:
          description: Other resources related to this one.
          items:
            $ref: '#/components/schemas/Stockresource'
          type: array
      required:
        - suggested
      type:
        - object
        - 'null'
    Stockresource:
      description: A regular resource.
      example:
        preview:
          width: 300
          url: >-
            https://www.magnific.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.magnific.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/Stockresource-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.magnific.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
          format: uri
          type: string
        preview:
          $ref: '#/components/schemas/Stockpreview'
        has_prompt:
          description: True if the resource has prompt, false otherwise.
          example: true
          type: boolean
        author:
          $ref: '#/components/schemas/Stockauthor'
      required:
        - author
        - has_prompt
        - id
        - is_ai_generated
        - name
        - new
        - premium
        - preview
        - slug
        - type
        - url
      type: object
    Stockvertical-type:
      description: >
        The vertical of the resource, used to drive the post-download
        experience.

        It mirrors `type` for most resources, but resolves to `mockup` or

        `template` for PSD/Vector resources that match specific production
        lines.
      enum:
        - photo
        - vector
        - psd
        - icon
        - video
        - 3d
        - font
        - mockup
        - template
      example: mockup
      type: string
    Stockformats:
      allOf:
        - $ref: '#/components/schemas/Stockformats_1'
        - properties:
            items:
              items:
                $ref: '#/components/schemas/Stockformat_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
    Stocktag_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
    Stockrelated_same_series:
      properties:
        same_series:
          $ref: '#/components/schemas/Stockrelated_same_series_same_series'
      type: object
    Stockrelated_same_collection:
      properties:
        same_collection:
          $ref: '#/components/schemas/Stockrelated_same_collection_same_collection'
      type: object
    Stockformats_1:
      properties:
        total:
          description: The total number of files for that format.
          example: 1
          type: integer
        items:
          items:
            $ref: '#/components/schemas/Stockformat'
          type: array
      required:
        - items
        - total
      type: object
    Stockphoto_formats:
      properties:
        total:
          description: The total number of files for that format.
          example: 1
          type: integer
        items:
          items:
            $ref: '#/components/schemas/Stockphoto_format'
          type: array
      required:
        - items
        - total
      type: object
    Stockresource-type:
      description: The type of the resource.
      enum:
        - photo
        - vector
        - psd
        - icon
        - video
        - 3d
        - font
      example: vector
      type: string
    Stockpreview:
      description: Information needed to preview a resource.
      example:
        width: 300
        url: https://www.magnific.com/free-ai-image/surreal-landscape_41357833.htm
        height: 500
      properties:
        url:
          description: Resource's url.
          example: >-
            https://www.magnific.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
    Stockauthor:
      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
    Stockformat_1:
      allOf:
        - $ref: '#/components/schemas/Stockformat'
        - 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
    Stockrelated_same_series_same_series:
      description: Other photos which belongs to the same photo series.
      example:
        items:
          - preview:
              width: 300
              url: >-
                https://www.magnific.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.magnific.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
          - preview:
              width: 300
              url: >-
                https://www.magnific.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.magnific.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
        url: https://www.magnific.com/serie/32689488
      properties:
        url:
          description: The url of the series.
          example: https://www.magnific.com/serie/32689488
          format: uri
          type: string
        items:
          description: Other resources which belongs to the same photo series.
          items:
            $ref: '#/components/schemas/Stockresource'
          type: array
      required:
        - items
        - url
      type:
        - object
        - 'null'
    Stockrelated_same_collection_same_collection:
      description: Related resources of the same collection.
      example:
        items:
          - preview:
              width: 300
              url: >-
                https://www.magnific.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.magnific.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
          - preview:
              width: 300
              url: >-
                https://www.magnific.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.magnific.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm
        url: https://www.magnific.com/collection/shining
      properties:
        url:
          description: The url of the collection.
          example: https://www.magnific.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/Stockresource'
          type: array
      required:
        - items
        - url
      type:
        - object
        - 'null'
    Stockformat:
      example:
        size: 100
        id: 1
      properties:
        id:
          description: The id of the format. Null if doesn't exist
          example: 1
          type:
            - integer
            - 'null'
        size:
          description: The size of the file in bytes.
          example: 100
          type: integer
      required:
        - id
        - size
      type: object
    Stockphoto_format:
      properties:
        id:
          description: The id of the format. Null if doesn't exist
          example: 1
          minimum: 1
          type:
            - integer
            - 'null'
        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:
      type: apiKey
      in: header
      name: x-magnific-api-key
      description: >-
        Your Magnific API key. [Learn how to obtain an API
        key](https://docs.magnific.com/quickstart)
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        A personal access token, sent as `Authorization: Bearer <token>`. [How
        to get one](/api-reference/v2/overview#get-a-personal-access-token)

````

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