mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-06 17:17:06 +08:00
Temporary Fix for Runway (#87)
This commit is contained in:
parent
5cd258a01c
commit
4002eae93e
@ -1289,7 +1289,7 @@ class Position(str, Enum):
|
|||||||
|
|
||||||
|
|
||||||
class RunwayPromptImageDetailedObject(BaseModel):
|
class RunwayPromptImageDetailedObject(BaseModel):
|
||||||
uri: AnyUrl = Field(
|
uri: str = Field(
|
||||||
..., description="A HTTPS URL or data URI containing an encoded image."
|
..., description="A HTTPS URL or data URI containing an encoded image."
|
||||||
)
|
)
|
||||||
position: Position = Field(
|
position: Position = Field(
|
||||||
@ -1315,9 +1315,9 @@ class RunwayAspectRatioEnum(str, Enum):
|
|||||||
|
|
||||||
|
|
||||||
class RunwayPromptImageObject(
|
class RunwayPromptImageObject(
|
||||||
RootModel[Union[AnyUrl, List[RunwayPromptImageDetailedObject]]]
|
RootModel[Union[str, List[RunwayPromptImageDetailedObject]]]
|
||||||
):
|
):
|
||||||
root: Union[AnyUrl, List[RunwayPromptImageDetailedObject]] = Field(
|
root: Union[str, List[RunwayPromptImageDetailedObject]] = Field(
|
||||||
...,
|
...,
|
||||||
description="Image(s) to use for the video generation. Can be a single URI or an array of image objects with positions.",
|
description="Image(s) to use for the video generation. Can be a single URI or an array of image objects with positions.",
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user