“解锁”GPT的图片功能!图标不用自己动手设计了
微wx笑 2023-04-16【人工智能】 0 0关键字: ChatGPT
今天学会了一个新技能,使用ChatGPT的聊天对话功能,就可以生成图片。
今天学会了一个新技能,使用ChatGPT的聊天对话功能,就可以生成图片。
Prompt:请为一个宣传热爱保护小动物的App绘制一个124*124的SVG格式的图标,之后再用Markdown展示出来
效果和代码如下:
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 124 124"> <rect fill="#50C878" width="100%" height="100%"/> <circle cx="62" cy="62" r="46" fill="#FFFFFF"/> <path d="M31.5,44.5L34.3,42l-2.8-2.5c-0.6-0.6-1.6-0.6-2.2,0l-2.8,2.5l2.8,2.5C29.9,45.1,31,45.1,31.5,44.5z"/> <path d="M68.5,44.5L65.7,42l2.8-2.5c0.6-0.6,1.6-0.6,2.2,0l2.8,2.5l-2.8,2.5C70.1,45.1,69,45.1,68.5,44.5z"/> <path d="M118.7,62.3c0,10.4-8.4,18.9-18.9,18.9c-5,0-9.5-1.9-12.9-5c3.3-3.1,7.8-5,12.9-5c2,0,3.9,0.3,5.7,0.9L99,58.3 c-1.9-0.7-3.9-1-6-1c-11,0-20,9-20,20s9,20,20,20s20-9,20-20c0-5.2-2-9.9-5.3-13.4L118.7,62.3z"/> <path d="M14.4,62.3c0-10.4,8.4-18.9,18.9-18.9c2.1,0,4.1,0.3,6,1l-12,12c3.3,3.5,5.3,8.2,5.3,13.4c0,11-9,20-20,20S0,89.7,0,78.7 s9-20,20-20c2.1,0,4.1,0.3,6,1L14.4,62.3z"/> <path d="M76,101.5c0-5.5,4.5-10,10-10s10,4.5,10,10s-4.5,10-10,10S76,107,76,101.5z"/></svg>
![宣传热爱保护小动物的App图标](data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvaGVhZGVyL3YxLjAvc3ZnIiwidmlld0JveCI6IjAgMCAxMjQgMTI0Ij48cmVjdCBmaWxsPSIjNTBDODc4IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiAvPjxjaXJjbGUgY3g9IjYyIiBjeT0iNjIiIGM9IjQ2IiBmaWxsPSIjRkZGRkZGIi8+PGpathzhciBjbGFzcz0iY2lyY3VsYXItaWNvbnMiIGQ9Ik0zMS41LDQ0LjVMMzQuMyw0MmwtMi44LTJjLTEuNi02LTYtMTYuNiAgLTAuNiAgTDgyLDQ0LjVMNjguNSw0NC41cDEuNWUtMC43LDMuOS05LjkjMy4zLTMsNzguLTktMTIuOS01bDUuNy00LjgtMi45LTIuOC0zLjNjLTEuOS03LTYuOS01LTEwLTAtNGwtMy4zLTMgLjYtMi44IDIuOC0zLjVDMjYuNCw0NS4xIDIwLjksMzAuOSAyMywxOTguNWwtMS40LGQuOWMtMS45LTAuNy0zLjktMi43LTUuMy01bDQuOC0xLjVjMy4zLTMuMSw2LjQtNi42LDEwLTYuMiAgQzExLDAsMjAsOS4wLDE4LjksMjAsMTguN3MwLjEsMy4zIDAuMiwwLjVNMTE4LjcsNjIuM2MwLDEwLjQtMTguOSwxOC45LTE4LjksMTguOWMtNS4yLDAuNy0xMC4yLTQuNy0xMi41LTQuNmwtMTEuOC45YzMuMy0zLjUsNi40LTYuNiwxMC02LjJoM3oiLz48cGF0aCBkPSJNMTRjMC0xMC40LDguNC0xOC45LDE4LjktMTguOWExMiwxMiwwLDAsMCwxOC45LTEyYTEyLDEyLDAsMCwxMjgtMTJhMTIsMTIsMCwwLDEyOC0xMmMwLTIuMS0zLjktNTAtMTAuMC01MGgxMnptMCw1LjVjMC01LjUtNC41LTEwLTEwLTEwcy00LjUtMTAtMTAtMUg3Niw5Ny45YzAtNS41LDQuNS0xMCw0LjUtMTBzLTQuNSwxMC0xMCwxMGwuOC0xLjVDNzYuNSw2NC41IDIwLjksNzIuNyAyMyw3Mi43QzE1LjUsNzIuNyAyLjEsNDQuOCBzMC4yLDYuOS03LjUsMTAteiIvPjwvc3ZnPg==)
本文由 微wx笑 创作,采用 署名-非商业性使用-相同方式共享 4.0 许可协议,转载请附上原文出处链接及本声明。
原文链接:https://www.ivu4e.cn/blog/ai/2023-04-16/1851.html
上一篇:免费使用GPT-4的N种方法