VEED Reframe API

Turn a landscape video into a vertical 9:16 video that follows the action shot by shot, with optional captions.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 2

POST /v1/reframe Submit a reframe job #
GET /v1/reframe/{job_id} Get a reframe job #

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/veed-io:veed-io-reframe-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

veed-io-reframe-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: VEED Reframe API
  version: 1.0.0
  description: Turn a landscape video into a vertical 9:16 video that follows the action shot by shot, with optional captions.
servers:
- url: https://api.veed.io
tags:
- description: Turn a landscape video into a vertical 9:16 video that follows the action shot by shot, with optional captions.
  name: Reframe
  x-veed-categories:
  - Editing
paths:
  /v1/reframe:
    post:
      description: 'Start an asynchronous job that turns a landscape video into a vertical 9:16 video. For each shot, the model picks a layout from the frames, the faces, who is speaking and the transcript: it follows the speaker, tracks a moving subject, fits a wide view, or stacks two panels (two people talking, or a speaker and their slides). Captions can be burned in.


        **Inputs**


        - `video_url` — public URL of a landscape video with both a video and an audio track, up to 10 minutes and 4 GB. The active speaker is found by voice

        - `captions` — optional; the style of burned-in captions, or `none` (the default). Captions are transcribed from the speech, with the language detected automatically

        - `accent_color` — optional; the colour of the spoken word, as `#rrggbb`. Only `highlight` (default `#ffd43b`) and `pill` (default `#7b61ff`) use it


        **Caption styles**


        - `clean` — white text with a thin outline and a soft shadow

        - `boxed` — black text on a white box behind each line

        - `highlight` — short cues; the spoken word is in the accent colour and each cue pops in

        - `pill` — all caps, two or three words per cue; the spoken word sits on a pill in the accent colour


        Captions are centred and placed where the layout leaves room: on the seam between stacked panels, in the bands around a fitted view, or at about 60% of the height away from faces. They stay clear of the top 15% and the bottom 35% of the frame, where platforms draw their controls.


        **Output**


        An H.264 MP4 at the source height, capped at 1920 and never upscaled (1080p gives 606×1080, 4K gives 1080×1920). It keeps the source audio and timing, so it is as long as the input. The same video can be framed differently on different runs.


        **What happens next**


        The job is **accepted immediately** — you get `202 Accepted` with a `job_id` and status `PROCESSING`. Processing takes minutes. Poll `GET /v1/reframe/{job_id}` until the job is `COMPLETED` or `FAILED`.'
      operationId: submit-reframe
      parameters:
      - description: Set to `0` to not store this request's and response's bodies. They are then not available in your request logs for debugging.
        in: header
        name: X-Veed-Store-IO
        schema:
          default: '1'
          enum:
          - '0'
          - '1'
          type: string
      - description: Number of seconds before the media URLs returned for this request expire. A value above the maximum is capped rather than rejected.
        in: header
        name: X-Veed-Media-Expiration-Seconds
        schema:
          default: 86400
          format: int32
          maximum: 2592000
          type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReframeInput'
        required: true
      responses:
        '202':
          content:
            application/json:
              example:
                data:
                  job_id: 123e4567-e89b-12d3-a456-426614174000
                  status: PROCESSING
                  credits_estimated: 50
              schema:
                $ref: '#/components/schemas/ResourceReframeJob'
          description: Accepted
          headers:
            X-Request-ID:
              description: Correlation id for this request, adopted from the request or minted at the edge.
              schema:
                format: uuid
                type: string
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
          headers:
            X-Request-ID:
              description: Correlation id for this request, adopted from the request or minted at the edge.
              schema:
                format: uuid
                type: string
        '402':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Payment Required
          headers:
            X-Request-ID:
              description: Correlation id for this request, adopted from the request or minted at the edge.
              schema:
                format: uuid
                type: string
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unprocessable Entity
          headers:
            X-Request-ID:
              description: Correlation id for this request, adopted from the request or minted at the edge.
              schema:
                format: uuid
                type: string
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Rate limit exceeded
          headers:
            Retry-After:
              description: Seconds until the rate limit resets.
              schema:
                type: integer
            X-RateLimit-Class:
              description: The rate-limit class that was hit (read, mutation, ai-generation).
              schema:
                type: string
            X-RateLimit-Limit:
              description: Request budget for the matched class.
              schema:
                type: integer
            X-RateLimit-Remaining:
              description: Remaining requests in the current window.
              schema:
                type: integer
            X-RateLimit-Reset:
              description: Unix time (seconds) when the budget resets.
              schema:
                type: integer
            X-Request-ID:
              description: Correlation id for this request, adopted from the request or minted at the edge.
              schema:
                format: uuid
                type: string
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: Correlation id for this request, adopted from the request or minted at the edge.
              schema:
                format: uuid
                type: string
      security:
      - bearerAuth: []
      summary: Submit a reframe job
      tags:
      - Reframe
      x-veed-media:
        inputs:
        - video
        outputs:
        - video
      x-veed-model-slug: veed/reframe
      x-veed-poll-interval-seconds: 15
      x-veed-preview:
        image: https://static-assets.veed.io/api-landing/reframe.png
        video: https://static-assets.veed.io/api-landing/reframe.mp4
      x-veed-pricing:
        currency: USD
        measure: the input video
        notes: The duration is rounded to whole seconds, then up to whole minutes, with a one-minute minimum.
        rates:
        - amount: 0.5
        rounding: up
        unit: minute
        unit_quantity: 1
  /v1/reframe/{job_id}:
    get:
      description: 'Retrieve the current state of a reframe job by its `job_id`.


        The response uses the shared job envelope, whose `status` is one of:


        - **`PROCESSING`** — still reframing; the result is empty

        - **`COMPLETED`** — done; the result holds the vertical video

        - **`FAILED`** — the job was accepted but processing failed; the error holds a failure code


        Poll this endpoint until the status is `COMPLETED` or `FAILED`. An unknown `job_id` returns `404 Not Found`.


        **Failure codes**


        | Code | Meaning |

        | --- | --- |

        | `input_validation` | An input is missing or invalid. `error.details` names the input at fault when there is one. |

        | `content_moderation` | An input breaks the content rules. Only send images, video and voices you own or have permission to use. |

        | `invalid_file` | A file could not be read. Check its format, and that it is not corrupted. |

        | `audio_too_long` | The audio is longer than the model accepts. Shorten it, or split it across jobs. |

        | `transload_failed` | A file could not be downloaded from its URL. Make sure the URL is public and works without a login. |

        | `generation_failed` | The model failed while rendering. Retry; if it keeps failing, contact support with the `job_id`. |

        | `timeout` | The job ran out of time. Retry; if it keeps failing, contact support with the `job_id`. |

        | `insufficient_credits` | The balance ran out before the job could be paid for. Top up in the dashboard''s Billing, then retry. |'
      operationId: get-reframe
      parameters:
      - description: Identifier of the reframe job, returned when the job was submitted.
        in: path
        name: job_id
        required: true
        schema:
          description: Identifier of the reframe job, returned when the job was submitted.
          examples:
          - 123e4567-e89b-12d3-a456-426614174000
          format: uuid
          type: string
      - description: Set to `0` to not store this request's and response's bodies. They are then not available in your request logs for debugging.
        in: header
        name: X-Veed-Store-IO
        schema:
          default: '1'
          enum:
          - '0'
          - '1'
          type: string
      - description: Number of seconds before the media URLs returned for this request expire. A value above the maximum is capped rather than rejected.
        in: header
        name: X-Veed-Media-Expiration-Seconds
        schema:
          default: 86400
          format: int32
          maximum: 2592000
          type: integer
      responses:
        '200':
          content:
            application/json:
              example:
                data:
                  job_id: 123e4567-e89b-12d3-a456-426614174000
                  status: COMPLETED
                  result:
                    video:
                      url: https://static-assets.veed.io/api-examples/reframe-example.mp4
                      content_type: video/mp4
                      file_name: reframe-example.mp4
                      file_size: 2998286
                  credits_charged: 50
              schema:
                $ref: '#/components/schemas/ResourceReframeJob'
          description: OK
          headers:
            X-Request-ID:
              description: Correlation id for this request, adopted from the request or minted at the edge.
              schema:
                format: uuid
                type: string
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
          headers:
            X-Request-ID:
              description: Correlation id for this request, adopted from the request or minted at the edge.
              schema:
                format: uuid
                type: string
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
          headers:
            X-Request-ID:
              description: Correlation id for this request, adopted from the request or minted at the edge.
              schema:
                format: uuid
                type: string
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unprocessable Entity
          headers:
            X-Request-ID:
              description: Correlation id for this request, adopted from the request or minted at the edge.
              schema:
                format: uuid
                type: string
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Rate limit exceeded
          headers:
            Retry-After:
              description: Seconds until the rate limit resets.
              schema:
                type: integer
            X-RateLimit-Class:
              description: The rate-limit class that was hit (read, mutation, ai-generation).
              schema:
                type: string
            X-RateLimit-Limit:
              description: Request budget for the matched class.
              schema:
                type: integer
            X-RateLimit-Remaining:
              description: Remaining requests in the current window.
              schema:
                type: integer
            X-RateLimit-Reset:
              description: Unix time (seconds) when the budget resets.
              schema:
                type: integer
            X-Request-ID:
              description: Correlation id for this request, adopted from the request or minted at the edge.
              schema:
                format: uuid
                type: string
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: Correlation id for this request, adopted from the request or minted at the edge.
              schema:
                format: uuid
                type: string
      security:
      - bearerAuth: []
      summary: Get a reframe job
      tags:
      - Reframe
components:
  schemas:
    ReframeJob:
      additionalProperties: false
      properties:
        credits_charged:
          description: Credits charged for the job. Present once the job is COMPLETED and the final charge is known.
          format: int32
          type: integer
        credits_estimated:
          description: 'Credits quoted before the job ran. Present only on the response that created the job. This is an estimate, not the price: the charged amount can be higher or lower.'
          format: int32
          type: integer
        error:
          $ref: '#/components/schemas/JobErrorReframeErrorCode'
          description: Failure information. Present once the job has FAILED.
        job_id:
          description: Stable identifier of the job and of the resource it produces.
          format: uuid
          type: string
        result:
          $ref: '#/components/schemas/Reframe'
          description: The produced resource. Present once the job is COMPLETED.
        status:
          description: Current lifecycle state of the job.
          enum:
          - PROCESSING
          - COMPLETED
          - FAILED
          - CANCELLED
          type: string
      required:
      - job_id
      - status
      type: object
    Reframe:
      additionalProperties: false
      properties:
        video:
          $ref: '#/components/schemas/File'
          description: The input video reframed to 9:16, with any captions burned in. It keeps the source audio and length.
      required:
      - video
      type: object
    JobErrorReframeErrorCode:
      additionalProperties: false
      properties:
        code:
          description: Stable, machine-readable failure code for this job type.
          enum:
          - input_validation
          - content_moderation
          - invalid_file
          - audio_too_long
          - transload_failed
          - generation_failed
          - timeout
          - insufficient_credits
          type: string
        details:
          description: Optional structured failure details.
          items:
            $ref: '#/components/schemas/JobErrorDetail'
          type:
          - array
          - 'null'
        message:
          description: Human-readable failure message.
          type: string
      required:
      - code
      - message
      type: object
    ReframeInput:
      additionalProperties: false
      properties:
        $schema:
          description: A URL to the JSON Schema for this object.
          examples:
          - https://api.veed.io/schemas/ReframeInput.json
          format: uri
          readOnly: true
          type: string
        accent_color:
          description: 'Colour of the spoken word, as #rrggbb. Only the highlight and pill styles use it. Omit it for the style default.'
          examples:
          - '#ff0066'
          pattern: ^#[0-9a-fA-F]{6}$
          type: string
        captions:
          default: none
          description: Style of the burned-in captions, or none for no captions.
          enum:
          - none
          - clean
          - boxed
          - highlight
          - pill
          examples:
          - boxed
          type: string
        video_url:
          description: URL of a landscape video with both a video and an audio track, up to 10 minutes and 4 GB.
          examples:
          - https://static-assets.veed.io/api-examples/reframe-input.mp4
          format: uri
          maxLength: 8192
          minLength: 1
          pattern: ^[Hh][Tt][Tt][Pp][Ss]?://
          patternDescription: an http(s) URL
          type: string
      required:
      - video_url
      type: object
    ErrorDetail:
      additionalProperties: false
      properties:
        field:
          type: string
        message:
          type: string
        reason:
          enum:
          - api_key_expired
          - api_key_inactive
          - api_key_invalid
          - api_key_revoked
          - api_key_workspace_unavailable
          - insufficient_credits
          - job_not_found
          - model_access_required
          - oauth_token_invalid
          type: string
        retry_after_ms:
          format: int64
          type: integer
        type:
          type: string
        value: {}
      required:
      - type
      type: object
    JobErrorDetail:
      additionalProperties: false
      properties:
        field:
          description: Dotted path to the offending input, when applicable.
          type: string
        message:
          description: Human-readable explanation of this detail.
          type: string
        type:
          description: The category of this detail entry.
          type: string
      required:
      - type
      - message
      type: object
    ErrorResponse:
      additionalProperties: false
      properties:
        $schema:
          description: A URL to the JSON Schema for this object.
          examples:
          - https://api.veed.io/schemas/ErrorResponse.json
          format: uri
          readOnly: true
          type: string
        error:
          $ref: '#/components/schemas/ErrorBody'
      required:
      - error
      type: object
    ErrorBody:
      additionalProperties: false
      properties:
        code:
          enum:
          - invalid_request
          - unauthenticated
          - insufficient_tokens
          - permission_denied
          - not_found
          - conflict
          - rate_limited
          - unavailable
          - internal
          type: string
        details:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type:
          - array
          - 'null'
        message:
          type: string
        request_id:
          type: string
      required:
      - code
      - message
      - request_id
      type: object
    File:
      additionalProperties: false
      properties:
        content_type:
          description: The mime type of the file.
          examples:
          - video/mp4
          type: string
        file_name:
          description: The name of the file.
          type: string
        file_size:
          description: The size of the file in bytes.
          format: int64
          type: integer
        url:
          description: The URL where the file can be downloaded from.
          type: string
      required:
      - url
      type: object
    ResourceReframeJob:
      additionalProperties: false
      properties:
        $schema:
          description: A URL to the JSON Schema for this object.
          examples:
          - https://api.veed.io/schemas/ResourceReframeJob.json
          format: uri
          readOnly: true
          type: string
        data:
          $ref: '#/components/schemas/ReframeJob'
      required:
      - data
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: API key
      description: 'Workspace API key presented as a bearer token: `Authorization: Bearer vp_...`.'
      scheme: bearer
      type: http