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

# Apply many video edits

> Adds up to 200 sound effects, text overlays, zooms, blurs, highlights, and image/video overlays across clips in one video. Operations run in array order and commit as one editor revision. Use this instead of repeated single-add requests.



## OpenAPI

````yaml /openapi.json post /v1/videos/{id}/edits
openapi: 3.0.3
info:
  description: >-
    The Tella Public API allows you to programmatically access your videos and
    playlists, including transcripts, chapters, and thumbnails.


    ## Authentication


    All requests require a Bearer token in the Authorization header:

    ```

    Authorization: Bearer tella_pk_xxxxx...

    ```


    API keys can be generated in your Tella workspace settings.


    ## Rate Limiting


    The API is rate-limited to 100 requests per minute per organization.

    Rate limit information is returned in response headers:

    - `X-RateLimit-Limit`: Maximum requests per window

    - `X-RateLimit-Remaining`: Remaining requests in current window

    - `X-RateLimit-Reset`: Unix timestamp when the window resets
  title: Tella Public API
  version: 1.0.0
servers:
  - description: Production
    url: https://api.tella.com
security: []
tags:
  - description: Video operations
    name: Videos
  - description: Sections of a video
    name: Clips
  - description: Playlist operations
    name: Playlists
  - description: Sidebar groups for organizing playlists
    name: Playlist Groups
  - description: Tags for categorizing and filtering videos
    name: Tags
  - description: Personal, workspace, and default video backgrounds
    name: Backgrounds
  - description: >-
      Reusable media saved to a workspace, plus Tella's curated sound effect
      catalog — the same items the editor's media panels show
    name: Library
  - description: Webhook endpoint management
    name: Webhooks
paths:
  /v1/videos/{id}/edits:
    post:
      tags:
        - Videos
      summary: Apply many video edits
      description: >-
        Adds up to 200 sound effects, text overlays, zooms, blurs, highlights,
        and image/video overlays across clips in one video. Operations run in
        array order and commit as one editor revision. Use this instead of
        repeated single-add requests.
      operationId: applyVideoEdits
      parameters:
        - description: Unique video identifier
          in: path
          name: id
          required: true
          schema:
            description: Unique video identifier
            example: vid_abc123def456
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApplyVideoEditsRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplyVideoEditsResponse'
          description: Edits applied
        '400':
          $ref: '#/components/responses/400ErrorResponse'
        '401':
          $ref: '#/components/responses/401ErrorResponse'
        '403':
          $ref: '#/components/responses/403ErrorResponse'
        '404':
          $ref: '#/components/responses/404ErrorResponse'
        '422':
          $ref: '#/components/responses/422ErrorResponse'
        '429':
          $ref: '#/components/responses/429ErrorResponse'
        '500':
          $ref: '#/components/responses/500ErrorResponse'
      security:
        - BearerAuth: []
components:
  schemas:
    ApplyVideoEditsRequest:
      additionalProperties: false
      description: >-
        Add up to 200 sound effects, text overlays, zooms, blurs, highlights,
        and image/video overlays in one editor revision. Operations run in array
        order.
      properties:
        operations:
          items:
            $ref: '#/components/schemas/VideoEditOperation'
          maxItems: 200
          minItems: 1
          type: array
      required:
        - operations
      type: object
    ApplyVideoEditsResponse:
      additionalProperties: false
      description: Created IDs in the same order as the requested operations.
      properties:
        results:
          items:
            additionalProperties: false
            properties:
              id:
                description: Created resource ID
                type: string
              operationId:
                type: string
              type:
                enum:
                  - sound_effect
                  - text_overlay
                  - zoom
                  - blur
                  - highlight
                  - media_overlay
                type: string
            required:
              - operationId
              - type
              - id
            type: object
          type: array
        revision:
          maximum: 9007199254740991
          minimum: 0
          type: integer
      required:
        - revision
        - results
      type: object
    VideoEditOperation:
      description: >-
        One timeline addition. Operations may target different clips in the same
        video.
      discriminator:
        mapping:
          add_blur:
            $ref: '#/components/schemas/BatchAddBlurOperation'
          add_highlight:
            $ref: '#/components/schemas/BatchAddHighlightOperation'
          add_media_overlay:
            $ref: '#/components/schemas/BatchAddMediaOverlayOperation'
          add_sound_effect:
            $ref: '#/components/schemas/BatchAddSoundEffectOperation'
          add_text_overlay:
            $ref: '#/components/schemas/BatchAddTextOverlayOperation'
          add_zoom:
            $ref: '#/components/schemas/BatchAddZoomOperation'
        propertyName: type
      oneOf:
        - $ref: '#/components/schemas/BatchAddSoundEffectOperation'
        - $ref: '#/components/schemas/BatchAddTextOverlayOperation'
        - $ref: '#/components/schemas/BatchAddZoomOperation'
        - $ref: '#/components/schemas/BatchAddBlurOperation'
        - $ref: '#/components/schemas/BatchAddHighlightOperation'
        - $ref: '#/components/schemas/BatchAddMediaOverlayOperation'
      type: object
    ErrorResponse:
      additionalProperties: false
      description: Standard error response format
      properties:
        error:
          additionalProperties: false
          description: Error details
          properties:
            code:
              description: Machine-readable error code
              enum:
                - bad_request
                - unauthorized
                - forbidden
                - not_found
                - unprocessable_entity
                - rate_limit_exceeded
                - internal_server_error
              example: not_found
              type: string
            doc_url:
              description: Link to documentation for this error
              example: https://tella.tv/docs/api-reference/errors#not-found
              format: uri
              type: string
            message:
              description: Human-readable error message
              example: The requested resource was not found.
              type: string
          required:
            - code
            - message
            - doc_url
          type: object
      required:
        - error
      type: object
    BatchAddBlurOperation:
      additionalProperties: false
      properties:
        clipId:
          description: Clip ID
          minLength: 1
          type: string
        dimensions:
          $ref: '#/components/schemas/MaskDimensions'
        durationMs:
          example: 2000
          exclusiveMinimum: true
          maximum: 9007199254740991
          minimum: 0
          type: integer
        operationId:
          description: >-
            Caller-chosen ID used to match this operation to its result. Must be
            unique within the batch.
          example: sound-1
          minLength: 1
          type: string
        point:
          $ref: '#/components/schemas/MaskPoint'
        startTimeMs:
          description: Start time in ms on the clip's playback timeline (cuts applied)
          example: 1000
          maximum: 9007199254740991
          minimum: 0
          type: integer
        type:
          enum:
            - add_blur
          type: string
      required:
        - type
        - operationId
        - clipId
        - startTimeMs
        - durationMs
        - point
        - dimensions
      type: object
    BatchAddHighlightOperation:
      additionalProperties: false
      properties:
        clipId:
          description: Clip ID
          minLength: 1
          type: string
        dimensions:
          $ref: '#/components/schemas/MaskDimensions'
        durationMs:
          example: 2000
          exclusiveMinimum: true
          maximum: 9007199254740991
          minimum: 0
          type: integer
        operationId:
          description: >-
            Caller-chosen ID used to match this operation to its result. Must be
            unique within the batch.
          example: sound-1
          minLength: 1
          type: string
        point:
          $ref: '#/components/schemas/MaskPoint'
        startTimeMs:
          description: Start time in ms on the clip's playback timeline (cuts applied)
          example: 1000
          maximum: 9007199254740991
          minimum: 0
          type: integer
        type:
          enum:
            - add_highlight
          type: string
      required:
        - type
        - operationId
        - clipId
        - startTimeMs
        - durationMs
        - point
        - dimensions
      type: object
    BatchAddMediaOverlayOperation:
      additionalProperties: false
      properties:
        clipId:
          description: Clip ID
          minLength: 1
          type: string
        dimensions:
          allOf:
            - $ref: '#/components/schemas/OverlayDimensions'
        durationMs:
          example: 5000
          exclusiveMinimum: true
          maximum: 9007199254740991
          minimum: 0
          type: integer
        name:
          example: Logo
          type: string
        operationId:
          description: >-
            Caller-chosen ID used to match this operation to its result. Must be
            unique within the batch.
          example: sound-1
          minLength: 1
          type: string
        point:
          allOf:
            - $ref: '#/components/schemas/OverlayPoint'
        sourceId:
          description: >-
            Source ID from `POST /v1/sources` (`kind: image` or `kind: video`).
            The overlay type follows the source's kind.
          example: su_abc123
          type: string
        startTimeMs:
          description: >-
            Start time. Milliseconds on the clip playback timeline (with cuts
            applied) — the same timeline as the cut transcript.
          example: 1000
          maximum: 9007199254740991
          minimum: 0
          type: integer
        type:
          enum:
            - add_media_overlay
          type: string
      required:
        - type
        - operationId
        - clipId
        - sourceId
        - startTimeMs
        - durationMs
      type: object
    BatchAddSoundEffectOperation:
      additionalProperties: false
      properties:
        clipId:
          description: Clip ID
          minLength: 1
          type: string
        durationMs:
          example: 3000
          exclusiveMinimum: true
          maximum: 9007199254740991
          minimum: 0
          type: integer
        name:
          example: Whoosh
          type: string
        operationId:
          description: >-
            Caller-chosen ID used to match this operation to its result. Must be
            unique within the batch.
          example: sound-1
          minLength: 1
          type: string
        presetId:
          description: >-
            Preset ID of a curated Tella sound effect, from a `default` item in
            `GET /v1/library?scope=default`. Placing one copies the effect into
            a source owned by your workspace, so nothing needs uploading.
            Mutually exclusive with `sourceId`; exactly one is required.
          example: cha-ching
          type: string
        sourceId:
          description: >-
            Source ID for the audio, from `POST /v1/sources` (`kind: audio` with
            the audio's duration) or from a `private`/`workspace` item in `GET
            /v1/library?type=sound-effect`. When uploading, send the audio file
            as-is — MP3, WAV, M4A, … — no need to wrap it in an MP4. Mutually
            exclusive with `presetId`; exactly one is required.
          example: su_abc123
          type: string
        startTimeMs:
          description: >-
            Start time. Milliseconds on the clip playback timeline (with cuts
            applied) — the same timeline as the cut transcript.
          example: 1000
          maximum: 9007199254740991
          minimum: 0
          type: integer
        type:
          enum:
            - add_sound_effect
          type: string
        volume:
          description: Playback volume (0 = muted, 1 = original). Defaults to 1.
          example: 1
          minimum: 0
          type: number
      required:
        - type
        - operationId
        - clipId
        - startTimeMs
        - durationMs
      type: object
    BatchAddTextOverlayOperation:
      additionalProperties: false
      properties:
        background:
          allOf:
            - $ref: '#/components/schemas/TextOverlayBackground'
          description: Background behind the text. Defaults to transparent.
        backgroundShape:
          allOf:
            - $ref: '#/components/schemas/TextOverlayBackgroundShape'
          description: Defaults to none.
        clipId:
          description: Clip ID
          minLength: 1
          type: string
        color:
          description: Defaults to white.
          example: '#FFFFFFFF'
          pattern: ^#(?:[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$
          type: string
        dimensions:
          allOf:
            - $ref: '#/components/schemas/OverlayDimensions'
        durationMs:
          example: 5000
          exclusiveMinimum: true
          maximum: 9007199254740991
          minimum: 0
          type: integer
        fontFamily:
          allOf:
            - $ref: '#/components/schemas/TextOverlayFontFamily'
          description: >-
            One of Tella's catalog font families. Defaults to Inter. Anything
            outside the catalog is rejected rather than silently falling back.
        fontSize:
          description: >-
            Font size in artboard pixels. Defaults to 7.5% of the video's
            shorter side, which is the editor's default and readable at any
            canvas size.
          example: 81
          exclusiveMinimum: true
          minimum: 0
          type: number
        fontWeight:
          description: >-
            Variable-font weight axis — 100 (thin) to 900 (black), 500 by
            default. Values outside the chosen font's own axis range are clamped
            when rendered.
          example: 500
          maximum: 1000
          minimum: 1
          type: number
        fontWidth:
          description: >-
            Variable-font width axis, as a percentage — 100 is normal, 50
            ultra-condensed, 150 extra-expanded, 100 by default. Values outside
            the chosen font's own axis range are clamped when rendered.
          example: 100
          exclusiveMinimum: true
          minimum: 0
          type: number
        operationId:
          description: >-
            Caller-chosen ID used to match this operation to its result. Must be
            unique within the batch.
          example: sound-1
          minLength: 1
          type: string
        point:
          allOf:
            - $ref: '#/components/schemas/OverlayPoint'
        startTimeMs:
          description: >-
            Start time. Milliseconds on the clip playback timeline (with cuts
            applied) — the same timeline as the cut transcript.
          example: 1000
          maximum: 9007199254740991
          minimum: 0
          type: integer
        text:
          example: Welcome back
          minLength: 1
          type: string
        textAlign:
          allOf:
            - $ref: '#/components/schemas/TextOverlayTextAlign'
          description: Defaults to center.
        type:
          enum:
            - add_text_overlay
          type: string
      required:
        - type
        - operationId
        - clipId
        - text
        - startTimeMs
        - durationMs
      type: object
    BatchAddZoomOperation:
      additionalProperties: false
      properties:
        clipId:
          description: Clip ID
          minLength: 1
          type: string
        durationMs:
          example: 2000
          exclusiveMinimum: true
          maximum: 9007199254740991
          minimum: 0
          type: integer
        focusPoint:
          allOf:
            - $ref: '#/components/schemas/ZoomFocusPoint'
        operationId:
          description: >-
            Caller-chosen ID used to match this operation to its result. Must be
            unique within the batch.
          example: sound-1
          minLength: 1
          type: string
        scale:
          description: >-
            Magnification factor (1 = no zoom, 3.5 = max). Required — a zoom
            without a scale cannot be rendered.
          example: 2
          maximum: 3.5
          minimum: 1
          type: number
        startTimeMs:
          description: Start time in ms on the clip's playback timeline (cuts applied)
          example: 1000
          maximum: 9007199254740991
          minimum: 0
          type: integer
        type:
          enum:
            - add_zoom
          type: string
        zoomType:
          description: 'Zoom variant: manualZoom or trackingZoom.'
          enum:
            - manualZoom
            - trackingZoom
          example: manualZoom
          type: string
      required:
        - type
        - operationId
        - clipId
        - zoomType
        - startTimeMs
        - durationMs
        - scale
      type: object
    MaskDimensions:
      description: Size of the masked rectangle (percentages)
      properties:
        heightPct:
          example: 50
          maximum: 100
          minimum: 0
          type: number
        widthPct:
          example: 50
          maximum: 100
          minimum: 0
          type: number
      required:
        - widthPct
        - heightPct
      type: object
    MaskPoint:
      description: Top-left corner of the masked rectangle (percentages)
      properties:
        xPct:
          example: 25
          maximum: 100
          minimum: 0
          type: number
        yPct:
          example: 25
          maximum: 100
          minimum: 0
          type: number
      required:
        - xPct
        - yPct
      type: object
    OverlayDimensions:
      description: >-
        Overlay size in artboard pixels. Absolute (not a percentage) so the
        overlay shape never distorts when the artboard dimensions change. Both
        sides must be greater than 0 — the renderer lays the overlay out into
        this box, so a zero or negative side has no valid meaning.
      properties:
        height:
          example: 540
          exclusiveMinimum: true
          minimum: 0
          type: number
        width:
          example: 960
          exclusiveMinimum: true
          minimum: 0
          type: number
      required:
        - width
        - height
      type: object
    OverlayPoint:
      description: >-
        Top-left corner of the overlay, as a percentage of the video canvas
        (0-100). Relative so the anchor survives video aspect ratio changes.
      properties:
        xPct:
          example: 30
          type: number
        yPct:
          example: 30
          type: number
      required:
        - xPct
        - yPct
      type: object
    TextOverlayBackground:
      description: >-
        Background behind a text overlay, in the same object shape as a clip
        background.
      properties:
        color:
          description: >-
            Hex color string. Required when type = 'solid'. Transparent
            backgrounds use #00000000.
          example: '#5E51F8FF'
          pattern: ^#(?:[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$
          type: string
        type:
          description: >-
            Background variant. Text overlays take a solid background; the other
            `ClipBackground` variants are not supported behind text.
          enum:
            - solid
          example: solid
          type: string
      required:
        - type
        - color
      type: object
    TextOverlayBackgroundShape:
      description: Shape of the solid background behind the text.
      enum:
        - none
        - regular
        - squircle
      example: squircle
      type: string
    TextOverlayFontFamily:
      description: >-
        One of Tella's catalog font families — the same list the editor's font
        picker offers.
      enum:
        - Inter
        - Roboto Mono
        - Archivo
        - Barlow
        - Caveat
        - DM Sans
        - Figtree
        - Lora
        - Merriweather
        - Montserrat
        - Nunito Sans
        - Open Sans
        - Oswald
        - Playfair Display
        - Poppins
        - Raleway
        - Roboto
        - Roboto Flex
        - Source Sans 3
        - Space Grotesk
      example: Inter
      type: string
    TextOverlayTextAlign:
      description: Horizontal alignment of the text inside its overlay box.
      enum:
        - left
        - center
        - right
      example: center
      type: string
    ZoomFocusPoint:
      description: >-
        Point on the screen recording to zoom into, expressed as percentages of
        the screen dimensions. Required for `manualZoom`; ignored for
        `trackingZoom`.
      properties:
        xPct:
          description: Horizontal position on the screen frame (0-100). 0 = left edge.
          example: 50
          maximum: 100
          minimum: 0
          type: number
        yPct:
          description: Vertical position on the screen frame (0-100). 0 = top edge.
          example: 50
          maximum: 100
          minimum: 0
          type: number
      required:
        - xPct
        - yPct
      type: object
  responses:
    400ErrorResponse:
      content:
        application/json:
          example:
            error:
              code: bad_request
              doc_url: https://tella.tv/docs/api-reference/errors#bad-request
              message: The request was malformed or contained invalid parameters.
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: The request was malformed or contained invalid parameters.
    401ErrorResponse:
      content:
        application/json:
          example:
            error:
              code: unauthorized
              doc_url: https://tella.tv/docs/api-reference/errors#unauthorized
              message: Authentication is required. Provide a valid API key.
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: Authentication is required. Provide a valid API key.
    403ErrorResponse:
      content:
        application/json:
          example:
            error:
              code: forbidden
              doc_url: https://tella.tv/docs/api-reference/errors#forbidden
              message: You don't have permission to access this resource.
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: You don't have permission to access this resource.
    404ErrorResponse:
      content:
        application/json:
          example:
            error:
              code: not_found
              doc_url: https://tella.tv/docs/api-reference/errors#not-found
              message: The requested resource was not found.
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: The requested resource was not found.
    422ErrorResponse:
      content:
        application/json:
          example:
            error:
              code: unprocessable_entity
              doc_url: https://tella.tv/docs/api-reference/errors#unprocessable-entity
              message: The request was well-formed but contained semantic errors.
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: The request was well-formed but contained semantic errors.
    429ErrorResponse:
      content:
        application/json:
          example:
            error:
              code: rate_limit_exceeded
              doc_url: https://tella.tv/docs/api-reference/errors#rate-limit-exceeded
              message: You have exceeded the rate limit. Please slow down.
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: You have exceeded the rate limit. Please slow down.
    500ErrorResponse:
      content:
        application/json:
          example:
            error:
              code: internal_server_error
              doc_url: https://tella.tv/docs/api-reference/errors#internal-server-error
              message: An unexpected error occurred on the server.
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: An unexpected error occurred on the server.
  securitySchemes:
    BearerAuth:
      description: API key obtained from your Tella account settings
      scheme: bearer
      type: http

````

## Related topics

- [Low-res mode (edit faster)](/docs/help/editing/low-res-mode.md)
- [How to edit a video](/docs/help/editing/edit-a-video.md)
- [Style subtitles](/docs/help/editing/style-subtitles.md)
- [Move videos to another workspace or account](/docs/help/admin/move-videos-between-workspaces.md)
- [Backgrounds](/docs/help/editing/pick-a-background.md)
