The Anthropic API key is what powers the Rangy Agent — the chat-based assistant inside Rangy that turns a plain-language request into a finished image. You describe what you want, and the Agent works out the rest: it picks the right AI model, writes a detailed prompt, runs the generation, and drops the result onto a freeform canvas you can keep building on. The Agent's primary "direct API" tier runs on Claude, Anthropic's family of models, so it needs your personal Anthropic API key to do its thinking.
This guide walks you through getting that key from scratch — creating an Anthropic Console account, adding billing, and generating the key — and then shows you exactly where to paste it inside Rangy and what 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 console.anthropic.com → sign up for an account → add a billing method → open the API Keys section → create a new key (it starts with sk-ant-) → paste it into Rangy under Settings › API Keys › Anthropic.
Part 1: How to Get Your Anthropic API Key
Watch the walkthrough below, or follow the written steps underneath it — they cover the same process.
- Open the Anthropic Console Go to console.anthropic.com — this is Anthropic's developer dashboard, the home for everything related to the Claude API. Sign up for an account with your email address and verify it.
- Add a billing method Open the billing section of the Console and add a payment card or prepaid credit. Anthropic charges per token (you only pay for what the Agent reads and writes), so a small starting balance is plenty to begin with.
- Open the API Keys section In the Console, find the API Keys area. This is where personal API keys are created and managed.
- Create a new key Click to create a new key, give it a name you will recognize later (for example, "Rangy"), and confirm. Anthropic generates a key that begins with sk-ant- followed by a long string of characters.
- Copy the key Copy the full key immediately — it is usually shown only once. Treat it like a password: anyone with this key can run requests billed to your account.
Part 2: Where the Anthropic Key Is Used Inside Rangy
Once you have the key, connecting it to Rangy takes about ten seconds. The video below shows where it goes and what it turns on.
- Open Settings in Rangy Launch Rangy and open Settings from the navigation, then select the API Keys section.
- Paste your key Find the Anthropic card, paste your sk-ant- key into the input field, and click Save. The status label changes to "Configured" once it's accepted.
- Open the Rangy Agent Switch to the Agent chat, type what you want in plain language — for example, "a moody cinematic portrait of a fisherman at dawn" — and let the Agent take it from there. It chooses the model, writes the prompt, runs the generation, and places the result on the canvas.
What the Anthropic key unlocks
The Anthropic key powers one thing, but it is a big one: the Rangy Agent. Instead of choosing a model and hand-writing a prompt yourself, you have a conversation. Here is what the Agent does once your key is in place:
- Understands the request — you describe the image you want in everyday language, and Claude interprets your intent, asks a clarifying question when something is ambiguous, and keeps track of the conversation as you refine.
- Picks the right model — Rangy has a dozen image models with different strengths. The Agent matches your request to the best fit, whether that's a fast text-to-image model, a multi-subject editor, or an upscaler.
- Writes a detailed prompt — it expands your short description into a full, well-structured prompt that gets the most out of the chosen model, so you don't have to learn prompt-craft yourself.
- Runs the generation and uses the canvas — the Agent triggers the generation for you and drops the finished image onto a freeform canvas, where you can keep iterating, place results side by side, and build on what worked.
Because the Agent is the layer that ties everything together, the Anthropic key is what makes Rangy feel like a creative partner rather than a control panel. The other providers — Replicate, Kie.ai, Freepik, and Google AI — are what actually render the images; the Anthropic key is what plans and orchestrates them.
How Much Does the Anthropic API Cost?
Anthropic uses pay-per-token pricing. There is no monthly subscription — you are billed for the text the Agent reads (your messages and the context it needs) and the text it writes (its replies and the prompts it generates). In practice the amounts are small, because Rangy deliberately keeps the Agent's context lean: it sends only what's needed for the task at hand rather than dragging your whole history into every request. A typical back-and-forth that ends in a finished image costs a fraction of what the image generation itself does. You can top up your Anthropic balance whenever you like.
Privacy note: Your Anthropic API key is stored locally on your own computer. Rangy uses it only to send Agent requests directly to Anthropic — the key is never uploaded to or stored on Rangy's servers.
Troubleshooting
"Invalid API key" or the Agent won't respond
Double-check that you copied the entire key, including the sk-ant- prefix, with no extra spaces. If you are still stuck, create a fresh key in the Anthropic Console and paste the new one into Rangy.
The Agent fails with a billing or credit error
This usually means your Anthropic account has no payment method or has run out of credit. Open the billing section of the Anthropic Console and add a card or top up your balance.
The key saved but image generation still fails
The Anthropic key only powers the Agent's thinking — it doesn't render images. The actual generation runs through providers like Replicate, Kie.ai, Freepik, or Google AI. If one of those keys is missing, Rangy will tell you which to set up.
Frequently Asked Questions
Is an Anthropic API key free?
Creating the Anthropic Console account and the key is free. You only pay for the tokens the Rangy Agent reads and writes when you use it — Anthropic bills per token, and Rangy keeps the Agent's context lean to keep costs low. You add a payment method or prepaid credit before using the Agent.
What does an Anthropic API key look like?
It starts with sk-ant- followed by a long string of letters and numbers. Treat it like a password and never post it publicly.
Where do I paste my Anthropic API key in Rangy?
Open Rangy, go to Settings › API Keys, paste the key into the Anthropic field, and click Save. Your key stays on your device.
What does the Anthropic API key do in Rangy?
It powers the Rangy Agent — the chat-based assistant that understands what you want, picks the right AI model, writes a detailed prompt, runs the generation, and drops the result onto a freeform canvas. The Agent's primary direct-API tier runs on Claude.
Is my Anthropic API key safe in Rangy?
Yes. It is stored locally on your computer and used only to talk directly to Anthropic's API. It is never sent to Rangy's servers.
Ready to start generating?
Download Rangy, add your Anthropic key, and let the Rangy Agent create your first AI image in minutes.
Download Rangy