Authentication and keys
Every request carries a key:
Authorization: Bearer rmk_3f9c1e...Making keys
Section titled “Making keys”Keys are made in the app under Account, Developer API. A live key needs a confirmed email and a plan or bought credits. A test key (rmk_test_...) needs only the confirmed email: its designs are free and finish with a sample picture. An account can have 10 keys of either kind. The secret (rmk_ and 48 hex characters) is shown once; we store only a hash of it, so we can’t show it again. Make a new key if you lose one.
Each key has:
- A name, to tell keys apart (for example “Listing sync, production”).
- A credit limit: the most credits it may spend in any 30 days. 500 by default (about 100 Standard designs), up to 1,000,000. A design that would pass the limit is refused with
402 key_limit_reachedand nothing is charged. A limit of 0 makes a read-only key. - A webhook URL (optional), where finished designs are sent. See webhooks.
GET /public/v1/account shows the key’s limit, what it used in the last 30 days and what is left.
What a key can reach
Section titled “What a key can reach”A key opens only the API under /public/v1 (and the OpenAI-compatible routes). It can’t sign in to the app, see billing or change the account. It sees:
- photos uploaded with a key, and designs started with a key (by any key of the account),
- never the person’s own uploads or library in the app, even if an id leaks.
Designs made with the API do appear in the account’s library in the app, so you can look at them there.
Revoking
Section titled “Revoking”Revoke a key in the app and it stops at once: every request looks the key up again. Revoked keys keep their name on the designs they made.
Keeping keys safe
Section titled “Keeping keys safe”- Keep keys in a secret manager or environment variable (
REMODELED_API_KEYis what the SDKs read). - Use a separate key per environment (staging, production) and per customer-facing feature.
- Set each key’s limit to what it needs; raise it when you need to.
- If a key leaks, revoke it and make a new one. The limit caps what it could have spent.
Account requirements
Section titled “Account requirements”Every design start checks the account again: a confirmed email (403 verify_email) and, for a live key, a plan or bought credits (403 paid_only). If a plan lapses or a purchase is refunded, its keys stop spending until the account qualifies again.