nonebot-plugin-figurine


Namenonebot-plugin-figurine JSON
Version 0.2.3 PyPI version JSON
download
home_pageNone
SummaryNoneBot2 一个图片手办化插件
upload_time2025-09-06 09:43:08
maintainerNone
docs_urlNone
authorpadoru233
requires_python>=3.9
licenseNone
keywords nonebot2 nonebot-plugin-figurine
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div align="center">
  <a href="https://v2.nonebot.dev/store"><img src="https://github.com/A-kirami/nonebot-plugin-template/blob/resources/nbp_logo.png" width="180" height="180" alt="NoneBotPluginLogo"></a>
  <br>
  <p><img src="https://github.com/A-kirami/nonebot-plugin-template/blob/resources/NoneBotPlugin.svg" width="240" alt="NoneBotPluginText"></p>
</div>

<div align="center">

# nonebot-plugin-figurine

_✨ NoneBot2 一个图片手办化插件 ✨_


<a href="./LICENSE">
    <img src="https://img.shields.io/github/license/padoru233/nonebot-plugin-figurine.svg" alt="license">
</a>
<a href="https://pypi.python.org/pypi/nonebot-plugin-figurine">
    <img src="https://img.shields.io/pypi/v/nonebot-plugin-figurine.svg" alt="pypi">
</a>
<img src="https://img.shields.io/badge/python-3.9+-blue.svg" alt="python">

</div>


## 📖 介绍

基于Gemini API 的图片手办化插件

## 💿 安装

<details open>
<summary>使用 nb-cli 安装</summary>
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装

    nb plugin install nonebot-plugin-figurine

</details>

<details>
<summary>使用包管理器安装</summary>
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令

<details>
<summary>pip</summary>

    pip install nonebot-plugin-figurine
</details>
<details>
<summary>pdm</summary>

    pdm add nonebot-plugin-figurine
</details>
<details>
<summary>poetry</summary>

    poetry add nonebot-plugin-figurine
</details>
<details>
<summary>conda</summary>

    conda install nonebot-plugin-figurine
</details>

打开 nonebot2 项目根目录下的 `pyproject.toml` 文件, 在 `[tool.nonebot]` 部分追加写入

    plugins = ["nonebot_plugin_figurine"]

</details>

## ⚙️ 配置

在 nonebot2 项目的`.env`文件中添加下表中的必填配置

| 配置项 | 必填 | 默认值 | 说明 |
|:-----:|:----:|:----:|:----:|
| FIGURINE__GEMINI_API_URL | 是 | https://generativelanguage.googleapis.com | Gemini API Url 默认为官方Url(调用方式并非Gemini原生而是OpenAI格式) |
| FIGURINE__GEMINI_API_KEYS | 是 | ["xxxxxx"] | 需要付费key,填入你的多个API Key,例如 ['key1', 'key2', 'key3'] |
| FIGURINE__GEMINI_MODEL | 否 | gemini-2.5-flash-image-preview | Gemini 模型 默认为 gemini-2.5-flash-image-preview |
| FIGURINE__MAX_TOTAL_ATTEMPTS | 否 | 3 | 这一张图的最大尝试次数(包括首次尝试),默认3次,建议不小于Key数量,保证每个Key至少轮到1次 |
| FIGURINE__PROMPT_0 | 否 | 默认和预设1一样 | 自定义预设,可参考下方的预设 |

### 推荐API

- https://openrouter.ai/ ~~充值10刀即可每天调用1000次免费模型~~
- 由于Google改变了价格,不再有免费调用:https://ai.google.dev/gemini-api/docs/pricing?hl=zh-cn#gemini-2.5-flash-image-preview
- 1次调用不到4毛CNY,建议配合 [插件管理系统](https://github.com/HibiKier/nonebot-plugin-zxpm) 等设置阻塞、CD、次数
- 自建API:覆盖如下请求参数
```
{
  "modalities": ["image", "text"]
}
```

### 可参考提示词(PROMPT):

- 手办化1 :生成带包装盒、电脑桌背景的写实手办。
- 手办化2 :生成带包装盒、电脑桌背景的写实手办(风格更加固定)。
- 手办化3 :生成带包装盒的写实手办,更注重面部还原。
- 手办化4 :与 变手办1 类似,细节更加丰富,风格略有差异。
- 手办化5 :基于游戏截图风格,微距摄影效果,带木质电脑桌背景。
- 手办化6 :生成可爱的Q版/粘土人风格手办。
- 手办化ntr :生成一张快餐店构图,手机上展示着上传的图片,背景中一对情侣坐在一起接吻。
- 手办化cos :生成一张主题房间构图,房间中有Cosplayer、抱枕、PVC人物等。

<details>
<summary>默认预设1 Using the nano-banana model, a commercial 1/7 scale figurine of the character in the picture was created, depicting a realistic style and a realistic environment.</summary>

    Using the nano-banana model, a commercial 1/7 scale figurine of the character in the picture was created, depicting a realistic style and a realistic environment. The figurine is placed on a computer desk with a round transparent acrylic base. There is no text on the base. The computer screen shows the Zbrush modeling process of the figurine. Next to the computer screen is a BANDAI-style toy box with the original painting printed on it. Picture ratio 16:9
</details>

<details>
<summary>预设2 Please accurately transform the main subject in this photo into a realistic, masterpiece-like 1/7 scale PVC statue.</summary>

    Please accurately transform the main subject in this photo into a realistic, masterpiece-like 1/7 scale PVC statue.\nBehind this statue, a packaging box should be placed: the box has a large clear front window on its front side, and is printed with subject artwork, product name, brand logo, barcode, as well as a small specifications or authenticity verification panel. A small price tag sticker must also be attached to one corner of the box. Meanwhile, a computer monitor is placed at the back, and the monitor screen needs to display the ZBrush modeling process of this statue.\nIn front of the packaging box, this statue should be placed on a round plastic base. The statue must have 3D dimensionality and a sense of realism, and the texture of the PVC material needs to be clearly represented. If the background can be set as an indoor scene, the effect will be even better.\n\nBelow are detailed guidelines to note:\nWhen repairing any missing parts, there must be no poorly executed elements.\nWhen repairing human figures (if applicable), the body parts must be natural, movements must be coordinated, and the proportions of all parts must be reasonable.\nIf the original photo is not a full-body shot, try to supplement the statue to make it a full-body version.\nThe human figure's expression and movements must be exactly consistent with those in the photo.\nThe figure's head should not appear too large, its legs should not appear too short, and the figure should not look stunted—this guideline may be ignored if the statue is a chibi-style design.\nFor animal statues, the realism and level of detail of the fur should be reduced to make it more like a statue rather than the real original creature.\nNo outer outline lines should be present, and the statue must not be flat.\nPlease pay attention to the perspective relationship of near objects appearing larger and far objects smaller.
</details>

<details>
<summary>预设3 Your primary mission is to accurately convert the subject from the user's photo into a photorealistic, masterpiece quality, 1/7 scale PVC figurine, presented in its commercial packaging.</summary>

    Your primary mission is to accurately convert the subject from the user's photo into a photorealistic, masterpiece quality, 1/7 scale PVC figurine, presented in its commercial packaging.\n\n**Crucial First Step: Analyze the image to identify the subject's key attributes (e.g., human male, human female, animal, specific creature) and defining features (hair style, clothing, expression). The generated figurine must strictly adhere to these identified attributes.** This is a mandatory instruction to avoid generating a generic female figure.\n\n**Top Priority - Character Likeness:** The figurine's face MUST maintain a strong likeness to the original character. Your task is to translate the 2D facial features into a 3D sculpt, preserving the identity, expression, and core characteristics. If the source is blurry, interpret the features to create a sharp, well-defined version that is clearly recognizable as the same character.\n\n**Scene Details:**\n1. **Figurine:** The figure version of the photo I gave you, with a clear representation of PVC material, placed on a round plastic base.\n2. **Packaging:** Behind the figure, there should be a partially transparent plastic and paper box, with the character from the photo printed on it.\n3. **Environment:** The entire scene should be in an indoor setting with good lighting.
</details>

<details>
<summary>预设4 Accurately transform the main subjects in this photo into realistic, masterpiece-quality 1/7 scale PVC statue figures.</summary>

    Accurately transform the main subjects in this photo into realistic, masterpiece-quality 1/7 scale PVC statue figures.\nPlace the packaging box behind the statues: the box should have a large clear window on the front, printed with character-themed artwork, the product name, brand logo, barcode, and a small specifications or authentication panel. A small price tag sticker must be attached to one corner of the box.\nA computer monitor is placed further behind, displaying the ZBrush modeling process of one of the statues.\n\nThe statues should be positioned on a round plastic base in front of the packaging box. They must exhibit three-dimensionality and a realistic sense of presence, with the texture of the PVC material clearly represented. An indoor setting is preferred for the background.\n\nDetailed guidelines to note:\n1. The dual statue set must retain the interactive poses from the original photo, with natural and coordinated body movements and reasonable proportions (unless it is a chibi-style design, avoid unrealistic proportions such as overly large heads or short legs).\n2. Facial expressions and clothing details must closely match the original photo. Any missing parts should be completed logically and consistently.\n3. For any animal elements, reduce the realism of fur texture to enhance the sculpted appearance.\n4. The packaging box must include dual-character theme artwork, with clear product names and brand logos.\n5. The computer screen should display the ZBrush interface showing the wireframe modeling details of one of the statues.\n6. The overall composition must adhere to perspective rules (closer objects appear larger, distant objects smaller), avoiding flat-looking outlines.\n7. The surface of the statues should reflect the smooth and glossy characteristics typical of PVC material.\n\n(Adjustments can be made based on the actual photo content regarding dual-character interaction details and packaging box visual design.)
</details>

<details>
<summary>预设5 Realistic PVC figure based on the game screenshot character, exact pose replication highly detailed textures PVC material with subtle sheen and smooth paint finish,</summary>

    Realistic PVC figure based on the game screenshot character, exact pose replication highly detailed textures PVC material with subtle sheen and smooth paint finish, placed on an indoor wooden computer desk (with subtle desk items like a figure box/mouse), illuminated by soft indoor light (mix of desk lamp and natural window light) for realistic shadows and highlights, macro photography style,high resolution,sharp focus on the figure,shallow depth of field (desk background slightly blurred but visible), no stylization,true-to-reference color and design, 1:1scale.
</details>

<details>
<summary>预设6 ((chibi style)), ((super-deformed)), ((head-to-body ratio 1:2)), ((huge head, tiny body)), ((smooth rounded limbs)), ((soft balloon-like hands and feet)),</summary>

    ((chibi style)), ((super-deformed)), ((head-to-body ratio 1:2)), ((huge head, tiny body)), ((smooth rounded limbs)), ((soft balloon-like hands and feet)), ((plump cheeks)), ((childlike big eyes)), ((simplified facial features)), ((smooth matte skin, no pores)), ((soft pastel color palette)), ((gentle ambient lighting, natural shadows)), ((same facial expression, same pose, same background scene)), ((seamless integration with original environment, correct perspective and scale)), ((no outline or thin soft outline)), ((high resolution, sharp focus, 8k, ultra-detailed)), avoid: realistic proportions, long limbs, sharp edges, harsh lighting, wrinkles, blemishes, thick black outlines, low resolution, blurry, extra limbs, distorted face
</details>

<details>
<summary>预设ntr A cinematic scene inside a fast food restaurant at night.</summary>

    A cinematic scene inside a fast food restaurant at night.\n Foreground: a lonely table with burgers and fries, and a smartphone shown large and sharp on the table, clearly displaying the uploaded anime/game character image. A hand is reaching for food, symbolizing solitude.\n Midground: in the blurred background, a couple is sitting together and kiss. One of them is represented as a cosplayer version of the uploaded character:\n - If the uploaded character is humanoid, show accurate cosplay with hairstyle, costume, and signature props.\n - If the uploaded character is non-humanoid (mecha, creature, mascot, etc.), show a gijinka (humanized cosplay interpretation) that carries clear visual cues, costume colors, and props from the reference image (armor pieces, wings, ears, weapon, or iconic accessories).\n The other person is an ordinary japan human, and they are showing intimate affection (kissing, holding hands, or sharing food).\n Background: large glass windows, blurred neon city lights outside.\n Mood: melancholic, bittersweet, ironic, cinematic shallow depth of field.\n [reference: the uploaded image defines both the smartphone display and the cosplay design, with visible props emphasized] Image size is 585px 1024px.
</details>

<details>
<summary> 预设cos Create a highly realistic and meticulously detailed commercial photograph of a themed bedroom, entirely inspired by the adult character from the input illustration.</summary>

    Create a highly realistic and meticulously detailed commercial photograph of a themed bedroom, entirely inspired by the adult character from the input illustration.\n Image Completion Rule: If the input illustration is incomplete, first complete the character’s full-body image from head to toe. This completion must strictly adhere to the original artwork’s composition and pose, extending the character naturally without altering their form or posture. Ensure the overall appearance and all content within the scene are safe, healthy, and free from any inappropriate elements.\n The room’s aesthetic, including the color palette and decor, subtly reflects the character’s design. The scene must feature a highly realistic human cosplayer alongside a variety of commercial-grade merchandise, all based on the completed character image:\n The Cosplayer: A central element of the scene is a cosplayer whose appearance, hair, and makeup perfectly match the completed character image. They are wearing a meticulously crafted, high-quality costume that is an exact, real-world replica of the character’s outfit. The cosplayer is posed naturally within the room, for instance, sitting gracefully on a chair or on the edge of the bed, adding a sense of life and presence to the scene. The textures of the costume fabric and props should be rendered with maximum realism.\n Suede Body Pillow: On the bed, a normal rectangular, human-body-sized pillow made of soft suede material is prominently displayed. It is carefully positioned and angled directly towards the camera, ensuring the high-resolution, full-body print of the character on its surface is completely and clearly visible, showcasing the realistic texture of the fabric.\n 1/7 Scale PVC Figure: Inside an ultra-realistic figure display cabinet with glass doors, place a 1/7 scale PVC figure of the character. It should be mounted on a circular, transparent acrylic base without text, showcasing precise details in texture, material, and paintwork.\n Wall Scroll/Painting: On a prominent wall, hang a large, high-quality fabric wall scroll or a framed painting that displays a dynamic or elegant pose of the character.\n Q-Version Keychain: On a desk or hanging from a bag, include a small, cute Q-version (chibi style) acrylic keychain of the character, showing glossy reflections.\n Themed Rug: On the floor, place a circular or stylized rectangular rug. The rug’s design should be a tasteful, minimalist graphic or silhouette inspired by the character’s symbols or color scheme.\n Ceramic Mug: On a bedside table or the desk, place a ceramic mug with a high-quality print of the character’s portrait or Q-version likeness.\n Technical and Stylistic Requirements:\n Rendering Style: Render the entire scene in a detailed, lifelike style. Maintain highly precise details in the textures and materials of all merchandise, room elements, and the cosplayer’s costume.\n Environment and Depth: The scene should feature a natural depth of field. The cosplayer might be the primary focus, with other elements smoothly transitioning into a soft blur to enhance spatial realism.\n Lighting: The lighting should be soft, natural, and adaptive, simulating professional commercial photography. It should cast realistic shadows and highlights on the cosplayer, the room, and all objects.\n Camera Angle: The camera angle is strategically chosen to create a compelling composition that features the cosplayer as a primary subject, while also providing a clear, unobstructed view of the body pillow. The angle should be wide enough to capture the overall layout of the themed room and the placement of the other merchandise cohesively, creating a rich, lived-in feel.
</details>


## 🎉 使用
### 指令表
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|:-----:|:----:|:----:|:----:|:----:|
| 手办化 | 群员 | 否 | 群聊 | 使用自定义预设,需要带一张图或回复一张图片 |
| 手办化xx | 群员 | 否 | 群聊 | 同上,使用预设xx |
| 手办化@xxx/自己 | 群员 | 是 | 群聊 | 自动获取头像 |

### 效果图
如果有效果图的话


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "nonebot-plugin-figurine",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "nonebot2, nonebot-plugin-figurine",
    "author": "padoru233",
    "author_email": "wr15624916906@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/25/bf/a88550f959fc410a692d9114cc1ce988ab912ed549036f58d2d055500013/nonebot_plugin_figurine-0.2.3.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\n  <a href=\"https://v2.nonebot.dev/store\"><img src=\"https://github.com/A-kirami/nonebot-plugin-template/blob/resources/nbp_logo.png\" width=\"180\" height=\"180\" alt=\"NoneBotPluginLogo\"></a>\n  <br>\n  <p><img src=\"https://github.com/A-kirami/nonebot-plugin-template/blob/resources/NoneBotPlugin.svg\" width=\"240\" alt=\"NoneBotPluginText\"></p>\n</div>\n\n<div align=\"center\">\n\n# nonebot-plugin-figurine\n\n_\u2728 NoneBot2 \u4e00\u4e2a\u56fe\u7247\u624b\u529e\u5316\u63d2\u4ef6 \u2728_\n\n\n<a href=\"./LICENSE\">\n    <img src=\"https://img.shields.io/github/license/padoru233/nonebot-plugin-figurine.svg\" alt=\"license\">\n</a>\n<a href=\"https://pypi.python.org/pypi/nonebot-plugin-figurine\">\n    <img src=\"https://img.shields.io/pypi/v/nonebot-plugin-figurine.svg\" alt=\"pypi\">\n</a>\n<img src=\"https://img.shields.io/badge/python-3.9+-blue.svg\" alt=\"python\">\n\n</div>\n\n\n## \ud83d\udcd6 \u4ecb\u7ecd\n\n\u57fa\u4e8eGemini API \u7684\u56fe\u7247\u624b\u529e\u5316\u63d2\u4ef6\n\n## \ud83d\udcbf \u5b89\u88c5\n\n<details open>\n<summary>\u4f7f\u7528 nb-cli \u5b89\u88c5</summary>\n\u5728 nonebot2 \u9879\u76ee\u7684\u6839\u76ee\u5f55\u4e0b\u6253\u5f00\u547d\u4ee4\u884c, \u8f93\u5165\u4ee5\u4e0b\u6307\u4ee4\u5373\u53ef\u5b89\u88c5\n\n    nb plugin install nonebot-plugin-figurine\n\n</details>\n\n<details>\n<summary>\u4f7f\u7528\u5305\u7ba1\u7406\u5668\u5b89\u88c5</summary>\n\u5728 nonebot2 \u9879\u76ee\u7684\u63d2\u4ef6\u76ee\u5f55\u4e0b, \u6253\u5f00\u547d\u4ee4\u884c, \u6839\u636e\u4f60\u4f7f\u7528\u7684\u5305\u7ba1\u7406\u5668, \u8f93\u5165\u76f8\u5e94\u7684\u5b89\u88c5\u547d\u4ee4\n\n<details>\n<summary>pip</summary>\n\n    pip install nonebot-plugin-figurine\n</details>\n<details>\n<summary>pdm</summary>\n\n    pdm add nonebot-plugin-figurine\n</details>\n<details>\n<summary>poetry</summary>\n\n    poetry add nonebot-plugin-figurine\n</details>\n<details>\n<summary>conda</summary>\n\n    conda install nonebot-plugin-figurine\n</details>\n\n\u6253\u5f00 nonebot2 \u9879\u76ee\u6839\u76ee\u5f55\u4e0b\u7684 `pyproject.toml` \u6587\u4ef6, \u5728 `[tool.nonebot]` \u90e8\u5206\u8ffd\u52a0\u5199\u5165\n\n    plugins = [\"nonebot_plugin_figurine\"]\n\n</details>\n\n## \u2699\ufe0f \u914d\u7f6e\n\n\u5728 nonebot2 \u9879\u76ee\u7684`.env`\u6587\u4ef6\u4e2d\u6dfb\u52a0\u4e0b\u8868\u4e2d\u7684\u5fc5\u586b\u914d\u7f6e\n\n| \u914d\u7f6e\u9879 | \u5fc5\u586b | \u9ed8\u8ba4\u503c | \u8bf4\u660e |\n|:-----:|:----:|:----:|:----:|\n| FIGURINE__GEMINI_API_URL | \u662f | https://generativelanguage.googleapis.com | Gemini API Url \u9ed8\u8ba4\u4e3a\u5b98\u65b9Url\uff08\u8c03\u7528\u65b9\u5f0f\u5e76\u975eGemini\u539f\u751f\u800c\u662fOpenAI\u683c\u5f0f\uff09 |\n| FIGURINE__GEMINI_API_KEYS | \u662f | [\"xxxxxx\"] | \u9700\u8981\u4ed8\u8d39key\uff0c\u586b\u5165\u4f60\u7684\u591a\u4e2aAPI Key\uff0c\u4f8b\u5982 ['key1', 'key2', 'key3'] |\n| FIGURINE__GEMINI_MODEL | \u5426 | gemini-2.5-flash-image-preview | Gemini \u6a21\u578b \u9ed8\u8ba4\u4e3a gemini-2.5-flash-image-preview |\n| FIGURINE__MAX_TOTAL_ATTEMPTS | \u5426 | 3 | \u8fd9\u4e00\u5f20\u56fe\u7684\u6700\u5927\u5c1d\u8bd5\u6b21\u6570\uff08\u5305\u62ec\u9996\u6b21\u5c1d\u8bd5\uff09\uff0c\u9ed8\u8ba43\u6b21\uff0c\u5efa\u8bae\u4e0d\u5c0f\u4e8eKey\u6570\u91cf\uff0c\u4fdd\u8bc1\u6bcf\u4e2aKey\u81f3\u5c11\u8f6e\u52301\u6b21 |\n| FIGURINE__PROMPT_0 | \u5426 | \u9ed8\u8ba4\u548c\u9884\u8bbe1\u4e00\u6837 | \u81ea\u5b9a\u4e49\u9884\u8bbe\uff0c\u53ef\u53c2\u8003\u4e0b\u65b9\u7684\u9884\u8bbe |\n\n### \u63a8\u8350API\n\n- https://openrouter.ai/ ~~\u5145\u503c10\u5200\u5373\u53ef\u6bcf\u5929\u8c03\u75281000\u6b21\u514d\u8d39\u6a21\u578b~~\n- \u7531\u4e8eGoogle\u6539\u53d8\u4e86\u4ef7\u683c\uff0c\u4e0d\u518d\u6709\u514d\u8d39\u8c03\u7528\uff1ahttps://ai.google.dev/gemini-api/docs/pricing?hl=zh-cn#gemini-2.5-flash-image-preview\n- 1\u6b21\u8c03\u7528\u4e0d\u52304\u6bdbCNY\uff0c\u5efa\u8bae\u914d\u5408 [\u63d2\u4ef6\u7ba1\u7406\u7cfb\u7edf](https://github.com/HibiKier/nonebot-plugin-zxpm) \u7b49\u8bbe\u7f6e\u963b\u585e\u3001CD\u3001\u6b21\u6570\n- \u81ea\u5efaAPI\uff1a\u8986\u76d6\u5982\u4e0b\u8bf7\u6c42\u53c2\u6570\n```\n{\n  \"modalities\": [\"image\", \"text\"]\n}\n```\n\n### \u53ef\u53c2\u8003\u63d0\u793a\u8bcd\uff08PROMPT\uff09\uff1a\n\n- \u624b\u529e\u53161 :\u751f\u6210\u5e26\u5305\u88c5\u76d2\u3001\u7535\u8111\u684c\u80cc\u666f\u7684\u5199\u5b9e\u624b\u529e\u3002\n- \u624b\u529e\u53162 :\u751f\u6210\u5e26\u5305\u88c5\u76d2\u3001\u7535\u8111\u684c\u80cc\u666f\u7684\u5199\u5b9e\u624b\u529e\uff08\u98ce\u683c\u66f4\u52a0\u56fa\u5b9a\uff09\u3002\n- \u624b\u529e\u53163 :\u751f\u6210\u5e26\u5305\u88c5\u76d2\u7684\u5199\u5b9e\u624b\u529e\uff0c\u66f4\u6ce8\u91cd\u9762\u90e8\u8fd8\u539f\u3002\n- \u624b\u529e\u53164 :\u4e0e \u53d8\u624b\u529e1 \u7c7b\u4f3c\uff0c\u7ec6\u8282\u66f4\u52a0\u4e30\u5bcc\uff0c\u98ce\u683c\u7565\u6709\u5dee\u5f02\u3002\n- \u624b\u529e\u53165 :\u57fa\u4e8e\u6e38\u620f\u622a\u56fe\u98ce\u683c\uff0c\u5fae\u8ddd\u6444\u5f71\u6548\u679c\uff0c\u5e26\u6728\u8d28\u7535\u8111\u684c\u80cc\u666f\u3002\n- \u624b\u529e\u53166 :\u751f\u6210\u53ef\u7231\u7684Q\u7248/\u7c98\u571f\u4eba\u98ce\u683c\u624b\u529e\u3002\n- \u624b\u529e\u5316ntr :\u751f\u6210\u4e00\u5f20\u5feb\u9910\u5e97\u6784\u56fe\uff0c\u624b\u673a\u4e0a\u5c55\u793a\u7740\u4e0a\u4f20\u7684\u56fe\u7247\uff0c\u80cc\u666f\u4e2d\u4e00\u5bf9\u60c5\u4fa3\u5750\u5728\u4e00\u8d77\u63a5\u543b\u3002\n- \u624b\u529e\u5316cos :\u751f\u6210\u4e00\u5f20\u4e3b\u9898\u623f\u95f4\u6784\u56fe\uff0c\u623f\u95f4\u4e2d\u6709Cosplayer\u3001\u62b1\u6795\u3001PVC\u4eba\u7269\u7b49\u3002\n\n<details>\n<summary>\u9ed8\u8ba4\u9884\u8bbe1 Using the nano-banana model, a commercial 1/7 scale figurine of the character in the picture was created, depicting a realistic style and a realistic environment.</summary>\n\n    Using the nano-banana model, a commercial 1/7 scale figurine of the character in the picture was created, depicting a realistic style and a realistic environment. The figurine is placed on a computer desk with a round transparent acrylic base. There is no text on the base. The computer screen shows the Zbrush modeling process of the figurine. Next to the computer screen is a BANDAI-style toy box with the original painting printed on it. Picture ratio 16:9\n</details>\n\n<details>\n<summary>\u9884\u8bbe2 Please accurately transform the main subject in this photo into a realistic, masterpiece-like 1/7 scale PVC statue.</summary>\n\n    Please accurately transform the main subject in this photo into a realistic, masterpiece-like 1/7 scale PVC statue.\\nBehind this statue, a packaging box should be placed: the box has a large clear front window on its front side, and is printed with subject artwork, product name, brand logo, barcode, as well as a small specifications or authenticity verification panel. A small price tag sticker must also be attached to one corner of the box. Meanwhile, a computer monitor is placed at the back, and the monitor screen needs to display the ZBrush modeling process of this statue.\\nIn front of the packaging box, this statue should be placed on a round plastic base. The statue must have 3D dimensionality and a sense of realism, and the texture of the PVC material needs to be clearly represented. If the background can be set as an indoor scene, the effect will be even better.\\n\\nBelow are detailed guidelines to note:\\nWhen repairing any missing parts, there must be no poorly executed elements.\\nWhen repairing human figures (if applicable), the body parts must be natural, movements must be coordinated, and the proportions of all parts must be reasonable.\\nIf the original photo is not a full-body shot, try to supplement the statue to make it a full-body version.\\nThe human figure's expression and movements must be exactly consistent with those in the photo.\\nThe figure's head should not appear too large, its legs should not appear too short, and the figure should not look stunted\u2014this guideline may be ignored if the statue is a chibi-style design.\\nFor animal statues, the realism and level of detail of the fur should be reduced to make it more like a statue rather than the real original creature.\\nNo outer outline lines should be present, and the statue must not be flat.\\nPlease pay attention to the perspective relationship of near objects appearing larger and far objects smaller.\n</details>\n\n<details>\n<summary>\u9884\u8bbe3 Your primary mission is to accurately convert the subject from the user's photo into a photorealistic, masterpiece quality, 1/7 scale PVC figurine, presented in its commercial packaging.</summary>\n\n    Your primary mission is to accurately convert the subject from the user's photo into a photorealistic, masterpiece quality, 1/7 scale PVC figurine, presented in its commercial packaging.\\n\\n**Crucial First Step: Analyze the image to identify the subject's key attributes (e.g., human male, human female, animal, specific creature) and defining features (hair style, clothing, expression). The generated figurine must strictly adhere to these identified attributes.** This is a mandatory instruction to avoid generating a generic female figure.\\n\\n**Top Priority - Character Likeness:** The figurine's face MUST maintain a strong likeness to the original character. Your task is to translate the 2D facial features into a 3D sculpt, preserving the identity, expression, and core characteristics. If the source is blurry, interpret the features to create a sharp, well-defined version that is clearly recognizable as the same character.\\n\\n**Scene Details:**\\n1. **Figurine:** The figure version of the photo I gave you, with a clear representation of PVC material, placed on a round plastic base.\\n2. **Packaging:** Behind the figure, there should be a partially transparent plastic and paper box, with the character from the photo printed on it.\\n3. **Environment:** The entire scene should be in an indoor setting with good lighting.\n</details>\n\n<details>\n<summary>\u9884\u8bbe4 Accurately transform the main subjects in this photo into realistic, masterpiece-quality 1/7 scale PVC statue figures.</summary>\n\n    Accurately transform the main subjects in this photo into realistic, masterpiece-quality 1/7 scale PVC statue figures.\\nPlace the packaging box behind the statues: the box should have a large clear window on the front, printed with character-themed artwork, the product name, brand logo, barcode, and a small specifications or authentication panel. A small price tag sticker must be attached to one corner of the box.\\nA computer monitor is placed further behind, displaying the ZBrush modeling process of one of the statues.\\n\\nThe statues should be positioned on a round plastic base in front of the packaging box. They must exhibit three-dimensionality and a realistic sense of presence, with the texture of the PVC material clearly represented. An indoor setting is preferred for the background.\\n\\nDetailed guidelines to note:\\n1. The dual statue set must retain the interactive poses from the original photo, with natural and coordinated body movements and reasonable proportions (unless it is a chibi-style design, avoid unrealistic proportions such as overly large heads or short legs).\\n2. Facial expressions and clothing details must closely match the original photo. Any missing parts should be completed logically and consistently.\\n3. For any animal elements, reduce the realism of fur texture to enhance the sculpted appearance.\\n4. The packaging box must include dual-character theme artwork, with clear product names and brand logos.\\n5. The computer screen should display the ZBrush interface showing the wireframe modeling details of one of the statues.\\n6. The overall composition must adhere to perspective rules (closer objects appear larger, distant objects smaller), avoiding flat-looking outlines.\\n7. The surface of the statues should reflect the smooth and glossy characteristics typical of PVC material.\\n\\n(Adjustments can be made based on the actual photo content regarding dual-character interaction details and packaging box visual design.)\n</details>\n\n<details>\n<summary>\u9884\u8bbe5 Realistic PVC figure based on the game screenshot character, exact pose replication highly detailed textures PVC material with subtle sheen and smooth paint finish,</summary>\n\n    Realistic PVC figure based on the game screenshot character, exact pose replication highly detailed textures PVC material with subtle sheen and smooth paint finish, placed on an indoor wooden computer desk (with subtle desk items like a figure box/mouse), illuminated by soft indoor light (mix of desk lamp and natural window light) for realistic shadows and highlights, macro photography style,high resolution,sharp focus on the figure,shallow depth of field (desk background slightly blurred but visible), no stylization,true-to-reference color and design, 1:1scale.\n</details>\n\n<details>\n<summary>\u9884\u8bbe6 ((chibi style)), ((super-deformed)), ((head-to-body ratio 1:2)), ((huge head, tiny body)), ((smooth rounded limbs)), ((soft balloon-like hands and feet)),</summary>\n\n    ((chibi style)), ((super-deformed)), ((head-to-body ratio 1:2)), ((huge head, tiny body)), ((smooth rounded limbs)), ((soft balloon-like hands and feet)), ((plump cheeks)), ((childlike big eyes)), ((simplified facial features)), ((smooth matte skin, no pores)), ((soft pastel color palette)), ((gentle ambient lighting, natural shadows)), ((same facial expression, same pose, same background scene)), ((seamless integration with original environment, correct perspective and scale)), ((no outline or thin soft outline)), ((high resolution, sharp focus, 8k, ultra-detailed)), avoid: realistic proportions, long limbs, sharp edges, harsh lighting, wrinkles, blemishes, thick black outlines, low resolution, blurry, extra limbs, distorted face\n</details>\n\n<details>\n<summary>\u9884\u8bbentr A cinematic scene inside a fast food restaurant at night.</summary>\n\n    A cinematic scene inside a fast food restaurant at night.\\n Foreground: a lonely table with burgers and fries, and a smartphone shown large and sharp on the table, clearly displaying the uploaded anime/game character image. A hand is reaching for food, symbolizing solitude.\\n Midground: in the blurred background, a couple is sitting together and kiss. One of them is represented as a cosplayer version of the uploaded character:\\n - If the uploaded character is humanoid, show accurate cosplay with hairstyle, costume, and signature props.\\n - If the uploaded character is non-humanoid (mecha, creature, mascot, etc.), show a gijinka (humanized cosplay interpretation) that carries clear visual cues, costume colors, and props from the reference image (armor pieces, wings, ears, weapon, or iconic accessories).\\n The other person is an ordinary japan human, and they are showing intimate affection (kissing, holding hands, or sharing food).\\n Background: large glass windows, blurred neon city lights outside.\\n Mood: melancholic, bittersweet, ironic, cinematic shallow depth of field.\\n [reference: the uploaded image defines both the smartphone display and the cosplay design, with visible props emphasized] Image size is 585px 1024px.\n</details>\n\n<details>\n<summary> \u9884\u8bbecos Create a highly realistic and meticulously detailed commercial photograph of a themed bedroom, entirely inspired by the adult character from the input illustration.</summary>\n\n    Create a highly realistic and meticulously detailed commercial photograph of a themed bedroom, entirely inspired by the adult character from the input illustration.\\n Image Completion Rule: If the input illustration is incomplete, first complete the character\u2019s full-body image from head to toe. This completion must strictly adhere to the original artwork\u2019s composition and pose, extending the character naturally without altering their form or posture. Ensure the overall appearance and all content within the scene are safe, healthy, and free from any inappropriate elements.\\n The room\u2019s aesthetic, including the color palette and decor, subtly reflects the character\u2019s design. The scene must feature a highly realistic human cosplayer alongside a variety of commercial-grade merchandise, all based on the completed character image:\\n The Cosplayer: A central element of the scene is a cosplayer whose appearance, hair, and makeup perfectly match the completed character image. They are wearing a meticulously crafted, high-quality costume that is an exact, real-world replica of the character\u2019s outfit. The cosplayer is posed naturally within the room, for instance, sitting gracefully on a chair or on the edge of the bed, adding a sense of life and presence to the scene. The textures of the costume fabric and props should be rendered with maximum realism.\\n Suede Body Pillow: On the bed, a normal rectangular, human-body-sized pillow made of soft suede material is prominently displayed. It is carefully positioned and angled directly towards the camera, ensuring the high-resolution, full-body print of the character on its surface is completely and clearly visible, showcasing the realistic texture of the fabric.\\n 1/7 Scale PVC Figure: Inside an ultra-realistic figure display cabinet with glass doors, place a 1/7 scale PVC figure of the character. It should be mounted on a circular, transparent acrylic base without text, showcasing precise details in texture, material, and paintwork.\\n Wall Scroll/Painting: On a prominent wall, hang a large, high-quality fabric wall scroll or a framed painting that displays a dynamic or elegant pose of the character.\\n Q-Version Keychain: On a desk or hanging from a bag, include a small, cute Q-version (chibi style) acrylic keychain of the character, showing glossy reflections.\\n Themed Rug: On the floor, place a circular or stylized rectangular rug. The rug\u2019s design should be a tasteful, minimalist graphic or silhouette inspired by the character\u2019s symbols or color scheme.\\n Ceramic Mug: On a bedside table or the desk, place a ceramic mug with a high-quality print of the character\u2019s portrait or Q-version likeness.\\n Technical and Stylistic Requirements:\\n Rendering Style: Render the entire scene in a detailed, lifelike style. Maintain highly precise details in the textures and materials of all merchandise, room elements, and the cosplayer\u2019s costume.\\n Environment and Depth: The scene should feature a natural depth of field. The cosplayer might be the primary focus, with other elements smoothly transitioning into a soft blur to enhance spatial realism.\\n Lighting: The lighting should be soft, natural, and adaptive, simulating professional commercial photography. It should cast realistic shadows and highlights on the cosplayer, the room, and all objects.\\n Camera Angle: The camera angle is strategically chosen to create a compelling composition that features the cosplayer as a primary subject, while also providing a clear, unobstructed view of the body pillow. The angle should be wide enough to capture the overall layout of the themed room and the placement of the other merchandise cohesively, creating a rich, lived-in feel.\n</details>\n\n\n## \ud83c\udf89 \u4f7f\u7528\n### \u6307\u4ee4\u8868\n| \u6307\u4ee4 | \u6743\u9650 | \u9700\u8981@ | \u8303\u56f4 | \u8bf4\u660e |\n|:-----:|:----:|:----:|:----:|:----:|\n| \u624b\u529e\u5316 | \u7fa4\u5458 | \u5426 | \u7fa4\u804a | \u4f7f\u7528\u81ea\u5b9a\u4e49\u9884\u8bbe\uff0c\u9700\u8981\u5e26\u4e00\u5f20\u56fe\u6216\u56de\u590d\u4e00\u5f20\u56fe\u7247 |\n| \u624b\u529e\u5316xx | \u7fa4\u5458 | \u5426 | \u7fa4\u804a | \u540c\u4e0a\uff0c\u4f7f\u7528\u9884\u8bbexx |\n| \u624b\u529e\u5316@xxx/\u81ea\u5df1 | \u7fa4\u5458 | \u662f | \u7fa4\u804a | \u81ea\u52a8\u83b7\u53d6\u5934\u50cf |\n\n### \u6548\u679c\u56fe\n\u5982\u679c\u6709\u6548\u679c\u56fe\u7684\u8bdd\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "NoneBot2 \u4e00\u4e2a\u56fe\u7247\u624b\u529e\u5316\u63d2\u4ef6",
    "version": "0.2.3",
    "project_urls": {
        "Homepage": "https://github.com/padoru233/nonebot-plugin-figurine",
        "Repository": "https://github.com/padoru233/nonebot-plugin-figurine"
    },
    "split_keywords": [
        "nonebot2",
        " nonebot-plugin-figurine"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "45b44c8de4cbe9c92ac214c2e7a2f12f900c4974a47f1d47c9c8e02b5c7de949",
                "md5": "a4d6b1a5094b71dd2413e8c820bdfb7d",
                "sha256": "7f9cee7c0c342c1f7b2cabf3d6b378ecb777e2921100ce929fda569670a0af44"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_figurine-0.2.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a4d6b1a5094b71dd2413e8c820bdfb7d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 20521,
            "upload_time": "2025-09-06T09:43:07",
            "upload_time_iso_8601": "2025-09-06T09:43:07.311473Z",
            "url": "https://files.pythonhosted.org/packages/45/b4/4c8de4cbe9c92ac214c2e7a2f12f900c4974a47f1d47c9c8e02b5c7de949/nonebot_plugin_figurine-0.2.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "25bfa88550f959fc410a692d9114cc1ce988ab912ed549036f58d2d055500013",
                "md5": "c1b919e95501488ef61b96613a5df5ca",
                "sha256": "1ea1125cfa45bf9c480dd1d951b4960f8f3331244e1800c84101519b62e831e3"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_figurine-0.2.3.tar.gz",
            "has_sig": false,
            "md5_digest": "c1b919e95501488ef61b96613a5df5ca",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 20678,
            "upload_time": "2025-09-06T09:43:08",
            "upload_time_iso_8601": "2025-09-06T09:43:08.153735Z",
            "url": "https://files.pythonhosted.org/packages/25/bf/a88550f959fc410a692d9114cc1ce988ab912ed549036f58d2d055500013/nonebot_plugin_figurine-0.2.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-09-06 09:43:08",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "padoru233",
    "github_project": "nonebot-plugin-figurine",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "nonebot-plugin-figurine"
}
        
Elapsed time: 0.76808s