1
This commit is contained in:
@@ -117,6 +117,7 @@ async def prepare_api_upscale_task(
|
||||
source_width: int = 0,
|
||||
source_height: int = 0,
|
||||
source_duration: float = 0.0,
|
||||
source_file_size_bytes: int = 0
|
||||
) -> "VideoUpscaleTask | None":
|
||||
"""为 API 任务创建超分子任务。
|
||||
|
||||
@@ -162,7 +163,7 @@ async def prepare_api_upscale_task(
|
||||
source_local_path=api_task.local_path or source_local_path, # 优先使用已下载的本地文件
|
||||
source_remote_url=api_task.remote_result_url, # 火山 MediaKit 需要远程 URL
|
||||
input_source_type="provider_remote",
|
||||
source_file_size_bytes=0,
|
||||
source_file_size_bytes=source_file_size_bytes,
|
||||
source_width=source_width,
|
||||
source_height=source_height,
|
||||
source_duration_seconds=source_duration,
|
||||
|
||||
Reference in New Issue
Block a user