Pexels integration

2 minutes, 35 seconds

With the Pexels integration feature, users can leverage the vast collection of high-quality images available on Pexels to add visually appealing images to their blog posts.

This integration streamlines the image selection process by leveraging the Pexels API and the analysis capabilities of the OpenAI API.

This documentation article provides a comprehensive guide on how to set up and utilize the Pexels integration feature in the IntelliPress plugin.


Before using the Pexels integration feature, ensure that you have the following:

  1. A WordPress website with the IntelliPress plugin installed and activated.
  2. An API key from Pexels. You can obtain this key by signing up on the Pexels website ( and creating an account.


To enable the Pexels integration and configure the necessary settings, follow the steps below:

  1. Log in to your WordPress admin dashboard.
  2. Navigate to the “IntelliPress” tab in the sidebar and click on “Settings.”
  3. In the IntelliPress settings page, locate the “Pexels API” section.
  4. Enter your Pexels API key in the designated field.
  5. Click on the “Save Changes” button to store the API key.


Once you have configured the Pexels integration, the IntelliPress plugin will automatically generate featured images for your blog posts. The images will be randomly selected from the Pexels API based on a search term generated by the OpenAI API’s analysis of your blog post’s content.

To create a blog post with an automatically generated featured image, follow these steps:

  1. Go to the WordPress admin dashboard.
  2. Click on “Posts” and then “Add New” to create a new blog post or select an existing post to edit.
  3. Write or edit the content of your blog post as desired.
  4. Scroll down to the “IntelliPress Settings” section in the right-hand sidebar.
  5. Click on the “Generate Image” button.
  6. The IntelliPress plugin will analyze the content of your blog post using the OpenAI API and generate a relevant search term.
  7. It will then send a request to the Pexels API using the generated search term and your API key.
  8. The Pexels API will return a randomly selected image from the results and set it as the featured image for your blog post.
  9. You can preview the generated featured image by clicking on the “Preview” button.
  10. If you are satisfied with the generated image, click on the “Publish” or “Update” button to save your blog post with the featured image.


If you encounter any issues or errors while using the Pexels integration feature, consider the following troubleshooting steps:

  1. Ensure that your Pexels API key is correctly entered in the IntelliPress plugin settings.
  2. Verify that your API key is active and has not expired. If necessary, generate a new API key from the Pexels website.
  3. Check your internet connection to ensure that the plugin can communicate with the Pexels API.
  4. Make sure that your OpenAI API key is valid and properly configured. The IntelliPress plugin relies on the OpenAI API for content analysis.

If the issue persists or you require further assistance, please reach out to our support team for personalized troubleshooting.

Next: Content Generator Block

Was this article helpful?