Estimate clip cost
estimate_costCost of one clip from the VidFare calculator. Credit-plan rows use plan price ÷ credits × credits per clip, then the percent of credits used. API rows are billed seconds times the stated dollars per second. A length, resolution, audio value, or input the vendor page does not state is returned without a price.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | Credit-plan id, such as hf-starter. Optional. | |
| used | No | Percent of plan credits actually used, from 1 to 100. Defaults to 100. | |
| audio | No | with or without audio. on and off are accepted. Omit to leave audio unset. | |
| input | No | Input mode: t2v, i2v, ref2v, v2v, extend, or lip-sync. Omit to leave input unset. | |
| model | Yes | Model slug, such as wan-3-0 or kling-3-0, or the model name. | |
| seconds | Yes | Clip length in whole seconds, at least 1. | |
| provider | No | Platform name, such as fal, Higgsfield, Krea, or Magnific. A credit-plan platform selects that platform's first plan, the same way the calculator does. | |
| resolution | No | Resolution such as 480p, 720p, 1080p, or 4K. Use 'not listed' when the vendor page does not list one. | |
| apply_deals | No | When true, apply today's credit-plan deals the way the calculator toggle does. Defaults to false. | |
| window_seconds | No | Seconds made during an unlimited window. Defaults to 60. Used only for the break-even note, which is not $0 per second. |