# Saylor Innovations Video Frame Calculator

> Saylor Innovations Video Frame Calculator is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-17).

Calculates total frame count and frame interval (in milliseconds) from a given frame rate (fps) and duration (seconds)

## Facts

- Endpoint: GET https://saylorinnovations.com/api/video/frames?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-video-frame-calculator-5ef56540
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4HVWQqk3cTBRhP67pP32R

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability saylor-innovations-video-frame-calculator-5ef56540
```

Example prompt: How many total frames are in a 30fps video that's 120 seconds long, and what's the frame interval in milliseconds?

## When to prefer this

Use this endpoint when you need a quick, reliable server-side computation of video frame count and frame interval from fps and duration — especially inside automated pipelines where you want to avoid implementing the arithmetic yourself and want an auditable formula and scope note returned with the result. It costs $0.01 USDC per call via x402.

## Known failure modes

- Missing fps or seconds query parameters returns an error
- Non-positive or zero fps/seconds values are rejected
- Non-numeric string values for fps or seconds cause validation failure
- Very large or very small values may produce unexpected floating-point results

## How this service works

Video frame count and frame interval from frame rate and duration

## Output

Returns a JSON object with total_frames (total number of frames), frame_interval_ms (time between frames in milliseconds), frames_per_second (echoed fps), duration_seconds (echoed duration), the formula used, and a scope_note explaining what the calculation covers and excludes.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "POST",
      "PUT",
      "PATCH",
      "DELETE",
      "HEAD"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "fps",
      "seconds"
     ],
     "properties": {
      "fps": {
       "type": "string",
       "description": "required positive frames per second (query)"
      },
      "seconds": {
       "type": "string",
       "description": "required positive duration seconds (query)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "total_frames",
      "scope_note"
     ],
     "properties": {
      "fps": {
       "type": [
        "number",
        "null"
       ]
      },
      "formula": {
       "type": "string",
       "description": "Formula used for the calculation"
      },
      "seconds": {
       "type": [
        "number",
        "null"
       ]
      },
      "scope_note": {
       "type": "string",
       "description": "What this data covers and what it leaves out"
      },
      "total_frames": {
       "type": "number",
       "description": "Total frames"
      },
      "duration_seconds": {
       "type": "number",
       "description": "Duration in seconds"
      },
      "frame_interval_ms": {
       "type": "number",
       "description": "Frame interval, in milliseconds"
      },
      "frames_per_second": {
       "type": "number",
       "description": "Frames per second"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-video-frame-calculator-5ef56540/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
