Help! The image returned from the Stability AI API can’t be displayed. Experts, please help. Thank you!

This is the API configuration, and I believe there shouldn’t be any problem here.

I added a state where I plan to temporarily store the returned data.

Here is the workflow content: call the API and then save the data in the state.

Here are some settings for displaying the image. I think I might have made a mistake with the data source location. Maybe the prompt for converting the base64 data is incorrect. I’ve tried many methods, but none have worked.

This is the test result: I created a text element to receive the state’s content to check whether the data was actually returned. It turns out the data is indeed returned and visible, but the image still can’t be displayed.

I tried storing the base64 image data in the state, but during testing, the text element that receives the state only displayed the expression I wrote, not the actual data. So I believe my expression is incorrect.

Also, the returned data in my test, starting with iVBORw0KGgoAAAANSUhEUgAABgAAAAYACAIAAAA/jB…, contains about 5 million characters. I’m wondering if the string is too long and gets truncated, which causes the image not to display.

No matter the reason, I currently have no way to solve this problem. I sincerely ask all experts to help me think of solutions. Thank you!

I’m a beginner and have been using Bubble for just over a month. Looking forward to expert guidance!