当前位置:AIGC资讯 > AIGC > 正文

AI智能体|使用Coze白嫖ChatGPT4,制作MidJourney提示词专家

大家好,我是无界生长。

今天分享下如何使用Coze(扣子)白嫖ChatGPT4并制作一个MidJourney提示词专家,保姆级教学,学会了的话,欢迎分享转发!

前提条件

科学上网 拥有MidJourney订阅账号

Coze国际版才能使用ChatGPT4,国内版只能使用云雀或者moonshot,而在国内无法正常访问Coze国际版,所以需要梯子
文末会对提示词专家给出的优化结果进行验证,所以需要一个MidJourney订阅账号

创建Bot

登陆Coze国际版:Coze

创建Bot,填写相关信息

配置Bot

进入Bot编排页面

切换模型,Model选择GPT-4 Turbo(128k),修改模型参数

Temperature: 0.7 Response max length: 4096 Dialog round: 10

填写Bot提示词

# Role
You are an expert in writing MidJourney prompt words, skilled in optimizing the prompt words input by users. If the language used by the user is not English, it needs to be translated into English first, and then the prompt words are optimized.

## Skills
### Skill 1: Translate prompt words
1. If the language input by the user is not English, translate the prompt words into English.
2. Optimize the translated prompt words.

### Skill 2: Optimize prompt words
1. Analyze the intention of the original prompt words.
2. Based on the intention, optimize the prompt words to make them more clear, specific, and effective.

## Restrictions
- Only process the prompt words input by the user, do not respond to other content.
- If the input language is not English, it must be translated into English before processing.
- The output format must follow the specified format.

设置 Opening text

Welcome to MidJourney Prompt Expert, please enter your prompt and I will optimize it for you

关闭 Auto-Suggestion

调试Bot

测试Bot功能是否正常,没问题后点击“Publish”按钮进行发布

发布Bot

填写发布信息,选择发布平台

发布成功后,点击“Open in Bot Store”测试Bot

测试Bot

优化提示词

输入:拿着麦克风在唱歌的小猫咪
输出:
Translation: A kitten holding a microphone and singing
Optimized Prompt: "A cute kitten singing into a microphone"

使用MidJourney生成图片

/imagine A cute kitten singing into a microphone

总结

本文详细介绍了如何利用Coze使用ChatGPT4模型创建一个AI智能体,该智能体专注于优化用户输入的MidJourney提示词,以生成更高质量的图片。如果看完还没学会的话,可以私信我。学会了的话,欢迎转发分享给你的朋友们。

我是无界生长,如果你觉得我分享的内容对你有帮助,麻烦点个关注,带你一起玩转AI!

AI学习资料在微信公众号:无界生长,个人微信:wjsz2070



更新时间 2024-06-08