---
title: "Renderra Dub: how to authenticate"
description: "Dub a video ad into 20 languages with a studio voice. $0.15 per language for a video up to 1 minute, caption files included. No subscription."
canonical: https://dub.renderra.art/auth.md
last-updated: 2026-12-05
---

# How to authenticate with Renderra Dub

Two ways in, one account behind both: sign in with Google over OAuth, or send an API key. Both work on the MCP server
(`https://dub.renderra.art/mcp`) and on the REST API (`https://dub.renderra.art/api/v1`).

## Discover

- Protected-resource metadata (RFC 9728): https://dub.renderra.art/.well-known/oauth-protected-resource
- Authorization-server metadata (RFC 8414): https://dub.renderra.art/.well-known/oauth-authorization-server
- A `401` from the API carries `WWW-Authenticate: Bearer resource_metadata="https://dub.renderra.art/.well-known/oauth-protected-resource"`.

## Pick a method

1. **OAuth 2.1, for an assistant acting for a person.** Authorization code with PKCE. The person signs in with Google
   once. MCP clients (Claude, ChatGPT, Claude Code, Cursor, VS Code, Codex) do this on their own from the endpoint.
2. **API key, for scripts and servers.** A person makes a key at https://dub.renderra.art/account/ and gives it to the program.

Every account belongs to a person's Google sign-in. An agent cannot create an account or credentials by itself:
agent identity assertions (`agent_auth`, ID-JAG) are not supported.

## Register

- OAuth clients register themselves at `https://dub.renderra.art/register` (dynamic client registration), or present a client ID metadata
  document. No approval step.
- API keys need no registration.

## Claim

The first sign-in creates the account with $1 of credit. Nothing else has to be claimed or verified.

## Exchange

Send the authorization code and the PKCE verifier to `https://dub.renderra.art/token`. The answer is an access token and a refresh token.

## Use the access_token

`Authorization: Bearer <access token or rk_ key>` on every request. For a client that takes only a URL, the personal
link `https://dub.renderra.art/k/<key>/mcp` carries the key.

## Scopes

API keys carry scopes, chosen when the key is made:

- `read`: look things up (balance, prices, voices, estimates, job status). Spends nothing.
- `jobs`: upload files, start jobs, spend credit. Includes `read`.

A Google sign-in has both.

## Errors

- `401`: no credentials, or a revoked key. The `WWW-Authenticate` header says where sign-in is described.
- `403`: the key lacks the scope. The body names it in `required_scope`.
- `402`: not enough credit.
- `429`: too many requests. Wait `Retry-After` seconds. Every REST answer carries `RateLimit-Limit`,
  `RateLimit-Remaining` and `RateLimit-Reset`.

## Revocation

- A key is revoked on the account page and stops working on the next request.
- An OAuth sign-in ends when the person removes the connector in their assistant. Access tokens are short-lived and
  refreshed. There is no token revocation endpoint yet.
- To close an account, write to rendera2026@gmail.com.
