Skip to main content

Module local_api

Module local_api 

Source
Expand description

Always-on local HTTP API for image generation (127.0.0.1 only, no auth).

Synchronous: POST /image blocks until the engine finishes and returns the image bytes. Models come from the local Catalog, which the operator can extend at runtime via POST /models — the same ModelSource shape the studio uses. Every job is recorded into the in-app local queue.

Structs§

LocalApi
The local image API server, bound but not yet serving.