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

Vue d'ensemble

Cas d'utilisation

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

Fonctionnalités

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

Points de terminaison de l'API

Generate Lorem Ipsum

Generate Lorem Ipsum placeholder text with customizable length and format

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

Paramètres

Nom Type Requis Description
paragraphs integer Facultatif Number of paragraphs to generate (1-20)
sentences integer Facultatif Number of sentences per paragraph (1-20)

Essayez-le

Démo en direct
Requête

Number of paragraphs to generate (1-20)

Number of sentences per paragraph (1-20)

Champs de réponse

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

Exemples de code

# 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"

Réponses d'erreur

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

Paramètres

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

Essayez-le

Démo en direct
Requête

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)

Champs de réponse

Champ 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

Exemples de code

# 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}]}'

Réponses d'erreur

422

validation_failed

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

Foire aux questions