Skip to main content

Module local

Module local 

Source
Expand description

Local image generation — submit a prompt straight to the engine, no studio.

Mirrors the studio job path (ws::session::run_offered_job): resolve the model’s [ModelSource] (here from the local Catalog instead of a studio offer), build a Task::Image, dispatch, and record the finished job — into the dedicated local-queue ring so it shows up in the app.

Structs§

LocalImageRequest
A local image-generation request. Optional fields fall back to the model’s CLI defaults from the catalog.

Enums§

LocalError
Why a local generation could not run.

Functions§

run_image
Run one local image job: resolve the model from catalog, dispatch it on engine, record it in the local-queue ring, and return the image bytes.