Replicate lets your app run open image, video, audio and text models and get the results back.
What you can ask for#
Let users turn a photo into a cartoon using a Replicate model.
Search Replicate for a model that removes backgrounds and add it to my editor page.
Generate a short audio clip from the text a user types.
Connect Replicate#
Step 1: Find the connector
Open Tools, then Connectors, and search for Replicate. You can also go to Settings, then Connectors, in your dashboard.
Step 2: Select Connect
Select Connect to open the secure form.
Step 3: Enter the details
Fill in API key. Hidden fields show as dots; use the eye icon to check what you typed.
Step 4: Save
Select Save connection. Swarmz encrypts the credentials and only decrypts them to call Replicate for you. Everyone in your workspace can then use the connection.
Where to find your credentials#
In Replicate, create an API token for the account that will pay for runs.
What the AI can and can't do#
- Search the model catalogue.
- Start a prediction and check on it until it finishes.
- Usage and billing belong to your Replicate account.
- Runs happen in the background, so the app checks back rather than waiting.
- Apps you publish can call this connector too, not just the builder.
- Changes ask for your approval by default. You can adjust this under Agent permissions on the connection. See What an integration can access.
Troubleshooting#
A run never finishes.
Models can take a while or fail. Ask the AI to check the prediction and show its error.
The token was rejected.
Create a new token in Replicate and update the connection.
Which model should I use?
Ask the AI to search for models that fit your task and compare them.
General steps for any connector are in Connect an integration. Keys and secrets are covered in Secrets and API keys. To remove it, see Disconnect an integration.
What Swarmz can do with it
Model search
Search public models and documentation before selecting a model.
Predictions
Start, inspect, list, and cancel asynchronous predictions.
More in AI & models
Still stuck?
A person from Swarmz Support can take a look.