Skip to main content
Replicate

Installation

Install both the Netra SDK and Replicate SDK:

Usage

Initialize the Netra SDK with Replicate instrumentation enabled. The SDK automatically traces all Replicate API calls once initialized.

Streaming Responses

The SDK automatically handles streaming responses and captures the complete output:

Image Generation

Image generation models are also automatically instrumented:

Selective Instrumentation

Control which integrations are enabled using the instruments or blockInstruments configuration:

Next Steps

Last modified on March 17, 2026