Fittins AI Logo
API docs menu

Get started

Test mode

Test keys (fit_test_…) run the checks on your request and plan, but never call the AI and never use credits or storage. A test generation "runs" for about 3 seconds, then finishes with a sample photo or video, and sends webhooks like a live one. Create a test key in Profile → API keys.

Prompt (or description)What happens
test:content_flaggedFails with content_flagged.
test:generation_failedFails with generation_failed.
test:slowSucceeds after about 60 seconds, so you can see your code wait.
anything elseSucceeds with a sample file.
  • Live and test are separate: a test key can't see live generations or endpoints, and a live key can't see test ones.
  • Test uploads are checked but not stored; their upl_test_ ids work in test generations only.
  • Credits, the queue and spending caps are not applied to test keys.
Questions? Email support@fittins.ai with the X-Request-Id of the request.Next: Errors →