01 / MODELS
Logical model catalog
Discover stable image and video capabilities without coupling your code to provider-specific endpoints.
GET /modelsAPI preview · built for humans and agents
Give your application content storage, managed image and video generation, durable operations, signed webhooks, and usage attribution through one workspace-scoped API.
curl https://api.tessarun.com/api/v1/generations \
-H "Authorization: Bearer $TESSARUN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "krea-2",
"tenant": "customer-42",
"params": {
"prompt": "A copper robot in a daylight studio",
"aspect_ratio": "4:5"
},
"metadata": {"project": "launch"}
}'
Quickstart
The API is asynchronous because image and video work is durable. Your product can restart without losing the operation.
Control plane
Sign in, choose the isolated workspace that should own the content and usage, then create a key. The plaintext value is shown once.
Open the developer console ↗Data plane
Send a logical model ID and generation parameters. TessaRun validates the request and debits the fixed price only when work is accepted.
Build the generation loop ↗Durable result
Register an HTTPS endpoint for the event types you need. Successful outputs become durable assets; failed generations receive a full balance refund.
Configure webhooks ↗Infrastructure surfaces
Every resource stays scoped to the authenticated workspace. Pass your own tenant and metadata through TessaRun for downstream attribution without sharing your user model.
01 / MODELS
Discover stable image and video capabilities without coupling your code to provider-specific endpoints.
GET /models02 / ASSETS
Create short-lived upload and download URLs while TessaRun retains durable asset identity and metadata.
POST /assets03 / WEBHOOKS
Receive signed generation events at the HTTPS endpoint selected for your Workspace.
POST /webhook_endpoints04 / USAGE
Read successful usage and immutable balance entries with your tenant and metadata values returned intact.
GET /usageAgent-ready documentation