litellm/tests/unit/llms/fal_ai
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
..
chat fix(logging): warn when drop_params drops a requested reasoning level on the remaining paths (#48933) 2026-10-30 08:48:43 -07:00
image_edit chore(typing): clear 670 basedpyright Any errors by validating provider payloads at the boundary (#45388) 2026-10-13 15:35:23 -07:00
image_generation feat(fal_ai): add Nano Banana 2.1, bill it from fal billable units, fix google/ routing (#51410) 2026-11-12 08:55:08 -08:00
videos fix(fal_ai): bill Luma Ray v3.2 videos at fal's 540p default resolution (#51477) 2026-11-12 23:34:24 +00:00
__init__.py
test_cost_calculator.py feat(fal_ai): bill flat per-video fal.ai models with output_cost_per_video (#51225) 2026-11-12 15:13:49 -08:00