Skip to content
Source
Sign inSign up
TanStack/schemas

FAL extend-video: resolution-dependent price keeps getting refused as invented_param #304

Send to my agent
Closedposthog[bot](GitHub profile, opens in a new tab) opened this issue 0 comments

Symptom

Since 2026-10-06, rate_card_refused (invented_param) has fired for fal / xai/grok-imagine-video/extend-video once on each FAL extract lap (most recently 2026-10-12 08:01 UTC). The stored models.pricing for the row is null (it was never priced), so no valid card is being lost. The gate is working as designed.

Cause (not a parser bug)

  • The Pricing section in https://fal.ai/models/xai/grok-imagine-video/extend-video/llms.txt bills per second of output plus per second of input video, at a rate that depends on output resolution (480p vs 720p).
  • The endpoint's input schema has only prompt, video_url, duration, and enable_safety_checker. It has no resolution field and no input-duration field. The page does not say what decides the output resolution. It could follow the source video.
  • fal-unit-rate.ts cannot compile this section, so it goes to the extract model. The extract model binds a lever to a request field that does not exist, and the repair turn does not fix that. cardRequestParamsOk then refuses the card, and the cursor rewind retries it on the next lap.
  • fal-ai/chrono-edit-lora-gallery/upscaler, fal-ai/krea-wan-14b/video-to-video, and fal-ai/kling-video/o3/4k/video-to-video/edit have the same invented_param refusal, about once a day each.

Decision needed

For a FAL price that depends on something the request cannot state (here, the output resolution, which may come from the input video):

  1. bind resolution as a usage input (an enum the caller supplies at estimate time), and say so in the extract prompt or a curated compiler rule, or
  2. leave the row unpriced and stop the daily retry for an unchanged section hash, or
  3. something else.

The ingest maintenance run did not change code, because each option changes pricing semantics.

Done when a full FAL extract lap emits no rate_card_refused for this id and the stored card (or null) follows the chosen rule.


Created with PostHog Desktop

  1. tombeckenham closed this

Sign in to join this conversation.