GET

/v1/schemas/reactor/video/reactor%2Flonglive-v2

kind inputactivity videohash 5bb339f2…extracted Sep 5, 2026version currentsource upstream spec ↗

Request body

0 properties · 0 required · 0 $defs

This schema isn’t a plain object with properties — showing the raw JSON instead.

application/json
{
  "provider": "reactor",
  "activity": "video",
  "endpointId": "reactor/longlive-v2",
  "kind": "input",
  "contentHash": "5bb339f265d02d30e7e8f1c6b521d46dd6f91964c59d3f757ab304ad41d0d4b3",
  "specRevision": null,
  "provenance": {
    "sourceUrl": "https://reactor.inc/models/longlive-v2/api#reactor/longlive-v2",
    "sourceHash": "6a9f67cf0d50891dbb82d8533dfed6ecb0c5e144339807106849e261a45f9554",
    "fetchedAt": 1788585060,
    "extractorVersion": "1",
    "derivation": "upstream-spec",
    "verifiedAt": null
  },
  "createdAt": 1788585060,
  "supersededAt": null,
  "schema": {
    "oneOf": [
      {
        "type": "object",
        "required": [
          "command",
          "data"
        ],
        "additionalProperties": false,
        "properties": {
          "command": {
            "type": "string",
            "const": "pause"
          },
          "data": {
            "type": "object",
            "properties": {}
          }
        }
      },
      {
        "type": "object",
        "required": [
          "command",
          "data"
        ],
        "additionalProperties": false,
        "properties": {
          "command": {
            "type": "string",
            "const": "reset"
          },
          "data": {
            "type": "object",
            "properties": {}
          }
        }
      },
      {
        "type": "object",
        "required": [
          "command",
          "data"
        ],
        "additionalProperties": false,
        "properties": {
          "command": {
            "type": "string",
            "const": "start"
          },
          "data": {
            "type": "object",
            "properties": {}
          }
        }
      },
      {
        "type": "object",
        "required": [
          "command",
          "data"
        ],
        "additionalProperties": false,
        "properties": {
          "command": {
            "type": "string",
            "const": "resume"
          },
          "data": {
            "type": "object",
            "properties": {}
          }
        }
      },
      {
        "type": "object",
        "required": [
          "command",
          "data"
        ],
        "additionalProperties": false,
        "properties": {
          "command": {
            "type": "string",
            "const": "set_seed"
          },
          "data": {
            "type": "object",
            "properties": {
              "seed": {
                "type": "integer",
                "default": 42,
                "minimum": 0,
                "description": "Random seed for noise sampling. Read once when `start` fires; later changes only take effect after `reset` followed by a new `start`.",
                "x-reactor-moderate": false
              }
            }
          }
        }
      },
      {
        "type": "object",
        "required": [
          "command",
          "data"
        ],
        "additionalProperties": false,
        "properties": {
          "command": {
            "type": "string",
            "const": "set_shot"
          },
          "data": {
            "type": "object",
            "properties": {
              "prompt": {
                "type": "string",
                "default": "",
                "description": "What the shot should show, in natural language. Before `start` this is the opening prompt generation begins from; after `start` it drives a soft shot change at the next chunk boundary.",
                "x-reactor-moderate": true
              }
            }
          }
        }
      },
      {
        "type": "object",
        "required": [
          "command",
          "data"
        ],
        "additionalProperties": false,
        "properties": {
          "command": {
            "type": "string",
            "const": "scene_cut"
          },
          "data": {
            "type": "object",
            "properties": {
              "prompt": {
                "type": "string",
                "default": "",
                "description": "What the new scene should show, in natural language. Queued for the next chunk boundary, where it replaces the current scene wholesale (memory wiped, a fresh start). Calling `scene_cut` again before the next chunk fires overwrites the queued prompt.",
                "x-reactor-moderate": true
              }
            }
          }
        }
      },
      {
        "type": "object",
        "required": [
          "command",
          "data"
        ],
        "additionalProperties": false,
        "properties": {
          "command": {
            "type": "string",
            "const": "schedule_shot"
          },
          "data": {
            "type": "object",
            "properties": {
              "prompt": {
                "type": "string",
                "default": "",
                "description": "What the shot should change to when the target chunk is reached, in natural language. Held server-side until then so the change fires with no delay. Scheduling at an `at_session_chunk` already in the schedule replaces that entry; entries whose target chunk has already passed never fire.",
                "x-reactor-moderate": true
              },
              "at_session_chunk": {
                "type": "integer",
                "default": -1,
                "description": "Chunk index at which the shot change fires, counted as total chunks since the most recent `start`. Must be ≥ 0, with no upper bound — schedule beyond the run length to fire after earlier cuts. A target that has already passed never fires.",
                "x-reactor-moderate": false
              }
            }
          }
        }
      },
      {
        "type": "object",
        "required": [
          "command",
          "data"
        ],
        "additionalProperties": false,
        "properties": {
          "command": {
            "type": "string",
            "const": "schedule_scene_cut"
          },
          "data": {
            "type": "object",
            "properties": {
              "prompt": {
                "type": "string",
                "default": "",
                "description": "What the scene should show when the target chunk is reached, in natural language. Held server-side until then so the cut fires with no delay. Scheduling at an `at_session_chunk` already in the schedule replaces that entry; entries whose target chunk has already passed never fire.",
                "x-reactor-moderate": true
              },
              "at_session_chunk": {
                "type": "integer",
                "default": -1,
                "description": "Chunk index at which the cut fires, counted as total chunks since the most recent `start`. Must be ≥ 0, with no upper bound — schedule beyond the run length to fire after earlier cuts. A target that has already passed never fires.",
                "x-reactor-moderate": false
              }
            }
          }
        }
      }
    ]
  }
}

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"reactor","endpointId":"reactor/longlive-v2","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}