litellm/tests/unit/llms/fal_ai/videos
Kerry Lu 91808ed2cf
fix(fal_ai): bill Luma Ray v3.2 videos at fal's 540p default resolution (#51477)
fal's luma/agent/ray/v3.2 endpoints default resolution to 540p, but the fal video transformation had no
Luma profile and fell back to the Seedance profile, whose default is 720p. A request that left
resolution unset was stamped video_resolution 720p and priced from output_cost_per_second_720p, which is
twice the 540p rate on text-to-video, image-to-video and reframe and 1.5x on video-to-video.

A Luma Ray profile (540p, 720p, 1080p, default 540p) stamps the real default, so those requests price
from output_cost_per_second, the 540p rate.

Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-11-12 23:34:24 +00:00
..
__init__.py test: move tests/test_litellm/llms into tests/unit/llms (#43191) 2026-09-25 12:43:23 -07:00
test_fal_ai_video_transformation.py fix(fal_ai): bill Luma Ray v3.2 videos at fal's 540p default resolution (#51477) 2026-11-12 23:34:24 +00:00