Skip to content
Source
Sign inSign up
TanStack/schemas

fal image cards: megapixels lever has no estimate (Flux 2, HiDream, HunyuanImage 3, Krea) #760 (GitHub #759)

Opentombeckenham opened this issue 0 comments
tombeckenhamcommented

The rate cards for these fal image models price on a megapixels lever bound to usage, with no estimate:

  • fal-ai/flux-2, fal-ai/flux-2/flash, fal-ai/flux-2/turbo
  • fal-ai/hidream-i1-full
  • fal-ai/hunyuan-image/v3/text-to-image, fal-ai/hunyuan-image/v3/instruct/edit
  • krea/v3/text-to-image, krea/v3/edit
  • fal-ai/krea-2/turbo

The megapixels of the output follow from the request (image_size and num_images), so a caller that must price a request before it runs could do so, but the card gives it no way to. price() throws megapixels (megapixels): required without usage.

Expected: an estimate on megapixels from the request's image_size (with its default) and num_images. For comparison, fal-ai/flux-2-max and fal-ai/flux-2/edit give their megapixel levers a default of 1, so they can be priced, but at 1 MP whatever size is asked for.

Sign in to join this conversation.