Lorem Ipsum Generator

Generate classic Lorem Ipsum placeholder text for design mockups, prototypes, and testing. Customize the number of paragraphs and sentences per paragraph.

Get API Key

Overview

Use Cases

  • Web design mockups and wireframes
  • Development testing with realistic-looking text
  • Content placeholders while waiting for final copy
  • Typography demonstrations

Features

Customizable paragraphs (1-20)
Customizable sentences per paragraph (1-20)
Returns word count with each response
Built on the Lorelai library for consistent Lorem Ipsum text

API Endpoints

Generate Lorem Ipsum

Generate Lorem Ipsum placeholder text with customizable length and format

GET
https://requiems.xyz/v1/text/lorem

Parameters

Name Type Required Description
paragraphs integer Optional Number of paragraphs to generate (1-20)
sentences integer Optional Number of sentences per paragraph (1-20)

Try it out

Live Demo
Request

Number of paragraphs to generate (1-20)

Number of sentences per paragraph (1-20)

Response Fields

Field Type Description
text string Generated Lorem Ipsum text
paragraphs integer Number of paragraphs generated
word_count integer Total number of words in generated text

Code Examples

# Generate 3 paragraphs with 5 sentences each
curl "https://requiems.xyz/v1/text/lorem?paragraphs=3&sentences=5" \
  -H "requiems-api-key: YOUR_API_KEY"

# Generate 1 paragraph with 10 sentences
curl "https://requiems.xyz/v1/text/lorem?sentences=10" \
  -H "requiems-api-key: YOUR_API_KEY"

Error Responses

400

paragraphs must be between 1 and 20

The paragraphs parameter is out of valid range

400

sentences must be between 1 and 20

The sentences parameter is out of valid range

Generate Lorem Ipsum (Batch)

Generate multiple Lorem Ipsum placeholder texts in a single request. Processes items in bulk and returns partial successes.

POST
https://requiems.xyz/v1/text/lorem/batch

Parameters

Name Type Required Description
items array<object> Required Array of text generation requests. Minimum 1 item, maximum 50 items.
items[].paragraphs integer Optional Number of paragraphs to generate (1-20)
items[].sentences integer Optional Number of sentences per paragraph (1-20)

Try it out

Live Demo
Request

Array of text generation requests. Minimum 1 item, maximum 50 items.

Number of paragraphs to generate (1-20)

Number of sentences per paragraph (1-20)

Response Fields

Field Type Description
data[].data object Contains the generated text if the specific item was successful
data[].error string Error message if the specific item failed to generate

Code Examples

# Generate a batch of 2 different text configurations
curl -X POST "https://requiems.xyz/v1/text/lorem/batch" \
  -H "requiems-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"items": [{"paragraphs": 2, "sentences": 3}, {"paragraphs": 1}]}'

Error Responses

422

validation_failed

The request body is malformed, missing the items array, or exceeds the maximum batch size of 50 items.

Frequently Asked Questions