Back to Home
API Documentation
Integrate IpsumForge's powerful text generation into your own application for free.
Base URL
All API requests are made to the following base URL:
https://ipsumforge.unibrik.com/apiGenerate Endpoint
Generates random Lorem Ipsum text based on specified parameters.
HTTP Request
GET https://ipsumforge.unibrik.com/api/generate?paragraphs=3&word_count=50&language=englishCommand-Line Request
curl "https://ipsumforge.unibrik.com/api/generate?paragraphs=3&language=english"Query Parameters:
- paragraphs (optional, number): Number of paragraphs to generate. Default: `1`.
- word_count (optional, number): Average words per paragraph. Default: `50`.
- language (optional, string): The desired language. See supported languages below. Default: `english`.
Example Response
{
"paragraphs": [
"Lorem ipsum dolor sit amet, adipiscing elit...",
"Nulla convallis egestas rhoncus, qu..."
]
}Supported Languages
You can generate text in the following languages:
EnglishSpanishFrenchGermanHindiChineseJapaneseItalianPortugueseRussianArabicTurkishDutchKoreanSwedishPolishGreekHebrewThaiIndonesian
Error Handling
The API returns JSON-formatted error messages with standard HTTP status codes.
Example Error
{
"error": "Language not supported",
"code": 400
}- 400 Bad Request: Invalid parameters, such as an unsupported language.
- 500 Internal Server Error: An unexpected error occurred on our end.
