Sumvid Summarize API

Enqueue and poll summarization jobs.

GitHub OpenAPI

Operations 3

POST /summarize/quote Quote Summary #
POST /summarize Summarize Video #
GET /languages List Languages #

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/sumvid-app:sumvid-app-summarize-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

sumvid-app-summarize-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: vid Summarize API
  description: YouTube video transcript summarizer (Claude Haiku).
  version: 0.6.0
  x-guidance: 'Paid agent calls are POST /v1/summarize, POST /v1/transcript, POST /v1/channel/new, and POST /v1/json/format. Send the request with no authorization to receive HTTP 402. The payment requirements are in the PAYMENT-REQUIRED header and the JSON body. Retry with a PAYMENT-SIGNATURE header. Prices are on each operation under x-payment-info. Discovery documents: GET /.well-known/x402 and GET /.well-known/x402.json.'
tags:
- name: Summarize
  description: Enqueue and poll summarization jobs.
paths:
  /summarize/quote:
    post:
      tags:
      - Summarize
      summary: Quote Summary
      description: 'Quote known videos without creating work or spending credits.


        For an unseen video, duration and required_credits are null. A submission

        can authorize a maximum; the worker never exceeds it. Duration is currently

        estimated from the final caption, not verified against the player runtime.'
      operationId: quote_summary_summarize_quote_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SummarizeRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreditQuoteResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /summarize:
    post:
      tags:
      - Summarize
      summary: Summarize Video
      description: 'Request a summary using prepaid credits; cached summaries are free.


        `max_credits` is the caller''s authorized spending ceiling (default 1).

        A known video above that ceiling returns 409 with its required credit cost.

        For a new video the worker discovers duration. If the cost exceeds the

        reservation it fails with credit_confirmation_required and releases the

        credits; re-submit with an explicitly confirmed higher limit. No model

        call runs on that failed attempt. Poll GET /jobs/{job_id} for the result.'
      operationId: summarize_video_summarize_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SummarizeRequest'
        required: true
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobAcceptedResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /languages:
    get:
      tags:
      - Summarize
      summary: List Languages
      description: 'The languages POST /summarize accepts (code + English display name) — the

        universe YouTube can caption or auto-translate into. Static and the same for

        every video, so the frontend fetches this once to build its language picker

        and sends a chosen `code` back as the request''s `language`. Public, no auth;

        cached hard since the set rarely changes.'
      operationId: list_languages_languages_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LanguagesResponse'
components:
  schemas:
    CreditQuoteResponse:
      properties:
        youtube_video_id:
          type: string
          title: Youtube Video Id
        language:
          type: string
          title: Language
        cached:
          type: boolean
          title: Cached
        duration_seconds:
          anyOf:
          - type: integer
          - type: 'null'
          title: Duration Seconds
        required_credits:
          anyOf:
          - type: integer
          - type: 'null'
          title: Required Credits
        duration_basis:
          type: string
          const: caption_end
          title: Duration Basis
          default: caption_end
      type: object
      required:
      - youtube_video_id
      - language
      - cached
      title: CreditQuoteResponse
    Language:
      properties:
        code:
          type: string
          title: Code
        name:
          type: string
          title: Name
      type: object
      required:
      - code
      - name
      title: Language
    LanguagesResponse:
      properties:
        languages:
          items:
            $ref: '#/components/schemas/Language'
          type: array
          title: Languages
      type: object
      required:
      - languages
      title: LanguagesResponse
    SummarizeRequest:
      properties:
        url:
          type: string
          title: Url
        max_credits:
          type: integer
          maximum: 10000.0
          minimum: 0.0
          title: Max Credits
          default: 1
        language:
          anyOf:
          - type: string
          - type: 'null'
          title: Language
      type: object
      required:
      - url
      title: SummarizeRequest
    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
    JobAcceptedResponse:
      properties:
        job_id:
          type: integer
          title: Job Id
        status:
          type: string
          title: Status
        summary:
          anyOf:
          - type: string
          - type: 'null'
          title: Summary
      type: object
      required:
      - job_id
      - status
      title: JobAcceptedResponse
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer