LovPics AI Thumbnails API

The ai-thumbnails API from LovPics — 3 operation(s) for ai-thumbnails.

GitHub OpenAPI

Operations 3

POST /api/ai-thumbnails/generate-single Generate Single Thumbnail #
POST /api/ai-thumbnails/generate Generate Thumbnails #
GET /api/ai-thumbnails/list Get User Thumbnails #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/lovpics-com:lovpics-com-ai-thumbnails-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

lovpics-com-ai-thumbnails-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Virtual Studio AI Thumbnails API
  version: 0.1.0
tags:
- name: ai-thumbnails
paths:
  /api/ai-thumbnails/generate-single:
    post:
      tags:
      - ai-thumbnails
      summary: Generate Single Thumbnail
      description: 'Generate a single AI-powered YouTube thumbnail based on a text prompt.

        This endpoint is designed to be called multiple times (once per variant) for progressive display.


        Args:

        request: GenerateSingleThumbnailRequest with prompt, aspectRatio, and variantNumber

        current_user: Authenticated user information


        Returns:

        GenerateSingleThumbnailResponse with generated thumbnail URL'
      operationId: generate_single_thumbnail_api_ai_thumbnails_generate_single_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GenerateSingleThumbnailRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenerateSingleThumbnailResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/ai-thumbnails/generate:
    post:
      tags:
      - ai-thumbnails
      summary: Generate Thumbnails
      description: 'Generate AI-powered YouTube thumbnails based on a text prompt (DEPRECATED - use /generate-single instead).

        This endpoint still works but generates all thumbnails in parallel.


        Args:

        request: GenerateThumbnailRequest with prompt, numberOfVariants, and aspectRatio

        current_user: Authenticated user information


        Returns:

        GenerateThumbnailResponse with list of generated thumbnail URLs'
      operationId: generate_thumbnails_api_ai_thumbnails_generate_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GenerateThumbnailRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenerateThumbnailResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/ai-thumbnails/list:
    get:
      tags:
      - ai-thumbnails
      summary: Get User Thumbnails
      description: 'Get all thumbnails generated by the current user.


        Args:

        current_user: Authenticated user information


        Returns:

        Dictionary with list of thumbnails'
      operationId: get_user_thumbnails_api_ai_thumbnails_list_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Get User Thumbnails Api Ai Thumbnails List Get
      security:
      - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    GenerateSingleThumbnailRequest:
      properties:
        prompt:
          type: string
          title: Prompt
          description: Text description of the desired thumbnail
        aspectRatio:
          type: string
          title: Aspectratio
          description: Aspect ratio for the thumbnail
          default: '16:9'
        variantNumber:
          type: integer
          title: Variantnumber
          description: Variant number for logging
          default: 1
        referenceImage:
          anyOf:
          - type: string
          - type: 'null'
          title: Referenceimage
          description: Optional base64 data URL of a reference image (person/animal/bird) to include in the thumbnail with 100% accuracy
        modelType:
          anyOf:
          - type: string
          - type: 'null'
          title: Modeltype
          default: pro
        imageOutputSize:
          anyOf:
          - type: string
          - type: 'null'
          title: Imageoutputsize
          default: 1K
      type: object
      required:
      - prompt
      title: GenerateSingleThumbnailRequest
    ThumbnailResponse:
      properties:
        thumbnailUrl:
          type: string
          title: Thumbnailurl
        thumbnailPath:
          type: string
          title: Thumbnailpath
      type: object
      required:
      - thumbnailUrl
      - thumbnailPath
      title: ThumbnailResponse
    GenerateThumbnailResponse:
      properties:
        success:
          type: boolean
          title: Success
        thumbnails:
          items:
            $ref: '#/components/schemas/ThumbnailResponse'
          type: array
          title: Thumbnails
        message:
          type: string
          title: Message
      type: object
      required:
      - success
      - thumbnails
      - message
      title: GenerateThumbnailResponse
    GenerateThumbnailRequest:
      properties:
        prompt:
          type: string
          title: Prompt
          description: Text description of the desired thumbnail
        numberOfVariants:
          type: integer
          maximum: 4.0
          minimum: 1.0
          title: Numberofvariants
          description: Number of thumbnail variants to generate (1-4)
          default: 4
        aspectRatio:
          type: string
          title: Aspectratio
          description: Aspect ratio for the thumbnail
          default: '16:9'
        modelType:
          anyOf:
          - type: string
          - type: 'null'
          title: Modeltype
          default: pro
        imageOutputSize:
          anyOf:
          - type: string
          - type: 'null'
          title: Imageoutputsize
          default: 1K
      type: object
      required:
      - prompt
      title: GenerateThumbnailRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    GenerateSingleThumbnailResponse:
      properties:
        success:
          type: boolean
          title: Success
        thumbnail:
          anyOf:
          - $ref: '#/components/schemas/ThumbnailResponse'
          - type: 'null'
        message:
          type: string
          title: Message
      type: object
      required:
      - success
      - message
      title: GenerateSingleThumbnailResponse
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer