The agent needs to upload a video. #21447

Closed
opened 2026-02-21 20:12:35 -05:00 by yindo · 1 comment
Owner

Originally created by @libin1219 on GitHub (Jan 5, 2026).

Originally assigned to: @fatelei on GitHub.

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • 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.
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

Workflows can upload videos, but agents cannot. So how is the video transmitted when an agent invokes a workflow?

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @libin1219 on GitHub (Jan 5, 2026). Originally assigned to: @fatelei on GitHub. ### 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] 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] Please do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. Workflows can upload videos, but agents cannot. So how is the video transmitted when an agent invokes a workflow? ### 2. Additional context or comments _No response_ ### 3. Can you help us with this feature? - [ ] I am interested in contributing to this feature.
yindo added the 💪 enhancement label 2026-02-21 20:12:35 -05:00
yindo closed this issue 2026-02-21 20:12:35 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Jan 5, 2026):

Currently, Dify workflows can upload and process video files using the /files/upload API, which supports video formats like MP4, MOV, MPEG, and WEBM. When running a workflow, you can include video files in the files field of the workflow execution payload, and the backend will handle storage, validation, and provide a signed URL for access. However, agents cannot upload videos because the agent configuration UI only allows text and number inputs—there is no UI or config option for file or video uploads in agents, even though the backend supports it. Enabling video upload for agents would require changes to the agent configuration UI and possibly some backend adjustments to expose file input types for agents. This is a known limitation with high user demand, and there are ongoing discussions about adding this feature, but it is not available yet. Workarounds like uploading a video via a workflow and then invoking it from an agent are possible, but agents themselves cannot directly transmit video data when invoking a workflow.
Reference 1 | Reference 2 | Reference 3

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other

Chat with Dosu Open in Cursor Join Discord Share on X

@dosubot[bot] commented on GitHub (Jan 5, 2026): <!-- Answer --> Currently, Dify workflows can upload and process video files using the `/files/upload` API, which supports video formats like MP4, MOV, MPEG, and WEBM. When running a workflow, you can include video files in the `files` field of the workflow execution payload, and the backend will handle storage, validation, and provide a signed URL for access. However, agents cannot upload videos because the agent configuration UI only allows text and number inputs—there is no UI or config option for file or video uploads in agents, even though the backend supports it. Enabling video upload for agents would require changes to the agent configuration UI and possibly some backend adjustments to expose file input types for agents. This is a known limitation with high user demand, and there are ongoing discussions about adding this feature, but it is not available yet. Workarounds like uploading a video via a workflow and then invoking it from an agent are possible, but agents themselves cannot directly transmit video data when invoking a workflow. [Reference 1](https://github.com/langgenius/dify/issues/29461) | [Reference 2](https://github.com/langgenius/dify/discussions/30568) | [Reference 3](https://github.com/langgenius/dify/issues/26934) <!-- 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/09ba92c7-10a3-4afa-a7ed-9c6b1f16c0ea?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/09ba92c7-10a3-4afa-a7ed-9c6b1f16c0ea?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/09ba92c7-10a3-4afa-a7ed-9c6b1f16c0ea?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/09ba92c7-10a3-4afa-a7ed-9c6b1f16c0ea?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/09ba92c7-10a3-4afa-a7ed-9c6b1f16c0ea?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/09ba92c7-10a3-4afa-a7ed-9c6b1f16c0ea?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/09ba92c7-10a3-4afa-a7ed-9c6b1f16c0ea?feedback_type=other)</sup> [![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/6088a4f4-073a-43f3-b3d4-4f06fb0c05a0/ask?utm_source=github)&nbsp;[![Open in Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=Currently%2C%20Dify%20workflows%20can%20upload%20and%20process%20video%20files%20using%20the%20%60/files/upload%60%20API%2C%20which%20supports%20video%20formats%20like%20MP4%2C%20MOV%2C%20MPEG%2C%20and%20WEBM.%20When%20running%20a%20workflow%2C%20you%20can%20include%20video%20files%20in%20the%20%60files%60%20field%20of%20the%20workflow%20execution%20payload%2C%20and%20the%20backend%20will%20handle%20storage%2C%20validation%2C%20and%20provide%20a%20signed%20URL%20for%20access.%20However%2C%20agents%20cannot%20upload%20videos%20because%20the%20agent%20configuration%20UI%20only%20allows%20text%20and%20number%20inputs%E2%80%94there%20is%20no%20UI%20or%20config%20option%20for%20file%20or%20video%20uploads%20in%20agents%2C%20even%20though%20the%20backend%20supports%20it.%20Enabling%20video%20upload%20for%20agents%20would%20require%20changes%20to%20the%20agent%20configuration%20UI%20and%20possibly%20some%20backend%20adjustments%20to%20expose%20file%20input%20types%20for%20agents.%20This%20is%20a%20known%20limitation%20with%20high%20user%20demand%2C%20and%20there%20are%20ongoing%20discussions%20about%20adding%20this%20feature%2C%20but%20it%20is%20not%20available%20yet.%20Workarounds%20like%20uploading%20a%20video%20via%20a%20workflow%20and%20then%20invoking%20it%20from%20an%20agent%20are%20possible%2C%20but%20agents%20themselves%20cannot%20directly%20transmit%20video%20data%20when%20invoking%20a%20workflow.%20%20%0A%5BReference%201%5D%28https%3A//github.com/langgenius/dify/issues/29461%29%20%7C%20%5BReference%202%5D%28https%3A//github.com/langgenius/dify/discussions/30568%29%20%7C%20%5BReference%203%5D%28https%3A//github.com/langgenius/dify/issues/26934%29)&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/30570)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#21447