> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wisepim.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Prompt

> Create a new AI prompt template via the WISEPIM API for automated content generation. Define prompt text, target fields, and generation parameters in code.

Create a new prompt template for AI-powered content generation.

### Body Parameters

<ParamField body="title" type="string" required>
  Prompt template title
</ParamField>

<ParamField body="description" type="string" required>
  Brief description of what this prompt does
</ParamField>

<ParamField body="prompt_text" type="string" required>
  The actual prompt template text
</ParamField>

<ParamField body="enrich_type" type="string" required>
  Type of enrichment. One of: description, titles, product\_attributes
</ParamField>

<ParamField body="tone_of_voice" type="string" default="seo">
  Desired tone of voice. Options include: seo, excited, professional, confident, formal, casual, humorous, sophisticated, custom
</ParamField>

<ParamField body="purpose" type="string" default="standard">
  Content purpose. Options include: standard, short, detailed, benefits\_focused, technical, emotional, marketplace, luxury
</ParamField>

<RequestExample>
  ```json theme={null}
  {
    "title": "Product Description Generator",
    "description": "Generates SEO-optimized product descriptions",
    "prompt_text": "Create a compelling product description for {product_name} with the following features: {features}",
    "enrich_type": "description",
    "tone_of_voice": "professional",
    "purpose": "standard"
  }
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "id": 1,
    "title": "Product Description Generator",
    "version": "1.0.0",
    "created_at": "2024-01-01T12:00:00Z"
  }
  ```
</ResponseExample>
