Skip to content
Inferlane

52 models, 15 categories, one API

Image, video, audio and 3D. One API.

Generative media models on demand, one HTTP call away.

POST /queue/black-forest-labs/flux-2-pro
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": "Portrait of a person in a linen shirt by a window, natural light, calm expression, 85mm photo",
  "image_size": "square_hd",
  "num_images": 1
}'
FLUX.2 [pro]$0.03 / megapixel
Ready to run

POST, then poll status, then fetch the result.

Output
Run sends this request to the API and shows the result here.

One request shape

Submit, queued, in progress, completed.

Every model follows the same four steps. These are the real response bodies for FLUX.2 [pro]; only the input and the output change from model to model.

POST/queue/black-forest-labs/flux-2-pro

In queueHTTP 202

Send the input as JSON. The answer comes back at once with a request id and the two urls to follow.

202 response
{
  "request_id": "YmxhY2stZm9yZXN0LWxhYnMvZmx1eC0yLXByb3xtdXF6ZDB5cXwxLjA0OXw4NWFkMWIxNXxiYzI0ZTQ",
  "model_id": "black-forest-labs/flux-2-pro",
  "status": "IN_QUEUE",
  "status_url": "https://inferlane.net/api/v1/requests/YmxhY2stZm9yZXN0LWxhYnMvZmx1eC0yLXByb3xtdXF6ZDB5cXwxLjA0OXw4NWFkMWIxNXxiYzI0ZTQ/status",
  "response_url": "https://inferlane.net/api/v1/requests/YmxhY2stZm9yZXN0LWxhYnMvZmx1eC0yLXByb3xtdXF6ZDB5cXwxLjA0OXw4NWFkMWIxNXxiYzI0ZTQ",
  "submitted_at": "2026-10-02T13:09:55.106Z"
}

curl, fetch, requests

Plain HTTP. No package to install.

Submit, poll and fetch with the HTTP tools you already use. Swap the model id and the input for any other model in the catalog.

  • AuthAuthorization: Key $API_KEY
  • BodyJSON, the model's inputs
  • Filespublic url or base64 data URI
# 1. Submit the request and keep its request_id
REQUEST_ID=$(curl -s -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": "Portrait of a person in a linen shirt by a window, natural light, calm expression, 85mm photo",
  "image_size": "square_hd",
  "num_images": 1
}' \
  | sed -n 's/.*"request_id": *"\([^"]*\)".*/\1/p')

# 2. Poll the status about once a second until it is COMPLETED
until curl -s "https://inferlane.net/api/v1/requests/$REQUEST_ID/status" \
  -H "Authorization: Key $API_KEY" | grep -q '"status": "COMPLETED"'; do
  sleep 1
done

# 3. Fetch the result
curl "https://inferlane.net/api/v1/requests/$REQUEST_ID" \
  -H "Authorization: Key $API_KEY"

Sandbox

Compare before you commit.

Run one prompt on several models of the same category and see the results side by side, each with its cost.

29 labs

Models from the labs that make them.

Each model is built by its own lab or open source project. Model names belong to their owners.

Pay per use

Pay for what you generate.

Each model has one price per output unit. Add prepaid credit and every completed request draws from it. No subscription.

New accounts start with $1.00 of credit.

Budget

Billed at $0.03 / megapixel. Open FLUX.2 [pro]

$25.00 buys about

833megapixels

Rounded down. Pack bonuses not included.

FAQ

Questions.

Billing questions are on the pricing page.

What is this?

A catalog of hosted generative media models behind one HTTP API. Pick a model, try it in the playground, then call the same endpoint from your code.

Which models can I use?

Image, video, audio and 3D models from several vendors and open source projects. The explore page lists every model with its inputs, outputs and price.

Is this a live service?

The API accepts real requests and walks them through the queue. Prices on the pricing page are the live rates.

Who makes the models?

Each model is built by its own lab or open source project. The labs page lists them with a short note and links to their models. Model names belong to their owners.

What does open weights mean here?

The authors have published the model weights. Licenses differ: some allow commercial use and some do not, so check the license from the authors before you ship.

Can I compare models before I pick one?

Yes. The sandbox runs one prompt against several models of the same category and shows the results side by side, each with its cost.

Do I need an SDK?

No. Every endpoint is plain HTTPS with JSON bodies. The docs show curl, JavaScript fetch and Python requests for each call.

Why is the API asynchronous?

Media generation can take from a second to several minutes. You submit a request, get an id back right away, then poll its status and fetch the result when it completes.

Is the API the same for every model?

Yes. Every model uses the same submit, status and result endpoints. Only the input fields and the output shape differ, and each model page lists both.

How do I send an image or audio file?

Pass a public URL or a base64 data URI in the matching input field, for example image_url.

Start

Send your first request.

Create an account, copy a key and call any model in the catalog.