Endpoint
Request
GET https://inferlane.net/api/v1/requests/{request_id}curl "https://inferlane.net/api/v1/requests/$REQUEST_ID" \
-H "Authorization: Key $API_KEY"Before completion
Until the request completes, this endpoint answers 202 with the current status instead of an output:
202 Accepted
{
"request_id": "YmxhY2stZm9yZXN0LWxhYnMvZmx1eC0yLXByb3xtdXF6ZDB2c3wxLjA0OXwzODg5MDFhZnw5ZDkxMjg",
"model_id": "black-forest-labs/flux-2-pro",
"status": "IN_QUEUE",
"queue_position": 0,
"status_url": "https://inferlane.net/api/v1/requests/YmxhY2stZm9yZXN0LWxhYnMvZmx1eC0yLXByb3xtdXF6ZDB2c3wxLjA0OXwzODg5MDFhZnw5ZDkxMjg/status",
"message": "Request is not complete yet. Poll status_url until status is COMPLETED."
}Completed result
200 OK
{
"request_id": "YmxhY2stZm9yZXN0LWxhYnMvZmx1eC0yLXByb3xtdXF6ZDB2c3wxLjA0OXwzODg5MDFhZnw5ZDkxMjg",
"model_id": "black-forest-labs/flux-2-pro",
"status": "COMPLETED",
"sample": true,
"output": {
"images": [
{
"url": "https://inferlane.net/media/outputs/portrait-1x1.webp",
"width": 1024,
"height": 1024,
"content_type": "image/webp"
}
],
"seed": 421337
},
"billing": {
"unit": "megapixel",
"quantity": 1.049,
"unit_price": 0.03,
"amount": 0.03147,
"currency": "USD",
"sample": true
},
"timings": {
"queue_ms": 900,
"inference_ms": 2600
},
"submitted_at": "2026-10-02T13:09:55.000Z",
"completed_at": "2026-10-02T13:09:58.500Z"
}- outputobject
- The model output. Its shape depends on the category, see below.
- billingobject
- What this request cost. See Billing and credits.
- timingsobject
queue_msandinference_ms.- sampleboolean
- true in the preview: the output is a sample file.
- submitted_at, completed_atstring
- ISO 8601 timestamps.
Output shapes
Media URLs in outputs are absolute. Download files you want to keep.
- imagesimage models
{ images: [{ url, width, height, content_type }], seed }. Text to image and image editing.- imageupscale, cutout
{ image: { url, width, height, content_type } }- videovideo models
{ video: { url, content_type, width, height, duration }, seed }. In the preview the url is a still frame andpreview_frameis true.- audiospeech, music
{ audio: { url, content_type, duration } }- textspeech to text
{ text, chunks: [{ start, end, text }], language }- model_mesh3D models
{ model_mesh, preview: { url }, format }. In the previewmodel_meshis null and the preview image is returned.
Retention
Results stay readable for 24 hours after submit. After that, status and result calls return 404 with not_found.