Skip to content
Draft
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
10 changes: 10 additions & 0 deletions frontend/src/data/pipelines.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,16 @@ export const PIPELINES: Record<string, PipelineInfo> = {
supportedModes: ["video"],
defaultMode: "video",
},
"decart-api": {
name: "Decart API",
about:
"Real-time video restyling using Decart's Mirage LSD API. Processes video frames through Decart's cloud-based realtime video transformation service.",
requiresModels: false,
estimatedVram: 0, // Cloud-based, no local VRAM required
// Video-only pipeline
supportedModes: ["video"],
defaultMode: "video",
},
};

export function pipelineSupportsLoRA(pipelineId: string): boolean {
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ export type PipelineId =
| "passthrough"
| "longlive"
| "krea-realtime-video"
| "reward-forcing";
| "reward-forcing"
| "decart-api";

// Input mode for pipeline operation
export type InputMode = "text" | "video";
Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ dependencies = [
"omegaconf>=2.3.0",
"accelerate>=1.1.1",
"flash-attn==2.8.3; sys_platform == 'linux' or sys_platform == 'win32'",
"sageattention==2.2.0; sys_platform == 'linux' or sys_platform == 'win32'",
"sageattention==2.2.0; (sys_platform == 'linux' and python_version == '3.10') or sys_platform == 'win32'",
"safetensors>=0.6.2",
"huggingface_hub>=0.25.0",
"peft>=0.17.1",
Expand All @@ -53,6 +53,9 @@ dependencies = [
"kernels>=0.10.4",
"triton==3.4.0; sys_platform == 'linux'",
"triton-windows==3.4.0.post21; sys_platform == 'win32'",
"pillow>=10.0.0",
"decart>=0.0.8",
"tenacity>=9.0.0",
]

[project.scripts]
Expand Down
10 changes: 10 additions & 0 deletions src/scope/core/pipelines/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ def __getattr__(name):
from .passthrough.pipeline import PassthroughPipeline

return PassthroughPipeline
elif name == "DecartApiPipeline":
from .decart_api.pipeline import DecartApiPipeline

return DecartApiPipeline
# Config classes
elif name == "BasePipelineConfig":
from .schema import BasePipelineConfig
Expand All @@ -45,6 +49,10 @@ def __getattr__(name):
from .schema import PassthroughConfig

return PassthroughConfig
elif name == "DecartApiConfig":
from .schema import DecartApiConfig

return DecartApiConfig
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")


Expand All @@ -55,10 +63,12 @@ def __getattr__(name):
"RewardForcingPipeline",
"StreamDiffusionV2Pipeline",
"PassthroughPipeline",
"DecartApiPipeline",
# Config classes
"BasePipelineConfig",
"LongLiveConfig",
"StreamDiffusionV2Config",
"KreaRealtimeVideoConfig",
"PassthroughConfig",
"DecartApiConfig",
]
3 changes: 3 additions & 0 deletions src/scope/core/pipelines/decart_api/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from .pipeline import DecartApiPipeline

__all__ = ["DecartApiPipeline"]
Loading
Loading