Endpoint
Request
POST https://inferlane.net/api/v1/queue/{vendor}/{model}The path is the model id. The body is a JSON object of that model's inputs. Each model page lists its inputs, and the catalog API returns them as a schema.
Request body
- Required inputs must be present. Missing optional inputs take their default.
nullfor an optional input also means "use the default".- Numbers are checked against the minimum and maximum, enums against their allowed values.
- Unknown fields are rejected, so a typo never silently falls back to a default.
- Image, audio and video inputs take a URL or a data URI. See Files and inputs.
Example
curl -X POST "https://inferlane.net/api/v1/queue/black-forest-labs/flux-2-pro" \
-H "Authorization: Key $API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"A matte ceramic bottle on a stone ledge, soft window light","image_size":"square_hd","num_images":1}'202 Accepted
{
"request_id": "YmxhY2stZm9yZXN0LWxhYnMvZmx1eC0yLXByb3xtdXF6ZDB2c3wxLjA0OXwzODg5MDFhZnw5ZDkxMjg",
"model_id": "black-forest-labs/flux-2-pro",
"status": "IN_QUEUE",
"status_url": "https://inferlane.net/api/v1/requests/YmxhY2stZm9yZXN0LWxhYnMvZmx1eC0yLXByb3xtdXF6ZDB2c3wxLjA0OXwzODg5MDFhZnw5ZDkxMjg/status",
"response_url": "https://inferlane.net/api/v1/requests/YmxhY2stZm9yZXN0LWxhYnMvZmx1eC0yLXByb3xtdXF6ZDB2c3wxLjA0OXwzODg5MDFhZnw5ZDkxMjg",
"submitted_at": "2026-10-02T13:09:55.000Z"
}Response fields
- request_idstring
- Id of this request. Use it for status and result calls.
- model_idstring
- The model that will run.
- statusstring
- Always
IN_QUEUEon submit. - status_urlstring
- Absolute URL of the status endpoint for this request.
- response_urlstring
- Absolute URL of the result endpoint for this request.
- submitted_atstring
- Time the request was accepted, ISO 8601.
Errors on submit
400 invalid_json: the body is not valid JSON.400 bad_request: the body is JSON but not an object.404 not_found: no model with this id.405 method_not_allowed: you sent GET instead of POST.422 validation_error: one or more inputs are invalid. See errors.