Quote a video generation request based on pricing inputs (model, duration, resolution, aspect_ratio, audio). Returns the price in USD.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Request body for video price quote. Available fields and valid values vary by model.
The model to get a price quote for.
"wan-2-7-text-to-video"
The duration of the video. Available options vary by model.
2s, 3s, 4s, 5s, 6s, 7s, 8s, 9s, 10s, 11s, 12s, 13s, 14s, 15s, 16s, 18s, 20s, 25s, 30s, Auto "5s"
The aspect ratio. Required for some models with megapixel-rate pricing.
1:1, 2:3, 3:2, 3:4, 4:3, 9:16, 16:9, 21:9 "16:9"
The resolution. Required for models with duration-resolution-rate pricing.
256p, 360p, 480p, 540p, 580p, 720p, 1080p, 1440p, 2160p, 4k, 2x, 4x "720p"
For upscale models only.
1, 2, 4 2
For models which support audio generation and configuration. Defaults to true.
true
For upscale models, the video to upscale. Required to auto-detect duration for pricing.
"data:video/mp4;base64,AAAAFGZ0eXA..."
Video generation price quote