Replies: 2 comments
-
|
There isn’t official end-user documentation for adding custom API interfaces in Dify, but the codebase provides a clear pattern. Dify’s backend uses Flask blueprints and Flask-RESTX namespaces to modularize API endpoints. To add a custom API interface, you typically:
For file/video uploads: Dify’s backend already supports video file types at the utility level, and the If you want to proceed, look at how the Let me know if you want a code snippet or more details on a specific part of this process. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
|
For adding custom API capabilities (like video upload), you have a few options:
For video specifically, you would likely create a custom tool that POSTs to your video processing endpoint. Does that point you in the right direction? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
The current DIY agent cannot upload videos, I want to modify it
2. Additional context or comments
No response
Beta Was this translation helpful? Give feedback.
All reactions