Generate random passwords
Generatedgenerators_passwordValid by construction but non-reproducible — a fresh call returns new values.
Generate random passwords from the selected character classes (upper/lower/digits/symbols); each includes at least one char from every enabled class. CSPRNG-backed unless seeded (insecure — tests only). Use count for many.
Parameters
lengthintegeroptionalPassword length in characters.
upperbooleanoptionalInclude uppercase letters.
lowerbooleanoptionalInclude lowercase letters.
digitsbooleanoptionalInclude digits.
symbolsbooleanoptionalInclude symbols.
countintegeroptionalHow many to generate.
seedintegeroptionalReproducible (insecure) output for testing.
Call it
curl -X POST https://api.snipget.ai/v1/generators/password \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{"length":16,"count":1}'FAQ
Why use this instead of making up a password myself?
Passwords people invent tend to follow patterns and are easier to guess, and an AI asked to make one can repeat or weaken it. This draws from a proper random source and guarantees at least one character from every type you turn on, so the result is genuinely strong.
Can I control which characters it uses?
Yes. Turn uppercase, lowercase, digits, and symbols on or off, and set the length. By default all four are on. The password always includes at least one character from each enabled type.
Can I regenerate the same password later?
No, and that is the point. Each call returns a brand new password you cannot reproduce, so copy it somewhere safe when you create it. There is a seed option for tests only; never seed a real password because seeded output is not secure.
What if I turn everything off, or set a length that is too short?
Bad parameters — no character types enabled, or a length too short to fit every enabled type — are request mistakes: rejected with an INVALID_INPUT error naming the problem, not billed. Adjust and try again.
Can I make a batch of passwords?
Yes. Set count to generate many unique passwords in one call, up to 1000.