让宋徽宗也觉得哇塞的徽宗style Lisp提示词

话不说,先看效果:




视频效果:

提示词:

;;;; 工笔画风格提示词生成器 - Gongbi Style Prompt Generator
;;;; 用于创建适合AI绘图工具的工笔画风格提示词

(defpackage :gongbi-prompt-generator
  (:use :cl)
  (:export :generate-prompt))

(in-package :gongbi-prompt-generator)

;;; 定义提示词模板结构
(defstruct prompt-template
  (base-prompt "A delicate Gongbi-style illustration featuring ~A, who is ~A. The setting is ~A, rendered in fine lines with soft coloring predominantly in ~A. The style combines traditional Gongbi techniques with Neo-Gongbi aesthetics inspired by Song Huizong. The overall atmosphere evokes a feeling of ~A.")
  (style "Gongbi-style, Neo-Gongbi, Song Huizong inspired, delicate, detailed, traditional Chinese aesthetics")
  (elements '("detailed facial expressions" 
              "traditional Chinese elements relevant to the scene" 
              "elegant and precise line work" 
              "soft gradient coloring"))
  (composition "balanced and harmonious layout, central focus on main subject, traditional framing with subtle asymmetry")
  (aspect-ratio "3:4 (vertical portrait orientation)")
  (additional-notes "Designed to reflect traditional Gongbi aesthetics with modern subtlety, suitable for depicting scenes of quiet introspection and refined beauty."))

;;; 定义用户输入问题
(defvar *input-questions*
  '(("subject" . "画面的主题或主要人物是什么? (What is the main subject or character?)")
    ("activity" . "人物或主题正在做什么? (What is the subject doing?)")
    ("setting" . "画面的环境或背景是什么? (What is the setting or background?)")
    ("color-scheme" . "你喜欢的主要色调是什么? (What is your preferred color scheme?)")
    ("mood" . "希望表达的情绪或氛围是怎样的? (What mood or atmosphere do you want to convey?)")
    ("special-elements" . "有什么特殊元素想要添加?(可选) (Any special elements to add? (optional))")))

;;; 收集用户输入
(defun collect-user-input ()
  "收集用户对每个问题的回答"
  (let ((responses (make-hash-table :test 'equal)))
    (dolist (question *input-questions* responses)
      (format t "~%~A~%" (cdr question))
      (let ((response (read-line)))
        (setf (gethash (car question) responses) response)))))

;;; 生成提示词
(defun generate-prompt-text (inputs template)
  "根据用户输入和模板生成提示词文本"
  (format nil (prompt-template-base-prompt template)
          (gethash "subject" inputs)
          (gethash "activity" inputs)
          (gethash "setting" inputs)
          (gethash "color-scheme" inputs)
          (gethash "mood" inputs)))

;;; 生成完整的JSON结构
(defun generate-json (inputs template)
  "生成完整的JSON格式提示词"
  (let ((prompt-text (generate-prompt-text inputs template))
        (color-scheme (format nil "~A, soft pastels and subtle accents" 
                              (gethash "color-scheme" inputs))))
    (format nil "{
  \"prompt\": \"~A\",
  \"style\": \"~A\",
  \"elements\": [
    \"~A\",
    \"~A\",
    \"~A\",
    \"~A\"
  ],
  \"color_scheme\": \"~A\",
  \"composition\": \"~A\",
  \"aspect_ratio\": \"~A\",
  \"additional_notes\": \"~A\"~A
}"
            prompt-text
            (prompt-template-style template)
            (first (prompt-template-elements template))
            (second (prompt-template-elements template))
            (third (prompt-template-elements template))
            (fourth (prompt-template-elements template))
            color-scheme
            (prompt-template-composition template)
            (prompt-template-aspect-ratio template)
            (prompt-template-additional-notes template)
            (if (string= (gethash "special-elements" inputs) "")
                ""
                (format nil ",
  \"special_elements\": \"~A\"" (gethash "special-elements" inputs))))))

;;; 主函数 - 运行提示词生成器
(defun generate-prompt ()
  "运行工笔画提示词生成器, 输出JSON格式结果"
  (format t "~%~A~%~%"
          "🖌️ 工笔画风格提示词生成器 | Gongbi-Style Prompt Generator 🖌️")
  (format t "~A~%"
          "请回答以下问题, 生成适合AI绘图的工笔画风格提示词:")
  
  (let ((user-inputs (collect-user-input))
        (template (make-prompt-template)))
    
    (format t "~%~%📝 已生成工笔画风格提示词:~%~%")
    (let ((json (generate-json user-inputs template)))
      (format t "~A~%~%" json)
      (format t "~%✅ 提示词生成完毕! 可复制以上JSON用于AI绘图工具.~%")
      json)))

;;; 使用示例
;; (generate-prompt)
121 Likes

:bili_040: 20 元 Prompt 哥。不过这种 Prompt 是放哪个模型用的?


哦哦只是 System Prompt

28 Likes

宋徽宗风格 :smiling_face_with_sunglasses:

27 Likes

高低让宋徽宗给我定制一个个人艺术签名 :smiling_face_with_sunglasses:

27 Likes

宋徽宗要一雪前耻~~

26 Likes

mark,回头试试看,谢谢大佬分享

25 Likes

ChatGPT

24 Likes

一定要试试,这种国风,一眼惊艳

24 Likes

那就试试英文吧,中文可能最近的Dreamnia好一些

23 Likes

我都有自己的品牌了~

22 Likes


可不 艺术家皇帝咋能浪得虚名

25 Likes

我是宋徽宗,哇塞!

27 Likes

你好,徽宗,再见,徽宗

23 Likes

有趣哈哈哈

29 Likes

这效果的确哇塞…

26 Likes

效果可以啊

15 Likes

佬 可以贴一下效果

3 Likes

感谢佬,贴一下?

3 Likes

这种lisp的提示词,具体怎么使用,佬指导一下?

2 Likes
  1. 复制提示词给先进模型,例如Grok 3,然后Grok或者GPT4o会guide你一步一步的回答问题
  2. 然后你会得到一串json,
  3. 如果模型支持生图,你就让它直接生,如果不支持,复制json给生图模型即可

效果我还是建议4o能力强的模型

6 Likes