Vertex AI 内容安全过滤误报中文拼音名字
Resolved 💬 3 comments Opened Dec 16, 2025 by Hailin945 Closed Feb 14, 2026
问题描述
Vertex AI Veo 3.1 视频生成时,内容安全过滤器误报中文拼音名字为违规内容。
错误信息
{
"code": 3,
"message": "The prompt could not be submitted. This prompt contains words that violate Vertex AI's usage guidelines. Try rephrasing the prompt. If you think this was an error, send feedback. Support codes: 29310472"
}
触发条件
提示词包含中文拼音名字:
"Wide shot from behind Xú Qīngqíng showing her in a futuristic office as she holds a stack of documents..."
这是完全正常的职业场景描述,但被 Vertex AI 误判。
影响
- 用户视频生成失败
- 积分被自动退还(退款机制正常工作)
可能的修复方案
- 提示词预处理:在发送到 Vertex AI 前,将中文拼音名字替换为通用描述词(如 "the character")
- 错误提示优化:在
error-parser.ts中添加针对此类误报的友好提示,告诉用户如何修改提示词 - 向 Google 反馈:报告此误报(Support code: 29310472)
相关文件
src/lib/build-video-request.ts- 构建视频请求src/lib/error-parser.ts- 错误解析和用户提示
环境
- staging 环境
- 模型: veo-3.1-fast-generate-preview
- Job ID: -OgZgl30dks5CXi36lbm
优先级
P2 - 用户体验问题,有 workaround(修改提示词)
---
🤖 Generated with Claude Code
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗