Create a new character within the specified game and world. Provide details such as age, description, gender, items, events, quests, role, tone, and traits.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique identifier for the game.
"game123"
The unique identifier for the world.
"world456"
The unique identifier for the region.
"region789"
The unique identifier for the location.
"location789"
(Optional) The player's session ID.
"60Z5aZjIuFlyYbjbZZKe"
The character data required to create a new character.
The age category of the character.
infant, child, teenager, youngAdult, adult, middleAged, elderly "adult"
A brief description of the character's background.
"A brave warrior with a mysterious past."
The gender of the character.
"Male"
The AI model used to power character interactions. Premium models are available only for some subscriptions.
standard, premium "standard"
Structured content filters applied to the character's responses. Toggle the individual categories to restrict what the character can say.
{
"active": true,
"violence": false,
"sexual": false,
"drugs": true
}A list of items associated with the character. Each item must follow one of the predefined schemas based on its type.
Schema for items of type "trade"
A list of events associated with the character. Each event must adhere to the schema defined for its type.
Schema for events of type "action"
The display name of the character.
"Aragorn"
A list of quests associated with the character.
The role of the character in the game. Determines how the character interacts with the story.
noRole, protagonist, antagonist, secondaryCharacter, tertiaryCharacter, mentor, enemy, villain, rival, shopkeeper, healer, questGiver, innkeeper, guard, familyMember, loveInterest, scientist, politician, criminal, explorer, wizard, ghost, animalCompanion, artificialIntelligence "protagonist"
The tone or style of the character's dialogue.
formal, casual, sarcastic, mysterious, emotive "mysterious"
A list of personality traits describing the character.
Character created successfully.
Confirmation message with character details.
"Character: character789 has been created with the following context."
UID of the character.
"character789"
The created character context.
{
"age": "adult",
"description": "A brave warrior with a mysterious past.",
"gender": "Male",
"items": [
{
"itemName": "sword",
"unit": "Piece",
"value": 100
}
],
"name": "Aragorn",
"quests": [
{
"description": "Retrieve the lost artifact.",
"objective": "Find and return the artifact.",
"reward": "500 gold coins"
}
],
"role": "protagonist",
"tone": "mysterious",
"traits": ["brave"]
}