Files
new-api/plugins/tasks
CaIon c8d234baa1 fix(xai): bill video edits and extensions by their output resolution
The "source" resolution tier was not an xAI price. xAI bills edits and
extensions at the output resolution, which keeps the input video's
resolution capped at 720p and is reported nowhere. xai 1.1.0 reserves 720p,
then reads the output MP4's track header with ranged utils.fetch calls to
vidgen.x.ai and settles at 480p when the shorter side is at most 480 pixels.
If the header cannot be read, the task settles at 720p.
2026-10-10 13:40:04 +08:00
..
2026-09-20 23:23:48 +08:00
2026-09-20 23:23:48 +08:00
2026-09-20 23:23:48 +08:00
2026-09-20 23:23:48 +08:00