Get started
Quickstart
Four steps from nothing to a working call. Rend is pay as you go: you don’t need a plan, just a little credit.
1. Accept the 18+ terms
Rend’s models carry no editorial filter, so each account accepts the 18+ terms once before its first call. New here? Sign up and open the link Rend emails you. If you said you were 18 or older when you signed up, the terms are already accepted. Otherwise, sign in and accept them at rend.ai/confirm-18. It is one click, and it covers every key on the account. Until then, calls return a 403 with code adult_confirm.
2. Add credit
Open Settings → Billing and choose Add credit. Top-ups start at $5. Credit you add never expires, and the API spends nothing until you call it.
3. Get a key
Open API keys on developers.rend.ai and choose Create key. Name it, then copy it: the key starts with rnd_api_ and is shown once. Keep it on your server, never in a browser or an app you ship.
export REND_API_KEY="rnd_api_..."4. Make your first call
Use the base URL https://api.rend.ai/v1 with any OpenAI-compatible client.
curl https://api.rend.ai/v1/chat/completions \
-H "Authorization: Bearer $REND_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "rend-swift",
"messages": [
{"role": "system", "content": "You write short, punchy ad copy."},
{"role": "user", "content": "Three hooks for a cold brew coffee ad."}
]
}'# pip install openai
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.rend.ai/v1", api_key=os.environ["REND_API_KEY"])
reply = client.chat.completions.create(
model="rend-swift",
messages=[
{"role": "system", "content": "You write short, punchy ad copy."},
{"role": "user", "content": "Three hooks for a cold brew coffee ad."},
],
)
print(reply.choices[0].message.content)
print("cost (USD):", reply.usage.model_extra["cost"])// npm install openai
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.rend.ai/v1", apiKey: process.env.REND_API_KEY });
const reply = await client.chat.completions.create({
model: "rend-swift",
messages: [
{ role: "system", content: "You write short, punchy ad copy." },
{ role: "user", content: "Three hooks for a cold brew coffee ad." },
],
});
console.log(reply.choices[0].message.content);
console.log("cost (USD):", reply.usage.cost);{
"id": "chatcmpl-6f1c...",
"object": "chat.completion",
"created": 1796500000,
"model": "rend-swift",
"choices": [{
"index": 0,
"message": {
"role": "assistant",
"content": "1. Your alarm clock called. It wants cold brew.\n2. ..."
},
"finish_reason": "stop"
}],
"usage": {
"prompt_tokens": 31,
"completion_tokens": 412,
"total_tokens": 443,
"prompt_tokens_details": { "cached_tokens": 0 },
"completion_tokens_details": { "reasoning_tokens": 350 },
"cost": 0.000886,
"cost_details": {
"input": 0.000016,
"cached_input": 0,
"output": 0.00087,
"search": 0
},
"searches": { "web_search": 0, "x_search": 0 }
},
"search_results": []
}usage.cost is what the request cost you, in US dollars. Every request also shows in Settings → Usage, and Usage on developers.rend.ai totals your spend by day and model.
Next
- Make a picture: Images.
- Make a video take: Videos.
- Stream the reply as it is written: Streaming.
- Compare the four models and their prices: Models & pricing.
Using another tool? Anything with a setting called base URL, API base or custom endpoint works. Enter https://api.rend.ai/v1, your key, and a model name such as rend-swift.