How to add Deep.ai API in Thunkable

As I was searching for Image editing APIs on the Internet… I found Deep.ai which allowed me to Edit Images in my Apps. I need help with how to Insert this API in Thnkable.
I need Code and UI for the AI image Editor API using Deep.ai.
Please Help

What have you tried so far and what happens when you preview it?

No Response was been Showed
Screen-


Blocks

Add a generate JSON from object block in the Body block:

Always do error checking. What happens if you make that change and then assign the green error block to a label?

Also, provide a link to the DeepAI API documentation. Without that, it’s hard to help you troubleshoot the endpoint you are using.

1 Like

Sorry But…
There are Some Errors


tukukyukyuk

Error:{“err”: “error processing given inputs from request”}

https://deepai.org/api-docs#image-editor
Documentation Link

@whoocoder We have discussed also in this topic about how to send an image via WebAPI WEB API Firebase Storage It does not upload the file to the server - #4 by ioannis

1 Like

No Response was Showing
gtrhrthrtrthrt

@whoocoder The image should be in base64
Could you please copy-paste this into a text and try to send it as image?
“data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAA1JREFUGFdjWH4p9z8ABvAC5ua4Z50AAAAASUVORK5CYII=”

1 Like

It is Very Confusing…
Do you have any other Way?


Like This?

1 Like

Sorry for Late Reply

This was the response

I tried the text generation API and it worked for me

I entered Thunkable as the text and got this output

image

image

1 Like

I can see that you assume every API in the world will work as JSON which is not true. Always read the API documentation carefully and see the appropriate settings required.

1 Like

I am Having Error Even with the text editor API
liilululuil
dfgdgdgdfgdfgdfg

1 Like

You need to specify the content type. Your blocks does not have it.

This is using the deepdream endpoint

image

See the blocks

1 Like

This Worked
hgghjfhjfyhj

1 Like

Can you Give me the URL which is being used by you?

1 Like