Reference
Every endpoint, field and error of the TensorFactory API.
The API reference is generated from TensorFactory's OpenAPI 3.1 file, so every endpoint, field, example and error code on it matches the API.
API reference
Every endpoint with its fields, answers and examples.
Create a generation
POST /v1/generations: start an image or an edit.
Get a generation
GET /v1/generations/{id}: wait for a run and get its image.
Create an upload
POST /v1/uploads: the images an edit uses.
List models
GET /v1/models: options, sizes and estimated prices.
Errors
The error shape, every status and type, and what to do.
Limits
Sizes, lengths, steps, rates and how runs wait for a GPU.