GET
/v1/schemas/reactor/video/reactor%2Fltx2
Accept:
Request body
0 properties · 0 required · 0 $defsThis schema isn’t a plain object with properties — showing the raw JSON instead.
application/json
{
"provider": "reactor",
"activity": "video",
"endpointId": "reactor/ltx2",
"kind": "input",
"contentHash": "2ac584f817089a4621c007a05dd7e0bd8328724df60faaee80cb578a1e99d138",
"specRevision": null,
"provenance": {
"sourceUrl": "https://reactor.inc/models/ltx/api#reactor/ltx2",
"sourceHash": "35be03f289d007106d26f125b7fd0bc2acab0f0ffbb999e1dc6727c354804177",
"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": "stop"
},
"data": {
"type": "object",
"properties": {}
}
}
},
{
"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_wpm"
},
"data": {
"type": "object",
"properties": {
"wpm": {
"type": "integer",
"default": 0,
"description": "Words per minute, within the deployment's accepted range (see `wpm_min`/`wpm_max` in `state_update`; 80-220 by default).",
"x-reactor-moderate": false
}
}
}
}
},
{
"type": "object",
"required": [
"command",
"data"
],
"additionalProperties": false,
"properties": {
"command": {
"type": "string",
"const": "set_seed"
},
"data": {
"type": "object",
"properties": {
"seed": {
"type": "integer",
"default": 0,
"description": "Any integer.",
"x-reactor-moderate": false
}
}
}
}
},
{
"type": "object",
"required": [
"command",
"data"
],
"additionalProperties": false,
"properties": {
"command": {
"type": "string",
"const": "set_prompt"
},
"data": {
"type": "object",
"properties": {
"prompt": {
"type": "string",
"default": "",
"maxLength": 800,
"description": "Scene description, up to 800 characters. Read once at `start`; each generation window embeds its slice of the script into this description.",
"x-reactor-moderate": true
}
}
}
}
},
{
"type": "object",
"required": [
"command",
"data"
],
"additionalProperties": false,
"properties": {
"command": {
"type": "string",
"const": "set_script"
},
"data": {
"type": "object",
"properties": {
"script": {
"type": "string",
"default": "",
"maxLength": 10000,
"description": "The speech, up to 10000 characters of plain text — more than the longest run the deployment allows can deliver. Read once at `start`, so it cannot be changed part-way through a run.",
"x-reactor-moderate": true
}
}
}
}
},
{
"type": "object",
"required": [
"command",
"data"
],
"additionalProperties": false,
"properties": {
"command": {
"type": "string",
"const": "set_avatar_image"
},
"data": {
"type": "object",
"properties": {
"avatar_image": {
"$ref": "#/$defs/ReactorUploadReference",
"default": null,
"description": "Image uploaded via the Reactor presigned-URL protocol. Any common still format (PNG, JPEG). A single, well-lit person facing the camera works best; the image is fitted to the 16:9 generation canvas.",
"x-reactor-moderate": false
}
}
}
}
},
{
"type": "object",
"required": [
"command",
"data"
],
"additionalProperties": false,
"properties": {
"command": {
"type": "string",
"const": "set_duration_seconds"
},
"data": {
"type": "object",
"properties": {
"duration_seconds": {
"type": "number",
"default": 0,
"description": "Run length in seconds, or zero to derive it from the script at the session's pacing.",
"x-reactor-moderate": false
}
}
}
}
}
],
"$defs": {
"ReactorUploadReference": {
"type": "object",
"format": "reactor-upload-reference",
"required": [
"upload_id",
"name",
"mime_type",
"size"
],
"properties": {
"name": {
"type": "string"
},
"size": {
"type": "integer"
},
"mime_type": {
"type": "string"
},
"upload_id": {
"type": "string",
"format": "uuid"
}
},
"description": "Reference to a file uploaded via the Reactor upload protocol."
}
}
}
}Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"reactor","endpointId":"reactor/ltx2","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}