API - replicate

Hello, I am wondering if it’s possible to add a replicate sketch to draw API to my bubble app?

It is for my app that will allow users to sketch a drawing and have AI generate it to a realistic image.

Has anyone done this? Or know how to?

Thanks!