Spiral gives your agent every tool with one account. Browse the tools →

falVideoAvailable nowReleased 2025-07-28

Wan-2.2 A14B · Text to Video

fal-ai/wan/v2.2-a14b/text-to-video

Generate video from text with Wan-2.2 A14B · Text to Video from fal through one Spiral API key. It runs in the background and returns video. Pay as you go, with no subscription.

Pricing

resolution: 480p $0.052, 580p $0.078, 720p (default) $0.104 per 16 seconds. Billed on num_frames, default 81, rounded up to the next 16 seconds.

Limits

Runs
In the background
Returns
video
Longest queue wait
1 hour
Run deadline
1 hour
Longest run, end to end
930 minutes
Largest inline input
1 MB
Largest input file
2 GB
Largest output
5 GB

Input

FieldKindDefaultDescription
prompt requiredtext—

The text prompt to guide video generation.

negative_prompttext

Negative prompt for video generation.

num_framesnumber (whole)
17 to 161
81

Number of frames to generate. Must be between 17 to 161 (inclusive).

frames_per_secondnumber (whole)
4 to 60
16

Frames per second of the generated video. Must be between 4 to 60. When using interpolation and adjust_fps_for_interpolation is set to true (default true,) the final FPS will be multiplied by the number of interpolated frames plus one. For example, if the generated frames per second is 16 and the number of interpolated frames is 1, the final frames per second will be 32. If adjust_fps_for_interpolation is set to false, this value will be used as-is.

seednumber (whole)—

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

resolutionone of
480p, 580p, 720p
720p

Resolution of the generated video (480p, 580p, or 720p).

aspect_ratioone of
16:9, 9:16, 1:1
16:9

Aspect ratio of the generated video (16:9 or 9:16).

num_inference_stepsnumber (whole)
2 to 40
27

Number of inference steps for sampling. Higher values give better quality but take longer.

enable_prompt_expansiontrue or falsefalse

Whether to enable prompt expansion. This will use a large language model to expand the prompt with additional details while maintaining the original meaning.

accelerationone of
none, regular
regular

Acceleration level to use. The more acceleration, the faster the generation, but with lower quality. The recommended value is 'regular'.

guidance_scalenumber
1 to 10
3.5

Classifier-free guidance scale. Higher values give better adherence to the prompt but may decrease quality.

guidance_scale_2number
1 to 10
4

Guidance scale for the second stage of the model. This is used to control the adherence to the prompt in the second stage of the model.

shiftnumber
1 to 10
5

Shift value for the video. Must be between 1.0 and 10.0.

interpolator_modelone of
none, film, rife
film

The model to use for frame interpolation. If None, no interpolation is applied.

num_interpolated_framesnumber (whole)
0 to 4
1

Number of frames to interpolate between each pair of generated frames. Must be between 0 and 4.

adjust_fps_for_interpolationtrue or falsetrue

If true, the number of frames per second will be multiplied by the number of interpolated frames plus one. For example, if the generated frames per second is 16 and the number of interpolated frames is 1, the final frames per second will be 32. If false, the passed frames per second will be used as-is.

video_qualityone of
low, medium, high, maximum
high

The quality of the output video. Higher quality means better visual quality but larger file size.

video_write_modeone of
fast, balanced, small
balanced

The write mode of the output video. Faster write mode means faster results but larger file size, balanced write mode is a good compromise between speed and quality, and small write mode is the slowest but produces the smallest file size.

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "fal",
    "model": "fal-ai/wan/v2.2-a14b/text-to-video",
    "input": {
      "prompt": "A close-up of a young woman smiling gently in the rain, raindrops glistening on her face and eyelashes. The video captures the delicate details of her…"
    }
  }'

Frequently asked questions

How much does Wan-2.2 A14B · Text to Video cost?

`resolution`: 480p $0.052, 580p $0.078, 720p (default) $0.104 per 16 seconds. Billed on `num_frames`, default 81, rounded up to the next 16 seconds. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

How do I use Wan-2.2 A14B · Text to Video through an API?

Send `POST /v1/runs` with `"provider": "fal"`, `"model": "fal-ai/wan/v2.2-a14b/text-to-video"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

Do I need an account with fal to use Wan-2.2 A14B · Text to Video?

No. Spiral runs it on its own fal account and charges your Spiral balance.

Can my AI agent use Wan-2.2 A14B · Text to Video?

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.