Skip to content

Wan 2.2 I2V 720p LoRA

POST/v1/run

Wan 2.2 image-to-video LoRA generation with fixed 720p output.

Request body

Submit an async generation request. The model field selects the model; other fields are model-specific input parameters.

stringmodelrequired

Model identifier. Set to alibaba/wan/2.2/i2v-720p-lora.

Default: alibaba/wan/2.2/i2v-720p-lora

stringpromptrequired

The text prompt that guides video generation.

stringimagerequired

URL of the starting image.

Optional<string>negative_prompt

Content to avoid in the generated video.

Optional<string>last_image

Optional ending frame image URL.

Optional<integer>duration

Video duration in seconds.

Allowed values: 5, 8

Default: 5

Optional<array<object>>loras

LoRA adapters applied to the generation. At most three items are accepted.

Items: 0 to 3

Default: []

stringloras[].pathrequired

URL or path of the LoRA weights.

Optional<number>loras[].scale

LoRA weight multiplier.

Default: 1

Optional<array<object>>high_noise_loras

LoRA adapters applied to the high-noise transformer. At most three items are accepted.

Items: 0 to 3

Default: []

stringhigh_noise_loras[].pathrequired

URL or path of the LoRA weights.

Optional<number>high_noise_loras[].scale

LoRA weight multiplier.

Default: 1

Optional<array<object>>low_noise_loras

LoRA adapters applied to the low-noise transformer. At most three items are accepted.

Items: 0 to 3

Default: []

stringlow_noise_loras[].pathrequired

URL or path of the LoRA weights.

Optional<number>low_noise_loras[].scale

LoRA weight multiplier.

Default: 1

Optional<integer>seed

Seed used to make sampling more reproducible when the provider supports it.

Optional<boolean>enable_safety_checker

Whether to request the provider safety checker. The provider may still enforce mandatory moderation.

Response Schema

The submit endpoint returns a run response. If its status is pending or running, poll GET /v1/run/{id} with the returned opaque ID until it reaches a terminal state.

stringidrequired

Opaque SandBase run identifier. Use it exactly as returned; no prefix is guaranteed.

stringstatusrequired

Current public run status.

Allowed values: pending, running, completed, failed, timeout

Optional<string>model

Public SandBase model name used for this run.

Optional<array<object>>outputs

Present only for completed runs. Each object is capability-specific; inspect the selected model schema for its fields.

Optional<object>error

Present only for failed or timeout runs. Contains a public error type and sanitized message.

Optional<string>error.type

Stable public error category.

Optional<string>error.message

Sanitized error message safe to show to clients.

Optional<object>usage

Usage details when available.

Model capabilities

array<string>capability_tagsrequired

Capabilities declared by the model registry.

Default: image-to-video