Qwen-VL-Plus model cannot recognize video anomalies, but works fine with images #574

Closed
opened 2026-02-16 10:19:47 -05:00 by yindo · 2 comments
Owner

Originally created by @qiaofenlin on GitHub (Aug 21, 2025).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.7.2

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Use the qwen-vl-plus model from Tongyi Qianwen in Dify.

Try to recognize anomalies in a video input.

The model does not return results for video.

When using an image input instead, the model works normally.

测试-chatflow.yml

Image Image

✔️ Expected Behavior

The qwen-vl-plus model should be able to recognize anomalies in videos, similar to how it successfully recognizes anomalies in images.

Actual Behavior

The qwen-vl-plus model fails to recognize video anomalies

Originally created by @qiaofenlin on GitHub (Aug 21, 2025). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.7.2 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce Use the qwen-vl-plus model from Tongyi Qianwen in Dify. Try to recognize anomalies in a video input. The model does not return results for video. When using an image input instead, the model works normally. [测试-chatflow.yml](https://github.com/user-attachments/files/21916266/-chatflow.yml) <img width="1909" height="938" alt="Image" src="https://github.com/user-attachments/assets/f951f26d-0a0e-45ee-9e66-09bcbed67185" /> <img width="812" height="858" alt="Image" src="https://github.com/user-attachments/assets/c0eb454e-4872-43c8-bcc0-71b09bd2866a" /> ### ✔️ Expected Behavior The qwen-vl-plus model should be able to recognize anomalies in videos, similar to how it successfully recognizes anomalies in images. ### ❌ Actual Behavior The qwen-vl-plus model fails to recognize video anomalies
yindo added the bug label 2026-02-16 10:19:47 -05:00
yindo closed this issue 2026-02-16 10:19:47 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Aug 21, 2025):

The Qwen-VL-Plus model in Dify only supports image and text input—video input and video anomaly recognition are not currently supported. This limitation is due to both the model provider's API and Dify's integration, which only handle images for multimodal tasks. Inputs outside this spec, like video files, are ignored or rejected by validation or at the provider level, and there is no explicit video error handling in the codebase.

If you need to analyze video anomalies, a practical workaround is to extract frames from your video and process those frames as images through Qwen-VL-Plus. This approach lets you leverage the model's image anomaly detection capabilities for video content. There are no documented workarounds or recent updates that add direct video support for Qwen-VL-Plus in Dify at this time [source].

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Chat with Dosu Join Discord Share on X

@dosubot[bot] commented on GitHub (Aug 21, 2025): <!-- Answer --> The Qwen-VL-Plus model in Dify only supports image and text input—video input and video anomaly recognition are not currently supported. This limitation is due to both the model provider's API and Dify's integration, which only handle images for multimodal tasks. Inputs outside this spec, like video files, are ignored or rejected by validation or at the provider level, and there is no explicit video error handling in the codebase. If you need to analyze video anomalies, a practical workaround is to extract frames from your video and process those frames as images through Qwen-VL-Plus. This approach lets you leverage the model's image anomaly detection capabilities for video content. There are no documented workarounds or recent updates that add direct video support for Qwen-VL-Plus in Dify at this time [[source]](https://github.com/langgenius/dify-official-plugins/issues/1527). <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/52a0574d-c7fa-42d1-8a2c-3e5429952596?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/52a0574d-c7fa-42d1-8a2c-3e5429952596?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/52a0574d-c7fa-42d1-8a2c-3e5429952596?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/52a0574d-c7fa-42d1-8a2c-3e5429952596?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/52a0574d-c7fa-42d1-8a2c-3e5429952596?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/52a0574d-c7fa-42d1-8a2c-3e5429952596?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/52a0574d-c7fa-42d1-8a2c-3e5429952596?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/6088a4f4-073a-43f3-b3d4-4f06fb0c05a0/ask?utm_source=github)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify/issues/24302)
Author
Owner

@dosubot[bot] commented on GitHub (Aug 21, 2025):

The Qwen-VL-Plus model in Dify is set up to accept video input, but it only supports videos provided as URLs—not as base64 data. If you try to send base64 video, you'll get an error asking you to set MULTIMODAL_SEND_FORMAT to url source.

Even with the correct format, whether the model can actually recognize anomalies in videos depends on the capabilities of the Qwen-VL-Plus API/service itself—not on Dify. There’s no extra video anomaly detection logic or post-processing in Dify; it just forwards your video URL to the model source. If video anomaly detection isn’t working, it’s likely a limitation of the model or its backend service.

If you need video anomaly detection and Qwen-VL-Plus isn’t delivering, you might consider extracting frames from your video and running image anomaly detection on those frames, or using a different provider/model that explicitly supports video anomaly analysis.

Make sure your video input is a URL and not base64, and check the model’s documentation or service for details on its video analysis capabilities.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Join Discord Share on X

@dosubot[bot] commented on GitHub (Aug 21, 2025): <!-- Answer --> The Qwen-VL-Plus model in Dify is set up to accept video input, but it only supports videos provided as URLs—not as base64 data. If you try to send base64 video, you'll get an error asking you to set `MULTIMODAL_SEND_FORMAT` to `url` [source](https://github.com/langgenius/dify-official-plugins/blob/ec76f1143d83d1e564957db74434045630360f4d/models/tongyi/models/llm/llm.py). Even with the correct format, whether the model can actually recognize anomalies in videos depends on the capabilities of the Qwen-VL-Plus API/service itself—not on Dify. There’s no extra video anomaly detection logic or post-processing in Dify; it just forwards your video URL to the model [source](https://github.com/langgenius/dify-official-plugins/blob/ec76f1143d83d1e564957db74434045630360f4d/models/tongyi/models/llm/qwen-vl-plus.yaml). If video anomaly detection isn’t working, it’s likely a limitation of the model or its backend service. If you need video anomaly detection and Qwen-VL-Plus isn’t delivering, you might consider extracting frames from your video and running image anomaly detection on those frames, or using a different provider/model that explicitly supports video anomaly analysis. Make sure your video input is a URL and not base64, and check the model’s documentation or service for details on its video analysis capabilities. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/240b11a1-ff9d-4889-8b28-5246c00b2d0e?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/240b11a1-ff9d-4889-8b28-5246c00b2d0e?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/240b11a1-ff9d-4889-8b28-5246c00b2d0e?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/240b11a1-ff9d-4889-8b28-5246c00b2d0e?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/240b11a1-ff9d-4889-8b28-5246c00b2d0e?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/240b11a1-ff9d-4889-8b28-5246c00b2d0e?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/240b11a1-ff9d-4889-8b28-5246c00b2d0e?feedback_type=other)</sup>&nbsp;&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify-official-plugins/issues/1545)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#574