ClipOnIt Enrich API

B-roll (Pexels/upload) and music library. Starter plan and above.

GitHub OpenAPI

Operations 7

GET /api/broll/search Search stock B-roll videos (Pexels) #
POST /api/clips/{id}/broll Add a B-roll segment (Pexels id or https URL) #
POST /api/clips/{id}/broll/upload Upload your own B-roll file (≤ 200 MB) #
DELETE /api/clips/{id}/broll/{broll_id} Remove a B-roll segment from the edit #
GET /api/music My music library #
POST /api/music Upload a music track (mp3/wav/m4a ≤ 20 MB) #
DELETE /api/music/{id} Delete a music track #

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/cliponit-app:cliponit-app-enrich-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

cliponit-app-enrich-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cliponit App Enrich API
  version: 1.0.0
  contact:
    name: ClipOnIt
    url: https://cliponit.app
  license:
    name: Proprietary
    url: https://cliponit.app
  description: 'Operations tagged enrich across 2 of this provider''s published API definitions: cliponit-app-openapi.json, cliponit-app-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://cliponit.app
  description: Production
- url: http://localhost:3000
  description: Local dev (cargo run)
security:
- ApiKey: []
- SessionCookie: []
- OAuth2:
  - clips
tags:
- name: Enrich
  description: B-roll (Pexels/upload) and music library. Starter plan and above.
paths:
  /api/broll/search:
    get:
      tags:
      - Enrich
      operationId: searchBroll
      summary: Search stock B-roll videos (Pexels)
      description: 12 results, portrait for `vertical`, landscape for `horizontal`. Pass `pexels_id` (or `video_url`) to `addBroll`. Starter plan and above (403).
      parameters:
      - name: q
        in: query
        required: true
        schema:
          type: string
        example: city skyline night
      - $ref: '#/components/parameters/Orientation'
      responses:
        '200':
          description: Results
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BrollResult'
        '400':
          $ref: '#/components/responses/BadRequest'
        '403':
          $ref: '#/components/responses/Forbidden'
    servers:
    - url: https://cliponit.app
      description: Production
    - url: http://localhost:3000
      description: Local dev (cargo run)
  /api/clips/{id}/broll:
    post:
      tags:
      - Enrich
      operationId: addBroll
      summary: Add a B-roll segment (Pexels id or https URL)
      description: Downloads the clip to the server (`-an`, short side 720) and appends it to `edit.broll` of the orientation. `start`/`end` absolute seconds inside the clip. Returns the full B-roll list.
      parameters:
      - $ref: '#/components/parameters/ClipId'
      - $ref: '#/components/parameters/Orientation'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - start
              - end
              properties:
                start:
                  type: number
                end:
                  type: number
                pexels_id:
                  type: integer
                video_url:
                  type: string
                  format: uri
                  description: https only; alternative to `pexels_id`
                query:
                  type: string
                  description: Search query to remember (informational)
      responses:
        '200':
          description: B-roll list
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Broll'
        '400':
          $ref: '#/components/responses/BadRequest'
        '403':
          $ref: '#/components/responses/Forbidden'
    servers:
    - url: https://cliponit.app
      description: Production
    - url: http://localhost:3000
      description: Local dev (cargo run)
  /api/clips/{id}/broll/upload:
    post:
      tags:
      - Enrich
      operationId: uploadBroll
      summary: Upload your own B-roll file (≤ 200 MB)
      parameters:
      - $ref: '#/components/parameters/ClipId'
      - $ref: '#/components/parameters/Orientation'
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required:
              - file
              - start
              - end
              properties:
                file:
                  type: string
                  format: binary
                start:
                  type: number
                end:
                  type: number
      responses:
        '200':
          description: B-roll list
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Broll'
        '403':
          $ref: '#/components/responses/Forbidden'
    servers:
    - url: https://cliponit.app
      description: Production
    - url: http://localhost:3000
      description: Local dev (cargo run)
  /api/clips/{id}/broll/{broll_id}:
    delete:
      tags:
      - Enrich
      operationId: deleteBroll
      summary: Remove a B-roll segment from the edit
      parameters:
      - $ref: '#/components/parameters/ClipId'
      - name: broll_id
        in: path
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/Orientation'
      responses:
        '200':
          description: B-roll list
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Broll'
        '403':
          $ref: '#/components/responses/Forbidden'
      description: Detaches the segment from the requested orientation. The source and ownership record remain available for Undo and other orientations, until clip/video/account deletion or retention. A file shared between clips of the same account is removed after its last reference.
    servers:
    - url: https://cliponit.app
      description: Production
    - url: http://localhost:3000
      description: Local dev (cargo run)
  /api/music:
    get:
      tags:
      - Enrich
      operationId: listMusic
      summary: My music library
      responses:
        '200':
          description: Tracks
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/MusicTrack'
        '403':
          $ref: '#/components/responses/Forbidden'
    post:
      tags:
      - Enrich
      operationId: uploadMusic
      summary: Upload a music track (mp3/wav/m4a ≤ 20 MB)
      description: Stored as mp3. Use the returned `id` as `music.music_id` in `updateClipEdit`.
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required:
              - file
              properties:
                file:
                  type: string
                  format: binary
      responses:
        '200':
          description: Track
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MusicTrack'
        '400':
          $ref: '#/components/responses/BadRequest'
        '403':
          $ref: '#/components/responses/Forbidden'
    servers:
    - url: https://cliponit.app
      description: Production
    - url: http://localhost:3000
      description: Local dev (cargo run)
  /api/music/{id}:
    delete:
      tags:
      - Enrich
      operationId: deleteMusic
      summary: Delete a music track
      parameters:
      - name: id
        in: path
        required: true
        schema:
          $ref: '#/components/schemas/Uuid'
      responses:
        '200':
          $ref: '#/components/responses/Ok'
        '403':
          $ref: '#/components/responses/Forbidden'
    servers:
    - url: https://cliponit.app
      description: Production
    - url: http://localhost:3000
      description: Local dev (cargo run)
components:
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          description: Human-readable message (French or English)
    MusicTrack:
      type: object
      required:
      - id
      - name
      - url
      - duration_s
      properties:
        id:
          $ref: '#/components/schemas/Uuid'
        name:
          type: string
        url:
          type: string
          example: /files/music/<user_id>/<id>.mp3
        duration_s:
          type: number
    Broll:
      type: object
      required:
      - id
      - start
      - end
      - src
      - path
      description: Stock/uploaded footage replacing the picture between `start` and `end` (absolute seconds inside the clip); source audio is kept.
      properties:
        id:
          type: string
        start:
          type: number
        end:
          type: number
        src:
          type: string
          enum:
          - pexels
          - upload
        path:
          type: string
          description: Server path under data/broll/ (send back unchanged)
        preview_url:
          type:
          - string
          - 'null'
        query:
          type:
          - string
          - 'null'
    Uuid:
      type: string
      format: uuid
      example: 6f1c2d6e-3b1a-4c0f-9a0e-2f5d1c7b8e90
    BrollResult:
      type: object
      properties:
        pexels_id:
          type: integer
        preview_url:
          type: string
        video_url:
          type: string
        duration:
          type: number
          description: Seconds
        width:
          type: integer
        height:
          type: integer
    Orientation:
      type: string
      enum:
      - vertical
      - horizontal
      - square
      - portrait45
      default: vertical
      description: vertical = 9:16 1080x1920 (TikTok/Reels/Shorts), horizontal = 16:9 1920x1080 (YouTube), square = 1:1 1080x1080 (feed), portrait45 = 4:5 1080x1350 (Instagram feed). auto-reframe supports vertical|horizontal only.
  responses:
    BadRequest:
      description: 'Validation error — the message names the field, e.g. `champ subtitles.size invalide : attendu 1..3`'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: Feature not included in the user's plan (upgrade at /billing)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: L'API & MCP nécessitent le plan Starter
    Ok:
      description: Done
      content:
        application/json:
          schema:
            type: object
            properties:
              ok:
                type: boolean
                const: true
  parameters:
    Orientation:
      name: orientation
      in: query
      required: false
      description: 'Which edit/export: `vertical` (9:16, default), `horizontal` (16:9), `square` (1:1) or `portrait45` (4:5). Each clip has one independent edit per orientation.'
      schema:
        $ref: '#/components/schemas/Orientation'
    ClipId:
      name: id
      in: path
      required: true
      description: Clip id (UUID)
      schema:
        $ref: '#/components/schemas/Uuid'
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer
      bearerFormat: ck_<64 hex>
      description: 'Personal API key from `POST /api/me/api-key` (Starter plan and above). Also accepted: the session `token` returned by `login`/`register`. Send `Authorization: Bearer ck_…`.'
    SessionCookie:
      type: apiKey
      in: cookie
      name: session
      description: HttpOnly cookie set by `register`/`login` (browser clients).
    OAuth2:
      type: oauth2
      description: 'OAuth 2.1 for MCP connectors (Claude.ai / Claude Desktop / Claude Code / ChatGPT): discovery at `/.well-known/oauth-protected-resource` and `/.well-known/oauth-authorization-server`, dynamic client registration (RFC 7591) at `/oauth/register`, PKCE S256 required, public clients only. Access tokens (`cko_…`, 1 h) are accepted everywhere a `ck_…` key is; refresh tokens (`ckr_…`, 90 days) rotate on use.'
      flows:
        authorizationCode:
          authorizationUrl: https://cliponit.app/oauth/authorize
          tokenUrl: https://cliponit.app/oauth/token
          refreshUrl: https://cliponit.app/oauth/token
          scopes:
            clips: Import videos, read/edit clips, run exports (everything the API key allows)
externalDocs:
  description: Agent guide (llms-api.txt)
  url: https://cliponit.app/llms-api.txt
x-refined-from:
- cliponit-app-openapi.json
- cliponit-app-openapi.yml