---
title: Generate SEO and social metadata with DeepSeek AI
url: "https://www.seopress.org/support/guides/generate-seo-metadata-with-deepseek-ai/"
lang: en-US
updated: 2026-01-29
---

# Generate SEO and social metadata with DeepSeek AI

[SEOPress PRO](https://www.seopress.org/wordpress-seo-plugins/pro/) 9.0 is required.

## Register to DeepSeek

The first step is to create an account on [DeepSeek website](https://platform.deepseek.com/sign_up).

Once done, similar to OpenAI, you will have to make a deposit of at least $2 using PayPal or your debit/credit card.

## Create your API key

From the [API keys page](https://platform.deepseek.com/api_keys), click **Create new API key** button.

[![Your DeepSeek AI API keys](https://www.seopress.org/wp-content/uploads/2025/07/deepseek-ai-api-keys-seopress.png)](https://www.seopress.org/wp-content/uploads/2025/07/deepseek-ai-api-keys-seopress.png)

*Your DeepSeek AI API keys*

Name your key to identify it quickly and click **Create API key** button.

[![Modal to create a new DeepSeek API key](https://www.seopress.org/wp-content/uploads/2025/07/deepseek-ai-api-keys-name-seopress.png)](https://www.seopress.org/wp-content/uploads/2025/07/deepseek-ai-api-keys-name-seopress.png)

*Modal to create a new DeepSeek API key*

Then **copy** the key.

[![Copy your new DeepSeek API key](https://www.seopress.org/wp-content/uploads/2025/07/deepseek-ai-api-keys-new-key-seopress.png)](https://www.seopress.org/wp-content/uploads/2025/07/deepseek-ai-api-keys-new-key-seopress.png)

*Copy your new DeepSeek API key*

## What information is sent to DeepSeek AI?

To get better results and maximize our chance to have a relevant answer from the AI, we send:

- your **post content **(if not possible your post URL),
- your **post language**,
- your **target keywords** (and we ask to put at least one of them in the SEO metadata in return).

Note that we can’t fully control the provided answers by DeepSeek AI.

## Enable DeepSeek AI in SEOPress

Go to **SEO**, **PRO**, **AI** tab.

Paste the key to **DeepSeek API key** field.

Select **DeepSeek AI** from AI provider option.

**Save changes**.

[![DeepSeek AI settings - SEOPress](https://www.seopress.org/wp-content/uploads/2025/07/deepseek-ai-settings-seopress.png)](https://www.seopress.org/wp-content/uploads/2025/07/deepseek-ai-settings-seopress.png)

*DeepSeek AI settings – SEOPress*

### Add my DeepSeek AI key to wp-config.php

By adding this code below:

`define( 'SEOPRESS_DEEPSEEK_KEY', 'XXXXXXX' );`

You will store your DeepSeek API key in your **wp-config.php** file instead of your database. This is more efficient on a multisite network for example but also more secured.

## Generate SEO and social metadata with AI

Now you have linked your DeepSeek AI account with your WordPress site, you can use AI to:

- [generate SEO metadata](https://www.seopress.org/support/guides/generate-your-seo-metadata-with-openai/#generate-your-title-and-meta-description-with-ai)
- generate alternative texts for your media: currently the AI model is not capable of reading images. OpenAI is officially recommended by DeepSeek to handle this.

## Common errors

Quickly test your DeepSeek API key by going to **SEO**, **PRO**, **AI** tab.

Then from **DeepSeek** section, click **Test API key** button.

Wait a few seconds to get a positive or negative answer from DeepSeek server.

From the **AI Logs** section (**SEO**, **PRO**, **AI** tab), you will see the messages returned by the AI used.

### 400 – Invalid Format

Please modify your request body according to the hints in the error message. For more API format details, please refer to [DeepSeek API Docs.](https://api-docs.deepseek.com/)

### 401 – Authentication Fails

Please check your API key. If you don’t have one, please [create an API key](https://platform.deepseek.com/api_keys) first.

### 402 – Insufficient Balance

You have run out of balance. Please check your account’s balance, and go to the [Top up](https://platform.deepseek.com/top_up) page to add funds.

### 422 – Invalid Parameters

Your request contains invalid parameters. Please modify your request parameters according to the hints in the error message. For more API format details, please refer to [DeepSeek API Docs.](https://api-docs.deepseek.com/)

### 429 – Rate Limit Reached

You are sending requests too quickly. Please pace your requests reasonably. We also advise users to temporarily switch to the APIs of alternative LLM service providers, like OpenAI.

### 500 – Server Error

Our server encounters an issue. Please retry your request after a brief wait and contact us if the issue persists.

### 503 – Server Overloaded

The server is overloaded due to high traffic. Please retry your request after a brief wait.
