/v1/schemas/openrouter/video/videos/alibaba/wan-2.7
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace0d19a8453874651361f64fbd51045d9d1d4868b39f7eb85b9866fee302c50de2{
"fetchedAt": 1794547804,
"extractorVersion": "2",
"verifiedAt": null
} |
Request body
18 properties · 1 required · 8 $defs| property | type | description | constraints |
|---|---|---|---|
| model* | enum | Model id (fixed for this model-constrained schema) | alibaba/wan-2.7 |
| aspect_ratio | enum | Aspect ratio of the generated video. Omit it to use the model default, which on models with adaptive aspect ratio (e.g. BytePlus Seedance) follows the input image or video. | 16:9 | 9:16 | 1:1 | 4:3 | 3:4 |
| callback_url | string | URL 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 |
| creativity | integer | Creativity level for video upscaling models only. This parameter is not supported by video generation models. | |
| duration | enum | Duration of the generated video in seconds, or -1 to let the provider choose the length (e.g. following an input video). -1 is only accepted by models that list it in supported_durations. | 2 | 3 | 4 | 5 | 6 | 7 · +3 more · n ≥ -1 |
| frame_images | FrameImage[] | 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_audio | boolean | Whether to generate audio alongside the video. Defaults to the endpoint's generate_audio capability flag, false if not set. | |
| input_references | InputReference[] | Reference assets to guide video generation. Accepts image, audio, and video references. Audio and video references are only honored by providers that support them (including BytePlus Seedance generation 2 and newer); other providers use image references and ig… | |
| previous_job_id | string | ID of a completed video job to edit or extend, as returned by the submit response. The new job runs on the same model and endpoint that produced the previous one. Only models that support continuation accept this field. | |
| prompt | string | Text prompt describing the video to generate. Optional for models that support generating a video from image input alone; required by all other models. | |
| provider | object | Provider routing preferences (order, only, ignore) and provider-specific passthrough configuration Passthrough parameters allowed for this model: negative_prompt, prompt_extend, audio, ratio, last_image, video, videos, images. | |
| resolution | enum | Resolution of the generated video | 720p | 1080p |
| seed | integer | If 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. | |
| session_id | string | A unique identifier for grouping related requests (e.g., a conversation or agent workflow). Used for observability grouping in Broadcast and private logging; never sent to the provider. If provided in both the request body and the x-session-id header, the body… | length ≤ 256 |
| size | enum | Exact 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 |
| trace | TraceConfig | Metadata for observability and tracing. Known keys (trace_id, trace_name, span_name, generation_name, parent_span_id) have special handling. Additional keys are passed through as custom metadata to configured broadcast destinations. | |
| upscale_factor | number | Upscale factor for video upscaling models only. This parameter is not supported by video generation models. | n ≥ 0 · format: double |
| user | string | A unique identifier representing your end-user. Forwarded to Broadcast and private logging as the end-user id; never sent to the provider. | length ≤ 256 |
Types
8 $defsContentPartAudioobject
| audio_url* | object | ||
| type* | enum | audio_url |
ContentPartImageobject
| image_url* | object | ||
| type* | enum | image_url |
ContentPartVideoobject
| type* | enum | video_url | |
| video_url* | object |
FrameImageobject | object
InputReferenceobject | object | object
A reference asset used to guide video generation. Image references are supported by all providers; audio and video references are only honored by providers that support them (including BytePlus Seedance generation 2 and newer).
ProviderNameenum
Modal | AkashML | AI21 | AionLabs | Alibaba | Ambient · +118 more
ProviderOptionsobject
Provider-specific options keyed by provider slug. The provider segment is case-insensitive; an endpoint tag after `/` must match the endpoint slug exactly. Only options for the matched provider are forwarded; the rest are ignored. Unrecognized keys are silentl…
| 01ai | object | ||
| ai21 | object | ||
| aion-labs | object | ||
| akashml | object | ||
| alibaba | object | ||
| amazon-bedrock | object | ||
| amazon-bedrock/claude-on-aws | object | ||
| amazon-nova | object | ||
| ambient | object | ||
| antdigital | object | ||
| anthropic | object | ||
| anthropic/2 | object | ||
| anyscale | object | ||
| arcee-ai | object | ||
| assemblyai | object | ||
| atlas-cloud | object | ||
| atoma | object | ||
| avian | object | ||
| azure | object | ||
| baidu | object | ||
| baseten | object | ||
| black-forest-labs | object | ||
| byteplus | object | ||
| centml | object | ||
| cerebras | object | ||
| chutes | object | ||
| cirrascale | object | ||
| clarifai | object | ||
| claude-on-aws | object | ||
| cloudflare | object | ||
| cohere | object | ||
| coreweave | object | ||
| cosine | object | ||
| crofai | object | ||
| crucible | object | ||
| crusoe | object | ||
| darkbloom | object | ||
| databricks | object | ||
| decart | object | ||
| deepgram | object | ||
| deepinfra | object | ||
| deepseek | object | ||
| dekallm | object | ||
| digitalocean | object | ||
| elevenlabs | object | ||
| enfer | object | ||
| fake-provider | object | ||
| featherless | object | ||
| fireworks | object | ||
| fish-audio | object | ||
| friendli | object | ||
| gmicloud | object | ||
| google-ai-studio | object | ||
| google-vertex | object | ||
| gopomelo | object | ||
| groq | object | ||
| heygen | object | ||
| huggingface | object | ||
| hyperbolic | object | ||
| hyperbolic-quantized | object | ||
| inception | object | ||
| inceptron | object | ||
| inferact-vllm | object | ||
| inference-net | object | ||
| infermatic | object | ||
| inflection | object | ||
| inocloud | object | ||
| io-net | object | ||
| ionstream | object | ||
| klusterai | object | ||
| krea | object | ||
| kt | object | ||
| lambda | object | ||
| lepton | object | ||
| liquid | object | ||
| lynn | object | ||
| lynn-private | object | ||
| makora | object | ||
| mancer | object | ||
| mancer-old | object | ||
| mara | object | ||
| meta | object | ||
| minimax | object | ||
| mistral | object | ||
| modal | object | ||
| modelrun | object | ||
| modular | object | ||
| moonshotai | object | ||
| morph | object | ||
| ncompass | object | ||
| near-ai | object | ||
| nebius | object | ||
| nex-agi | object | ||
| nextbit | object | ||
| nineteen | object | ||
| novita | object | ||
| nvidia | object | ||
| octoai | object | ||
| ollama | object | ||
| open-inference | object | ||
| openai | object | ||
| parallel | object | ||
| parasail | object | ||
| pareto-alpha | object | ||
| particle-ai | object | ||
| pearl-research | object | ||
| perceptron | object | ||
| perplexity | object | ||
| phala | object | ||
| poolside | object | ||
| primalabs | object | ||
| primeintellect | object | ||
| quiver | object | ||
| recraft | object | ||
| recursal | object | ||
| recursive | object | ||
| reflection | object | ||
| reka | object | ||
| relace | object | ||
| replicate | object | ||
| respan | object | ||
| river | object | ||
| runway | object | ||
| sail-research | object | ||
| sakana | object | ||
| sakana-ai | object | ||
| sambanova | object | ||
| sambanova-cloaked | object | ||
| scaledown | object | ||
| seed | object | ||
| sf-compute | object | ||
| siliconflow | object | ||
| sourceful | object | ||
| speechify | object | ||
| stealth | object | ||
| stepfun | object | ||
| streamlake | object | ||
| switchpoint | object | ||
| targon | object | ||
| tencent | object | ||
| tenstorrent | object | ||
| thinkingmachines | object | ||
| together | object | ||
| together-lite | object | ||
| typesafe | object | ||
| ubicloud | object | ||
| unbiased | object | ||
| upstage | object | ||
| venice | object | ||
| voyageai | object | ||
| wafer | object | ||
| wandb | object | ||
| wandb-legacy | object | ||
| xai | object | ||
| xiaomi | object | ||
| z-ai | object |
TraceConfigobject
Metadata for observability and tracing. Known keys (trace_id, trace_name, span_name, generation_name, parent_span_id) have special handling. Additional keys are passed through as custom metadata to configured broadcast destinations.
| generation_name | string | ||
| parent_span_id | string | ||
| span_name | string | ||
| trace_id | string | ||
| trace_name | string |
Validate a payload
before you spend tokens$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"openrouter","endpointId":"videos/alibaba/wan-2.7","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}