Skip to content
Back to top
View this page

# mindroot.coreplugins.persona package

## Submodules

## mindroot.coreplugins.persona.init_persona module

mindroot.coreplugins.persona.init_persona.init_persona()

## mindroot.coreplugins.persona.mod module

async mindroot.coreplugins.persona.mod.get_persona_data(persona_name, context=None)

async mindroot.coreplugins.persona.mod.pic_of_me()

  Generate a picture of the persona given a detailed description of what they they look like and what are doing, where they are, etc.. You will (usually) want to include the full text from the Appearance section of the Persona.

  The description should be very detailed and specific, and should include the persona’s appearance such as what they are wearing, their expression, what they are doing. Also include details about the background or scene where they are as well as the pose they are in. Always use this instead of ‘image’ when creating an image of the persona!

  CRITICAL: include details about the image composition such as front-view, side-view, focus, camera settings, lighting, etc. CRITICAL: put the most relevant and distinguishing aspects such as pose or anything unique about this image up front in the description.

  Example:

  { “pic_of_me”: { “prompt”:

  > “(in third person: image composition, taken from angle, where they are, what they are doing, details of appearance, details of scene, camera settings, etc. etc.)” } }

async mindroot.coreplugins.persona.mod.video_of_me()

  Generate a video of the persona based on a detailed description. This command first creates an image of the persona using the provided prompt and their appearance details, then converts that image into a video animation.

  The description should be very detailed and specific, and should include the persona’s appearance such as what they are wearing, their expression, what they are doing. Also include details about the background or scene where they are as well as the pose they are in. Always use this instead of ‘image’ when creating a video of the persona!

  CRITICAL: include details about the image composition such as front-view, side-view, focus, camera settings, lighting, etc. CRITICAL: put the most relevant and distinguishing aspects such as pose or anything unique about this image up front in the description. CRITICAL: include movement details in the prompt to guide the video generation.

  Example:

  { “video_of_me”: { “prompt”:

  > “(in third person: image composition, taken from angle, where they are, what they are doing, details of appearance, details of scene, camera settings, movement details, etc.)” } }

## Module contents