Backstory API
Learn how to use the Backstory API to create and manage character backstories, adding depth and personality to your NPCs.
Generate Backstory for Character
Headers
Name
Type
Description
Request Body
Name
Type
Description
# Output Format:
# The response will be streamed as Server-Sent Events (SSE).
# Each event will have a 'data' field containing a string with a part of the backstory.
# Example of a single event:
data: You step off the train, greeted by the bustling city sounds.
# Multiple events will be received, each containing a portion of the backstory.
# The full backstory can be assembled by concatenating the 'data' from all events.{
"ERROR": "Invalid API key provided."
}