GET

/v1/schemas/openrouter/video/videos%2Falibaba%2Fwan-2.7

kind inputactivity videohash 73c93c18extracted Jul 26, 2026version currentsource upstream spec ↗

Request body

12 properties · 1 required · 6 $defs
propertytypedescriptionconstraints
model*enumModel id (fixed for this model-constrained schema)alibaba/wan-2.7
aspect_ratioenumAspect ratio of the generated video16:9 | 9:16 | 1:1 | 4:3 | 3:4
callback_urlstringURL to receive a webhook notification when the video generation job completes. Overrides the workspace-level default callback URL if set. Must be HTTPS.format: uri
durationenumDuration of the generated video in seconds2 | 3 | 4 | 5 | 6 | 7 · +3 more · n ≥ 1
frame_imagesFrameImage[]Images to use as the first and/or last frame of the generated video. Each image must specify a frame_type of first_frame or last_frame. Frame types supported by this model: first_frame, last_frame.
generate_audiobooleanWhether to generate audio alongside the video. Defaults to the endpoint's generate_audio capability flag, false if not set.
input_referencesInputReference[]Reference assets to guide video generation. Accepts image, audio, and video references. Audio and video references are only honored by providers that support them (currently BytePlus Seedance 2.0); other providers use image references and ignore the rest.
promptstringText prompt describing the video to generate. Optional for models that support generating a video from image input alone; required by all other models.
providerobjectProvider-specific passthrough configuration Passthrough parameters allowed for this model: negative_prompt, prompt_extend, audio, ratio, last_image, video, videos, images.
resolutionenumResolution of the generated video720p | 1080p
seedintegerIf specified, the generation will sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed for all providers.
sizeenumExact pixel dimensions of the generated video in "WIDTHxHEIGHT" format (e.g. "1280x720"). Interchangeable with resolution + aspect_ratio.1280x720 | 720x1280 | 1920x1080 | 1080x1920 | 720x720 | 1080x1080 · +4 more

Validate a payload

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