Skip to main content
LILT Create offers an alternative to normal translation, by allowing you to generate content in the target language using various prompts to get your message across more organically in the new language. This can make your content easier to understand for users of that language and can empower a global audience. This guide will demonstrate how to: Things you will need:
  • API Key - All requests throughout the LILT API use the API Key to authenticate.

Generate Content

There are a few things to consider before Generating Content:
  1. What do I want to generate? This can be as simple as “Write a story about bees” or “Write a paragraph about product X”. As long as your prompt is below the character limit of 500.
  2. How do I want to group the content to be generated? Writing an article that is split into multiple sections with different headings, add sections to structure the generated content.
  3. Do I want to use Terminology specific to my organization? Add a memoryId to the request. See the API docs for more info.
Below is an example request to generate content in English.
The response is an event stream of the generated content. You can choose to read the stream, or you can choose to wait until a DONE message is emitted. Try it out with something that makes sense for your organization or a different language you are proficient with.

Get Generated Content

As you Create more it might become necessary to get content you already generated previously. You can get a complete list of everything you have created previously using this endpoint:
You can also retrieve a single piece of content by its ID using the Get Lilt Create content by ID endpoint:

Update or Delete Content

Existing Lilt Create content can be updated (for example, to change the language) or deleted using the content’s ID.
See the API Specification for the full request and response shapes for these endpoints.