From bc860a203c344ef0a100af1aa9c163700f45eb1e Mon Sep 17 00:00:00 2001 From: db0 Date: Sat, 28 Sep 2024 11:43:15 +0200 Subject: [PATCH] feat: Adds the exta information metadata key --- codegen/ai_horde/swagger.json | 3 ++- codegen/ai_horde/swagger_openapi3.json | 3 ++- horde_sdk/ai_horde_api/consts.py | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/codegen/ai_horde/swagger.json b/codegen/ai_horde/swagger.json index bc639ec..b705e87 100644 --- a/codegen/ai_horde/swagger.json +++ b/codegen/ai_horde/swagger.json @@ -4214,7 +4214,8 @@ "source_image", "source_mask", "extra_source_images", - "batch_index" + "batch_index", + "information" ] }, "value": { diff --git a/codegen/ai_horde/swagger_openapi3.json b/codegen/ai_horde/swagger_openapi3.json index 341f3b5..4bbba7b 100644 --- a/codegen/ai_horde/swagger_openapi3.json +++ b/codegen/ai_horde/swagger_openapi3.json @@ -5208,7 +5208,8 @@ "source_image", "source_mask", "extra_source_images", - "batch_index" + "batch_index", + "information" ], "example": "lora", "type": "string" diff --git a/horde_sdk/ai_horde_api/consts.py b/horde_sdk/ai_horde_api/consts.py index bc3c712..dc2c886 100644 --- a/horde_sdk/ai_horde_api/consts.py +++ b/horde_sdk/ai_horde_api/consts.py @@ -251,6 +251,8 @@ class METADATA_TYPE(StrEnum): """Extra source images for the request.""" batch_index = auto() """The index of the batch in a batch request.""" + information = auto() + """Extra information about the image.""" class METADATA_VALUE(StrEnum):