Lorem Ipsum
Try it interactively →POST /api/lorem-ipsumGenerate Lorem ipsum placeholder text. Configurable length in paragraphs, sentences, or words. Returns plain text or HTML-wrapped paragraphs.
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| unit | enum (paragraphs | sentences | words) | "paragraphs" | What to count. |
| count | number (1…1000) | 3 | How many of the chosen unit to emit. |
| startWithLorem | boolean | true | Start the first unit with the canonical Cicero opening. |
Response
Modes: json, text. Cache: not cacheable.
Code samples
Built from the three-paragraphs example.
curl -X POST https://api.xtract.bot/api/lorem-ipsum \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "X-Account-Id: $XTRACT_ACCOUNT_ID" \
-H "X-Api-Key: $XTRACT_API_KEY" \
-d '{
"unit": "paragraphs",
"count": 3,
"startWithLorem": true
}'