How to Use Replicate in Any AI Agent
To use Replicate in Claude Code, connect Spiral to Claude Code once, then ask for what you want in plain words. Claude Code can then reach both Replicate tools on Spiral, priced per run from one balance.
Prompts to try with Replicate in any AI agent
Copy an example into your agent, or ask in your own words.
Remove the background from the photo I attach with Replicate and give me a transparent PNG. Save the result in ./assets.
Use Replicate to clean up these product shots so they sit on pure white.
Edit this image with Replicate: keep the subject, swap the background for a sunlit studio.
Use Replicate to turn this daytime photo into a dusk scene with warm window light.
Upscale and sharpen this low-resolution photo with Replicate so it prints at A4.
Replicate tools on Spiral
Today's price is in each card, with every fee included.
Use Replicate in your AI agent
Pick your agent for its setup steps and prompts. Each takes about two minutes.
What can you do with Replicate in an AI agent?
Clean product shots
Remove or replace backgrounds across a whole folder.
Retouching
Fix lighting, remove objects and extend images without opening an editor.
Variations
Restyle one approved image for each channel.
E-commerce catalogs
Consistent backgrounds and lighting across every product.
Upscaling
Sharpen low-resolution images for print or retina screens.
Brand consistency
Apply one style to images from many sources.
More about Replicate
Questions about Replicate in AI agents
Which AI agents can use Replicate?
Any agent Spiral connects to: Claude, ChatGPT, Gemini, Grok and Perplexity, coding agents such as Cursor, Claude Code and Codex, and workflow tools such as Zapier and n8n. Each agent's guide below shows its setup.
How much does Replicate cost through Spiral?
Each Replicate tool is priced per run, shown before it starts, and paid from one Spiral balance. Each run is charged for its measured usage.
Do I need a Replicate account to use it in an AI agent?
No. Spiral runs Replicate on its own account and charges your Spiral balance, so your agent needs no Replicate key.
How do I set up Replicate in my agent?
Connect Spiral to your agent once (a skill, an MCP server, the CLI or the API), then ask for a Replicate tool by name. Each agent's guide on this page has its exact steps.
Can my agent compare Replicate tools?
Yes. Ask it to run the same request on two Replicate tools and show both results with what each cost.
What happens if a run fails in your agent?
It is not charged. Spiral holds a run's estimated price when it starts and returns it to your balance if the run fails on Spiral's side or the provider's, and your agent gets the error to retry or try another tool.
Is there a subscription or plan?
No. Spiral is pay as you go from one prepaid balance, with no plans or minimums, and credits never expire. Auto top-up and balance alerts keep runs from stopping when the balance runs low.
How is a run priced?
When a run starts, its estimate is held from your balance; when it finishes, you are charged for the measured usage and the rest of the hold is released. Each tool shows its price before a run.
Start using Replicate in your agent
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into your agent:
set up https://spiral.ai/SKILL.md


