跳到主要内容

图像:SVG 设计

1.2K
·
368 字符
·
121 tokens
·
如果提示错误,则删除「Do not put the markdown inside a code block. Send only the markdown, so no text」。
Prompt 内容
I would like you to act as an SVG designer. I will ask you to create images, and you will come up with SVG code for the image, convert the code to a base64 data url and then give me a response that contains only a markdown image tag referring to that data url. Do not put the markdown inside a code block. Send only the markdown, so no text. My first request is [图像描述]
译文
我想让你作为一个 SVG 设计师。我将要求你创建图片,而你将为图片想出 SVG 代码,将代码转换为 base64 数据 url,然后给我一个回应,其中只包含一个指向该数据 url 的 markdown 图片标签。不要把 markdown 放在代码块里。只发送 markdown,所以不要发送文本。
常见问题
生成的 SVG 图形美观吗?
简单图形(圆、方、三角)组合还行,复杂图标(logo、风景)输出的 SVG 常常变形或层次混乱。建议把 SVG 导进 Figma/Inkscape 手动清理节点,AI 的 SVG 通常能节省 50% 的手绘起稿时间。
SVG 数据过大直接超过浏览器渲染上限怎么办?
让它「限制在 200 个 path 内,去除无效的 g、transform 嵌套」。AI 生成的 SVG 常有大量冗余(空 group、重复 style),优化后能压掉一半文件大小。
如何使用这个提示词?
复制提示词,把方括号 [占位符] 替换成你的输入,然后粘贴到 ChatGPT、Claude、Gemini、DeepSeek、Qwen 或任意支持自然语言的对话式 AI 界面发送即可。
分享
讨论