List models
Request
GET https://inferlane.net/api/v1/models?category=&vendor=&q=&limit=&offset=- categorystring
- Optional. One category id, see the list below. An unknown id returns 400.
- vendorstring
- Optional. A lab slug such as
black-forest-labs. See List labs. An unknown slug returns 400. - qstring
- Optional. Matches the model id, name, vendor and description.
- limitinteger
- Optional. 1 to 100, default 100.
- offsetinteger
- Optional. 0 or more, default 0. Skips that many matches.
curl "https://inferlane.net/api/v1/models?category=text-to-image" \
-H "Authorization: Key $API_KEY"The response has object, total, limit, offset, has_more, the categories list and models. total counts every match before paging. Each model has id, name, vendor, vendor_slug, category, category_label, description, badges, open_weights, pricing, thumbnail and endpoints with its submit and schema URLs.
Paging through results
Ask for a page with limit and move forward with offset until has_more is false.
curl "https://inferlane.net/api/v1/models?vendor=black-forest-labs&limit=2&offset=0" \
-H "Authorization: Key $API_KEY"List labs
Request
GET https://inferlane.net/api/v1/vendorsReturns every lab behind the catalog with slug, name, kind (company or research), summary, model_count and models_url, which is the list endpoint filtered to that lab.
200 OK, first entry
{
"object": "list",
"total": 29,
"vendors": [
{
"slug": "qwen",
"name": "Alibaba Qwen",
"kind": "company",
"summary": "Alibaba's Qwen team, which releases open weights language and image models.",
"model_count": 2,
"models_url": "https://inferlane.net/api/v1/models?vendor=qwen"
}
]
}Category ids
- text-to-imageimage
- Text to image
- image-to-imageimage
- Image editing
- upscaleimage
- Upscale
- background-removalimage
- Background removal
- text-to-videovideo
- Text to video
- image-to-videovideo
- Image to video
- video-to-videovideo
- Video to video
- lipsyncvideo
- Lipsync
- video-upscalevideo
- Video upscale
- text-to-speechaudio
- Text to speech
- speech-to-textaudio
- Speech to text
- musicaudio
- Music
- sound-effectsaudio
- Sound effects
- image-to-3d3d
- Image to 3D
- text-to-3d3d
- Text to 3D
One model with its schema
Request
GET https://inferlane.net/api/v1/models/{vendor}/{model}curl
curl "https://inferlane.net/api/v1/models/black-forest-labs/flux-2-pro" \
-H "Authorization: Key $API_KEY"The detail adds four fields to the summary:
- input_schemaarray
- Every input with
name,type,required,default,values,min,maxanddescription. - output_schemaarray
- Every output field with its type and description.
- sample_inputobject
- A valid body you can submit as is.
- sample_outputobject
- What a result output looks like.
sample_input always passes validation, which makes it a quick health check for an integration.