Backstory API
API access requires an active Enterprise or Partner subscription.
Generate Backstory for Character
POST
https://api.convai.com/character/generate-backstory
Generate Backstory API is implemented as Server Sent Event (SSE). Given some initial description about the character and their name, this API can generate a description for the character.
Headers
Name
Type
Description
CONVAI-API-KEY*
String
The unique api-key provided for every user. Found under the Key icon when logged into your Convai account.
Request Body
Name
Type
Description
inputText
String
High level character description.
charName
String
Character name for which description is being generated.
Here are some sample codes to demonstrate the request format for the endpoint -->
Last updated