Function getRemoteImageApi