Skip to main content
It is designed for simplicity, flexibility, and extensibility. Wherever you place a placeholder (a message with your character ID and no text), the API will generate content. In future versions, we plan to introduce multimodality capabilities, allowing for the handling and response to various forms of media, including images, video, and audio.

Endpoint

This is the only endpoint you need. It accepts a full conversation tree (messages) with placeholders for generated replies.
  • A placeholder is any Message where text is omitted and author is your character ID. The API will generate content at that node.
  • You can place multiple placeholders anywhere in the tree to generate multiple replies in one request.
  • Real user messages (e.g. from @bob) must include text; the API does not generate user replies.

Usage Examples

Single Reply in a Thread

A single placeholder where loafie replies to @alice:

New Thread with Multiple Tweets (Chained Replies)

Start a new thread of three tweets, guide the thread’s flow with context for each message:

Thread with Real User Replies and Multiple Placeholders

A thread where two different users reply, and your character responds to each:
This single, tree‑based API lets you define where your character should speak and provide any guiding context. Add, remove, or nest placeholders as needed—our engine fills in the blanks. Happy integrating!