Generate synthetic text data
Generates synthetic text fixtures for testing content layouts, CMS workflows, search fixtures, forms, and sample datasets. Supported methods: profile, lines, paragraph, paragraphs, sentence, sentences, slug, text, word, and words. Text-size controls are capped to keep responses bounded and fast.
Authorizations
Bearer token authentication. Use format: Bearer YOUR_API_KEY
Body
Number of text records to generate (1-100). Passed as string but must be numeric.
^[1-9]\d?$|^100$"10"
Locale for generated data (e.g., en, es, fr, de, pt_BR, zh_CN)
"en"
Seed for deterministic generation. Same seed produces same results.
"12345"
Text generation method. Defaults to profile.
profile, lines, paragraph, paragraphs, sentence, sentences, slug, text, word, words "profile"
Exact number of lines for lines or profile output. Range: 1-20.
^[1-9]\d*$"3"
Minimum line count for lines or profile output. Range: 1-20.
^[1-9]\d*$"1"
Maximum line count for lines or profile output. Range: 1-20.
^[1-9]\d*$"5"
Exact sentence count for paragraph, sentences, or profile output. Range: 1-20.
^[1-9]\d*$"3"
Minimum sentence count for paragraph, sentences, or profile output. Range: 1-20.
^[1-9]\d*$"2"
Maximum sentence count for paragraph, sentences, or profile output. Range: 1-20.
^[1-9]\d*$"6"
Exact paragraph count for paragraphs or profile output. Range: 1-5.
^[1-9]\d*$"3"
Minimum paragraph count for paragraphs or profile output. Range: 1-5.
^[1-9]\d*$"1"
Maximum paragraph count for paragraphs or profile output. Range: 1-5.
^[1-9]\d*$"3"
Exact word count for sentence, slug, words, or profile output. Range: 1-50.
^[1-9]\d*$"5"
Minimum word count for sentence, slug, words, or profile output. Range: 1-50.
^[1-9]\d*$"3"
Maximum word count for sentence, slug, words, or profile output. Range: 1-50.
^[1-9]\d*$"10"
Exact word length for word or profile output. Range: 1-14.
^[1-9]\d*$"5"
Minimum word length for word or profile output. Range: 1-14.
^[1-9]\d*$"4"
Maximum word length for word or profile output. Range: 1-14.
^[1-9]\d*$"8"
Word-length fallback strategy for word or profile output.
fail, closest, shortest, longest, any-length "any-length"
Separator for sentences, paragraphs, or profile output. Maximum 16 characters.
16"\\n"