> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vidjutsu.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Extract from media

> Pull frames, audio, and metadata from a video via server-side processing. Daily limit: 100/day (resets 00:00 UTC).



## OpenAPI

````yaml /openapi/spec.json post /v1/extract
openapi: 3.0.0
info:
  title: VidJutsu API
  version: 2026-05-24-2
servers:
  - url: https://api.vidjutsu.ai
    description: Production
    variables: {}
security:
  - BearerAuth: []
tags:
  - name: Assets
  - name: Editor Projects
  - name: Scrape
  - name: Billing
  - name: API Keys
  - name: Usage
  - name: Info
  - name: Pricing
  - name: Subscriptions
  - name: Auth
  - name: Accounts
  - name: Posts
  - name: References
  - name: Upload
  - name: Watch
  - name: Extract
  - name: Transcribe
  - name: Check
  - name: Compliance
  - name: Overlay
  - name: Disclaimer
  - name: Agent
paths:
  /v1/extract:
    post:
      tags:
        - Extract
      summary: Extract from media
      description: >-
        Pull frames, audio, and metadata from a video via server-side
        processing. Daily limit: 100/day (resets 00:00 UTC).
      operationId: extractMedia
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExtractRequest'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExtractResponse'
        '403':
          description: >-
            HTTP 403 Forbidden — a valid API key with no active subscription
            called a gated endpoint. Body is the standard ApiError with
            error="subscription_required".
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '429':
          description: >-
            HTTP 429 Too Many Requests — a per-endpoint daily rate limit was
            exceeded. The limit window is fixed and resets at 00:00 UTC. Body is
            the standard ApiError; a Retry-After header carries the seconds
            until reset.
          headers:
            Retry-After:
              required: false
              schema:
                type: integer
                format: int32
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
components:
  schemas:
    ExtractRequest:
      type: object
      required:
        - mediaUrl
      properties:
        mediaUrl:
          type: string
          description: URL of the video to extract from
        frames:
          description: >-
            Frame indices to extract. Use [0, 75, 150] for specific frames,
            'auto' for 3 evenly spaced, or 'last' for the final frame
        audio:
          type: boolean
          description: Extract audio track as WAV
        metadata:
          type: boolean
          description: >-
            Return video metadata (width, height, fps, duration). Defaults to
            true
    ExtractResponse:
      type: object
      properties:
        frames:
          type: array
          items:
            $ref: '#/components/schemas/ExtractFrame'
        audio:
          $ref: '#/components/schemas/ExtractAudio'
        metadata:
          $ref: '#/components/schemas/ExtractMetadata'
    ApiError:
      type: object
      required:
        - error
        - message
      properties:
        error:
          type: string
        message:
          type: string
        setup:
          type: string
    ExtractFrame:
      type: object
      required:
        - index
        - url
      properties:
        index:
          type: integer
          format: int32
        url:
          type: string
    ExtractAudio:
      type: object
      required:
        - url
        - duration
      properties:
        url:
          type: string
        duration:
          type: number
          format: double
    ExtractMetadata:
      type: object
      required:
        - width
        - height
        - fps
        - duration
      properties:
        width:
          type: integer
          format: int32
        height:
          type: integer
          format: int32
        fps:
          type: number
          format: double
        duration:
          type: number
          format: double
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````