> ## Documentation Index
> Fetch the complete documentation index at: https://docs.soloent.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent 生图

> 用自然语言让 Agent 直接生成书封、人物卡和插图，无需切换模型

<Note>
  生图工具从 **v0.11.0** 开始提供，**仅支持会员使用**。
</Note>

从 v0.11.0 起，Agent 支持图片生成工具。开启后，你可以像平常一样与 Agent 对话，用自然语言完成生图任务。

## 入口

在**设置**中可以开启或关闭 **SoloEnt Image Tools（生图工具）**。

<img src="https://mintcdn.com/soloent/4RpSHkUFmW5kEqcF/assets/images/zh/agentimage_1.png?fit=max&auto=format&n=4RpSHkUFmW5kEqcF&q=85&s=d7e3c0d948b55e566341a2ac41c91df4" alt="设置 TOOLS 分区中的 SoloEnt Image Tools 开关，说明为使用 AI 生成书封与插图" style={{ width: '55%' }} width="924" height="936" data-path="assets/images/zh/agentimage_1.png" />

开启后需要注意：

* 通过与 Agent **自然语言沟通**即可完成生图任务
* 生图时**无需切换模型**，用你平常使用的模型运行 skill，生图时会自动调用生图服务
* 生图服务由**官方提供**，会自动消耗账户的 AI 额度，**仅支持会员使用**

## 用 Skill 制作书封或人物卡

配合写作技能（Skill），你可以让 Agent 根据小说的世界观、人物设定，直接生成书封、人物卡或插图。下面以「人物卡」Skill 为例。

<Steps>
  <Step title="安装人物卡技能包">
    在项目中安装「人物卡」技能包（可在 [Marketplace](/zh/tips/marketplace) 一键安装）。

    <img src="https://mintcdn.com/soloent/4RpSHkUFmW5kEqcF/assets/images/zh/agentimage_install.png?fit=max&auto=format&n=4RpSHkUFmW5kEqcF&q=85&s=6b80e6e4478114e7392fe85347a03d3c" alt="在项目中安装人物卡技能包" style={{ width: '55%' }} width="728" height="1314" data-path="assets/images/zh/agentimage_install.png" />
  </Step>

  <Step title="在会话中提出需求">
    按技能包的用法，在会话窗口提出需求，例如「给女主生成一张人物卡」。

    * Skill 会自动识别并阅读女主设定相关的文件，并与你确认相关内容
    * 这里选择一个你常用、**执行能力较强**的模型即可，该模型并不影响生图效果

    <img src="https://mintcdn.com/soloent/4RpSHkUFmW5kEqcF/assets/images/zh/agentimage_request.png?fit=max&auto=format&n=4RpSHkUFmW5kEqcF&q=85&s=a8c88bc2a2597cc47bc434186e79d0d2" alt="在会话窗口向 Agent 提出「给女主生成一张人物卡」的需求" style={{ width: '60%' }} width="872" height="1682" data-path="assets/images/zh/agentimage_request.png" />

    根据 Skill 的引导回答完所有问题后，会生成一份人物卡**生成提示词**：中文版供你确认，英文版最终提交给模型生成（示例见下方折叠块）。
  </Step>

  <Step title="确认并生成">
    确认提示词与你设想的人物卡相符后，确认生图，Agent 会自动调用生图工具。

    <img src="https://mintcdn.com/soloent/4RpSHkUFmW5kEqcF/assets/images/zh/agentimage_confirm.png?fit=max&auto=format&n=4RpSHkUFmW5kEqcF&q=85&s=a8ec44e737bc78276b1b56928fd4e4a9" alt="确认生成提示词后，Agent 自动调用生图工具" style={{ width: '70%' }} width="1004" height="706" data-path="assets/images/zh/agentimage_confirm.png" />
  </Step>

  <Step title="查收结果">
    生成的图片会直接出现在项目文件夹里。

    <img src="https://mintcdn.com/soloent/4RpSHkUFmW5kEqcF/assets/images/zh/agentimage_result.png?fit=max&auto=format&n=4RpSHkUFmW5kEqcF&q=85&s=3bd0870ec6234ef8884f44013ef08d73" alt="生成的人物卡图片直接出现在项目文件夹中" style={{ width: '55%' }} width="658" height="414" data-path="assets/images/zh/agentimage_result.png" />
  </Step>
</Steps>

<Accordion title="示例：人物卡生成提示词（陈晓）">
  **文字版人物卡**

  ```text theme={null}
  姓名：陈晓 / Xiao Chen
  年龄 / 身份：22岁 · 无牌按摩师 · 陈氏推拿店（唐人街）
  视觉锚点：① 脖后白色型号标签"SomaTouch Basic v2.3" ② 灰色遮瑕喷剂边缘翘起，露出底下真实肤色与淡淡雀斑 ③ 略显瘦但有力的手掌，掌心有薄茧（仿真手不会有老茧）
  核心欲望：渴望以真人身份被看见，而不是假装一台机器。
  致命创伤：真正的身份是 Harrison Wells 的私生女——但她自己也不知道。
  关键道具：脖后型号标签（每天贴上、每天撕下，是伪装也是枷锁）
  标志性台词："我每天都在假装自己是一台机器。但我知道我不是。"
  ```

  **中文提示词**（供你确认）

  ```text theme={null}
  【题材基调】近未来反乌托邦软科幻 + 克制冷静中暗含温度，宣发立绘（视觉优先，文字弱化）
  【人物主体】22岁女性，无牌按摩师假扮仿真人，气质安静克制暗藏倔强，黑直发束在头套内只露标准化发际线，深棕色眼睛（工作时眼神放空、卸妆后有温度），偏白肤色被 Soma 标准灰色喷剂覆盖
  【视觉锚点】① 脖颈后方贴着白色型号标签"SomaTouch Basic v2.3" ② 脸颊与脖颈的灰色遮瑕喷剂边缘微微翘起，露出底下真实肤色与淡淡雀斑 ③ 双手自然垂放身侧，手掌可见薄茧——仿真手不该有的痕迹
  【服装】简单灰色短袖 T 恤 + 深色长裤，领口低，露出脖后标签；布料廉价但干净，脚穿旧帆布鞋，整体打扮朴素实用
  【姿态与神情】全身立绘，站在昏暗小店后间，身体微微侧对镜头但脸转向观众——像被抓拍的瞬间；一只手的手指无意识地触碰脖后标签边缘，眼神克制但瞳孔里有活人才有的温度与一丝不安；嘴唇微抿，不笑不怒，安静地存在
  【关键道具】脖后白色型号标签"SomaTouch Basic v2.3"，一角翘起露出真实皮肤；身后隐约可见旧按摩床
  【背景】虚化的地下按摩店后间——暖黄旧灯泡、墙上翘起的墙纸、角落堆着按摩用品；整体偏暗，一束侧光从上方打亮人物轮廓，营造电影感孤独氛围
  【色彩】主色冷灰（Soma 标准色/伪装）+ 辅色暖黄（旧灯光/真实人性）+ 点缀深棕（眼睛），冷暖对比指向"机器外壳下的人性"的核心矛盾
  【构图】全身立绘，9:16 竖屏，视线略低于人物（微微仰角），主光源从侧上方暖黄灯打下，半明半暗，胶片颗粒质感
  【风格】电影剧照感，低调布光，如《Her》《降临》般的克制画面，胶片颗粒，自然主义光影，高细节
  【规格】576 × 1024 像素，9:16 竖屏
  【文字】卡面底部弱化文字——仅排印姓名"陈晓"（小字中文），不出现属性栏与长篇台词，宣发向克制排版
  【文字栏设计】极简——底部半透明暗色条带，细体白色小字，无边框无装饰，融入画面不抢视觉
  【禁止】水印、乱码字符、多余文字、错别字、多余手指、多余肢体
  ```

  **英文提示词**（最终提交给模型生成）

  ```text theme={null}
  Character key visual illustration for a near-future dystopian sci-fi novel, restrained cold tone with hidden warmth, cinematic film still aesthetic, low-key lighting with film grain, like "Her" or "Arrival".
  Subject: 22-year-old female, unlicensed masseuse disguised as an android, quiet and restrained aura hiding stubborn defiance, black straight hair tucked under a cap showing only a standardized hairline, deep brown eyes (hollow and distant during work, warm when makeup removed), pale skin covered by Soma standard grey concealing spray.
  Signature traits: ① white model label "SomaTouch Basic v2.3" on the back of her neck, ② grey concealing spray on face and neck — one edge peeling up to reveal real pale skin with faint freckles underneath, ③ slender but powerful hands with thin calluses on palms (android hands don't have calluses).
  Costume: simple grey short-sleeve T-shirt, low neckline exposing the neck label, dark trousers, old canvas sneakers; cheap but clean, practical and unadorned.
  Pose and expression: full body standing in a dim massage parlor back room, body slightly turned away but face turned toward the viewer — like a candid moment caught on camera; one hand unconsciously touching the edge of the neck label, gaze restrained but pupils holding a trace of living warmth and unease; lips slightly pursed, not smiling, not angry, just quietly existing.
  Key prop: white model label "SomaTouch Basic v2.3" on the back of the neck, one corner peeling up to reveal real skin and freckles; an old massage table faintly visible behind her.
  Background: blurred dim underground massage parlor back room — warm yellow old bulb, peeling wallpaper, massage supplies stacked in corners; overall dark, a single side light from above illuminating the character's silhouette, creating a cinematic lonely atmosphere.
  Color: primary cold grey (Soma standard color / disguise) + secondary warm yellow (old lamp / true humanity) + accent deep brown (eyes), cold-warm contrast pointing to "humanity beneath a machine shell".
  Composition: full body standing, 9:16 vertical portrait, camera slightly below eye level (subtle low angle), main light from warm yellow lamp above and to the side, half-lit half-shadow, film grain texture.
  Style: cinematic film still aesthetic, low-key lighting, restrained mood like "Her" or "Arrival", film grain, naturalistic lighting, highly detailed.
  Aspect ratio: 9:16 portrait, 576x1024 pixels.
  On-card text: minimal text at bottom — small name "陈晓" in thin white type on a translucent dark strip, no stat panel, no long quote, visual-first key visual treatment, subtle and integrated into the scene.
  Negative: no watermark, no garbled characters, no misspelled text, no unintended text, no extra limbs, no extra fingers, no over-designed text frames, no large text blocks.
  ```
</Accordion>

<img src="https://mintcdn.com/soloent/4RpSHkUFmW5kEqcF/assets/images/zh/agentimage_example.png?fit=max&auto=format&n=4RpSHkUFmW5kEqcF&q=85&s=9443bb31c4bf17e6f8ddcfe4298ad8e5" alt="设置 TOOLS 分区中的 SoloEnt Image Tools 开关，说明为使用 AI 生成书封与插图" style={{ width: '90%' }} width="768" height="1024" data-path="assets/images/zh/agentimage_example.png" />

<CardGroup cols={2}>
  <Card title="Skills（技能）" icon="wand-magic-sparkles" href="/zh/tips/skills">
    了解如何创建和使用技能，配合生图完成书封与人物卡
  </Card>

  <Card title="Marketplace（技能市场）" icon="store" href="/zh/tips/marketplace">
    一键安装官方写作技能包
  </Card>
</CardGroup>
