Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions decart/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"lucy-pro-t2v",
"lucy-pro-i2v",
"lucy-pro-v2v",
"lucy-pro-flf2v",
"lucy-motion",
"lucy-restyle-v2v",
"lucy-2-v2v",
Expand Down Expand Up @@ -77,18 +76,6 @@ class VideoToVideoInput(DecartBaseModel):
enhance_prompt: Optional[bool] = None


class FirstLastFrameInput(DecartBaseModel):
prompt: str = Field(
...,
min_length=1,
max_length=1000,
)
start: FileInput
end: FileInput
seed: Optional[int] = None
resolution: Optional[str] = None


class ImageToMotionVideoInput(DecartBaseModel):
data: FileInput
trajectory: List[MotionTrajectoryInput] = Field(..., min_length=2, max_length=1000)
Expand Down Expand Up @@ -248,14 +235,6 @@ class ImageToImageInput(DecartBaseModel):
height=704,
input_schema=VideoToVideoInput,
),
"lucy-pro-flf2v": ModelDefinition(
name="lucy-pro-flf2v",
url_path="/v1/generate/lucy-pro-flf2v",
fps=25,
width=1280,
height=704,
input_schema=FirstLastFrameInput,
),
"lucy-motion": ModelDefinition(
name="lucy-motion",
url_path="/v1/generate/lucy-motion",
Expand Down Expand Up @@ -321,7 +300,6 @@ def video(model: VideoModels) -> VideoModelDefinition:
- "lucy-pro-t2v" - Text-to-video
- "lucy-pro-i2v" - Image-to-video
- "lucy-pro-v2v" - Video-to-video
- "lucy-pro-flf2v" - First-last-frame-to-video
- "lucy-dev-i2v" - Image-to-video (Dev quality)
- "lucy-fast-v2v" - Video-to-video (Fast quality)
- "lucy-motion" - Image-to-motion-video
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading