Lyson Ober

Dify: One-click generation of multi-size Covers and cross-platform copywriting

📺 Related to video by 莱森 Lyson Ober: https://www.youtube.com/watch?v=kCrQp8YZTsQ

📺 Related to video by 莱森 Lyson Ober: https://www.youtube.com/watch?v=kCrQp8YZTsQ

☝️ Please note that the default configuration of a single Dify branch is a maximum of 50 nodes, and Lyson Ober increased this value in the code to allow the Workflow to run. So you have two choices: the first is to modify the source code like Lyson Ober, and the other is to merge the nodes, because Lyson Ober deliberately broke down the request body into multiple nodes to make it easier for beginners to understand the Http part, but in fact only one is needed; in addition, due to the existence of Conversational Variable and Environment Variable, the approach of using the Template Node as a placeholder at the beginning of the video can also be omitted. Check dify document here 👉 https://docs.dify.ai/getting-started/install-self-hosted/faqs#id-2.-how-to-handle-if-the-workflow-is-too-complex-and-exceeds-the-node-limit

1️⃣ Known issue 1: line 10, in main KeyError: 'data' error: exit status 255 It seems that you have not set the API_Key for ImgRender. You can find their website and developer documentation here 👉 https://www.imgrender.net/

2️⃣ Known issue 2: Due to changes in the API, the maximum width is only supported up to 1440 (the development documentation takes precedence). If you change the width, you also need to modify the height to maintain the aspect ratio of the image.

☝️ Please note that the default configuration of a single Dify branch is a maximum of 50 nodes, and Lyson Ober increased this value in the code to allow the Workflow to run. So you have two choices: the first is to modify the source code like Lyson Ober, and the other is to merge the nodes, because Lyson Ober deliberately broke down the request body into multiple nodes to make it easier for beginners to understand the Http part, but in fact only one is needed; in addition, due to the existence of Conversational Variable and Environment Variable, the approach of using the Template Node as a placeholder at the beginning of the video can also be omitted. Check dify document here 👉 https://docs.dify.ai/getting-started/install-self-hosted/faqs#id-2.-how-to-handle-if-the-workflow-is-too-complex-and-exceeds-the-node-limit

1️⃣ Known issue 1: line 10, in main KeyError: 'data' error: exit status 255 It seems that you have not set the API_Key for ImgRender. You can find their website and developer documentation here 👉 https://www.imgrender.net/

2️⃣ Known issue 2: Due to changes in the API, the maximum width is only supported up to 1440 (the development documentation takes precedence). If you change the width, you also need to modify the height to maintain the aspect ratio of the image.

Sponsor

Jul 24, 2024

莱森 LysonOber

Related Tutorial

Subscribe to our newsletter 🤩

We regularly list new indie products & makers. Get them in your inbox!

We regularly list new indie products & makers. Get them in your inbox!

We regularly list new indie products & makers. Get them in your inbox!