POST
/
api
/
prompts
{
  "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"
}
{
  "id": 1,
  "title": "Product Description Generator",
  "version": "1.0.0",
  "created_at": "2024-01-01T12:00:00Z"
}
Create a new prompt template for AI-powered content generation.

Body Parameters

title
string
required
Prompt template title
description
string
required
Brief description of what this prompt does
prompt_text
string
required
The actual prompt template text
enrich_type
string
required
Type of enrichment. One of: description, titles, product_attributes
tone_of_voice
string
default:"seo"
Desired tone of voice. Options include: seo, excited, professional, confident, formal, casual, humorous, sophisticated, custom
purpose
string
default:"standard"
Content purpose. Options include: standard, short, detailed, benefits_focused, technical, emotional, marketplace, luxury
{
  "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"
}
{
  "id": 1,
  "title": "Product Description Generator",
  "version": "1.0.0",
  "created_at": "2024-01-01T12:00:00Z"
}