Octen · Schema

VideoTask

SearchWeb SearchArtificial IntelligenceLLMEmbeddingsContent ExtractionModel GatewayMCPAgentsDeep ResearchCompany

Properties

Name Type Description
id string Unique task id, used to download the video.
model string The model used for this task.
status string Task state.
created integer Unix timestamp in seconds when the task was created.
video_url string Signed download URL for the video file, present when `status` is `completed`. Valid for 7 days after generation.
expires_at integer Unix timestamp in seconds when `video_url` expires. Present when `status` is `completed`.
duration integer Length of the generated video in seconds. Present when `status` is `completed`.
resolution string Resolution of the generated video. Present when `status` is `completed`.
usage object
error string Failure reason, present when `status` is `failed`.
code string Machine-readable failure code, present when `status` is `failed`.
View JSON Schema on GitHub

JSON Schema

octen-ai-video-task-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/octen-ai/json-schema/octen-ai-video-task-schema.json",
  "title": "VideoTask",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/octen-ai-videos-api-openapi.yml#/components/schemas/VideoTask",
  "type": "object",
  "required": [
    "id",
    "model",
    "status",
    "created"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique task id, used to download the video."
    },
    "model": {
      "type": "string",
      "description": "The model used for this task."
    },
    "status": {
      "type": "string",
      "enum": [
        "queued",
        "in_progress",
        "completed",
        "failed"
      ],
      "description": "Task state."
    },
    "created": {
      "type": "integer",
      "description": "Unix timestamp in seconds when the task was created."
    },
    "video_url": {
      "type": "string",
      "description": "Signed download URL for the video file, present when `status` is `completed`. Valid for 7 days after generation."
    },
    "expires_at": {
      "type": "integer",
      "description": "Unix timestamp in seconds when `video_url` expires. Present when `status` is `completed`."
    },
    "duration": {
      "type": "integer",
      "description": "Length of the generated video in seconds. Present when `status` is `completed`."
    },
    "resolution": {
      "type": "string",
      "description": "Resolution of the generated video. Present when `status` is `completed`."
    },
    "usage": {
      "$ref": "#/$defs/VideoUsage"
    },
    "error": {
      "type": "string",
      "description": "Failure reason, present when `status` is `failed`."
    },
    "code": {
      "type": "string",
      "description": "Machine-readable failure code, present when `status` is `failed`."
    }
  },
  "$defs": {
    "VideoUsage": {
      "type": "object",
      "description": "Metering for the task. Present only when `status` is `completed`.",
      "properties": {
        "video_seconds": {
          "type": "integer",
          "description": "Video length in seconds."
        },
        "video_tokens": {
          "type": "integer",
          "description": "Billed token count."
        },
        "input_image_count": {
          "type": "integer",
          "description": "Number of input images, returned when images were supplied."
        }
      }
    }
  }
}

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/octen-ai-video-task"
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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.