List image models
Every image model, the fields it takes and its price. No key needed.
The models POST /images serves, with the prices you pay. Prices are in dollars as decimal strings, one line for each thing a model bills: the images it makes, and the images or text it reads.
A model that bills for something a request can't bound, such as fonts, isn't listed. The list changes when models arrive or leave, at most every hour, so cache it for a few minutes.
Response
dataobject[]One entry per image model.
idstringThe id to send as
model.namestringIts display name.
reads_imagesbooleanWhether it takes
input_references.streamingbooleanWhether it streams partial images.
parametersobjectThe fields it accepts, each with its values (
{ "type": "enum", "values": [...] }) or range ({ "type": "range", "min": 1, "max": 4 }). A field not listed is not taken.pricingobject[]What you pay, one line per billed item:
billable(output_image,input_image,input_referenceorinput_text),unit(image,megapixel,tokenorrequest),usdas a decimal string, andvariantwhen it applies to one tier or quality, such as2korlow_1k.
curl https://binference.io/api/v1/images/models{ "object": "list", "data": [ { "id": "recraft/recraft-v4.1-flash", "object": "model", "name": "Recraft: Recraft V4.1 Flash", "reads_images": false, "streaming": false, "parameters": { "aspect_ratio": { "type": "enum", "values": [ "1:1", "4:3", "3:4", "16:9", "9:16", "auto" ] }, "n": { "type": "range", "min": 1, "max": 6 } }, "pricing": [ { "billable": "output_image", "unit": "image", "usd": "0.0084" } ] } ]}