Hub - How to use Hub AI

Configuring Hub AI

You can access Hub AI options via Theme Options > Hub AI page.

OpenAI API Key: You need to add your OpenAI API key in order for Hub AI to work. You can create your API key at https://platform.openai.com/account/api-keys.

You need to create a paid account for your OpenAI API key to work. You can create your paid account at https://platform.openai.com/account/billing/overview.

Unsplash API Key: You need to add your Unsplash API key for Hub AI to be able to generate images for your posts. You can create your API key at https://unsplash.com/oauth/applications.


Model: You can choose which ChatGPT models with different capabilities you want to use. Check out this article for more info


Max Tokens: This option limits the maximum number of tokens a language model can process at once in OpenAI.


After completing the Hub AI configuration, you can use Hub AI to create posts and create custom CSS.

Creating a blog post with Hub AI

Click on the Hub AI icon in Gutenberg

Enter the details of the post you want to create from the Hub AI window.

That is all! Click the Generate button and Hub AI will generate your blog post for you!


Editing paragraphs with Hub AI

Select a paragraph you want to edit in Gutenberg and click on the Hub AI icon.

And type what you want to edit in the paragraph. Then Hub AI will edit your paragraph for you.

Generating custom CSS in Elementor with Hub AI

Navigate to the Custom CSS field available in the Advanced tab of each element in Elementor and click on the Hub AI icon.

Type what you want to change in the element and click the Confirm button. Then Hub AI will generate the required CSS for you!