API reference

Get an image model

One Image Router model by id.

GET /v1/image-router/models/{model_id}

Host https://api.open.sume.com · Auth API key

Returns one image model: what it accepts and its limits. pricing is in Sume credits; your open.sume.com key is charged in dollars, listed in Get an open model.

Request

Headers

HeaderTypeRequiredDescription
AuthorizationstringYesBearer <key>. Or send x-api-key.

Path

NameTypeRequiredDescription
model_idstringYesA model id from the router's list.

Example

Get an image model

GET /v1/image-router/models/{model_id}

Required

Response

200 OK

Errors

StatuscodeWhen
401unauthorizedNo key, or the key is wrong or revoked.
404not_foundNo model with that id on this router.
429rate_limitedToo many requests for your key in this window.

All error codes