动手实验室-快速搭建互动双语视频生成器出现InvalidParameter

在实验项目:快速搭建互动双语视频生成器 中出现的问题。 https://developer.volcengine.com/handsonlab/3

按照手册步骤执行,但是还是出现了参数报错提示。

env文件中有14个参数,应该是16个参数吧,都已经配置了。

在进行到分镜视频步骤,就进行不下去了。点击继续,就会报错:InvalidParameter: 请求缺少必要参数或参数无效,请检查后重试

如何解决这个问题。

picture.image

后端日志:

        {
            "name": "exception",
            "timestamp": "2026-02-05T07:27:01.543241Z",
            "attributes": {
                "exception.type": "arkitect.core.errors.exceptions.InvalidParameter",
                "exception.message": "Detailed exception information is listed below.\naccount_id: \nresource_id: \ncode: InvalidParameter\nmessage: A parameter specified in the request is not valid: messages.tones not found Request id: 2026020515270100000BEE7070A80B1C80",
                "exception.stacktrace": "Traceback (most recent call last):\n  File \"/home/coder/project/infinity/chat2cartoon/backend/.venv/lib/python3.10/site-packages/arkitect/telemetry/trace/wrapper.py\", line 129, in async_iter_task\n    async for i, resp in aenumerate(func(*args, **kwargs)):  # type: ignore\n  File \"/home/coder/project/infinity/chat2cartoon/backend/.venv/lib/python3.10/site-packages/arkitect/utils/asyncio.py\", line 35, in aenumerate\n    async for elem in asequence:\n  File \"/home/coder/project/infinity/chat2cartoon/backend/index.py\", line 171, in main\n    async for chunk in generator.generate():\n  File \"/home/coder/project/infinity/chat2cartoon/backend/app/generators/phases/film.py\", line 242, in generate\n    raise InvalidParameter(\"messages\", \"tones not found\")\narkitect.core.errors.exceptions.InvalidParameter: Detailed exception information is listed below.\naccount_id: \nresource_id: \ncode: InvalidParameter\nmessage: A parameter specified in the request is not valid: messages.tones not found Request id: 2026020515270100000BEE7070A80B1C80\n",
                "exception.escaped": "False"
            }
        }
    ],
    "links": [],
    "resource": {
        "attributes": {
            "telemetry.sdk.language": "python",
            "telemetry.sdk.name": "opentelemetry",
            "telemetry.sdk.version": "1.29.0",
            "service.name": "bot",
            "host.name": "lab-11092-5df6775b4f-4jqn8"
        },
        "schema_url": "https://opentelemetry.io/schemas/1.4.0"
    }
}
85
0
0
avatar

123123

avatar

123123123