OpenShorts Thumbnail API

The Thumbnail API from OpenShorts — 8 operation(s) for thumbnail.

GitHub OpenAPI

Operations 8

POST /api/thumbnail/upload Thumbnail Upload #
POST /api/thumbnail/analyze Thumbnail Analyze #
POST /api/thumbnail/titles Thumbnail Titles #
POST /api/thumbnail/generate Thumbnail Generate #
GET /api/thumbnail/frames/{session_id} Thumbnail Frames #
POST /api/thumbnail/describe Thumbnail Describe #
POST /api/thumbnail/publish Thumbnail Publish #
GET /api/thumbnail/publish/status/{publish_id} Thumbnail Publish Status #

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/openshorts-app:openshorts-app-thumbnail-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

openshorts-app-thumbnail-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fast Thumbnail API
  version: 0.1.0
tags:
- name: Thumbnail
paths:
  /api/thumbnail/upload:
    post:
      summary: Thumbnail Upload
      description: Upload video and start background Whisper transcription immediately.
      operationId: thumbnail_upload_api_thumbnail_upload_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_thumbnail_upload_api_thumbnail_upload_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Thumbnail
  /api/thumbnail/analyze:
    post:
      summary: Thumbnail Analyze
      description: Analyze a video and suggest viral YouTube titles.
      operationId: thumbnail_analyze_api_thumbnail_analyze_post
      parameters:
      - name: X-Gemini-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Gemini-Key
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_thumbnail_analyze_api_thumbnail_analyze_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Thumbnail
  /api/thumbnail/titles:
    post:
      summary: Thumbnail Titles
      description: Refine title suggestions or accept a manual title.
      operationId: thumbnail_titles_api_thumbnail_titles_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ThumbnailTitlesRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Thumbnail
  /api/thumbnail/generate:
    post:
      summary: Thumbnail Generate
      description: 'Generate YouTube thumbnails with Gemini image generation.


        burn_text: the image model paints the scene with clean negative space and

        PIL sets the hook text (Anton, black stroke). Off = the model renders the

        text itself, which is prettier when it works and misspelled when it does

        not. frame: url of a frame from /api/thumbnail/frames to use as the

        person reference when no face photo is uploaded.'
      operationId: thumbnail_generate_api_thumbnail_generate_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_thumbnail_generate_api_thumbnail_generate_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Thumbnail
  /api/thumbnail/frames/{session_id}:
    get:
      summary: Thumbnail Frames
      description: 'Frames of the session''s video with a large, sharp face, as candidates

        for the thumbnail''s person reference. Computed once and cached.'
      operationId: thumbnail_frames_api_thumbnail_frames__session_id__get
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          title: Session Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Thumbnail
  /api/thumbnail/describe:
    post:
      summary: Thumbnail Describe
      description: Generate a YouTube description with chapters from the transcript.
      operationId: thumbnail_describe_api_thumbnail_describe_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ThumbnailDescribeRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Thumbnail
  /api/thumbnail/publish:
    post:
      summary: Thumbnail Publish
      description: Kick off a background upload to YouTube via Upload-Post and return immediately.
      operationId: thumbnail_publish_api_thumbnail_publish_post
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Body_thumbnail_publish_api_thumbnail_publish_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Thumbnail
  /api/thumbnail/publish/status/{publish_id}:
    get:
      summary: Thumbnail Publish Status
      description: Poll the status of a background publish job (owner only in cloud mode).
      operationId: thumbnail_publish_status_api_thumbnail_publish_status__publish_id__get
      parameters:
      - name: publish_id
        in: path
        required: true
        schema:
          type: string
          title: Publish Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Thumbnail
components:
  schemas:
    Body_thumbnail_analyze_api_thumbnail_analyze_post:
      properties:
        file:
          anyOf:
          - type: string
            contentMediaType: application/octet-stream
          - type: 'null'
          title: File
        url:
          anyOf:
          - type: string
          - type: 'null'
          title: Url
        session_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Session Id
      type: object
      title: Body_thumbnail_analyze_api_thumbnail_analyze_post
    Body_thumbnail_publish_api_thumbnail_publish_post:
      properties:
        session_id:
          type: string
          title: Session Id
        title:
          type: string
          title: Title
        description:
          type: string
          title: Description
        thumbnail_url:
          type: string
          title: Thumbnail Url
        api_key:
          anyOf:
          - type: string
          - type: 'null'
          title: Api Key
        user_id:
          anyOf:
          - type: string
          - type: 'null'
          title: User Id
      type: object
      required:
      - session_id
      - title
      - description
      - thumbnail_url
      title: Body_thumbnail_publish_api_thumbnail_publish_post
    ThumbnailTitlesRequest:
      properties:
        session_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Session Id
        message:
          anyOf:
          - type: string
          - type: 'null'
          title: Message
        title:
          anyOf:
          - type: string
          - type: 'null'
          title: Title
      type: object
      title: ThumbnailTitlesRequest
    ThumbnailDescribeRequest:
      properties:
        session_id:
          type: string
          title: Session Id
        title:
          type: string
          title: Title
      type: object
      required:
      - session_id
      - title
      title: ThumbnailDescribeRequest
    Body_thumbnail_generate_api_thumbnail_generate_post:
      properties:
        session_id:
          type: string
          title: Session Id
        title:
          type: string
          title: Title
        extra_prompt:
          type: string
          title: Extra Prompt
          default: ''
        count:
          type: integer
          title: Count
          default: 3
        burn_text:
          type: boolean
          title: Burn Text
          default: true
        frame:
          type: string
          title: Frame
          default: ''
        face:
          anyOf:
          - type: string
            contentMediaType: application/octet-stream
          - type: 'null'
          title: Face
        background:
          anyOf:
          - type: string
            contentMediaType: application/octet-stream
          - type: 'null'
          title: Background
      type: object
      required:
      - session_id
      - title
      title: Body_thumbnail_generate_api_thumbnail_generate_post
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Body_thumbnail_upload_api_thumbnail_upload_post:
      properties:
        file:
          anyOf:
          - type: string
            contentMediaType: application/octet-stream
          - type: 'null'
          title: File
        url:
          anyOf:
          - type: string
          - type: 'null'
          title: Url
      type: object
      title: Body_thumbnail_upload_api_thumbnail_upload_post