Skip to main content

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 (#include "ar_addon.h").

All methods will return one of the following values:

AR_ADDONS_STATUS_SUCCESS = 0,

AR_ADDONS_STATUS_FAILED = 1,

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!