Setup Guide

How to Get a Replicate API Key (and Use It in Rangy)

Pouya Eti · Updated May 14, 2026 · 5 min read

Replicate is the primary AI provider behind Rangy. It runs most of the image models you generate with — Nano Banana Pro, Nano Banana 2, Seedream, Flux, GPT Image — plus the Crystal upscaler. To use any of them, Rangy needs your personal Replicate API key: a token that lets the app talk directly to Replicate on your behalf.

This guide walks you through getting that key from scratch — creating an account, adding billing, generating the token — and then shows you exactly where to paste it inside Rangy and which features it unlocks. There is a short video for each half, plus written steps so you can follow along at your own pace.

The short version: Go to replicate.com → sign up → add a billing method → open your account's API tokens page → create a token (it starts with r8_) → paste it into Rangy under Settings › API Keys › Replicate.

Part 1: How to Get Your Replicate API Key

Watch the walkthrough below, or follow the written steps underneath it — they cover the same process.

Video: Creating a Replicate account and generating your API token.
  1. Create a Replicate account Go to replicate.com and sign up. You can register with an email address, or sign in with a GitHub or Google account — whichever is fastest for you.
  2. Add a billing method Open your account settings and go to the billing section. Add a payment card or prepaid credit. Replicate charges per generation (you only pay for what you run), so a small starting balance is plenty to begin with.
  3. Open the API tokens page In your account settings, find the API tokens section. This is where personal access tokens are created and managed.
  4. Create a new token Click Create token, give it a name you will recognize later (for example, "Rangy"), and confirm. Replicate generates a token that begins with r8_ followed by a long string of characters.
  5. Copy the token Copy the full token immediately. Treat it like a password — anyone with this token can run generations billed to your account.
Tip: If you ever think your token has been exposed, return to the API tokens page, delete the old one, and create a fresh token. Then update it in Rangy.

Part 2: Where the Replicate Key Is Used Inside Rangy

Once you have the token, connecting it to Rangy takes about ten seconds. The video below shows where it goes and what it turns on.

Video: Adding the Replicate key to Rangy and where it's used.
  1. Open Settings in Rangy Launch Rangy and open Settings from the navigation, then select the API Keys section.
  2. Paste your token Find the Replicate card, paste your r8_ token into the input field, and click Save. The status label changes to "Configured" once it's accepted.
  3. Start generating Switch to the Core or Pro tab, write a prompt, pick a model, and generate. Anything that routes through Replicate now works.

What the Replicate key unlocks

Replicate is Rangy's broadest provider. With a Replicate key configured you can use:

Because it covers the most ground, Replicate is the one key we recommend every Rangy user sets up first. The other providers — Kie.ai, Freepik, Google AI, and Anthropic — are optional and add specific extra capabilities on top.

How Much Does Replicate Cost?

Replicate uses pay-as-you-go pricing. There is no monthly subscription — you are billed per generation, and the cost depends on which model you run and the output resolution. In practice, a single image is usually a few cents. Rangy shows you an estimated cost before each generation so there are no surprises, and you can top up your Replicate balance whenever you like.

Privacy note: Your Replicate API key is stored locally on your own computer. Rangy uses it only to send generation requests directly to Replicate — the key is never uploaded to or stored on Rangy's servers.

Troubleshooting

"Invalid API key" or generations fail immediately

Double-check that you copied the entire token, including the r8_ prefix, with no extra spaces. If you are still stuck, create a fresh token on Replicate and paste the new one into Rangy.

Generations fail with a billing or quota error

This usually means your Replicate account has no payment method or has run out of credit. Open your Replicate billing settings and add a card or top up your balance.

The key saved but a specific model still won't run

A few models are served by other providers. If a model needs Kie.ai, Freepik, or Google AI, Rangy will tell you which key is missing — set that one up too.

Frequently Asked Questions

Is a Replicate API key free?

Creating the account and the token is free. You only pay for the generations you actually run — Replicate bills per prediction, typically a few cents per image. You add a payment method or prepaid credit before generating.

What does a Replicate API key look like?

It starts with r8_ followed by a long string of letters and numbers. Treat it like a password and never post it publicly.

Where do I paste my Replicate API key in Rangy?

Open Rangy, go to Settings › API Keys, paste the token into the Replicate field, and click Save. Your key stays on your device.

Which Rangy models use the Replicate key?

Most of them — Nano Banana Pro, Nano Banana 2, Seedream, Flux, GPT Image — plus the Crystal upscaler. It is Rangy's primary provider.

Is my Replicate API key safe in Rangy?

Yes. It is stored locally on your computer and used only to talk directly to Replicate's API. It is never sent to Rangy's servers.

Ready to start generating?

Download Rangy, add your Replicate key, and create your first AI image in minutes.

Download Rangy