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

# Export trimmed video clips

> Exports trimmed video clips to a folder using ffmpeg. Each clip specifies
a source file and in/out points. Supports subfolder organization.




## OpenAPI

````yaml /api-reference/openapi-v1.yaml post /export/clips
openapi: 3.0.3
info:
  title: Jumper Public API
  version: '1.0'
  description: >
    REST API for third-party integrations with Jumper's media analysis engine.


    Jumper analyzes video, image, and audio files — enabling semantic visual
    search,

    speech transcription, and face detection with clustering.

    This API exposes those capabilities for use by MAM systems, automation
    pipelines,

    and custom tooling.


    ## Authentication


    All endpoints except `/health` require a **Jumper Pro** license key.

    The OpenAPI contract models the supported `X-License-Key` header flow.


    Jumper also accepts a `license_key` field in many JSON POST bodies as a

    convenience, but that is a Jumper-specific request-body convention rather

    than an OpenAPI security scheme.


    Invalid or missing keys return `401`. Non-Pro keys return `403`.


    ## Key Concepts


    - **`cache_dir`** — The folder where Jumper stores analysis data (visual
    analysis, transcriptions, face clusters). You choose this path.

    - **`media_paths`** — Absolute filesystem paths to media files. Jumper needs
    direct access to these files.

    - **`hash_str`** — A CRC32-based hash that uniquely identifies a media file.
    Returned by the metadata endpoint.

    - **`model_key`** — Internal identifier for a visual or speech analysis
    model variant (e.g. `v2-medium-256`).
  contact:
    name: Jumper
    url: https://getjumper.io
servers:
  - url: http://localhost:6699/api/v1
    description: Local Jumper backend
security:
  - HeaderAuth: []
paths:
  /export/clips:
    post:
      tags:
        - Export
      summary: Export trimmed video clips
      description: >
        Exports trimmed video clips to a folder using ffmpeg. Each clip
        specifies

        a source file and in/out points. Supports subfolder organization.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - clips
                - output_dir
              properties:
                clips:
                  type: array
                  items:
                    type: object
                    required:
                      - source_path
                      - start_seconds
                      - end_seconds
                    properties:
                      source_path:
                        type: string
                        description: Absolute path to the source media file
                      start_seconds:
                        type: number
                        description: Start time in seconds
                      end_seconds:
                        type: number
                        description: End time in seconds
                      subfolder:
                        type: string
                        description: Optional subfolder within output_dir
                output_dir:
                  type: string
                  description: Directory to write exported clips to
                copy_codec:
                  type: boolean
                  default: true
                  description: Use stream copy (fast) vs re-encode
      responses:
        '200':
          description: Export results
          content:
            application/json:
              schema:
                type: object
                properties:
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        success:
                          type: boolean
                        output_path:
                          type: string
                        error:
                          type: string
                          nullable: true
                  summary:
                    type: string
                    example: 3/3 clips exported successfully
components:
  securitySchemes:
    HeaderAuth:
      type: apiKey
      in: header
      name: X-License-Key
      description: Jumper Pro license key passed via header

````