OpenShorts · Schema

SubtitleRequest

VideoArtificial IntelligenceOpen SourceClipMakerFree

Properties

Name Type Description
job_id string
clip_index integer
position string
font_size integer
font_name string
font_color string
border_color string
border_width integer
bg_color string
bg_opacity number
style string
highlight_color string
effect string
base_opacity number
uppercase boolean
reveal boolean
shadow integer
max_chars object
max_duration object
preset object
input_filename object
words object
View JSON Schema on GitHub

JSON Schema

openshorts-app-subtitle-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/openshorts-app/json-schema/openshorts-app-subtitle-request-schema.json",
  "title": "SubtitleRequest",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/openshorts-app-openapi.json#/components/schemas/SubtitleRequest",
  "properties": {
    "job_id": {
      "type": "string",
      "title": "Job Id"
    },
    "clip_index": {
      "type": "integer",
      "title": "Clip Index"
    },
    "position": {
      "type": "string",
      "title": "Position",
      "default": "bottom"
    },
    "font_size": {
      "type": "integer",
      "title": "Font Size",
      "default": 16
    },
    "font_name": {
      "type": "string",
      "title": "Font Name",
      "default": "Verdana"
    },
    "font_color": {
      "type": "string",
      "title": "Font Color",
      "default": "#FFFFFF"
    },
    "border_color": {
      "type": "string",
      "title": "Border Color",
      "default": "#000000"
    },
    "border_width": {
      "type": "integer",
      "title": "Border Width",
      "default": 2
    },
    "bg_color": {
      "type": "string",
      "title": "Bg Color",
      "default": "#000000"
    },
    "bg_opacity": {
      "type": "number",
      "title": "Bg Opacity",
      "default": 0.0
    },
    "style": {
      "type": "string",
      "title": "Style",
      "default": "classic"
    },
    "highlight_color": {
      "type": "string",
      "title": "Highlight Color",
      "default": "#FFD700"
    },
    "effect": {
      "type": "string",
      "title": "Effect",
      "default": "none"
    },
    "base_opacity": {
      "type": "number",
      "title": "Base Opacity",
      "default": 1.0
    },
    "uppercase": {
      "type": "boolean",
      "title": "Uppercase",
      "default": false
    },
    "reveal": {
      "type": "boolean",
      "title": "Reveal",
      "default": false
    },
    "shadow": {
      "type": "integer",
      "title": "Shadow",
      "default": 0
    },
    "max_chars": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Max Chars"
    },
    "max_duration": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Max Duration"
    },
    "preset": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Preset"
    },
    "input_filename": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Input Filename"
    },
    "words": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/CaptionWordIn"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Words"
    }
  },
  "type": "object",
  "required": [
    "job_id",
    "clip_index"
  ],
  "$defs": {
    "CaptionWordIn": {
      "properties": {
        "text": {
          "type": "string",
          "title": "Text"
        },
        "startMs": {
          "type": "integer",
          "title": "Startms"
        },
        "endMs": {
          "type": "integer",
          "title": "Endms"
        }
      },
      "type": "object",
      "required": [
        "text",
        "startMs",
        "endMs"
      ],
      "title": "CaptionWordIn",
      "description": "One user-edited caption word, clip-relative ms — the same shape the\n/transcript endpoint hands the subtitle modal."
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/openshorts-app-subtitle-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.