Skip to main content

Connect

Establishes a connection to the Replicate AI platform for use with other Replicate AI nodes.

Common Properties

  • Name - The custom name of the node.
  • Color - The custom color of the node.
  • Delay Before (sec) - Waits in seconds before executing the node.
  • Delay After (sec) - Waits in seconds after executing node.
  • Continue On Error - Automation will continue regardless of any error. The default value is false.
info

If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.

Inputs

This node does not require any inputs.

Options

  • API Key - The Replicate API token credential used to authenticate with the service.
  • Use Robomotion Credits - When enabled, uses Robomotion credits instead of a direct Replicate API key.

Output

  • Connection Id - The unique identifier for the established connection, to be used with other Replicate AI nodes.

How It Works

The Connect node establishes a connection to the Replicate AI platform and generates a connection identifier. When executed, the node:

  1. Validates the provided API Key credential (if not using Robomotion Credits)
  2. Creates a client connection to the Replicate API
  3. Returns a Connection Id that can be used with other Replicate AI nodes

Requirements

  • A valid Replicate AI account
  • Either a Replicate API key or Robomotion credits (depending on the selected option)

Error Handling

The node will return specific errors in the following cases:

  • Empty or invalid API Key credential
  • Network issues when establishing the connection
  • Invalid Replicate API credentials

Usage Notes

  • The Connection Id output should be connected to the Connection Id input of other Replicate AI nodes
  • When using Robomotion Credits, some features may be limited compared to using a direct API key
  • The connection is established each time the node is executed
  • Store the Connection Id in a variable if you need to reuse it across multiple nodes