AnimGen AI · Schema

VideoPreviewResponse

Artificial IntelligenceAnimationGame DevSpriteSoftware-as-a-Service

Properties

Name Type Description
object string
source_video_asset_id string Stable source video asset ID.
image object Cached PNG contact sheet with a refreshable signed download URL.
width integer Contact sheet width in pixels, including labels and padding.
height integer Contact sheet height in pixels, including labels and padding.
cells array Thumbnails in request order, preserving duplicates.
View JSON Schema on GitHub

JSON Schema

animgen-com-video-preview-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/animgen-com/json-schema/animgen-com-video-preview-response-schema.json",
  "title": "VideoPreviewResponse",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/animgen-com-openapi.json#/components/schemas/VideoPreviewResponse",
  "properties": {
    "object": {
      "type": "string",
      "const": "video_preview",
      "title": "Object",
      "default": "video_preview"
    },
    "source_video_asset_id": {
      "type": "string",
      "format": "uuid",
      "title": "Source Video Asset Id",
      "description": "Stable source video asset ID.",
      "x-description-zh": "稳定的源视频资产 ID。"
    },
    "image": {
      "$ref": "#/$defs/AssetResponse",
      "description": "Cached PNG contact sheet with a refreshable signed download URL.",
      "x-description-zh": "缓存的 PNG 联系表,提供可刷新的签名下载地址。"
    },
    "width": {
      "type": "integer",
      "title": "Width",
      "description": "Contact sheet width in pixels, including labels and padding.",
      "x-description-zh": "联系表宽度,包含标签及留白,单位像素。"
    },
    "height": {
      "type": "integer",
      "title": "Height",
      "description": "Contact sheet height in pixels, including labels and padding.",
      "x-description-zh": "联系表高度,包含标签及留白,单位像素。"
    },
    "cells": {
      "items": {
        "$ref": "#/$defs/PreviewCell"
      },
      "type": "array",
      "title": "Cells",
      "description": "Thumbnails in request order, preserving duplicates.",
      "x-description-zh": "按请求顺序排列的缩略图,保留重复时间点。"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "source_video_asset_id",
    "image",
    "width",
    "height",
    "cells"
  ],
  "$defs": {
    "AssetResponse": {
      "properties": {
        "object": {
          "type": "string",
          "const": "asset",
          "title": "Object",
          "default": "asset"
        },
        "id": {
          "type": "string",
          "format": "uuid",
          "title": "Id",
          "description": "Stable public asset ID; use it to refresh download metadata.",
          "x-description-zh": "稳定公共资产 ID,用于刷新下载信息。"
        },
        "format": {
          "type": "string",
          "title": "Format",
          "description": "Artifact format; inspect actual outputs rather than assuming an array order.",
          "x-description-zh": "实际资产格式,不要依赖 outputs 固定顺序。"
        },
        "mime_type": {
          "type": "string",
          "title": "Mime Type",
          "description": "Asset media type.",
          "x-description-zh": "资产媒体类型。"
        },
        "byte_size": {
          "type": "integer",
          "title": "Byte Size",
          "description": "Expected file size in bytes.",
          "x-description-zh": "文件预期字节数。"
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "title": "Created At",
          "description": "Creation timestamp in UTC.",
          "x-description-zh": "UTC 创建时间。"
        },
        "download_url": {
          "type": "string",
          "title": "Download Url",
          "description": "Sensitive short-lived signed URL. Download without a Bearer header, including after redirects; never log the URL.",
          "x-description-zh": "敏感短期签名 URL;下载及跳转时均不携带 Bearer 头,不记录此 URL。"
        },
        "download_expires_at": {
          "type": "string",
          "format": "date-time",
          "title": "Download Expires At",
          "description": "Signed URL expiry in UTC; refresh via asset lookup when expired.",
          "x-description-zh": "签名 URL 的 UTC 过期时间;过期后重新查询资产。"
        },
        "media": {
          "anyOf": [
            {
              "$ref": "#/$defs/MediaResponse"
            },
            {
              "type": "null"
            }
          ],
          "description": "Whitelisted measured video metadata. Unknown fields are null; non-video assets return null.",
          "x-description-zh": "白名单内的实测视频信息,未知字段为 null;非视频资产为 null。"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "id",
        "format",
        "mime_type",
        "byte_size",
        "created_at",
        "download_url",
        "download_expires_at"
      ],
      "title": "AssetResponse"
    },
    "MediaResponse": {
      "properties": {
        "duration_seconds": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Duration Seconds",
          "description": "Playable video duration measured from presentation timestamps; never provider-requested duration.",
          "x-description-zh": "根据呈现时间戳测得的可播放视频时长,不使用供应商请求时长。"
        },
        "fps": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Fps",
          "description": "Measured average source frame rate; use presentation timestamps for VFR selection.",
          "x-description-zh": "实测源平均帧率;可变帧率选帧仍依据呈现时间戳。"
        },
        "frame_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Frame Count",
          "description": "Decoded source frame count, or null when unknown.",
          "x-description-zh": "解码源帧数,未知为 null。"
        },
        "width": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Width",
          "description": "Displayed video width in pixels, accounting for rotation.",
          "x-description-zh": "考虑旋转后的显示宽度,单位像素。"
        },
        "height": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Height",
          "description": "Displayed video height in pixels, accounting for rotation.",
          "x-description-zh": "考虑旋转后的显示高度,单位像素。"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "MediaResponse"
    },
    "PreviewCell": {
      "properties": {
        "index": {
          "type": "integer",
          "minimum": 0.0,
          "title": "Index",
          "description": "Zero-based position in the original timestamp request.",
          "x-description-zh": "原始时间点请求中的位置,从 0 开始。"
        },
        "requested_time_seconds": {
          "type": "number",
          "title": "Requested Time Seconds",
          "description": "Requested time relative to the playable source origin.",
          "x-description-zh": "相对源视频可播放起点的请求时间。"
        },
        "source_time_seconds": {
          "type": "number",
          "title": "Source Time Seconds",
          "description": "Presentation time of the source frame displayed at the requested time.",
          "x-description-zh": "请求时间正在显示的源帧的呈现时间。"
        },
        "rect": {
          "$ref": "#/$defs/PreviewRect",
          "description": "Image area within the contact sheet; excludes the timestamp label.",
          "x-description-zh": "联系表中的图像区域,不包含时间标签。"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "index",
        "requested_time_seconds",
        "source_time_seconds",
        "rect"
      ],
      "title": "PreviewCell"
    },
    "PreviewRect": {
      "properties": {
        "x": {
          "type": "integer",
          "minimum": 0.0,
          "title": "X",
          "description": "Left pixel from the sheet origin.",
          "x-description-zh": "相对联系表左上角的横向像素坐标。"
        },
        "y": {
          "type": "integer",
          "minimum": 0.0,
          "title": "Y",
          "description": "Top pixel from the sheet origin.",
          "x-description-zh": "相对联系表左上角的纵向像素坐标。"
        },
        "width": {
          "type": "integer",
          "exclusiveMinimum": 0.0,
          "title": "Width",
          "description": "Thumbnail width, excluding padding and label.",
          "x-description-zh": "缩略图宽度,不含留白及标签。"
        },
        "height": {
          "type": "integer",
          "exclusiveMinimum": 0.0,
          "title": "Height",
          "description": "Thumbnail height, excluding padding and label.",
          "x-description-zh": "缩略图高度,不含留白及标签。"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "x",
        "y",
        "width",
        "height"
      ],
      "title": "PreviewRect"
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/animgen-com-video-preview-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.