May 4, 2011

Image generation | Page 2 | CyberSEO Pro | Support Forum

Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

No permission to create posts
sp_TopicIcon
Image generation
Topic Rating: 5 Topic Rating: 5 Topic Rating: 5 Topic Rating: 5 Topic Rating: 5 Topic Rating: 5 (1 votes) 
September 11, 2023
9:06 am
Avatar
s.baryshev.aoasp
Member
Members
Forum Posts: 68
Member Since:
July 27, 2023
sp_UserOfflineSmall Offline
21sp_Permalink sp_Print
0

Generating images for thumbnails works.
But I would still like to generate images that are relevant to the news.
Is it possible to do this?

September 11, 2023
10:47 am
Avatar
CyberSEO
Admin
Forum Posts: 3859
Member Since:
July 2, 2009
sp_UserOnlineSmall Online
22sp_Permalink sp_Print
0

CyberSEO Pro is a powerful tool designed to bring a webmaster's idea to life, not to replace the webmaster's strategic thinking. You're the master, the one in charge of conceptualizing the end product; the plugin simply serves as a tool to execute your plans.

For image generation relevant to news articles, the algorithm or logic must come from you. Can you explain how you envision this process? For example, if you have a random article, what's your algorithm for determining what the image should represent? An AI image generation tool can generate virtually anything, but it needs specific instructions. So how do you, as the webmaster, decide what those specifics should be?

September 11, 2023
10:54 am
Avatar
s.baryshev.aoasp
Member
Members
Forum Posts: 68
Member Since:
July 27, 2023
sp_UserOfflineSmall Offline
23sp_Permalink sp_Print
0

For example, from the variable "post_tittle" create a query for a neural network.
For example, add commas between words, translate the request into English.
Maybe I can use some kind of global variable to create a request from "post_tittle" using PHP code?

September 11, 2023
1:00 pm
Avatar
CyberSEO
Admin
Forum Posts: 3859
Member Since:
July 2, 2009
sp_UserOnlineSmall Online
24sp_Permalink sp_Print
0

You can use your post title in Stable Diffusion and DELL-E prompts using the %post_title% shortcode. But it won't work, because Statble Diffusion and DELL-E expect an image description, not a post title. Course if your article title says: "Epic sunshine over New York City, high detail, deep perspective, cinematic", it will definitely work. But you won't get anything good for "The government has set a new excise duty on alcoholic beverages with a strength of up to 12%", using %post_title% as a Stable Diffusion prompt.

September 11, 2023
1:14 pm
Avatar
s.baryshev.aoasp
Member
Members
Forum Posts: 68
Member Since:
July 27, 2023
sp_UserOfflineSmall Offline
25sp_Permalink sp_Print
0

Why then do we need image generation?

September 11, 2023
1:17 pm
Avatar
s.baryshev.aoasp
Member
Members
Forum Posts: 68
Member Since:
July 27, 2023
sp_UserOfflineSmall Offline
26sp_Permalink sp_Print
0

Maybe i can make ChatGPT create a request to the neural network based on the text of the news?

September 11, 2023
5:16 pm
Avatar
CyberSEO
Admin
Forum Posts: 3859
Member Since:
July 2, 2009
sp_UserOnlineSmall Online
27sp_Permalink sp_Print
0

Yes, of course you can do it easily with CyberSEO Pro. Please provide the prompt you want to send to ChatGPT to receive the correct image generation instruction for your articles. I mean the instruction that can be used with Stable Diffusion.

September 11, 2023
6:17 pm
Avatar
CyberSEO
Admin
Forum Posts: 3859
Member Since:
July 2, 2009
sp_UserOnlineSmall Online
28sp_Permalink sp_Print
5

Try this code. It will ask ChatGPT to read the article and name the object for the image that best describes the content of the text. The script will then pass the ChatGPT response to Stable Diffusion as an image job. The rest of the parameters are up to your taste (find more information Login to see this link). The result will be saved as a "thumb" custom field that you can use to generate a post thumbnail.

Login to see the code

If you want to improve the prompt to ChatGPT – just do it. If you want to use some other Stable Diffusion preset instead of “cinematic”, feel free to set your own.

Since this code might be useful for other CyberSEO Pro users, I am posting it here on the public forum.

No permission to create posts
Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online: CyberSEO, Panbimbo
8 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 84

s.baryshev.aoasp: 68

Freedom: 61

Pandermos: 54

MediFormatica: 49

B8europe: 47

Member Stats:

Guest Posters: 337

Members: 2797

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 5

Topics: 1601

Posts: 8160

Newest Members:

Panbimbo, caseydipen8848, paulosos184, nicholashull7, it.mmnl, sameerz

Administrators: CyberSEO: 3858