17 articles in 4 sections
Three calls. Every model.
Submit, poll, fetch. Every Inferlane model speaks the same HTTP contract, so curl, fetch or requests is all you need.
API base https://inferlane.net/api/v1
The whole API in three requests
# 1. Submit
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}'
# 2. Poll
curl "https://inferlane.net/api/v1/requests/$REQUEST_ID/status" \
-H "Authorization: Key $API_KEY"
# 3. Fetch
curl "https://inferlane.net/api/v1/requests/$REQUEST_ID" \
-H "Authorization: Key $API_KEY"Sections
Read in order, or jump in.
Getting started
3 articles
API reference
6 articles
- Queue APISubmit a request and get a request id back.
- Request statusPoll status, queue position and logs.
- Fetching resultsRead outputs once a request completes.
- Files and inputsPass images, audio and video as URLs or data URIs.
- Model catalog APIList models and read their input and output schemas.
- ErrorsStatus codes and the error body shape.
Guides
6 articles
- Text to imagePick a model, write a prompt and control size, count and seed.
- Image editingSend a source image with an instruction and read the edited result.
- Video generationGenerate clips from a prompt or a first frame and handle longer waits.
- Speech and audioText to speech, transcription, music and sound effects.
- 3DTurn an image or a prompt into a textured 3D asset.
- SandboxRun one prompt against several models side by side.
Account and billing
2 articles
Guides
One full request for every kind of media.
Each guide picks a real model from the catalog and walks through inputs, submit, poll, result and cost.
- Text to imagePick a model, write a prompt and control size, count and seed.black-forest-labs/flux-2-pro
![Sample output of FLUX.2 [pro]](/_next/image?url=%2Fmedia%2Fmodels%2Ft2i-portrait.webp&w=3840&q=75)
- Image editingSend a source image with an instruction and read the edited result.google/nano-banana-pro-edit

- Video generationGenerate clips from a prompt or a first frame and handle longer waits.google/veo-3-1

- Speech and audioText to speech, transcription, music and sound effects.elevenlabs/eleven-v3
- 3DTurn an image or a prompt into a textured 3D asset.tencent/hunyuan3d-2-1
