Skip to Content
API reference

List generations

GET
/v1/generations

Your generations, newest first. For the next page, send the last page's next_cursor as cursor. it is null on the last page.

Authorization

apiKey
headerAuthorizationBearer <tf_...>

Your API key from API keys, sent as Authorization: Bearer $TENSORFACTORY_API_KEY. Keep it on your server.

Query Parameters

limit?integer

How many to return.

Range1 <= value <= 100
Default20
cursor?string

The last page's next_cursor.

Response Body

One page of generations.

application/json
  1. response
items*array<>
next_cursor*|

Send as cursor for the next page, null on the last page.

Example Request
curl -X GET 'https://tensorfactory.ai/v1/generations'
Example Response
{  "items": [    {      "id": "0b8c6f0e-5d1a-4a3e-9c61-2f7d8e4b9a10",      "status": "running",      "model": "qwen-image/text-to-image",      "prompt": "A brass microscope on a graph-paper notebook, warm window light",      "aspect_ratio": "1:1",      "seed": 402117736,      "steps": 4,      "mode": "fast",      "image": null,      "image_2": null,      "image_3": null,      "transparent_background": false,      "price_usd": 0.003,      "usage": null,      "result": null,      "error": null,      "created_at": "2026-11-07T10:00:00.000Z",      "started_at": "2026-11-07T10:00:01.200Z",      "finished_at": null    }  ],  "next_cursor": "WyIyMDI2LTExLTA3VDEwOjAwOjAwLjAwMFoiLCIwYjhjNmYwZSJd"}