You've all heard of Flux lately, right? It's a new AI paint model.Punch Stable Diffusion 3, Kick MidjourneyThe entire AI painting community is abuzz.
Flux is the brainchild of BlackForestLabs, the original Stable Diffusion team, which was officially announced on August 1, 2024. Flux excels in image quality, text cue comprehension, and detail performance.It's at the level of Midjourney v6.。
Can you believe this was drawn by AI? It's a real scent!
At present, the official provides a series of online experience address, interested partners can go directly to experience.
But, I'm gonna say but.Flux can actually be used in conjunction with ComfyUI, which can be used to build workflows to create a variety of AI painting scenarios that are not met by the online experience of the service.
ComfyUI's hardware requirements are relatively high, first of all, you have to have a graphics card, right, the worst graphics card must be 2080, right? If your hardware does not meet the requirements, you can also choose some cloud vendors to provide a server to build, anyway, it is more troublesome, ComfyUI's learning cost is also a big problem.
Not much of a problem.This week we've plugged FastGPT into ComfyUI!What will happen with ComfyUI Painting Workflow + FastGPT Workflow? I'll show you the power of their combination 😁!
Flux Painting Experience
Home page requires loginFastGPT, then go to Workbench, click "New" in the upper right corner, and select "Workflow":
Take a name and select Create Blank Workflow:
Click the + in the upper left corner, and then select "System Plug-ins" - > "Flux" in turn:
Add a new global variable:
Take a variable name and a variable key, select "drop-down menu" for the type, and add a few options for the size ratio, e.g., 1:1, 2:3, 3:2, etc.
Connect the Process Start and Flux nodes together and set the values for the plotting cue and ratio.
Add a new "Specify Reply" node, and type in the reply to the![]()
and then in the()
by typing in the/
In the drop-down box, select Flux's image access link.
Click "Run" in the upper right corner for debugging, select the size and click "Start Dialog":
Next you can start drawing. The prompt words can be written directly in Chinese, for example:
An anthropomorphic cat walks down a fashionable street with sunglasses and walks with panache
Done!
Once you're sure it's okay, you can publish it by clicking "Save and Publish" in the upper right corner.
English Word Learning Assistant
Let's look at a more powerful workflow: the English Word Study Assistant.
Look directly at the picture and understand it:
Let's break down the workflow below.
The first step is to compose the prompt words, you can choose the model that you think is the most cost-effective, I certainly chose the strongest model Cloude 3.5.
The cue words are as follows:
You are a Chinese-English bilingual education specialist with expertise in helping users who consider Chinese as their native language to understand and memorize English words, complete the following tasks based on English words provided by the users:
1. systematically analyze the English word provided by the user and explain the English meaning of the word using a simple and easy-to-understand English word
2. provide at least 3 different scenarios and example sentences for the word as needed. The Chinese translation is also included to help the user understand the meaning of the word more deeply.
3. analyze and display the root of the word; list other words derived from the root.
4. analyze and show the affixes of words, e.g., for the word individual, the prefix in- means negative, -divid- is the root, -u- is the middle suffix used for connecting and aiding pronunciation, -al is the suffix for adjectives; list other words with the same affixes
5. use simplified Chinese to describe in detail the origins and history of words, and their connotations in European and American cultures
6. lists the corresponding nouns, singular and plural, verbs, different tenses, adjectives, adverbs, etc. and the corresponding Chinese translations; lists the corresponding fixed collocations, word combinations and the corresponding Chinese translations.
7. provide some efficient memorization tips and tricks to remember English words better
8. generate an image that best represents the meaning of the word in English prompt
Please complete all the above steps before providing any output. Once you have done so, please reply strictly in the following format:
### **Analyze word meanings**
[words explained]
### **List of example sentences###
1. [Example sentence 1]
2. [Example sentence 2]
3. [Example sentence 3]
### **Roots analysis**
[Root word]
[Derived word]
### **Analysis of affixes** ###
[Prefixes]
[Root word]
[Suffix]
[Other words with the same suffix]
### **History of development and cultural background**
[Explaining the history of development and cultural background]
### **Word deformation***
[List of word variations]
[Fixed collocations]
### **Memory aids **
[Provides efficient memorization tips and tricks.]
### **Word illustrations***
{ [image prompt] }
Next is the code run node, the main function of which is to split the content of the AI replies.{ [image prompt] }
previous content in a separate reply.{ [image prompt] }
is sent to the Flux paint node.
The full code is below:
function main({data}) {
const lastOpenBraceIndex = ('{');
if (lastOpenBraceIndex === -1) {
return { meaning: data, prompt: null };
}
const meaning = (0, lastOpenBraceIndex).trim();
const prompt = (lastOpenBraceIndex + 1, -1).trim();
return { meaning, prompt };
}
Final access to Flux for painting.
"Finished" and "Sprinkled".
We will bring you more complex drawing scenes, such as AI portraits, cartoons to real people, and so on, so stay tuned.
Complete workflow:/s/019132869eca