diff --git a/inference/core/workflows/core_steps/models/foundation/stability_ai/outpainting/v1.py b/inference/core/workflows/core_steps/models/foundation/stability_ai/outpainting/v1.py index 5358d1c019..d263425771 100644 --- a/inference/core/workflows/core_steps/models/foundation/stability_ai/outpainting/v1.py +++ b/inference/core/workflows/core_steps/models/foundation/stability_ai/outpainting/v1.py @@ -30,6 +30,8 @@ WorkflowBlockManifest, ) +_CACHED_OUTPUTS = [OutputDefinition(name="image", kind=[IMAGE_KIND])] + LONG_DESCRIPTION = """ The block wraps [Stability AI outpainting API](https://platform.stability.ai/docs/api-reference#tag/Edit/paths/~1v2beta~1stable-image~1edit~1outpaint/post) and @@ -182,9 +184,7 @@ class BlockManifest(WorkflowBlockManifest): @classmethod def describe_outputs(cls) -> List[OutputDefinition]: - return [ - OutputDefinition(name="image", kind=[IMAGE_KIND]), - ] + return _CACHED_OUTPUTS @classmethod def get_execution_engine_compatibility(cls) -> Optional[str]: