diff --git a/src/svrnty_vision/routers/flux.py b/src/svrnty_vision/routers/flux.py index b258f75..0cb5413 100644 --- a/src/svrnty_vision/routers/flux.py +++ b/src/svrnty_vision/routers/flux.py @@ -1,4 +1,4 @@ -"""FLUX image generation — proxies to Spark 1 (ComfyUI HTTP API). +"""FLUX image generation — proxies to gx10-f38f (ComfyUI HTTP API). Ported from BTE's SparkBComfyClient.cs + LocalFluxImageProvider.cs + StopgapFluxWorkflow.cs (Phase 4b). Workflow is either supplied by the caller @@ -64,7 +64,7 @@ def build_stopgap_workflow( ) -> str: """Ported from StopgapFluxWorkflow.Build (Svrnty.Bte.Shared.Recipes). - FLUX.2 stack on Spark 1: flux2_dev_fp8mixed UNET, Mistral-3 CLIP (type "flux2"), + FLUX.2 stack on gx10 (ComfyUI): flux2_dev_fp8mixed UNET, Mistral-3 CLIP (type "flux2"), flux2-vae. KSampler cfg=1.0; distilled guidance via FluxGuidance node. Random seed per call: ComfyUI dedupes identical workflows. """ @@ -201,7 +201,7 @@ async def _download_image( @router.post("/render", response_model=RenderResponse) async def render(req: RenderRequest) -> RenderResponse: - """Render an image via Spark 1 (FLUX.2-dev on ComfyUI). + """Render an image via gx10 (ComfyUI) (FLUX.2-dev on ComfyUI). If `workflow_json` is supplied (e.g. from BTE's IRecipeAssembler), it is POSTed verbatim. Otherwise a stopgap FLUX.2 graph is built from `prompt`. @@ -235,7 +235,7 @@ async def render(req: RenderRequest) -> RenderResponse: except httpx.HTTPError as e: raise HTTPException( status_code=status.HTTP_502_BAD_GATEWAY, - detail=f"Spark 1 (ComfyUI) at {endpoint} unreachable: {type(e).__name__}: {e}", + detail=f"gx10 (ComfyUI) (ComfyUI) at {endpoint} unreachable: {type(e).__name__}: {e}", ) from e duration_ms = int((time.monotonic() - started) * 1000)