Generate Text Versions

Overview

This function should be used when:

  • Your organization has an active usage subscription to the service.
  • The source text is written in English with a minimum length of two sentences.
  • The source text adheres to our editing guidelines.
  • The content can be shared with an LLM to have it rewritten to a specific Lexile measure.

URL

POST /api/text-generation

Request

The following parameters are required in the request. An example can be found here.

Parameter Type Description
text String The desired English text for analysis. There is a minimum of two sentences for the text to be measurable.
textGenTargetLexile Integer The desired Lexile measure for the generated versions of a source text.

Response

This returns an object that contains three revisions of an English source text written to a targeted Lexile measure.

Parameter Type
language String
wordCount Integer
version Integer
lexile Integer
lexileDisplay String
text String