Skip to main content
POST
Generate synthetic text data

Authorizations

Authorization
string
header
required

Bearer token authentication. Use format: Bearer YOUR_API_KEY

Body

application/x-www-form-urlencoded
count
string

Number of text records to generate (1-100). Passed as string but must be numeric.

Pattern: ^[1-9]\d?$|^100$
Example:

"10"

locale
string

Locale for generated data (e.g., en, es, fr, de, pt_BR, zh_CN)

Example:

"en"

seed
string

Seed for deterministic generation. Same seed produces same results.

Example:

"12345"

method
enum<string>

Text generation method. Defaults to profile.

Available options:
profile,
lines,
paragraph,
paragraphs,
sentence,
sentences,
slug,
text,
word,
words
Example:

"profile"

lineCount
string

Exact number of lines for lines or profile output. Range: 1-20.

Pattern: ^[1-9]\d*$
Example:

"3"

lineCountMin
string

Minimum line count for lines or profile output. Range: 1-20.

Pattern: ^[1-9]\d*$
Example:

"1"

lineCountMax
string

Maximum line count for lines or profile output. Range: 1-20.

Pattern: ^[1-9]\d*$
Example:

"5"

sentenceCount
string

Exact sentence count for paragraph, sentences, or profile output. Range: 1-20.

Pattern: ^[1-9]\d*$
Example:

"3"

sentenceCountMin
string

Minimum sentence count for paragraph, sentences, or profile output. Range: 1-20.

Pattern: ^[1-9]\d*$
Example:

"2"

sentenceCountMax
string

Maximum sentence count for paragraph, sentences, or profile output. Range: 1-20.

Pattern: ^[1-9]\d*$
Example:

"6"

paragraphCount
string

Exact paragraph count for paragraphs or profile output. Range: 1-5.

Pattern: ^[1-9]\d*$
Example:

"3"

paragraphCountMin
string

Minimum paragraph count for paragraphs or profile output. Range: 1-5.

Pattern: ^[1-9]\d*$
Example:

"1"

paragraphCountMax
string

Maximum paragraph count for paragraphs or profile output. Range: 1-5.

Pattern: ^[1-9]\d*$
Example:

"3"

wordCount
string

Exact word count for sentence, slug, words, or profile output. Range: 1-50.

Pattern: ^[1-9]\d*$
Example:

"5"

wordCountMin
string

Minimum word count for sentence, slug, words, or profile output. Range: 1-50.

Pattern: ^[1-9]\d*$
Example:

"3"

wordCountMax
string

Maximum word count for sentence, slug, words, or profile output. Range: 1-50.

Pattern: ^[1-9]\d*$
Example:

"10"

wordLength
string

Exact word length for word or profile output. Range: 1-14.

Pattern: ^[1-9]\d*$
Example:

"5"

wordLengthMin
string

Minimum word length for word or profile output. Range: 1-14.

Pattern: ^[1-9]\d*$
Example:

"4"

wordLengthMax
string

Maximum word length for word or profile output. Range: 1-14.

Pattern: ^[1-9]\d*$
Example:

"8"

strategy
enum<string>

Word-length fallback strategy for word or profile output.

Available options:
fail,
closest,
shortest,
longest,
any-length
Example:

"any-length"

separator
string

Separator for sentences, paragraphs, or profile output. Maximum 16 characters.

Maximum string length: 16
Example:

"\\n"

Response

Successfully generated text data

status
enum<string>
required
Available options:
success
data
object
required
performance
object