diff --git a/runware/base.py b/runware/base.py index 1ae23f8..7f2bd6f 100644 --- a/runware/base.py +++ b/runware/base.py @@ -2470,7 +2470,9 @@ async def _requestText(self, requestText: ITextInference) -> Union[List[IText], requestText.inputs = inputs if inputs.images: - inputs.images = await process_image(inputs.images) + inputs.images = await self._process_media_list(inputs.images) + if inputs.videos: + inputs.videos = await self._process_media_list(inputs.videos) request_object = self._buildTextRequest(requestText) diff --git a/runware/types.py b/runware/types.py index 326c7b7..0e0d254 100644 --- a/runware/types.py +++ b/runware/types.py @@ -1028,6 +1028,7 @@ def __post_init__(self): @dataclass class ITextInputs(SerializableMixin): images: Optional[List[Union[str, File]]] = None + videos: Optional[List[Union[str, File]]] = None @property def request_key(self) -> str: