> ## 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.

# Start a render

> Render a project's timeline (the branch head, or a pinned revision) on parallel cloud machines. Answers 202 with a job right away; poll it until it ends. Send an `Idempotency-Key` header so a retry returns the same job. Ranges that didn't change since a previous render are reused. Send `captions` to burn in captions from the words on the audio tracks; they cost nothing extra, and every sound on the timeline needs a transcript first, or the render is refused (400) before anything is charged. See [Captions](https://docs.vidjutsu.ai/guides/captions).



## OpenAPI

````yaml /openapi/spec.json post /projects/{project}/renders
openapi: 3.1.0
info:
  title: VidJutsu Cloud API
  version: '2026-11-03'
  description: >-
    Video editing built for agents: upload takes, edit a timeline with history,
    and render it on cloud machines. The same operations are MCP tools at
    https://api.vidjutsu.ai/mcp.
servers:
  - url: https://api.vidjutsu.ai
security:
  - bearer: []
tags:
  - name: Sign-up and sign-in
  - name: Account
  - name: API keys
  - name: Billing
  - name: Media
  - name: Uploads
  - name: Projects
  - name: History
  - name: Shot list
  - name: Layouts
  - name: Audio
  - name: Look and check
  - name: Motion graphics
  - name: Live updates
  - name: Comments
  - name: Renders
  - name: Publishing
  - name: Status
paths:
  /projects/{project}/renders:
    post:
      tags:
        - Renders
      summary: Start a render
      description: >-
        Render a project's timeline (the branch head, or a pinned revision) on
        parallel cloud machines. Answers 202 with a job right away; poll it
        until it ends. Send an `Idempotency-Key` header so a retry returns the
        same job. Ranges that didn't change since a previous render are reused.
        Send `captions` to burn in captions from the words on the audio tracks;
        they cost nothing extra, and every sound on the timeline needs a
        transcript first, or the render is refused (400) before anything is
        charged. See [Captions](https://docs.vidjutsu.ai/guides/captions).
      operationId: render
      parameters:
        - description: Project name (letters, digits, '-', '_').
          in: path
          name: project
          required: true
          schema:
            type: string
        - name: VidJutsu-Version
          in: header
          required: false
          description: >-
            The API version you wrote your integration against, a date. Without
            it you get the latest version. The current version is `2026-11-03`.
            See https://docs.vidjutsu.ai/api-reference/introduction#versioning.
          schema:
            type: string
            pattern: ^\d{4}-\d{2}-\d{2}$
            example: '2026-11-03'
        - name: Idempotency-Key
          in: header
          required: false
          description: >-
            Makes a write safe to retry: the same key returns the first result
            instead of doing the work twice. Up to 128 printable characters.
          schema:
            type: string
            maxLength: 128
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RenderProject'
        required: true
      responses:
        '202':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Job'
          description: The job
        '401':
          description: No API key or token, or it isn't valid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: >-
            Not signed up yet (`no_plan`, with `checkout_url`), or your wallet
            doesn't cover this or is below zero (`insufficient_credits` or
            `payment_failed`, with `top_up_url`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: A limit was reached (`plan_limit`, with `reason` and `contact_url`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: >-
            Too many renders at once, or too many requests. Retry after
            `retry_after_seconds`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        default:
          description: >-
            Any other error: 400 invalid_request, 404 not_found, 409 conflict,
            413 payload_too_large, 502 upstream_error, 503 service_unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    RenderProject:
      additionalProperties: false
      description: What to render and how. Every field is optional.
      properties:
        boxes:
          default: null
          description: 'Cap on machines for this render (default: chosen for you).'
          format: uint
          minimum: 0
          type:
            - integer
            - 'null'
        branch:
          default: main
          type: string
        captions:
          anyOf:
            - $ref: '#/components/schemas/CaptionOptions'
            - type: 'null'
          default: null
          description: >-
            Burn in captions from the words heard on the edited timeline (every
            sound on it needs a transcript). One plain style: white sans on a
            dark box, or on nothing. Leave it out (or send `on: false`) for
            none.
        force:
          default: false
          description: Render even if this exact output already exists.
          type: boolean
        hedge:
          default: true
          description: Run slow ranges again on idle machines (default true).
          type: boolean
        height:
          default: 1080
          description: 1080 (1920x1080) or 2160 (3840x2160, 4K), 30 fps. Default 1080.
          format: uint32
          minimum: 0
          type: integer
        loudness:
          default: null
          description: Normalize the final mix to this integrated loudness (LUFS).
          format: double
          type:
            - number
            - 'null'
        max_peak:
          default: -1
          description: True-peak ceiling for `loudness`, dBTP.
          format: double
          type: number
        range_seconds:
          default: 15
          format: uint32
          minimum: 0
          type: integer
          description: Length of each render range, in seconds (default 15).
        revision:
          default: null
          description: Render this revision instead of the branch head.
          type:
            - string
            - 'null'
        split:
          default: cuts
          description: >-
            `cuts` (default): ranges follow clip boundaries, so later edits
            reuse untouched ranges; `grid`: fixed ranges from frame 0.
          type: string
        style:
          anyOf:
            - $ref: '#/components/schemas/StyleOptions'
            - type: 'null'
          description: |-
            Draw the export in a style from `styles`: its title cards, keyword
            stamps and transitions, in its palette and fonts. The style gives
            the look; you give the words and where they go. Nothing on the
            timeline moves and the sound runs on under a card. Leave out for a
            plain export.
      type: object
    Job:
      additionalProperties: false
      properties:
        cancel_requested:
          type: boolean
        created_at:
          type: integer
          description: Unix seconds.
        error:
          type:
            - string
            - 'null'
        finished_at:
          type:
            - integer
            - 'null'
        job_id:
          description: '`rj_` and 32 hex digits.'
          type: string
        kind:
          enum:
            - render
            - preview
            - transcript
            - studio_sound
            - frames
            - check
            - graphics
        media:
          description: A preview's or transcript's media hash.
          type: string
        output:
          anyOf:
            - additionalProperties: false
              properties:
                bytes:
                  type:
                    - integer
                    - 'null'
                download_url:
                  description: The MP4 as a download, saved under the project's name.
                  type: string
                expires_at:
                  description: >-
                    Unix seconds; when all three links stop working. Read the
                    job again for new ones.
                  type: integer
                hash:
                  type: string
                media:
                  anyOf:
                    - $ref: '#/components/schemas/MediaObject'
                    - type: 'null'
                  description: >-
                    A graphics job: the video as media, ready for an add_media
                    edit.
                source:
                  description: >-
                    A graphics job: {type: graphics, bundle, film}, what made it
                    (graphics_source fetches the files).
                url:
                  description: >-
                    The MP4 itself, served as video/mp4. A fresh 7-day link on
                    every read.
                  type: string
                watch_url:
                  description: >-
                    A page that plays the video in a browser: the link to share.
                    Anyone who has it can watch until expires_at. Present when
                    the server has a files origin.
                  type: string
              required:
                - hash
                - bytes
                - url
                - expires_at
              type: object
            - $ref: '#/components/schemas/Preview'
            - $ref: '#/components/schemas/Frames'
            - $ref: '#/components/schemas/Check'
            - type: 'null'
          description: >-
            The rendered file, the preview, the stills or the check's values,
            once succeeded. A transcript's words are read from its route.
        progress:
          additionalProperties: false
          properties:
            done:
              type: integer
            total:
              type: integer
          required:
            - done
            - total
          type: object
        project:
          description: Empty for a preview or transcript.
          type: string
        report:
          description: Render timings, or null.
        revision:
          description: Pinned when the job was created.
          type: string
        started:
          description: >-
            Starting a preview, transcript or Studio Sound: whether this request
            started the job (false when it exists or is running).
          type: boolean
        started_at:
          type:
            - integer
            - 'null'
        state:
          enum:
            - queued
            - running
            - succeeded
            - failed
            - canceled
        usage:
          anyOf:
            - additionalProperties: false
              properties:
                box_seconds:
                  description: Machine time, from creation to stop.
                  type:
                    - number
                    - 'null'
                boxes:
                  description: Machines used.
                  type:
                    - integer
                    - 'null'
                final:
                  description: 'The job has finished: these numbers will not change.'
                  type: boolean
                frames:
                  description: 'A frames job: stills drawn (null when it failed).'
                  type:
                    - integer
                    - 'null'
                height:
                  type: integer
                memory_gb_seconds:
                  type:
                    - number
                    - 'null'
                output_seconds:
                  description: >-
                    A render: length of the rendered film; a check: length of
                    the timeline checked (null when it failed).
                  type:
                    - number
                    - 'null'
                source_seconds:
                  description: >-
                    A preview or transcript: length of the source. Studio Sound:
                    length of the voices cleaned. Null when it failed.
                  type:
                    - number
                    - 'null'
                vcpu_seconds:
                  type:
                    - number
                    - 'null'
              required:
                - final
                - boxes
                - box_seconds
                - vcpu_seconds
                - memory_gb_seconds
              type: object
            - type: 'null'
          description: >-
            What the job used, once machines have run (also for failed and
            canceled jobs); null when none ran.
      required:
        - job_id
        - kind
        - project
        - revision
        - state
        - created_at
        - started_at
        - finished_at
        - progress
        - cancel_requested
        - error
        - usage
        - output
        - report
      type: object
    Error:
      type: object
      description: >-
        Every error has a stable `code` and a `message`. Billing and limit
        errors add the fields that tell you how to fix them. See
        https://docs.vidjutsu.ai/errors.
      required:
        - code
        - message
        - request_id
      properties:
        code:
          type: string
          enum:
            - unauthenticated
            - forbidden
            - no_account
            - payment_required
            - upgrade_required
            - plan_limit
            - rate_limited
            - not_found
            - invalid_request
            - conflict
            - payload_too_large
            - upstream_error
            - service_unavailable
          description: Stable error code.
        message:
          type: string
          description: What went wrong, in plain words.
        reason:
          type: string
          description: >-
            Finer cause, for example `no_plan`, `insufficient_credits`,
            `payment_failed`, `spend_limit`, `stale_head`.
        checkout_url:
          type: string
          description: >-
            402 `no_plan`: a Stripe Checkout link to add a card and make your
            first payment.
        top_up_url:
          type: string
          description: >-
            402 `insufficient_credits` or `payment_failed`: a Stripe link to add
            credits to your wallet.
        upgrade_url:
          type: string
          description: >-
            402 `upgrade_required`: a link to move to a plan that has the
            feature.
        media_deletes_at:
          type: string
          format: date-time
          description: >-
            402 `payment_failed` (wallet below zero): when your stored media
            will be deleted unless you top up.
        contact_url:
          type: string
          description: '403 plan_limit: where to ask about Enterprise.'
        retry_after_seconds:
          type: integer
          description: '429: when to try again (also sent as a Retry-After header).'
        latest_version:
          type: string
          description: '400 unknown_version: the newest API version.'
        request_id:
          type: string
          description: >-
            Your Idempotency-Key, or a generated id. Quote it when you contact
            support.
    CaptionOptions:
      additionalProperties: false
      description: '`captions` on a render.'
      properties:
        background:
          $ref: '#/components/schemas/CaptionBackground'
          default: solid
          description: |-
            `solid` (default): a dark box behind each line; `none`: white text
            with a thin dark edge.
        'on':
          default: true
          description: 'Default true: sending captions turns them on.'
          type: boolean
        position:
          $ref: '#/components/schemas/CaptionPosition'
          default: bottom
          description: '`bottom` (default) or `top`.'
        size:
          $ref: '#/components/schemas/CaptionSize'
          default: medium
          description: >-
            `small`, `medium` (default) or `large`: 4, 5 or 6.4% of the frame
            height.
      type: object
    StyleOptions:
      additionalProperties: false
      description: '`style` on a render.'
      properties:
        cards:
          description: |-
            Full-frame cards at times on the timeline, for section breaks. A
            card covers the picture for its length.
          items:
            $ref: '#/components/schemas/StyleCard'
          type: array
        id:
          description: A style id from `styles`, e.g. `terminal`.
          type: string
        stamps:
          description: Keywords over the picture, each at the time its word is said.
          items:
            $ref: '#/components/schemas/StyleStamp'
          type: array
        title:
          anyOf:
            - $ref: '#/components/schemas/StyleTitle'
            - type: 'null'
          description: A title card at the start of the video.
        transitions:
          default: true
          description: |-
            Default true: draw the style's transition wherever a video track
            goes from one source straight to another. Cuts inside one source
            stay plain.
          type: boolean
      required:
        - id
      type: object
    MediaObject:
      additionalProperties: false
      properties:
        asset_hash:
          type: string
        duration:
          additionalProperties: false
          properties:
            rate:
              type: integer
            ticks:
              type: integer
          required:
            - ticks
            - rate
          type: object
        id:
          type: string
        kind:
          enum:
            - video
            - audio
            - image
        lineage:
          items:
            type: string
          type: array
      required:
        - id
        - asset_hash
        - duration
        - kind
        - lineage
      type: object
    Preview:
      additionalProperties: false
      properties:
        error:
          type:
            - string
            - 'null'
        filmstrip:
          anyOf:
            - additionalProperties: false
              properties:
                columns:
                  type: integer
                expires_at:
                  type: integer
                  description: Unix seconds.
                frame_height:
                  type: integer
                frame_width:
                  type: integer
                frames:
                  type: integer
                hash:
                  description: The stored file.
                  type: string
                interval_seconds:
                  description: Thumbnail i shows the source at i * interval_seconds.
                  type: integer
                url:
                  description: A fresh one-day link on every read.
                  type: string
              required:
                - hash
                - url
                - expires_at
                - frames
                - columns
                - frame_width
                - frame_height
                - interval_seconds
              type: object
            - type: 'null'
        hash:
          description: The media previewed.
          type: string
        job_id:
          description: The job making (or that made) it.
          type:
            - string
            - 'null'
        kind:
          enum:
            - video
            - audio
        proxy:
          anyOf:
            - additionalProperties: false
              properties:
                bytes:
                  type: integer
                expires_at:
                  type: integer
                  description: Unix seconds.
                hash:
                  description: The stored file.
                  type: string
                height:
                  type: integer
                url:
                  description: A fresh one-day link on every read.
                  type: string
                width:
                  type: integer
              required:
                - hash
                - url
                - expires_at
                - bytes
                - width
                - height
              type: object
            - type: 'null'
        source_seconds:
          description: Length of the source.
          type: number
        state:
          enum:
            - none
            - pending
            - ready
            - failed
        waveform:
          anyOf:
            - additionalProperties: false
              properties:
                channels:
                  const: 1
                encoding:
                  const: uint8
                  description: One byte per peak, 255 full scale.
                expires_at:
                  type: integer
                  description: Unix seconds.
                hash:
                  description: The stored file.
                  type: string
                peaks:
                  type: integer
                peaks_per_second:
                  type: integer
                url:
                  description: A fresh one-day link on every read.
                  type: string
              required:
                - hash
                - url
                - expires_at
                - peaks
                - peaks_per_second
                - channels
                - encoding
              type: object
            - type: 'null'
      required:
        - hash
        - state
      type: object
    Frames:
      additionalProperties: false
      properties:
        expires_at:
          type: integer
          description: Unix seconds.
        frames:
          items:
            additionalProperties: false
            properties:
              bytes:
                type: integer
              content_type:
                const: image/jpeg
              frame:
                description: The output frame (30 fps) whose span holds the asked-for time.
                type: integer
              frame_time:
                additionalProperties: false
                description: 'Exact seconds: ticks / rate.'
                properties:
                  rate:
                    type: integer
                  ticks:
                    type: integer
                required:
                  - ticks
                  - rate
                type: object
              hash:
                description: The stored JPEG.
                type: string
              height:
                type: integer
              seconds:
                description: The frame's start, in seconds.
                type: number
              time:
                additionalProperties: false
                description: 'Exact seconds: ticks / rate.'
                properties:
                  rate:
                    type: integer
                  ticks:
                    type: integer
                required:
                  - ticks
                  - rate
                type: object
              url:
                description: A fresh one-day link on every read.
                type: string
              width:
                type: integer
            required:
              - time
              - frame
              - frame_time
              - seconds
              - hash
              - bytes
              - width
              - height
              - content_type
              - url
            type: object
          type: array
      required:
        - frames
        - expires_at
      type: object
    Check:
      additionalProperties: false
      properties:
        black:
          description: Black picture as rendered, in timeline seconds.
          items:
            additionalProperties: false
            properties:
              from:
                description: Seconds.
                type: number
              seconds:
                type: number
              to:
                type: number
            required:
              - from
              - to
              - seconds
            type: object
          type: array
        duration_seconds:
          type: number
        gains:
          items:
            additionalProperties: false
            properties:
              gain:
                description: The clip's gain ratio; null is unity.
              gain_db:
                description: 20·log10(gain); null for a muted clip (gain 0).
                type:
                  - number
                  - 'null'
              occurrence:
                type: string
              track:
                type: string
            required:
              - track
              - occurrence
              - gain
              - gain_db
            type: object
          type: array
        gaps:
          description: Stretches of a track with no clip, exact.
          items:
            additionalProperties: false
            properties:
              from:
                additionalProperties: false
                description: 'Exact seconds: ticks / rate.'
                properties:
                  rate:
                    type: integer
                  ticks:
                    type: integer
                required:
                  - ticks
                  - rate
                type: object
              kind:
                enum:
                  - video
                  - audio
              seconds:
                type:
                  - number
                  - 'null'
              to:
                additionalProperties: false
                description: 'Exact seconds: ticks / rate.'
                properties:
                  rate:
                    type: integer
                  ticks:
                    type: integer
                required:
                  - ticks
                  - rate
                type: object
              track:
                type: string
            required:
              - from
              - to
              - seconds
              - track
              - kind
            type: object
          type: array
        mix:
          additionalProperties: false
          properties:
            integrated_lufs:
              description: EBU R128 integrated loudness; null when silent (below -70 LUFS).
              type:
                - number
                - 'null'
            silent:
              type: boolean
            true_peak_dbtp:
              type:
                - number
                - 'null'
          required:
            - integrated_lufs
            - true_peak_dbtp
            - silent
          type: object
        no_sound:
          description: Where no audio track has a clip, exact.
          items:
            additionalProperties: false
            properties:
              from:
                additionalProperties: false
                description: 'Exact seconds: ticks / rate.'
                properties:
                  rate:
                    type: integer
                  ticks:
                    type: integer
                required:
                  - ticks
                  - rate
                type: object
              seconds:
                type:
                  - number
                  - 'null'
              to:
                additionalProperties: false
                description: 'Exact seconds: ticks / rate.'
                properties:
                  rate:
                    type: integer
                  ticks:
                    type: integer
                required:
                  - ticks
                  - rate
                type: object
            required:
              - from
              - to
              - seconds
            type: object
          type: array
        project:
          type: string
        revision:
          type: string
        sections:
          items:
            additionalProperties: false
            properties:
              from:
                additionalProperties: false
                description: 'Exact seconds: ticks / rate.'
                properties:
                  rate:
                    type: integer
                  ticks:
                    type: integer
                required:
                  - ticks
                  - rate
                type: object
              integrated_lufs:
                description: >-
                  EBU R128 integrated loudness; null when silent (below -70
                  LUFS).
                type:
                  - number
                  - 'null'
              name:
                type:
                  - string
                  - 'null'
              silent:
                type: boolean
              to:
                additionalProperties: false
                description: 'Exact seconds: ticks / rate.'
                properties:
                  rate:
                    type: integer
                  ticks:
                    type: integer
                required:
                  - ticks
                  - rate
                type: object
              true_peak_dbtp:
                type:
                  - number
                  - 'null'
            required:
              - integrated_lufs
              - true_peak_dbtp
              - silent
              - name
              - from
              - to
            type: object
          type: array
        silence:
          description: Silence in the rendered mix.
          items:
            additionalProperties: false
            properties:
              from:
                description: Seconds.
                type: number
              seconds:
                type: number
              to:
                type: number
            required:
              - from
              - to
              - seconds
            type: object
          type: array
        thresholds:
          additionalProperties: false
          properties:
            black_min_seconds:
              type: number
            black_picture:
              type: number
            black_pixel:
              type: number
            silence_db:
              type: number
            silence_min_seconds:
              type: number
          required:
            - black_min_seconds
            - black_picture
            - black_pixel
            - silence_db
            - silence_min_seconds
          type: object
      required:
        - project
        - revision
        - duration_seconds
        - mix
        - sections
        - black
        - silence
        - gaps
        - no_sound
        - gains
        - thresholds
      type: object
    CaptionBackground:
      enum:
        - solid
        - none
      type: string
    CaptionPosition:
      enum:
        - bottom
        - top
      type: string
    CaptionSize:
      enum:
        - small
        - medium
        - large
      type: string
    StyleCard:
      additionalProperties: false
      description: A card of a styled render.
      properties:
        at:
          description: |-
            When it starts on the timeline, written like an edit's times: whole
            seconds (`12`), a string (`"12.5"`, `"1001/30000"`) or a word's own
            `start` from `timeline_words`.
        kicker:
          type:
            - string
            - 'null'
        seconds:
          description: 'How long it shows, 1 to 60 seconds (default: the style''s own).'
        text:
          type: string
      required:
        - at
        - text
      type: object
    StyleStamp:
      additionalProperties: false
      description: A keyword stamp of a styled render.
      properties:
        at:
          description: |-
            When it lands on the timeline, written like an edit's times: whole
            seconds (`12`), a string (`"12.5"`, `"1001/30000"`) or a word's own
            `start` from `timeline_words`.
        seconds:
          description: 'How long it shows, 0.5 to 60 seconds (default: the style''s own).'
        text:
          description: The keyword. `get_style` says how many characters the style holds.
          type: string
      required:
        - at
        - text
      type: object
    StyleTitle:
      additionalProperties: false
      description: The title card of a styled render.
      properties:
        kicker:
          description: A small line above or beside the title, up to 40 characters.
          type:
            - string
            - 'null'
        seconds:
          description: 'How long it shows, 1 to 60 seconds (default: the style''s own).'
        text:
          description: |-
            The title. `get_style` says how many lines of how many characters
            the style holds; longer text is refused, never shrunk or cut.
          type: string
      required:
        - text
      type: object
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: >-
        A VidJutsu API key (`vj_live_...`) from POST /auth/verify or POST /keys,
        or an OAuth access token (MCP clients).

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.