May 4, 2011

Articles are not created CSV dump - batch insert midjourney | 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
Articles are not created CSV dump - batch insert midjourney
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
March 26, 2024
11:56 am
Avatar
bartelbi06
Member
Members
Forum Posts: 6
Member Since:
January 23, 2024
sp_UserOfflineSmall Offline

Connected midjourney.com via goapi.ai boya. Chose batch insert. The creation process begins, images are generated on discord.com and midjourney.com. Then, when the time is up, the browser work concludes. In reality, there is no article, and images are still being generated on discord.com. The scenario is the same for both GPT-4 and GPT-3.6 Turbo models.

March 26, 2024
12:11 pm
Avatar
CyberSEO
Admin
Forum Posts: 3679
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

Image generation with Midjourney takes time. It appears that your PHP execution time limit has been exceeded and the script execution has been stopped by your server. You can always increase it here: Login to see this link

March 26, 2024
12:27 pm
Avatar
bartelbi06
Member
Members
Forum Posts: 6
Member Since:
January 23, 2024
sp_UserOfflineSmall Offline
It was set to 2000 seconds, increased to 10000 but it didn’t help.

And please advise on how to avoid specifying a Prompt so that the image is created based on the title theme <h2>.

March 26, 2024
12:35 pm
Avatar
CyberSEO
Admin
Forum Posts: 3679
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

Please provide your Syndicator log. If there is no error message and it just stops for no reason, then the script was interrupted by your server. The only place to find the real reason is your server log. However, I’m sure there will be some indication that the PHP script ran out of time.

You wrote: “It was set to 2000 seconds, increased to 10000 but it didn’t help”, but have you read the manual I linked to above? Here is a quote from the part that describes your case exactly:

Login to see the quote

As for the second question about images and <h2> titles, I’m not sure I got it. Please rephase.

March 26, 2024
12:43 pm
Avatar
bartelbi06
Member
Members
Forum Posts: 6
Member Since:
January 23, 2024
sp_UserOfflineSmall Offline
So, these settings were made on the server side.

As for batch insert, what do you recommend so that I don’t have to write a prompt and images are created based on the <h2> header?

March 26, 2024
12:57 pm
Avatar
CyberSEO
Admin
Forum Posts: 3679
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

If the settings were made on the server side, can you post the syndicator log? If, as I suspect, the script was interrupted by your server, there must be a reason for the interruption in your server log. Did you check it out yet?

Could you please be specific on how to create images based on article subsection names? Not based on image descriptions like what should be painted there, how it should be painted, in what style etc., but using titles instead of image descriptions, right? So the Midjourney prompts may like like these:

  1. Introduction
  2. General information
  3. FAQ
  4. Conclusion
  5. Fact check
  6. Takeaways
  7. Final thoughts
  8. The expertise

I’m not sure Midjourney will be able to draw something suitable.

March 26, 2024
1:09 pm
Avatar
bartelbi06
Member
Members
Forum Posts: 6
Member Since:
January 23, 2024
sp_UserOfflineSmall Offline
Yes, it’s on the server side. I created a short article, images were inserted, everything is working, thank you.

Regarding prompts for images, what I meant is that when GPT generates an article with three (random, different in each article) headings:

For example:

<h2>Tree

<h2>Boat
<h2>Jumping Indian
And so on.

How do I compose a prompt so that it creates images if I don’t know what it will create in <h2>?

March 26, 2024
1:15 pm
Avatar
CyberSEO
Admin
Forum Posts: 3679
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

I think I understand your question – you are using some random words to create posts based on and want to use the same random words to be used for images. That’s definitely possible, but I need to know the exact method you’re using to generate the articles. Dummy feeds, 3rd-party content sources or CSV files? If one of these 3 methods, then I still need the details, so I could give you a working solution.

March 26, 2024
1:36 pm
Avatar
bartelbi06
Member
Members
Forum Posts: 6
Member Since:
January 23, 2024
sp_UserOfflineSmall Offline
This is a standard method CSV dump
[openai_gpt model="gpt-3.5-turbo-16k" prompt="Create pros and cons of olive oil clearly separated in a bullet-point HTML format. Ensure the content is engaging, human-like, and includes natural keyword usage for SEO optimization. Use the following HTML markup template (<h2> tag for a heading): <div class='wp-block-group'><div class='wp-block-columns has-background' style='background-color: #eaebed; border-radius: 10px; padding: 16px;'><div class='wp-block-column'><h2>PROs</h2><ul><li>Pros</li></ul></div><div class='wp-block-column'><h2 class='cons-uline'>CONs</h2><ul><li>Cons</li></ul></div></div></div>" max_tokens="1500" temperature="0.5"]
[openai_gpt model="gpt-3.5-turbo-16k" prompt="Create pros and cons of olive oil clearly separated in a bullet-point HTML format. Ensure the content is engaging, human-like, and includes natural keyword usage for SEO optimization. Use the following HTML markup template (<h2> tag for a heading): <div class='wp-block-group'><div class='wp-block-columns has-background' style='background-color: #eaebed; border-radius: 10px; padding: 16px;'><div class='wp-block-column'><h2>PROs</h2><ul><li>Pros</li></ul></div><div class='wp-block-column'><h2 class='cons-uline'>CONs</h2><ul><li>Cons</li></ul></div></div></div>" max_tokens="1500" temperature="0.5"]

 

Here’s the second example.

[gpt_article topic=”%post_title%” language=”Ukrainian” sections=”5″ directives=”Format the text for embedding in a WordPress post, using only <p>, <em>, <ul>, <li> tags. Exclude any other HTML tags. Write in a simple and entertaining style.” structure=”The overall semantic structure of the article should be as follows: Section 1: promt %post_title%  Section 2: promt %post_title%

March 26, 2024
1:42 pm
Avatar
CyberSEO
Admin
Forum Posts: 3679
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
10sp_Permalink sp_Print
0

In this case you can use the same %post_title% in the image prompt. You can also use Spintax to create random prompts for each image in the same article. However, you can’t set a custom image prompt for each article section.

March 26, 2024
1:58 pm
Avatar
bartelbi06
Member
Members
Forum Posts: 6
Member Since:
January 23, 2024
sp_UserOfflineSmall Offline

 CSV dump  сountries are listed.

Dominica
Dominican Republic
Egypt
Zambia
Zimbabwe

So if I specify %post_title% everywhere, there will be an image on one topic, while the article will contain different headings, for example:
<h2>Tourism in Egypt

<h2>Egyptian Cuisine

<h2>Hiking Excursions

<h2>Top Cities to Visit

The creation of <h2> I leave to the discretion of GPT.

Or am I misunderstanding the process, and when I specify %post_title% in the image prompt, will each <h2> have a relevant image?
March 26, 2024
2:08 pm
Avatar
CyberSEO
Admin
Forum Posts: 3679
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
12sp_Permalink sp_Print
0

In every CSV record you can have one title (%post_title% or %xml_tags[title]%), one description (%post_excerpt% or %xml_tags[description]%), one set of coma-delimited tags (%post_tags%) and many custom XML fields available for your shortcodes and image prompts as %xml_tags[custom1]%, %xml_tags[custom2]% etc.

So you can use any of these values to store all your additional data requited for the article generation: its title, topic, image prompts and just anything else.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online:
18 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 84

s.baryshev.aoasp: 64

Freedom: 61

MediFormatica: 49

B8europe: 47

saviulisse67: 45

Member Stats:

Guest Posters: 338

Members: 2640

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 5

Topics: 1538

Posts: 7761

Newest Members:

thiago_barbosa, maxus.ix, marino.costa.gonzalez, christian.501pressurewashing, kevin.crywolf, kevin.cooper.boonenewsmedia

Administrators: CyberSEO: 3679