How can i generate 200 articles ?

Vlad2012

Elite Member
Joined
Dec 28, 2012
Messages
1,822
Reaction score
724
I need to generate 200 random articles based on keywords and possibly using the chatGPT API.
I tried with Zimmwriter v9.651 but unless I am mistaken it does not offer this type of function...
Do you have any suggestions that are not too expensive ?

Can this python script do the job ?

Code:
import openai

# Replace 'YOUR_API_KEY' with your OpenAI API key
api_key = 'YOUR_API_KEY'

# Function to create an article using keywords
def create_article(keywords):
    prompt = f"Generate an article on the following topic: {', '.join(keywords)}"
    response = openai.Completion.create(
        engine="text-davinci-002",
        prompt=prompt,
        max_tokens=150,  # You can adjust this limit based on the desired article length
        api_key=api_key
    )
    return response.choices[0].text

# Main function
def main():
    # Read keywords from a file (one keyword per line)
    with open('keywords.txt', 'r') as file:
        keywords = [line.strip() for line in file.readlines()]

    # Create an article for each set of keywords
    for idx, keyword_set in enumerate(keywords):
        article = create_article(keyword_set)
        with open(f'article_{idx+1}.txt', 'w') as article_file:
            article_file.write(article)
        print(f"Article {idx+1} generated successfully!")

if __name__ == "__main__":
    main()


I specify that I do not want a Wordpress plugin to perform this task !
 
Last edited:
Seowriting.ai can do this and you don’t have to export to WP.

Think it’s about $60 for 250 articles.

Other than that you can automate a process with your api key, a spreadsheet and make.com
 
Seowriting.ai can do this and you don’t have to export to WP.

Think it’s about $60 for 250 articles
Thanks but it's too expensive, a freelancer would cost me less !
 
I need to generate 200 random articles based on keywords and possibly using the chatGPT API.
I tried with Zimmwriter v9.651 but unless I am mistaken it does not offer this type of function...
Do you have any suggestions that are not too expensive ?

Can this python script do the job ?

Code:
import openai

# Replace 'YOUR_API_KEY' with your OpenAI API key
api_key = 'YOUR_API_KEY'

# Function to create an article using keywords
def create_article(keywords):
    prompt = f"Generate an article on the following topic: {', '.join(keywords)}"
    response = openai.Completion.create(
        engine="text-davinci-002",
        prompt=prompt,
        max_tokens=150,  # You can adjust this limit based on the desired article length
        api_key=api_key
    )
    return response.choices[0].text

# Main function
def main():
    # Read keywords from a file (one keyword per line)
    with open('keywords.txt', 'r') as file:
        keywords = [line.strip() for line in file.readlines()]

    # Create an article for each set of keywords
    for idx, keyword_set in enumerate(keywords):
        article = create_article(keyword_set)
        with open(f'article_{idx+1}.txt', 'w') as article_file:
            article_file.write(article)
        print(f"Article {idx+1} generated successfully!")

if __name__ == "__main__":
    main()


I specify that I do not want a Wordpress plugin to perform this task !
This script creates one arricle for each keyword in file keywords.txt.
You need to put keywords in that file, one per line.
 
Thanks but it's too expensive, a freelancer would cost me less !
It is costly but I quite like the control you have. The automated way I mentioned would be virtually free and doesn’t take long to do.

This is for Wordpress and Gemini pro but the set up is essentially the same however you are doing it


Their pricing isn't clear - comes across on their pricing page that it's $144 for 50 articles.
That’s the annual fee for 50 articles a month. Or it’s $19 on pay monthly
 
I'm sorry I can't find the thread ?
He has written quite a number of posts ... I believe it is this one: https://www.blackhatworld.com/seo/openai-gpt-3-to-article-files-or-wordpress-posts-almost-free-and-high-quality-ai-generated-content-make-your-own-autoblogs.1421772/
 
I specify that I do not want a Wordpress plugin to perform this task !

Out of curiosity, why do you prefer not to use a WordPress plugin for this?
The variety of WP autoblogging plugins is quite good.
 
Zimmwriter offers this option. Use their Bulk Writer, input your 200 keywords and done.

You need OpenAi API tho
 
Zimmwriter offers this option. Use their Bulk Writer, input your 200 keywords and done
Are you sure I just requested a refund, I need to use keywords to create my texts.
They don't have the keyword function for bulk if I'm not mistaken...
 
Last edited:
Out of curiosity, why do you prefer not to use a WordPress plugin for this?
The variety of WP autoblogging plugins is quite good.
It's not me who makes the publications, I don't want to say more because i use my hack, besides, I don't need a Wordpress architecture for the texts.
 
Last edited:
@flackz sorry i don't care about a comparison !
It was a video of the plugin that we use to generate WordPress posts with AI in a batch process. Currently using the OpenAI GPT-4 Turbo model only. You asked for a mass AI generator? I assume you need a tool that allows you to use your own prompts and to specify the exact article structure. Not one of those online spam content generators like "enter your keywords and get your article". Is that correct? If yes, I answered your question and deserve a like :rolleyes:
 
It was a video of the plugin that we use to generate WordPress posts with AI in a batch process. Currently using the OpenAI GPT-4 Turbo model only. You asked for a mass AI generator? I assume you need a tool that allows you to use your own prompts and to specify the exact article structure. Not one of those online spam content generators like "enter your keywords and get your article". Is that correct? If yes, I answered your question and deserve a like :rolleyes:
I have written that I do not want to use a Wordpress plugin, please reread this thread !
 
Get a freelancer to do that for you for a lesser amount.
 
Back
Top