bb08d0f586
主要变更: - 修复 /tasks/script 路由 404(去掉重复 prefix) - 开发模式自动认证兜底(无需登录即可测试流程) - Docker 基础设施独立化(共用 db/redis) - 前端 API 端口改为 8081 - 新增 TTS/语音克隆、视频粗剪、音频混音等智剪功能 - 删除智影专属模块(avatar、model_usage、qiniu 上传等)
32 lines
683 B
Python
32 lines
683 B
Python
"""
|
|
API v1 路由聚合
|
|
==============
|
|
"""
|
|
|
|
from fastapi import APIRouter
|
|
|
|
from app.api.v1 import (
|
|
auth,
|
|
caption,
|
|
system,
|
|
tasks,
|
|
voice,
|
|
)
|
|
|
|
api_router = APIRouter()
|
|
|
|
# 认证模块
|
|
api_router.include_router(auth.router, prefix="/auth", tags=["Authentication"])
|
|
|
|
# 系统模块
|
|
api_router.include_router(system.router, prefix="/system", tags=["System"])
|
|
|
|
# 任务管理模块
|
|
api_router.include_router(tasks.router, prefix="/tasks", tags=["Tasks"])
|
|
|
|
# 字幕生成模块(火山引擎-豆包语音)
|
|
api_router.include_router(caption.router, tags=["Caption"])
|
|
|
|
# 语音合成模块(TTS + 声音克隆)
|
|
api_router.include_router(voice.router, tags=["Voice"])
|