Model API

Wan Fast Text to Video

A short video from a text prompt in seconds, at 480p or 720p in 16:9 or 9:16. The fastest, lowest-cost way to try a video idea before running a larger model.

Model id

Use this in every request
wan-fast-t2v

Run it

Quote the input, start the generation with the quote, then poll the job. Set RAYWAKE_API_KEY first; see Authentication.

# 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-fast-t2v",
  "input": {
    "prompt": "A red ceramic cup on a wooden table, soft morning light"
  }
}'

# 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-fast-t2v", "quote_id": "QUOTE_ID", "input": {"prompt":"A red ceramic cup on a wooden table, soft morning light"}}'

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

Input

Input fields for wan-fast-t2v
NameTypeDescription
promptrequiredstring
Required: Detailed description of the video scene, action, camera movement and style
resolutionstring (enum)
Required. 480p or 720p. Each video is ~5s

Default: 480p

One of: 480p, 720p

aspectRatiostring (enum)
Video aspect ratio: 16:9 (landscape, 832x480 or 1280x720) or 9:16 (vertical, 480x832 or 720x1280)

Default: 16:9

One of: 16:9, 9:16

interpolateOutputstring (enum)
Enable frame interpolation for smoother motion (output is upsampled to 30 fps)

Default: true

One of: true, false

goFaststring (enum)
Enable fast processing mode. Disable for higher quality at the cost of latency

Default: true

One of: true, false

optimizePromptstring (enum)
Translate the prompt to Chinese before generation. May improve adherence for some scenes

Default: false

One of: true, false

sampleShiftnumber
Sample shift factor between 1.0 and 20.0. Higher values can produce more motion

Default: 12

seedinteger
Random seed for reproducibility. Leave zero to randomize the seed

Output

A succeeded job lists its results under outputs, stored on our side. See Jobs for every field.

Job excerpt
"outputs": [
  { "type": "video", "url": "https://…", "mime_type": "video/mp4", "thumbnail_url": "https://…" }
]

Pricing

  • 480p$0.08/ video
  • 720p$0.16/ video

The exact charge for your input comes from a quote. How charges settle