From edbcd6bf1d6abd96ed5560198952c8cfd090d143 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Mon, 13 May 2024 17:30:16 -0700 Subject: [PATCH] future argument for IP-Adapter --- .../workflows/enqueue_video_style_transfer_handler.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/crates/service/web/storyteller_web/src/http_server/endpoints/workflows/enqueue_video_style_transfer_handler.rs b/crates/service/web/storyteller_web/src/http_server/endpoints/workflows/enqueue_video_style_transfer_handler.rs index 12139e99bb..693ac30c9c 100644 --- a/crates/service/web/storyteller_web/src/http_server/endpoints/workflows/enqueue_video_style_transfer_handler.rs +++ b/crates/service/web/storyteller_web/src/http_server/endpoints/workflows/enqueue_video_style_transfer_handler.rs @@ -56,7 +56,7 @@ pub struct EnqueueVideoStyleTransferRequest { /// The name of the style to invoke (required) style: StyleTransferName, - // The input file (required) + /// The input video media file (required) input_file: MediaFileToken, /// The positive prompt (optional) @@ -88,6 +88,11 @@ pub struct EnqueueVideoStyleTransferRequest { /// Optional visibility setting override. creator_set_visibility: Option, + + // TODO(bt,2024-05-13): Plumb this through to jobs. + /// Optional Global IP-Adapter image. + /// The underlying media file must be an image. + ipa_media_token: Option, } #[derive(Serialize, ToSchema)]