Upload picture and get answer from AI

Hey there. I am new to Bubble.

As I am trying to use API to build a Q&A AI chatbot, I followed an example video I found on youtube and made it work. (https://www.youtube.com/watch?v=pBoy4EJLQ_w) This example helped me understand fundamentals including building a thread to make AI remember chat history.

Now I want to add a take/upload picture feature like most AI chat apps does. But I have no idea how to do it and get stuck. Actually I followed another example (https://www.youtube.com/watch?v=UZIoSJcssgA&t=466s) and made it work as well. But the example video is only for simple one-time Q&A, so I dont know how to add image into thread.

Attached are screenshots are stuff I put into the workflow and my API call.
I think the way I try to design the workflow might be wrong.
Can anyone let me know how you would do and if any helpful video tutorials may help me?



why my post is not shown in the forum???If here is not the best place to ask for help, any suggestion where I should go? Like reddit?