Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

多模态使用图片时报错 The media format is not supported or incorrect for the data inspection. #319

Open
lanyanhua opened this issue Dec 26, 2024 · 0 comments

Comments

@lanyanhua
Copy link

{"code":"InvalidParameter.DataInspection","message":"The media format is not supported or incorrect for the data inspection.","request_id":"bc43b28b-2a90-9456-8c3b-2f679ee330c6"}

试了一下官方提供的图片 URL可以解析成功
new Media( MimeTypeUtils.IMAGE_PNG, new URI("https://dashscope.oss-cn-beijing.aliyuncs.com/images/dog_and_girl.jpeg").toURL() )
使用本地花生壳映射出去的地址失败
这是图片
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant