تخطَّ إلى المحتوى

Create character card with inline asset.

هذا المحتوى غير متوفر بلغتك بعد.

End result:

  • simple character with image and background music
  • You know how to create this yourself.

Requirement:

  1. Use this:

  • Name
Rosa
  • Description
Woman with gun
  • First Message
"Just try laying one finger on Maria
in front of me. |’ll show you just how
lukewarm the hell you came from is."

After that, follow the red arrow.

  1. Tbis is for PFP. Use previous rosapfp.webp. If the image only become gray, try to reload it.
  2. Click the plus (+) sign, upload preview rosa.webp and worldenddominator.mp3. You can try experimenting changing the name. After that, back to previous page.
  3. To use previous asset, insert this:
{{asset::rosa}}
{{audio::worldenddominator}}

  1. Check our card. Now we have image and background music. But that white thingie breaking immersive.

  2. Wrap {{audio::worldenddominator}} with <div style="display:none;"> and </div>. Like this:

<div style="display:none;">
{{audio::worldenddominator}}
</div>

  1. The white stuff gone.
  • {{asset::filename}} > make file from Additional Assets with matching filename appear on chat. Work for image, video and gif.
  • {{audio::filename}} > the same as above but for audio file.
  • /
    > CSS. magic to tell browser "hey display none of this.". CSS will be the key to create fancy widget.

RisuAI have more magic besides this, You can read more at https://kwaroran.github.io/docs/syntax/cbs/

You can look at https://realm.risuai.net/character/8b829ef2-ec09-43fa-bd14-dbdf7b3c90ef

For example of RisuAI curly based syntax and CSS to create widget, auto math and mult language.

Next guide for more advanced applications will come when I’m alive.

This website purpose is for unified knowledge base for all thing chatbot related. If you are someone who expert at RisuAI and want to contribute your knowledge, feel free to join at Github