Skip to content

Wan Effects

POST/v1/run

Wan Effects is Alibaba's image-to-video AI model. Bring static images to life with fluid animation, consistent character motion, and professional-grade video 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/effects.

Default: alibaba/wan/effects

stringimagerequired

URL of the input image.

Optional<boolean>turbo_mode

Whether to use turbo mode. If True, the video will be generated faster but with lower quality.

Default: false

Optional<string>effect_type

The type of effect to apply to the video.

Allowed values: squish, muscle, inflate, crush, rotate, gun-shooting, deflate, cakeify, hulk, baby, bride, classy, puppy, snow-white, disney-princess, mona-lisa, painting, pirate-captain, princess, jungle, samurai, vip, warrior, zen, assassin, timelapse, tsunami, fire, zoom-call, doom-fps, fus-ro-dah, hug-jesus, robot-face-reveal, super-saiyan, jumpscare, laughing, cartoon-jaw-drop, crying, kissing, angry-face, selfie-younger-self, animeify, blast

Default: cakeify

Optional<number>lora_scale

The scale of the LoRA weight. Used to adjust effect intensity.

Range: 0.1 to 2

Default: 1

Optional<string>subject

The subject to insert into the predefined prompt template for the selected effect.

Optional<string>aspect_ratio

The aspect ratio of the generated image.

Allowed values: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16

Optional<integer>seed

Random seed for reproducibility. If None, a random seed is chosen.

Response Schema

The submit endpoint returns an accepted generation task. Poll the result endpoint with the returned id for terminal outputs or errors.

Optional<string>error

Error message if the task failed. Empty on success.

stringidrequired

Unique identifier for the generation task.

Optional<string>model

Model ID used for the prediction.

Optional<array>outputs

Array of generated content. Empty when status is not completed.

stringstatusrequired

Status of the task: pending, running, completed, failed, or timeout.

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

Model capabilities

array<string>capability_tagsrequired

Capabilities declared by the model registry.

Default: image-to-video

stringexecution_moderequired

Execution mode declared by the model registry.

Default: async