Invoke Endpoint
Unified endpoint for running inference on any model.
On this page
Overview
The invoke endpoint provides a simplified interface for running inference on catalog and custom models.
Invoke a model
POST /v1/invoke
Authorization: Bearer sk_...
{
"model": "flux-klein-9b-kv",
"input": { "prompt": "A mountain landscape" }
}Parameters
| Parameter | Type | Description |
|---|---|---|
| model | string | Catalog slug or owner/name:version |
| input | object | Model input parameters |
| wait | boolean | Block for result |
| webhook | string | Callback URL for async result |