":{"message":"The request failed because the input image 'content[1]' may contai...
错误信息
生成失败:视频模型请求失败 HTTP 502: {"error":{"message":"The request failed because the input image 'content[1]' may contain real person. Request id: 0217925570636848df8e1a1401bb5aa62b5b494646ada5897a227","type":"dmxapi_error","param":"","code":"dmxapi_upstream_error"}}
AI 解决方案
🌐 错误翻译
原文:The request failed because the input image 'content[1]' may contain real person.
译文:请求失败,因为输入图像 'content[1]' 可能包含真实人物。
🎯 原因分析
视频模型API对输入内容有严格限制,当前提交的图像中检测到可能包含真实人物,触发了平台的内容安全校验,导致请求被拦截,返回HTTP 502上游服务错误。
💡 解决方案
# 示例:提交前过滤含真实人物的图像
images = [
{"type": "image_url", "image_url": {"url": "不含真实人物的图像URL"}}
]