Skip to content

需要频繁更换大模型的key,才能运行 #251

Description

@wjztwjzt

File "D:\atao\phyton\MCPshipin\Pixelle-Video-v0.1.15-win64\Pixelle-Video-v0.1.15-win64\Pixelle-Video\web\utils\async_helpers.py", line 26, in run_async
return asyncio.run(coro)
│ │ └ <coroutine object PixelleVideoCore._create_generate_video_wrapper..generate_video_wrapper at 0x0000017F6915FAB0>
│ └ <function run at 0x0000017F531189A0>
└ <module 'asyncio' from 'D:\atao\phyton\MCPshipin\Pixelle-Video-v0.1.15-win64\Pixelle-Video-v0.1.15-win64\python\python...

File "asyncio\runners.py", line 190, in run

File "asyncio\runners.py", line 118, in run

File "asyncio\base_events.py", line 654, in run_until_complete

File "D:\atao\phyton\MCPshipin\Pixelle-Video-v0.1.15-win64\Pixelle-Video-v0.1.15-win64\Pixelle-Video\pixelle_video\service.py", line 293, in generate_video_wrapper
return await pipeline_instance(text=text, **kwargs)
│ │ └ {'mode': 'generate', 'title': None, 'n_scenes': 5, 'split_mode': 'paragraph', 'media_workflow': 'runninghub/video_Z_image_wan...
│ └ '一支浪漫爱情电影风格的 AI 女友宣传视频,黄昏城市、夕阳、夜晚街道和温暖室内空间交替出现,一位年轻美丽的 AI 女友始终带着温柔自然的笑容,与用户进行亲密而轻松的互动。画面充满金色夕阳、柔和光晕、飘动的头发和细腻的眼神交流,偶尔出现梦幻的数字光粒...
└ <pixelle_video.pipelines.standard.StandardPipeline object at 0x0000017F578BFA50>

File "D:\atao\phyton\MCPshipin\Pixelle-Video-v0.1.15-win64\Pixelle-Video-v0.1.15-win64\Pixelle-Video\pixelle_video\pipelines\linear.py", line 105, in call
await self.generate_content(ctx)
│ │ └ PipelineContext(input_text='一支浪漫爱情电影风格的 AI 女友宣传视频,黄昏城市、夕阳、夜晚街道和温暖室内空间交替出现,一位年轻美丽的 AI 女友始终带着温柔自然的笑容,与用户进行亲密而轻松的互动。画面充满金色夕阳、柔和光...
│ └ <function StandardPipeline.generate_content at 0x0000017F57725F80>
└ <pixelle_video.pipelines.standard.StandardPipeline object at 0x0000017F578BFA50>

File "D:\atao\phyton\MCPshipin\Pixelle-Video-v0.1.15-win64\Pixelle-Video-v0.1.15-win64\Pixelle-Video\pixelle_video\pipelines\standard.py", line 116, in generate_content
ctx.narrations = await generate_narrations_from_topic(
│ │ └ <function generate_narrations_from_topic at 0x0000017F577259E0>
│ └ []
└ PipelineContext(input_text='一支浪漫爱情电影风格的 AI 女友宣传视频,黄昏城市、夕阳、夜晚街道和温暖室内空间交替出现,一位年轻美丽的 AI 女友始终带着温柔自然的笑容,与用户进行亲密而轻松的互动。画面充满金色夕阳、柔和光...

File "D:\atao\phyton\MCPshipin\Pixelle-Video-v0.1.15-win64\Pixelle-Video-v0.1.15-win64\Pixelle-Video\pixelle_video\utils\content_generators.py", line 135, in generate_narrations_from_topic
result = _parse_json(response)
│ └ ''
└ <function _parse_json at 0x0000017F57725E40>

File "D:\atao\phyton\MCPshipin\Pixelle-Video-v0.1.15-win64\Pixelle-Video-v0.1.15-win64\Pixelle-Video\pixelle_video\utils\content_generators.py", line 502, in _parse_json
raise json.JSONDecodeError("No valid JSON found", text, 0)
│ │ └ ''
│ └ <class 'json.decoder.JSONDecodeError'>
└ <module 'json' from 'D:\atao\phyton\MCPshipin\Pixelle-Video-v0.1.15-win64\Pixelle-Video-v0.1.15-win64\python\python311...

json.decoder.JSONDecodeError: No valid JSON found: line 1 column 1 (char 0).最近运行总是报错:2026-09-04 07:47:38.837 | ERROR | pixelle_video.pipelines.linear:handle_exception:161 - Pipeline execution failed: No valid JSON found: line 1 column 1 (char 0)
2026-09-04 07:47:38.837 | ERROR | web.components.output_preview:render_single_output:211 - No valid JSON found: line 1 column 1 (char 0)。应该是大模型调用的问题。我调用的是deepseek,然后换个模型,换个api,多试两次又好了。但是每次启动都要换一个key,确实有点不方便,不知道这个可以修复吗?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions