Skip to content

Test keys

A test key (rmk_test_...) works like a live key on every endpoint, but nothing it does costs anything. Use it to build your integration, run it in CI, and check your webhook handler before you switch to a live key.

In the app, open Account, Developer API, choose New key and pick Test. A test key needs only a confirmed email: no plan or credit pack. Test and live keys share the account’s limit of 10 keys.

GET /public/v1/account answers "testMode": true for a test key, so your code can tell which kind it is holding.

  • The same endpoints, request checks, error codes and rate limits.
  • Uploads are checked and stored as with a live key.
  • Designs go through queued, running and succeeded (or failed), and Prefer: wait works.
  • Webhooks are signed and sent for finished designs, so you can test your receiver.
  • The SDKs and the OpenAI-compatible routes work unchanged.
Test key Live key
Cost Free: creditsCharged is always 0 The account’s credits
Pictures A fixed sample picture, labelled “Test design” A real redesign of your photo
Time to finish A few seconds Usually 10 to 60 seconds
Who can make one Any account with a confirmed email Accounts with a plan or bought credits
Credit limit None Per key, per 30 days
In the app’s library No Yes

Test and live keys never see each other. A test key sees only uploads and designs made with test keys, and a live key only live ones. Using a live upload with a test key answers 422 asset_not_ready, and a test design’s id answers 404 to a live key.

Premium rooms and styles follow the account, as with a live key: on a free account they answer 403 until the account has a plan or bought credits.

Set metadata.test_outcome to "failed" and the test design fails, with a design.failed webhook, as a real failure would:

Terminal window
curl -X POST https://api.remodeled.ai/public/v1/designs \
-H "Authorization: Bearer $REMODELED_TEST_KEY" \
-H "Content-Type: application/json" \
-d '{"mode": "remodel", "inputAssetId": "'$ASSET_ID'", "metadata": {"test_outcome": "failed"}}'

The design ends with status: "failed" and an error, and no credits are involved either way.

Make a live key (the account needs a plan or credit pack), set its credit limit, and swap it in where your code reads REMODELED_API_KEY. Nothing else changes. Uploads and designs made with the test key don’t carry over, so upload the photos again with the live key.