May 4, 2011

How to use shortcodes in image generation task? | 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

sp_TopicIcon
How to use shortcodes in image generation task?
Topic Rating: 5 Topic Rating: 5 Topic Rating: 5 Topic Rating: 5 Topic Rating: 5 Topic Rating: 5 (1 votes) 
May 11, 2025
9:15 pm
Avatar
keklick1337
Member
Members
Forum Posts: 21
Member Since:
May 8, 2025
sp_UserOfflineSmall Offline

Hello. 
How to use [openai_gpt] or [ai_generate] shortcode to generate DALL-E 3 prompt in Media enrichment tab -> DALL E 3 -> Image assignment ?
I need to generate custom generation prompt from my request.

May 11, 2025
9:26 pm
Avatar
CyberSEO
Admin
Forum Posts: 4149
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

The Media enrichment tab is not designed for prompt generation. Could you provide a specific example of what you're trying to accomplish?

May 12, 2025
10:34 am
Avatar
keklick1337
Member
Members
Forum Posts: 21
Member Since:
May 8, 2025
sp_UserOfflineSmall Offline

CyberSEO said
The Media enrichment tab is not designed for prompt generation. Could you provide a specific example of what you're trying to accomplish?  

I wanted to generate a prompt for DALL-E via gpt-4o-mini based on the article content and title with my custom instruction for each rss. If this is somehow possible, I would be grateful, since without this option all the images come out the same

May 12, 2025
10:49 am
Avatar
CyberSEO
Admin
Forum Posts: 4149
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

In this case you can use a %gpt_prompt[prompt]% placeholder there. It will be replaced with the result of your prompt processed by the AI model set in Default AI model, allowing this result to be used inside other placeholders with multiple nesting or within shortcodes (without nesting).

Alternatively select "Batch insert" in the image generation model position drop-down menu and use it with the %gpt_image_prompt% placeholder as suggested here: https://www.cyberseo.net/blog/new-features-inspired-by-gpt-4o-mini/

Placeholder documentation: https://www.cyberseo.net/content-syndicator/#placeholders

Login to see the quote

May 12, 2025
12:28 pm
Avatar
keklick1337
Member
Members
Forum Posts: 21
Member Since:
May 8, 2025
sp_UserOfflineSmall Offline

CyberSEO said
In this case you can use a %gpt_prompt[prompt]% placeholder there. It will be replaced with the result of your prompt processed by the AI model set in Default AI model, allowing this result to be used inside other placeholders with multiple nesting or within shortcodes (without nesting).

Alternatively select "Batch insert" in the image generation model position drop-down menu and use it with the %gpt_image_prompt% placeholder as suggested here: https://www.cyberseo.net/blog/new-features-inspired-by-gpt-4o-mini/

Placeholder documentation: https://www.cyberseo.net/content-syndicator/#placeholders

Login to see the quote

  

How to insert title and post body to %gpt_promt[prompt]% tag? 
Like a %gpt_promt[Getenare DALLE Prompt to topic %post_title%]%

May 12, 2025
2:27 pm
Avatar
CyberSEO
Admin
Forum Posts: 4149
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

Technically - yes. But I think your prompt should be improved, because what do you think the AI text model will generate when it sees a prompt like "Genenare DALLE Prompt to topic US and China to roll back tariffs in a major breakthrough".

In your prompt, you should specify exactly what you want. I'm talking about prompt engineering. So your placeholder format is correct for CyberSEO Pro, but the prompt itself will be confusing for the AI model. That's why I suggest you to use the %gpt_image_prompt% placeholder. It already contains a good prompt for DALL-E, Midjourney or any other image generation model.

When %gpt_image_prompt% is used in a single image mode (add image, replace image, etc.), the AI text model analyzes your entire article (not just the title) and generates a prompt asking the image model to create an image of something really relevant to the text.

When used in batch insert mode, the %gpt_image_prompt% will contain a very specific prompt for each text block over which the generated image will be placed, so that all images in your article will be relevant to each particular text they related to.

All of these methods work the same way for both imported third-party feeds and brand-new AI-generated articles.

May 12, 2025
3:53 pm
Avatar
keklick1337
Member
Members
Forum Posts: 21
Member Since:
May 8, 2025
sp_UserOfflineSmall Offline

CyberSEO said
Technically - yes. But I think your prompt should be improved, because what do you think the AI text model will generate when it sees a prompt like "Genenare DALLE Prompt to topic US and China to roll back tariffs in a major breakthrough".

In your prompt, you should specify exactly what you want. I'm talking about prompt engineering. So your placeholder format is correct for CyberSEO Pro, but the prompt itself will be confusing for the AI model. That's why I suggest you to use the %gpt_image_prompt% placeholder. It already contains a good prompt for DALL-E, Midjourney or any other image generation model.

When %gpt_image_prompt% is used in a single image mode (add image, replace image, etc.), the AI text model analyzes your entire article (not just the title) and generates a prompt asking the image model to create an image of something really relevant to the text.

When used in batch insert mode, the %gpt_image_prompt% will contain a very specific prompt for each text block over which the generated image will be placed, so that all images in your article will be relevant to each particular text they related to.

All of these methods work the same way for both imported third-party feeds and brand-new AI-generated articles.  

Yes, I understand all this, but I still want to generate my own prompt, since I played with it for a long time yesterday, and made the correct request in chatgpt for different news sources to generate a prompt for DALL-E 3, and I have already checked it by API. I just want to have calls to the AI ​​assistant from this field

May 12, 2025
4:33 pm
Avatar
CyberSEO
Admin
Forum Posts: 4149
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

You should use the %gpt_prompt[prompt]% placeholder in this case.

May 12, 2025
4:45 pm
Avatar
keklick1337
Member
Members
Forum Posts: 21
Member Since:
May 8, 2025
sp_UserOfflineSmall Offline

CyberSEO said
You should use the %gpt_prompt[prompt]% placeholder in this case.  

[12-05-25 02:44:24] Generating dall-e-3 image for "%gpt_prompt[generate dalle3 prompt to generate image for topic: Weekly Security Update: May 4 – May 10 . Use funny or modern IT style depending on the topic]%"

 

it is ok? It didn't show generated prompt for dalle-3 in logs.

May 12, 2025
4:53 pm
Avatar
CyberSEO
Admin
Forum Posts: 4149
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
10sp_Permalink sp_Print
0

No, that's not okay. There is an error in the placeholder name - please check it carefully.

May 12, 2025
5:01 pm
Avatar
keklick1337
Member
Members
Forum Posts: 21
Member Since:
May 8, 2025
sp_UserOfflineSmall Offline
11sp_Permalink sp_Print
0

CyberSEO said
No, that's not okay. There is an error in the placeholder name - please check it carefully.  

Login to see this link

I'm using like that...

May 12, 2025
5:04 pm
Avatar
CyberSEO
Admin
Forum Posts: 4149
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
12sp_Permalink sp_Print
0

Please refer to the documentation for the correct placeholder names: https://www.cyberseo.net/content-syndicator/#placeholders

%gpt_promt[..]% in your assignment must be fixed as %gpt_prompt[..]%

May 12, 2025
6:47 pm
Avatar
keklick1337
Member
Members
Forum Posts: 21
Member Since:
May 8, 2025
sp_UserOfflineSmall Offline
13sp_Permalink sp_Print
0

CyberSEO said
Please refer to the documentation for the correct placeholder names: https://www.cyberseo.net/content-syndicator/#placeholders

%gpt_promt[..]% in your assignment must be fixed as %gpt_prompt[..]%  

%gpt_promt[prompt]% – will be replaced with the result of the prompt processed by the AI model set in Default AI model, allowing this result to be used inside other placeholders with multiple nesting or within shortcodes (without nesting). See the examples below;

fix that line in documentation please. Thank you 

May 12, 2025
6:50 pm
Avatar
CyberSEO
Admin
Forum Posts: 4149
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
14sp_Permalink sp_Print
5

You're right. There was indeed a typo in the documentation and it has now been corrected.

Thanks for heads up!

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online:
6 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 86

harboot: 70

s.baryshev.aoasp: 68

Freedom: 61

Pandermos: 54

MediFormatica: 49

Member Stats:

Guest Posters: 337

Members: 3018

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 5

Topics: 1710

Posts: 8811

Newest Members:

contato.cezar.vieira, zarata.stz, kravproton, vipulmediaworks, braibantjulien, kustomer

Administrators: CyberSEO: 4149