GET

/v1/schemas/llmgateway/video/v1/videos

kind inputactivity videohash 62bf8c9e…extracted Dec 4, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.

upstream-spec

Source trace
221c658ceb96dbcca1e5ee7788f274475f93836dc0d4abe4a80f10892e91724f
{
  "fetchedAt": 1796361038,
  "extractorVersion": "2",
  "verifiedAt": null
}

Request body

19 properties · 2 required · 0 $defs
propertytypedescriptionconstraints
prompt*stringText prompt describing the video to generate.length ≥ 1
seconds*integerOutput duration in seconds. Supported values depend on the selected model.n ≥ 1
modelstringThe video generation model to use. Supports current Veo and Sora video models, including provider-prefixed variants like openai/sora-2 or google-vertex/veo-3.1-generate-preview.default: "veo-3.1-generate-preview"
sizestringOutput resolution in OpenAI widthxheight format. Supported values depend on the selected model. Defaults to 1280x720, or to the model's closest supported landscape size when it does not offer 1280x720.
callback_urlstringLLMGateway extension. When set, a signed webhook is delivered after the job reaches a terminal state.format: uri
callback_secretstringLLMGateway extension. Shared secret used to sign webhook deliveries with HMAC-SHA256.length ≥ 1
input_referencestring | object | string | object[]Reference image input alias. Accepts HTTPS URLs or base64 data URLs and routes to provider-specific image-guided video generation when supported.
last_framestring | objectOptional ending frame for frame-to-video generation. Requires image and is routed to providers that support first/last-frame generation.
audiobooleanWhether the generated video should include audio. Defaults to true when the model can generate audio, otherwise false.
reasoning_effortenumFLUX 3 Max reasoning effort. Defaults to high.low | high
ninteger
imagestring | objectInput image for image-to-video generation. Supports HTTPS URLs and base64 data URLs. Routed to provider-specific image-to-video generation when supported by the selected model.
reference_imagesstring | object[]Reference images for provider-specific asset or material-guided video generation. ByteDance Seedance 2.x models accept up to 9 and Alibaba Wan 3.0 up to 10; other providers accept up to 3.items ≥ 1 · items ≤ 10
reference_videosstring | object[]One to three reference videos (HTTPS URLs) for omni-reference video generation. Currently supported on ByteDance Seedance 2.x and Gemini Omni models and can be combined with reference_images.items ≥ 1 · items ≤ 3
videostring | objectLLMGateway extension. Source video (up to 10 seconds) to edit or extend, see video_task. Must be a publicly reachable HTTPS URL. Currently only supported on google-ai-studio Gemini Omni models.
video_taskenumLLMGateway extension. What to do with `video`: `edit` (default) changes the source and keeps its length, ignoring `seconds`; `extend` appends a `seconds`-long continuation.edit | extend
reference_audiosstring | object[]One to three reference audio clips (HTTPS URLs) for omni-reference video generation. Supported on ByteDance Seedance 2.x models, where they can be combined with reference_images and reference_videos, and on VEED Fabric models, which take exactly one clip as th…items ≥ 1 · items ≤ 3
safety_identifierstringOpaque end-user identifier stored in log params.safety_identifier. Never forwarded upstream and never replaces LLM Gateway's provider-facing identifier.length ≤ 128
userstringLegacy end-user identifier, recorded as params.safety_identifier when safety_identifier is absent and it is at most 128 characters. Never forwarded upstream.

Validate a payload

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