Wan 2.7 Image to Video

alibaba/wan/2.7/image-to-video

Alibaba Wan 2.7 image-to-video model transforming still images into video with native audio generation.

Base price
$0.50USD / run
Execution
async
Model type
video
Input fields
8
Production route

Try the model

Playground

Open playground
Input
The text prompt to generate a video from.

PNG, JPEG, WebP, or GIF · 20 MiB maximum

The URL of the starting image for video generation.

PNG, JPEG, WebP, or GIF · 20 MiB maximum

The URL of the ending image for video generation.
The URL of an audio file to guide video generation.
The duration of the generated video in seconds. Allowed values: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15.
The aspect ratio of the generated video. Allowed values: 16:9, 9:16, 1:1, 4:3, 3:4.
The resolution of the video to generate. Allowed values: 720p, 1080p.
Random seed (0-2147483647) for reproducible results. Omit for a random seed.
OutputExample

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.50 / run

Context & modalities

Input
Schema-defined
Output
video

Capabilities

Chat
Not supported
Vision
Not supported
Reasoning
Not supported
Structured output
Not supported
Function calling
Not supported
Audio input
Not supported

Access

Provider
Alibaba
Model ID
alibaba/wan/2.7/image-to-video
Execution
async
Base URL
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

API README

Wan 2.7 Image to Video

Animate your own picture. image becomes the first frame; add end_image and Wan 2.7 interpolates the motion between the two. Clips run 2–15 seconds, optionally driven by an audio track.

Fields

FieldTypeDefaultNotes
promptstring, required—Up to 50,000 characters.
imageimage URL, required—First frame. JPEG, PNG, or WebP URL.
end_imageimage URL—Optional last frame.
audioaudio URL—Optional WAV/MP3 URL that drives speech or rhythm.
duration2–155Output length in seconds.
aspect_ratio16:9 / 9:16 / 1:1 / 4:3 / 3:4—Omit to follow the input image.
resolution720p / 1080p720pSets the per-second rate.
seedintegerrandomFix it to compare prompt changes.

Billing

You pay for output seconds: $0.10 at 720p and $0.15 at 1080p, the same as Alibaba's list price. Input images and audio are not metered.

Output720p1080p
2s$0.20$0.30
5s (default)$0.50$0.75
10s$1.00$1.50
15s$1.50$2.25

Failed runs are not charged.

Prompting

  • Describe what moves, not what is already visible: “the bus pulls away as rain starts and umbrellas open”.
  • With two frames, keep framing and lighting compatible or describe the transition explicitly.
  • Leave aspect_ratio unset to keep the image's own proportions.

Limits

  • One start image and one optional end image per request; for multi-subject references use alibaba/wan/2.7/reference-to-video.

Also on SandBase

Other Wan 2.7 endpoints: alibaba/wan/2.7/text-to-video, alibaba/wan/2.7/reference-to-video, alibaba/wan/2.7/video-edit, alibaba/wan/2.7/video-extend, alibaba/wan/3.0/video (newer, up to 30s).

Start building

Send your first request

OpenAI-compatible endpoint with unified authentication and usage tracking.

Production API
Unified Run API endpoint
https://api.sandbase.ai/v1/run
Model ID
alibaba/wan/2.7/image-to-video
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "model": "alibaba/wan/2.7/image-to-video",
  "image": "https://static.sandbase.ai/samples/image-to-video/i2v-urban-source.png",
  "prompt": "The bus starts moving slowly down the street, rain begins to fall, pedestrians open umbrellas, camera follows the bus",
  "duration": 5,
  "resolution": "720p"
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
  status=$(printf '%s' "$result" | jq -r .status)
  case "$status" in completed|failed|timeout) break ;; esac
  sleep 2
  result=$(curl --fail-with-body --silent \
    -H "Authorization: Bearer $SANDBASE_API_KEY" \
    "https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"

Choose your model

Compare models

All image & video models
ModelTypeDefault priceReleased
AlibabaVideo$0.50 / runMar 28, 2026
AlibabaVideo$1.40 / runOct 4, 2026
AlibabaVideo$2.80 / runOct 4, 2026
AlibabaVideo$1.00 / runOct 4, 2026
AlibabaVideo$2.00 / runOct 4, 2026
AlibabaVideo$0.70 / runAug 24, 2026

Questions

FAQ

How do I call Alibaba Wan 2.7 Image to Video through SandBase?

Create a SandBase API key, then send requests with the model ID "alibaba/wan/2.7/image-to-video" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

Do I need a separate Alibaba account?

No. One SandBase API key and balance gives you access to Alibaba Wan 2.7 Image to Video and the other models in the catalog; you do not need to sign up with Alibaba separately.