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

# inspect media

> Look at media, or ask a model about it: a library item, or a picture or video at a web address (urls) read without keeping it. An image returns the picture with its size in pixels. A video returns frames: overview (default: one storyboard grid, frames spread evenly), window (a grid of one span), frame (one moment), strip (one span as frames with the waveform and words under them), or shot_log (every segment in order with its span, frame, spoken lines and a written line each; cloud only, one video). A file with a transcript also returns spoken: the sentences in the span, the opening lines for a whole file (transcribe_media reads the rest). cuts: true adds every shot change and shot length once the video is indexed. Audio returns spoken alone. prompt, on one video or audio file, has a model watch or listen and answer the question, with the moments the answer rests on as seconds; a long read returns a job; cloud only, not for images. Up to 12 refs or urls a call, in order, each item listing its pictures by position. Results are cached. inspect_timeline reads the composite. Free to look; cuts on an unindexed video, shot_log and prompt use cloud processing.



## OpenAPI

````yaml /openapi.json post /tools/inspect_media
openapi: 3.1.0
info:
  title: Eversince API
  version: '1'
  description: >-
    Every Eversince tool as one POST call, plus the routes beside them: the tool
    list, account and keys, uploads, webhooks and models. The prose is at
    https://docs.eversince.ai.
servers:
  - url: https://eversince.ai/api/v1
security:
  - bearer: []
tags:
  - name: Discovery
    description: The tool list, the same on the MCP server, the REST API and the CLI.
  - name: Workspace
    description: Jobs, balances, settings, templates, skills and the overview.
  - name: Library
    description: >-
      Items, search, import, reading media, comments, boards, calendars, the
      brand kit and public links.
  - name: Timeline
    description: 'Video editing: timelines, clips, captions, sound, language and rendering.'
  - name: Canvas
    description: 'Still editing: canvases, slides, layers and rendering.'
  - name: Generation
    description: Image, video and audio generation, upscaling, cutouts and models.
  - name: Research
    description: 'What platforms publish: pulling and keeping posts.'
  - name: Account
    description: Balances, keys, workspaces and script sessions.
  - name: Uploads
    description: Files into the library by presigned upload or by URL.
  - name: Webhooks
    description: Job results posted to a URL as they complete.
  - name: Models
    description: Generation models and cost estimates.
paths:
  /tools/inspect_media:
    post:
      tags:
        - Library
      summary: inspect media
      description: >-
        Look at media, or ask a model about it: a library item, or a picture or
        video at a web address (urls) read without keeping it. An image returns
        the picture with its size in pixels. A video returns frames: overview
        (default: one storyboard grid, frames spread evenly), window (a grid of
        one span), frame (one moment), strip (one span as frames with the
        waveform and words under them), or shot_log (every segment in order with
        its span, frame, spoken lines and a written line each; cloud only, one
        video). A file with a transcript also returns spoken: the sentences in
        the span, the opening lines for a whole file (transcribe_media reads the
        rest). cuts: true adds every shot change and shot length once the video
        is indexed. Audio returns spoken alone. prompt, on one video or audio
        file, has a model watch or listen and answer the question, with the
        moments the answer rests on as seconds; a long read returns a job; cloud
        only, not for images. Up to 12 refs or urls a call, in order, each item
        listing its pictures by position. Results are cached. inspect_timeline
        reads the composite. Free to look; cuts on an unindexed video, shot_log
        and prompt use cloud processing.
      operationId: inspect_media
      parameters:
        - $ref: '#/components/parameters/IdempotencyKey'
        - $ref: '#/components/parameters/WorkspaceId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                ref:
                  description: A library item ref. One of ref, refs or urls.
                  type: string
                refs:
                  description: >-
                    Up to 12 library item refs, each read with the same mode,
                    window and at. One that cannot be read comes back as { ref,
                    error } beside the rest.
                  minItems: 1
                  maxItems: 12
                  type: array
                  items:
                    type: string
                urls:
                  description: >-
                    Up to 12 web addresses of pictures or videos, read without
                    keeping them. The same modes as refs; twelve in all with
                    refs. One that cannot be read comes back as { url, error }.
                  minItems: 1
                  maxItems: 12
                  type: array
                  items:
                    type: string
                    format: uri
                mode:
                  description: >-
                    Video only. overview = whole-video storyboard grid
                    (default); window = zoom into a span; frame = one exact
                    moment; strip = one span (up to 60 s) as frames, waveform
                    and words in one picture.
                  type: string
                  enum:
                    - overview
                    - window
                    - frame
                    - strip
                    - shot_log
                window:
                  description: 'window and strip modes: {start, end} in seconds.'
                  type: object
                  properties:
                    start:
                      type: number
                      minimum: 0
                    end:
                      type: number
                      minimum: 0
                  required:
                    - start
                    - end
                at:
                  description: 'frame mode: timestamp in seconds.'
                  type: number
                  minimum: 0
                tiles:
                  description: >-
                    overview and window: how many frames the grid holds (default
                    36 up to a minute, else 12 or 16). Fewer draws each larger.
                  type: integer
                  minimum: 1
                  maximum: 36
                grid:
                  description: >-
                    An image or a single video frame (frame mode) comes back
                    ruled in tenths, 0 to 1 each way, so a point read off it is
                    the x and y that edit_points on generate_image and
                    generate_video take.
                  type: boolean
                cuts:
                  description: >-
                    Video only: every shot change and shot length. Free once the
                    video is indexed; otherwise the file is read through on
                    cloud processing.
                  type: boolean
                prompt:
                  description: >-
                    A question for a model to answer about one video or audio
                    file: motion, sound, timing, how type enters, when a thing
                    happens. Answered in the call, moments as seconds, or past
                    about 20 seconds as a job_id for get_jobs; no answer, no
                    charge. One ref or url.
                  type: string
                  minLength: 1
                  maxLength: 4000
      responses:
        '200':
          description: >-
            Done, or a job started for work that runs longer (follow it with
            get_jobs).
          content:
            application/json:
              schema:
                type: object
                required:
                  - ok
                  - data
                  - meta
                properties:
                  ok:
                    const: true
                  data:
                    type: object
                    additionalProperties: true
                  meta:
                    type: object
                    properties:
                      request_id:
                        type: string
                      cost:
                        $ref: '#/components/schemas/Cost'
                      cloud_processing:
                        $ref: '#/components/schemas/CloudProcessing'
                  media:
                    type: array
                    items:
                      type: object
                      additionalProperties: true
        default:
          $ref: '#/components/responses/Error'
components:
  parameters:
    IdempotencyKey:
      name: Idempotency-Key
      in: header
      required: false
      schema:
        type: string
      description: >-
        Retry a paid dispatch safely: the same key returns the job already
        dispatched instead of charging again.
    WorkspaceId:
      name: x-workspace-id
      in: header
      required: false
      schema:
        type: string
      description: >-
        The workspace this one call acts in, when it is not the default: for a
        key or a connected agent, one of the workspaces the user allowed it.
  schemas:
    Cost:
      type: object
      description: AI credits the call cost.
      additionalProperties: true
    CloudProcessing:
      type: object
      description: >-
        Cloud processing for this call. minutes is the estimate. charged_minutes
        is what work that finished inside the call was charged; work still
        running or queued is charged when it finishes, and get_jobs reports it
        as cloud_minutes. month_left_minutes is the month after held_minutes,
        which running work holds until it settles, with bought_minutes apart.
      properties:
        ran_on:
          const: cloud
        minutes:
          type: number
        charged_minutes:
          type: number
        queued_minutes:
          type: number
        month_left_minutes:
          type: number
        held_minutes:
          type: number
        bought_minutes:
          type: number
        note:
          type: string
    Error:
      type: object
      required:
        - ok
        - error
      properties:
        ok:
          const: false
        error:
          type: object
          required:
            - code
            - message
            - retryable
          properties:
            code:
              type: string
            message:
              type: string
              description: What went wrong, in words to act on.
            retryable:
              type: boolean
            suggested_action:
              type: string
              description: The next step that works.
            cloud_processing:
              $ref: '#/components/schemas/CloudProcessing'
  responses:
    Error:
      description: The call was refused or failed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: >-
        An API key (es_live_…) from Settings, under API keys, or an OAuth access
        token.

````

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