Help creating image to text through the use of an API on mobile

Help creating image to text through the use of an API on mobile

Hi there so I am finding it extremely difficult to create functions on the mobile editing platform compared to things that look fairly simple on the web editing side. I have just purchased a plugin that allows me to take a picture and have it save to a group state with the image URL or base64. Having downloaded a lot of the ORC plugins I have realized none of them are made for mobile yet and therefore I would need to connect it to an api instead.

However I am really struggling to get the dynamic URL that would change with every picture a user takes into the google vision api I am trying to use. My understanding is that it is a action function and not a data function in the api set up. However I can only see the api as a dynamic value if I select it as data and when it is set to action I can only find the api in the work flow area of the app. Basically this is a lot of word vomit where I am just saying I have no idea what I am doing and your help would be greatly appreciated because my ai is now grumpy with me and doesn’t want to help any more :rofl:

What I have
an image URL that changes with each picture that is attached to a group state
An Api Key for google vision

In Bubble, you should set the Google Vision API call as an Action in the API Connector, then pass the dynamic image URL or base64 from your group state into the API body, and finally store the response in a custom state or database so you can display the results in your app.

1 Like