Wan 2.7

Wan 2.7 is the latest generation AI video model, delivering enhanced motion smoothness, superior scene fidelity, and greater visual coherence.

Input

Fields marked * are required. Review the price before generating.

Text prompt describing the desired video. Max 5000 characters.

URL of the first frame image. Formats: JPEG, JPG, PNG, BMP, WEBP. Max 20 MB.

Uploading a file needs an account. Create accountJPEG, PNG, WebP · up to 25 MB

URL of the last frame image for first-and-last-frame-to-video. Same constraints as image_url.

Uploading a file needs an account. Create accountJPEG, PNG, WebP · up to 25 MB

URL of a video clip to continue from. Format: MP4, MOV. Duration: 2-10s. Max 100 MB. Cannot be combined with image_url.

Uploading a file needs an account. Create accountMP4, WebM · up to 100 MB

URL of driving audio. Supports WAV and MP3. Duration: 2-30s. Max 15 MB.

Uploading a file needs an account. Create accountMP3, WAV · up to 50 MB

Output video resolution tier.

Output video duration in seconds (2-15).

Additional settings

Content to avoid in the video. Max 500 characters.

Enable intelligent prompt rewriting.

Random seed for reproducibility (0-2147483647).

Starting price$0.16 / second

You sign up first. Your settings are kept.

API code for this input

Uses your current form values and requests a new quote. Running the generation step uses your balance. Get an API key

# 1. Price the exact input (quotes are valid for up to 10 minutes)
curl -s https://api.raywake.com/v1/quotes \
  -H "Authorization: Bearer $RAYWAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "wan/v2.7/image-to-video",
  "input": {
    "resolution": "1080p",
    "duration": 5,
    "enable_prompt_expansion": true
  }
}'

# 2. Start the generation with the quote_id from step 1
curl -s https://api.raywake.com/v1/generate \
  -H "Authorization: Bearer $RAYWAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"model": "wan/v2.7/image-to-video", "quote_id": "QUOTE_ID", "input": {"resolution":"1080p","duration":5,"enable_prompt_expansion":true}}'

# 3. Poll until the status is terminal
curl -s https://api.raywake.com/v1/jobs/JOB_ID \
  -H "Authorization: Bearer $RAYWAKE_API_KEY"

Set RAYWAKE_API_KEY before running. Replace QUOTE_ID and JOB_ID in cURL with the returned values. File links can expire; refresh them if you run the code later.

More runnable examples on GitHub

How to use Wan 2.7

Getting started

Use a scene brief for a new shot or a source frame when the starting composition matters.

Review your result

Check motion continuity, the ending transition and sound alignment across the clip.

Inputs and settings

Text mode requires prompt. Choose duration from 2–15 seconds, resolution as 720p or 1080p and aspect_ratio for the layout.

In image mode, use image_url with optional end_image_url, or video_url for continuation. Do not combine image_url and video_url; audio_url is optional.