Replicate add-ons API
When developing add-on utilities that integrate with Replicate, best practice dictates that the utilities' memory requirements and logging capabilities should be managed by Replicate, rather than independently. To this end, the following SDK is provided. For information on Replicate add-on utilities, see User-defined transformations and Using external credentials.
All of the methods described in this API can be found in <INSTALL_DIR>\addons\include\ar_addon.h. To use these methods, you must reference this header file in your source code (
All methods will return one of the following values:
AR_ADDONS_STATUS_SUCCESS = 0,
AR_ADDONS_STATUS_FAILED = 1,