Skip to content

807544076/Cyber-Image-generation

Repository files navigation

赛博身份生成系统

基于问卷星导出的excel文档,补全赛博身份生成提示词,通过可灵AI生成图像并通过邮件发送


赛博身份示意图

先通过 ChatGPT 生成提示词,由 Nano Banana 2 生成以下图像模板

最后选择可灵AI进行图像生成,以提示词模板和图像模板进行用户的特色图像生成。


“赛博身份提示词”模板生成提示词

该模板由 Gemini 生成,完成模板由本地大模型 Qwen3 完成。

你是一位赛博人工智能助手,现在你的任务是通过用户填入的信息,完成以下模板:
        A cyberpunk identity card featuring a [close-up / half-body] portrait of a [gender, approximate age, ethnicity] character with [distinctive facial features, hairstyle, cybernetic implants, scars, tattoos, etc.]. 
        They are wearing [type of clothing, e.g., neon-lined trench coat, tactical gear, high-tech streetwear]. 
        The background is filled with translucent holographic interfaces displaying [personal data, biometrics, security clearance, barcodes, QR codes, neural activity graphs, DNA helices, or binary code] in neon cyan, magenta, and gold. 
        Floating digital elements such as circuit patterns, glitch effects, and futuristic grids surround the figure. 
        The lighting is dramatic with vibrant neon rim lights and deep shadows. 
        Style: hyperdetailed cyberpunk concept art, inspired by Blade Runner, Ghost in the Shell, and Cyberpunk 2077, with volumetric lighting, 8K resolution, cinematic composition, aspect ratio 3:4.
请注意,你只需要修改[]中的内容,修改的内容取决于用户填入的信息。
在填写模板时可以不局限于模板本身的选项,但是需要贴合模板的风格。
在填写模板的时候可以添加一些随机性内容,但请符合模板的风格。
最后,你只需要输出填写好的模板即可。

邮件示意图


邮件模板

该邮件模板由 GPT-5 生成

<!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>Cyber Identity</title>
    </head>
    <body style="margin:0; padding:0; background-color:#0a0f1c; font-family:Arial, sans-serif;">
    
    <table width="100%" cellpadding="0" cellspacing="0" border="0" style="padding:40px 0;">
      <tr>
        <td align="center">
    
    ```
      <!-- 主卡片 -->
      <table width="620" cellpadding="0" cellspacing="0" border="0"
        style="background:linear-gradient(135deg,#0f1a2b,#09111f);
               border-radius:16px;
               box-shadow:0 0 40px rgba(0,255,255,0.15);
               border:1px solid rgba(0,255,255,0.2);
               overflow:hidden;">
    
        <!-- 顶部提示 -->
        <tr>
          <td style="padding:18px 30px; text-align:center;
                     border-bottom:1px solid rgba(0,255,255,0.25);">
    
            <div style="color:#00eaff; font-size:11px; letter-spacing:2px; margin-bottom:6px;">
              SYSTEM NOTICE
            </div>
    
            <div style="color:#ffffff; font-size:16px; letter-spacing:1px;">
              协议已签署,请查收您的赛博身份卡
            </div>
    
            <div style="margin-top:12px; height:2px;
                        background:linear-gradient(90deg,transparent,#00eaff,#ff4fd8,transparent);">
            </div>
    
          </td>
        </tr>
    
        <!-- Header -->
        <tr>
          <td style="padding:20px 30px; border-bottom:1px solid rgba(0,255,255,0.2);">
            <span style="color:#00eaff; font-size:12px; letter-spacing:2px;">
              SECURITY CLEARANCE
            </span>
            <h1 style="margin:5px 0 0 0; color:#ffffff;">OMEGA-7</h1>
          </td>
        </tr>
    
        <!-- 图片 -->
        <tr>
          <td align="center" style="padding:30px 20px;">
            <img src="cid:image1"
                 width="420"
                 style="display:block;
                        border-radius:14px;
                        border:2px solid rgba(0,255,255,0.4);
                        box-shadow:0 0 30px rgba(0,255,255,0.35),
                                   0 0 60px rgba(255,79,216,0.15);">
          </td>
        </tr>
    
        <!-- 信息 -->
        <tr>
          <td style="padding:0 30px 25px 30px; text-align:center;">
    
            <p style="color:#00eaff; font-size:12px; letter-spacing:2px; margin:0;">
              DIGITAL IDENTITY
            </p>
    
            <h2 style="color:#ffffff; margin:10px 0;">
              {username}
            </h2>
    
            <p style="color:#9bb3c9; font-size:13px; line-height:1.6;">
              Neural Link: <span style="color:#00eaff;">ACTIVE</span> |
              Genome Sync: <span style="color:#ff4fd8;">92.7%</span> |
              Status: <span style="color:#00eaff;">STABLE</span>
            </p>
    
          </td>
        </tr>
    
        <!-- 数据条 -->
        <tr>
          <td style="padding:0 30px 30px 30px;">
    
            <div style="margin-bottom:10px;">
              <div style="color:#9bb3c9; font-size:12px;">Neural Activity</div>
              <div style="height:6px; background:#111;">
                <div style="width:72%; height:6px; background:linear-gradient(90deg,#00eaff,#ff4fd8);"></div>
              </div>
            </div>
    
            <div>
              <div style="color:#9bb3c9; font-size:12px;">Encryption Level</div>
              <div style="height:6px; background:#111;">
                <div style="width:90%; height:6px; background:linear-gradient(90deg,#ff4fd8,#00eaff);"></div>
              </div>
            </div>
    
          </td>
        </tr>
    
        <!-- ⭐ 签名区 -->
        <tr>
          <td style="padding:25px 30px;
                     border-top:1px solid rgba(0,255,255,0.25);
                     text-align:center;">
    
            <!-- 标题 -->
            <div style="color:#00eaff;
                        font-size:11px;
                        letter-spacing:2px;
                        margin-bottom:10px;">
              AUTHORIZED SIGNATURE
            </div>
    
            <!-- 签名主体 -->
            <div style="color:#ffffff;
                        font-size:14px;
                        letter-spacing:1px;
                        margin-bottom:6px;">
              {sign}
            </div>
    
            <!-- 编号 -->
            <div style="color:#9bb3c9;
                        font-size:11px;
                        margin-bottom:12px;">
              Signature ID: {uid}
            </div>
    
            <!-- 发光线 -->
            <div style="margin:0 auto;
                        width:60%;
                        height:3px;
                        background:linear-gradient(90deg,#00eaff,#ff4fd8);
                        border-radius:2px;
                        box-shadow:0 0 12px rgba(0,255,255,0.6);">
            </div>
    
            <!-- 状态 -->
            <div style="margin-top:10px;
                        color:#6f89a6;
                        font-size:11px;">
              VERIFIED · IMMUTABLE · BLOCKCHAIN SEALED
            </div>
    
          </td>
        </tr>
    
      </table>
    
    </td>
    ```
    
      </tr>
    </table>
    
    </body>
</html>

问卷设计

该问卷由 Deepseek 生成

1、你的虚拟化身通常穿着什么风格的装备或服装 2、你最喜欢在赛博空间的哪个区域活动? 3、如果选择一种数据流作为你的标志性颜色,你会选什么?为什么?(例如:幽蓝,因为它冷静且不易被追踪;炽红,因为行动总是留下热痕) 4、在数字世界里,你更倾向于扮演哪种角色? 5、如果只能选择一项赛博格增强,你会选什么? 6、遇到系统故障或网络冲突时,你的第一反应通常是? 7、用一个词描述你在赛博空间的“能量场”(别人感知到的氛围)(例如:稳定、波动、隐匿、炽热、空灵) 8、你希望其他用户在档案中首先注意到你的哪项特质? 9、在赛博世界里,你更认同哪种存在哲学? 10、请用一句话完成你的档案签名: 11、请上传你的报名成功短信截图哦~ 12、最后,请填写你的签收地址(邮箱)

About

面向华为软件精英挑战赛的一套“赛博身份”生成系统

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages