CharacterAI
  • 👋Welcome
  • 🧑‍💻Quick Start
  • 🛠️API
    • 🔑 Values
    • ⚠️ Errors
    • connect
    • ping
    • user
      • info
      • get_profile
      • followers
      • following
      • recent
      • update
    • post
      • get_post
      • my_posts
      • get_posts
      • upvote
      • undo_upvote
      • send_comment
      • delete_comment
      • create
      • delete
      • get_topics
      • feed
    • character
      • create
      • update
      • trending
      • recommended
      • categories
      • info
      • search
      • voices
    • chat
      • create_room
      • rate
      • next_message
      • get_histories
      • get_history
      • get_chat
      • send_message
      • delete_message
      • new_chat
    • chat2
      • next_message
      • send_message
      • get_histories
      • new_chat
      • get_chat
      • get_history
      • rate
      • delete_message
  • 📚Examples
    • Chatting
    • Parse Chat
  • ⚠️Issues
Powered by GitBook
On this page
  • greeting [str]
  • identifier [str]
  • name [str]
  • avatar_rel_path [str] (optional)
  • base_img_prompt [str] (optional)
  • categories [str] (optional)
  • copyable [bool] (optional)
  • definition [str] (optional)
  • description [str] (optional)
  • img_gen_enabled [bool] (optional)
  • title [str] (optional)
  • visibility [bool] (optional)
  • token [string] (optional)
  1. API
  2. character

create

Create your own character

client.character.create('NAME', 'GREETING', 'IDENTIFIER')

greeting [str]

What would say to start a conversation?

identifier [str]

Character tgt, the site generates a special value, but you can write anything there

name [str]

This will be the name your Character uses in chat.

avatar_rel_path [str] (optional)

The path to the avatar image on the server. You can create this path with the upload_image() function

base_img_prompt [str] (optional)

I don't know exactly what it is, but most likely you can do a basic setup of promts for images

categories [str] (optional)

Which category does the character belong to. Categories can be viewed in character.categories()

copyable [bool] (optional)

Most likely responsible for whether others can copy your character's settings

definition [str] (optional)

Example conversations and information to define your Character. The first 15-30 messages are the most important

description [str] (optional)

In just a few words, how would test describe themselves?

img_gen_enabled [bool] (optional)

Characters can generate images.

title [str] (optional)

In just a few words, how would test describe themselves?

visibility [bool] (optional)

Who can view your post, can be PUBLIC or UNLISTED or PRIVATE

token [string] (optional)

You can set a specific token for the function, it will be executed from the specified token

PreviouscharacterNextupdate

Last updated 1 year ago

🛠️