intergarted functions. Todo: upload image, send text to api