Video

Make a clip with any video model — estimate

Price the request without executing it. Same body as POST /v1/ai/models/video.

post/v1/ai/models/video/estimate

Request

  • Base URL: https://apihub.co.il
  • URL: https://apihub.co.il/v1/ai/models/video/estimate
  • Auth: HTTP bearer

Request body

seedinteger
audioboolean

Sound made with the clip (ambience, effects, speech) — models with sound only; omitted = the model's default

modelstring required

A video model id from GET /v1/ai/models/catalog — e.g. kling-3.0, wan-3.0, seedance-2.5, minimax-h3, ltx-2.5-fast

route'auto' | 'direct' | 'higgsfield' | 'fal'

Team accounts only (ignored for others): where the model runs for a comparison — the maker directly, or a backup route (Higgsfield, fal) even while the backups are off for customers

stylestring

Models with styles only (genjutsu-restyle): a style preset's id or name — the catalog lists them under styles

promptstring

What happens in the clip: subject, action, camera, light. Required except for models that only work on a video you send

durationinteger

Seconds. Each model has its own lengths (see the catalog); omitted = the model's default. Every generated second is billed

image_urlstring uri

First frame (image-to-video). The clip keeps the picture's look

video_urlstring uri

A video the model works on: the clip to edit, restyle or upscale, or the motion to copy — models that take a video only. Its length is the clip's (duration is not asked)

consent_idstring

A consent you recorded before (the dashboard records one when you tick the box)

resolution'480p' | '720p' | '1080p' | '2k' | '4k'

Omitted = the model's default (usually 720p). Higher costs more per second

aspect_ratio'9:16' | '16:9' | '1:1' | '4:3' | '3:4' | '21:9'
last_frame_urlstring uri

Last frame (needs image_url): the clip moves from the first picture to this one — models with first+last frame only

negative_promptstring

What to keep out of the clip (models that take it)

reference_imagesstring[]

People, products or places to put in the clip (not a start frame) — models with references only; each model takes its own maximum

Response

Estimate

operationstring
estimated_creditsnumber
credits_to_reservenumber
estimated_usageobject
notestring nullable
sufficientboolean

Changes

No recorded changes to this operation across all 2 revisions of this API.