Pictures

Make a picture with any picture model — estimate

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

post/v1/ai/models/image/estimate

Request

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

Request body

seedinteger
size'1K' | '2K' | '4K'

1K ≈ 1024 px on the long side; 2K / 4K where the model makes them

modelstring required

A picture model id from GET /v1/ai/models/catalog — e.g. ideogram-3, recraft-v3, qwen-image, z-image-turbo, soul-2

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

Team accounts only (ignored for others): where the model runs

stylestring

Recraft: realistic_image, digital_illustration, vector_illustration, icon…

promptstring

What the picture shows (required except for virtual-try-on). Ideogram writes the words you put in quotes inside the picture

optionsobject

A model's own settings, as its catalog entry lists them under options (e.g. bria-relight: light_type, light_direction). A setting the model does not list is refused

aspect_ratio'1:1' | '4:5' | '5:4' | '3:4' | '4:3' | '2:3' | '3:2' | '9:16' | '16:9' | '21:9'
negative_promptstring
reference_imagesstring[]

Pictures to edit or to take style / people / products from — models with editing only. virtual-try-on: [the person, the garment]

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.