The Replicate Integration allows your app to use Replicate to run open-source AI models in the cloud without managing infrastructure. Once connected, you can use Replicate to generate text, images, audio, and more — directly from workflows and UI actions.

With Replicate, your app can:

  • Run open-source AI models without GPU or hosting setup.
  • Access models for text generation, image generation, audio, and multimodal tasks.
  • Automate workflows like content generation, data processing, or AI-powered features.
  • Use prebuilt models or deploy your own custom models.
  • Scale effortlessly with serverless infrastructure.
  1. Go to the Replicate Dashboard.
  2. Log in or create an account.
  3. Navigate to the API Tokens section.
  4. Copy your API Token from the account page.
  • Example: r8_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  1. Go to Integrations → Add Replicate in your app settings.
  2. Paste your Replicate API Token in the input field.
  3. Click Connect to validate and save your integration.

Once connected, your app can call Replicate models directly in workflows, UI actions, or automations.

  • Keep your token secure: Do not hardcode your Replicate token in public code repositories.
  • Use environment-specific tokens: Separate dev, staging, and production environments for security.
  • Secure API access: The token allows your app to interact with Replicate endpoints safely and efficiently.
  • Model flexibility: You can use community models or deploy your own for full control.

Built with Reflex