佛系程序员
首页
栏目
标签
归档
关于
友链
佛系程序员
首页
栏目
标签
归档
友链
关于
文章配图AI提示词生图
学习笔记
网站开发
发布日期: 2025-05-04 00:52:13
喜欢量: 10 个
阅读次数:
45
本文举了三种方法
举例,你有一篇文章标题,然后需要一个配图。 1.与豆包或其他AI对话,在聊天框输入: 「深度解析:DeepSeek模型幻觉问题与行业技术演进路径。 请根据这个标题生成一个DALL-E图像生成提示词,要求:1. 提示词要具体且富有创意2. 包含图像风格描述3. 确保生成的图像既专业又吸引人. 使用英文描述。」 豆包回复。 「Create an image in a modern, high - tech digital art style that visually represents the "hallucination problem" in the DeepSeek model. The image should feature floating, glitch - like text fragments or symbols that seem to emerge from a central, complex neural network structure, which represents the DeepSeek model. These text fragments should look like incorrect or fabricated information, symbolizing the hallucination issue. In the background, show a cityscape of the future with bright, neon - lit skyscrapers and data streams crisscrossing the sky, indicating the technological environment in which the model operates. Also, include a timeline or pathway made of glowing lines that winds through the scene, labeled with key stages of industry technological evolution related to language models, such as early rule - based systems, neural network beginnings, and current advanced models. The overall color palette should be a mix of cool blues and purples with occasional pops of bright, electric colors to draw attention. 」 2.再复制这一段英文,发给豆包,豆包就生成了四张正方形图片。选择其中的还可以扩图,改变尺寸。  优点:中间有DeepSeek文字,与标题相应。 不足:图片右下角有水印,豆包AI,图中文字不正确。原图3.5M,此处用缩略图展示。 3. 用谷歌翻译器,英译中,看这一段英文啥意思: 「图像应采用现代高科技数字艺术风格,以视觉方式呈现 DeepSeek 模型中的“幻觉问题”。图像应包含浮动的、类似故障的文本片段或符号,这些文本片段或符号似乎来自代表 DeepSeek 模型的复杂中央神经网络结构。这些文本片段应看起来像是错误或伪造的信息,象征着幻觉问题。背景应展现未来的城市景观,其中霓虹灯闪烁的摩天大楼和纵横交错的数据流,表明该模型运行的技术环境。此外,还应包含一条由发光线条组成的时间线或路径,蜿蜒穿过场景,并标注与语言模型相关的行业技术发展的关键阶段,例如早期的基于规则的系统、神经网络的起步阶段以及当前的先进模型。整体配色方案应混合冷蓝色和紫色,并偶尔点缀一些明亮的电光色以吸引注意力。」 4. 其他在线免费生图网站: 临时使用。也不错。 如:[deepai](https://deepai.org/machine-learning-model/text2img) 把英文版的提示词输入(去掉前面的Create),生成的图片为如下,88KB,生图时可以选择其他尺寸。  不足:图片模糊,中间的图象病毒,不好看。 5. 调用硅基流动的生图API。 用于程序应用中。 标题生成提示词:使用"model": "Qwen/QwQ-32B", 提示词再生成图片:使用 "model": "Kwai-Kolors/Kolors", 生成的图片为如下,1.8M,很清晰,  代码可参考[案例4](https://gitee.com/phpervip/ai_demos/). [硅基流动Sliconflow API](https://cloud.siliconflow.cn/i/7qQzHGZs)注册、登录入口,获得KEY,即可免费使用。 你觉得哪个更满意呢?如果感兴趣的话,赶快试试吧!
文章作者:
yyii
文章链接:
http://www.amtb.info/show/MTk0
版权声明:
本博客所有文章除特別声明外,转载请注明来源
佛系程序员
!
分享:
搜索