diff --git a/invokeai/app/api/routers/style_presets.py b/invokeai/app/api/routers/style_presets.py index 0d7f1532d3..a63279eec6 100644 --- a/invokeai/app/api/routers/style_presets.py +++ b/invokeai/app/api/routers/style_presets.py @@ -54,6 +54,7 @@ async def get_style_preset( except StylePresetNotFoundError: raise HTTPException(status_code=404, detail="Style preset not found") + @style_presets_router.post( "/i/{style_preset_id}", operation_id="set_style_preset",