Overview
- Category
- Text Tools
- API mode
not_available- Processing
- client-side
- Privacy
- no-data-stored
Public descriptor
The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.
GET /api/v1/tools/lorem-ipsum-generator
Execute availability
This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.
POST /api/v1/tools/lorem-ipsum-generator/execute
Authentication is not issued during the preview. A bearer API key is planned for execution after launch.
Input schema
object object; additional properties are not accepted.
output_type· string · required-
Choose the output type that matches the calculation. Accepted values:
paragraphs, sentences, words. quantity· number · required- Enter the quantity used in the calculation.
words_per_paragraph· number · required- Enter the approximate words per paragraph used in the calculation.
start_with_lorem· boolean · optional- Turn start with “lorem ipsum dolor sit amet” on or off.
seed· number · optional- Use the same integer to reproduce the same placeholder text.
{
"type": "object",
"properties": {
"output_type": {
"type": "string",
"description": "Choose the output type that matches the calculation.",
"enum": [
"paragraphs",
"sentences",
"words"
]
},
"quantity": {
"type": "number",
"description": "Enter the quantity used in the calculation.",
"minimum": 1,
"maximum": 100
},
"words_per_paragraph": {
"type": "number",
"description": "Enter the approximate words per paragraph used in the calculation.",
"minimum": 10,
"maximum": 300
},
"start_with_lorem": {
"type": "boolean",
"description": "Turn start with “lorem ipsum dolor sit amet” on or off."
},
"seed": {
"type": "number",
"description": "Use the same integer to reproduce the same placeholder text.",
"minimum": 0,
"maximum": 2147483647
}
},
"required": [
"output_type",
"quantity",
"words_per_paragraph"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
text· string- Generated placeholder text produced by the calculation.
word_count· number- Generated words produced by the calculation.
sentence_count· number- Generated sentences produced by the calculation.
paragraph_count· number- Generated paragraphs produced by the calculation.
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Generated placeholder text produced by the calculation."
},
"word_count": {
"type": "number",
"description": "Generated words produced by the calculation."
},
"sentence_count": {
"type": "number",
"description": "Generated sentences produced by the calculation."
},
"paragraph_count": {
"type": "number",
"description": "Generated paragraphs produced by the calculation."
}
},
"additionalProperties": false
}
Lorem Ipsum Generator example
The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.
curl -X POST "https://utilitypages.org/api/v1/tools/lorem-ipsum-generator/execute" \
-H "Content-Type: application/json" \
-d '{
"output_type": "paragraphs",
"quantity": 3,
"words_per_paragraph": 70,
"start_with_lorem": true,
"seed": 42
}'
{
"ok": true,
"data": {
"slug": "lorem-ipsum-generator",
"result": {
"values": {
"text": "Lorem ipsum dolor sit amet adipiscing fugiat dolore laboris ipsum consequat. Ante porttitor erat irure occaecat erat pariatur adipiscing eiusmod curabitur. Venenatis esse ut esse enim aliquet laborum tempor integer duis amet ipsum velit integer posuere proident nisi nulla. Culpa qui porttitor consequat elit labore consequat do mollit nulla est nisi et ad ipsum. Nostrud venenatis curabitur labore ante nulla nostrud quis do tempus elit.\n\nEst commodo culpa veniam sed reprehenderit sed aliqua pariatur sunt irure et dolore sunt venenatis laborum sunt posuere. Tempor do velit cupidatat porttitor ...",
"word_count": 208,
"sentence_count": 15,
"paragraph_count": 3
},
"display": {
"display": "Lorem ipsum dolor sit amet adipiscing fugiat dolore laboris ipsum consequat. Ante porttitor erat irure occaecat erat pariatur adipiscing eiusmod curabitur. Venenatis esse ut esse enim aliquet laborum tempor integer duis amet ipsum velit integer posuere proident nisi nulla. Culpa qui porttitor consequat elit labore consequat do mollit nulla est nisi et ad ipsum. Nostrud venenatis curabitur labore ante nulla nostrud quis do tempus elit.\n\nEst commodo culpa veniam sed reprehenderit sed aliqua pariatur sunt irure et dolore sunt venenatis laborum sunt posuere. Tempor do velit cupidatat porttitor ..."
},
"warnings": [],
"assumptions": [],
"steps": []
}
},
"meta": [],
"request_id": "req_example_123"
}
Errors
api_not_launched· 503- Returned by the current launch gate for every execute request.
invalid_json· 400- Returned when an enabled execute request does not contain valid JSON.
validation_failed· 422- Returned when a request does not satisfy the input schema.
browser_interaction_required· 422- Returned for browser capability tools instead of inventing a server-side result.
tool_not_found· 404- Returned when a requested descriptor slug does not exist.
execution_failed· 503- Returned when an enabled server-side execution cannot complete.