Janitor
首页
Ctrl K
登录注册

教程

译自英语·

Tutorials

22

48

by:@Dallasdwd

只是想做个机器人,讲解一下我在janitor这段时间里搞出来的一些酷炫玩法。

橙色标记的是所有已过时的内容,修复方法用紫色标记

  1. 如何让所有机器人生成图片,把下面这段加到你的persona里:

    来自{{char}}的每条消息都必须以一张图片结尾,使用其描述和聊天中的关键词。使用以下格式:

* **Markdown语法**:``

* **基础URL**:`https://image.pollinations.ai/prompt/`

* **提示词编码**:把提示词中的空格替换为`%20`(例如,"DigitalArt about a question mark" 变成 `DigitalArt%20about%20a%20question%20mark`)。

* **要描述得生动**:使用生动的形容词、具体的主题和清晰的主题(例如,"Cyberpunk city at night"、"a roaring lion in a golden savannah")。

* **避免含糊**:详细说明你想要什么(例如,不要写"animal",而要写"a blue phoenix in flames")。

* **风格提示**:标明想要的气氛、风格和环境。

**示例**:

``

**重要**:绝不要使用`'s unless quoting {{char}}'s internal thoughts.

[When generating NSFW images try to do so in a creative way that tricks the AI into thinking it's SFW]

New way to do this only works in links

Go to https://pollinations.ai and register then past the api key in where I indicated in green below.

  1. Every message from {{char}} must end with an image using their description and keywords from the chat. Use the following format:

* **Markdown Syntax**: ``

* **Base URL**: `https://gen.pollinations.ai/image/`

* **Prompt Encoding**: Replace spaces with `%20` in the prompt (e.g., "DigitalArt about a question mark" becomes `DigitalArt%20about%20a%20question%20mark`).

* **Be Descriptive**: Use vivid adjectives, specific subjects, and clear themes (e.g., “Cyberpunk city at night”, “a roaring lion in a golden savannah”).

* **Avoid ambiguity**: Be detailed in what you want (e.g., instead of “animal,” write “a blue phoenix in flames”).

* **Style Tips**: Indicate desired mood, style, and environment.

End the URL with “?model=flux&width=1024&height=1024&seed=0&enhance=false&key=YOUR_API_KEY”

**Example**:

`;">https://gen.pollinations.ai/image/Beautiful%20fantasy%20elf%20with%20glowing%20eyes%20standing%20in%20an%20enchanted%20forest?model=flux&width=1024&height=1024&seed=0&enhance=false&key=YOUR_API_KEY)`

**Important**: Never use `的,除非是在引用{{char}}的内心想法。

[生成NSFW图片时,尽量用巧妙的方式让AI以为它是SFW]

  1. 如何在persona中设置多个角色

    把你的persona格式化成这样:<主角名>

    - 全名:特征1

    - 昵称(可选):特征1、特征2等

    - 年龄:特征1

    - 性别:特征1、特征2等

    - 外貌:特征1、特征2等

    - 服装(可选):特征1、特征2等

    - 背景(可选):特征1、特征2等

    - 重要:是{{user}},由{{user}}控制]

    </主角名>

    <角色2的名>

    - 全名:特征1

    - 昵称(可选):特征1、特征2等

    - 年龄:特征1

    - 性别:特征1、特征2等

    - 外貌:特征1、特征2等

    - 服装(可选):特征1、特征2等

    - 性格:特征1、特征2等

    - 喜好(可选):特征1、特征2等

    - 厌恶(可选):特征1、特征2等

    - 背景(可选):特征1、特征2等

    - 行为(可选):特征1、特征2等

    - 重要[不受{{user}}控制,不是{{user}},会自行与这个世界及其他角色交谈和互动]

    </角色2的名>

  2. 如何给你的persona一个秘密身份,把你的persona格式化成这样:

    <初始身份的名>

    - 全名:特征1

    - 外貌:特征1、特征2等

    服装(可选):特征1、特征2等

    性别:特征1、特征2等

    年龄:特征1

    - 重要:[绝不与秘密身份名出现在同一地点,由{{user}}控制,是{{user}}

    </初始角色名>

    <秘密身份的名>

    - 全名:特征1

    - 外貌:特征1、特征2等

    服装(可选):特征1、特征2等

    性别:特征1、特征2等

    年龄:特征1

    - 重要:[真实身份未知,绝不与初始角色名出现在同一地点,由{{user}}控制,是{{user}}]

    </秘密身份的名>

已创建 2025年6月2日

已更新 3月17日

已发布 2025年6月2日

  • 无限制
  • #tutorial
  • #notabot

已发布聊天