Skip to main content

Create Training

Creates a new training job for a model on the Replicate AI platform.

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​

  • Connection Id - The identifier of the Replicate AI connection to use.
  • Model Owner - The owner/username of the model to train.
  • Model Name - The name of the model to train.
  • Version - The version identifier of the model base to use for training.
  • Destination - The destination for the trained model (format: owner/name).
  • Inputs - An object containing the training parameters and data. The structure depends on the specific model being trained.

Options​

This node does not have any configurable options.

Output​

  • Training Result - The response object from the Replicate API after creating the training job.
  • Training Id - The unique identifier of the created training job, which can be used with other nodes to check its status.

How It Works​

The Create Training node integrates with the Replicate AI platform to create a new training job for a model. When executed, the node:

  1. Validates all provided inputs (Connection Id, Model Owner, Model Name, Version, Destination, and Inputs)
  2. Creates a training job using the Replicate API directly
  3. Returns the Training Id and Training Result for tracking the training job status

Requirements​

  • A valid Replicate AI account
  • A configured Replicate AI connection in Robomotion
  • The model owner, name, and version identifiers
  • Valid training parameters and data in the Inputs object
  • A valid destination for the trained model

Error Handling​

The node will return specific errors in the following cases:

  • Empty or invalid Connection Id
  • Empty or invalid Model Owner
  • Empty or invalid Model Name
  • Empty or invalid Version
  • Empty or invalid Destination
  • Invalid input parameters for the training
  • Invalid connection credentials
  • Network issues when communicating with the Replicate API
  • API errors from the Replicate platform
  • Robomotion Credits cannot be used with this node

Usage Notes​

  • The Inputs object structure varies depending on the model being trained
  • Refer to the Replicate AI model documentation for the required training parameters
  • The Destination must be in the format "owner/name" where you have write permissions
  • The returned Training Id can be used with the Get Training node to check status
  • This node does not support Robomotion Credits - a direct Replicate API key is required
  • Training jobs may take a significant amount of time to complete depending on the model and data