Skip to content

Analyze Audience And Purpose

POST
/api/creative/hawken/style/analyze-audience

Deterministic audience + purpose + tone + complexity classification.

Body_analyze_audience_and_purpose_api_creative_hawken_style_analyze_audience_post
object
message
required
Message

Creative writing request

string
task_type
Any of:
string
research_context
Any of:
string

Successful Response

AudienceAnalysisResponse

Response model for audience analysis operations.

Contains comprehensive audience classification results including identified audience type, content purpose, tone, complexity level, and style recommendations based on the analysis.

Attributes: audience: Identified target audience type (10 types available) purpose: Primary purpose of the content (entertain, inform, etc.) tone: Recommended content tone (dramatic, casual, etc.) complexity_level: Recommended complexity (simple to expert) style_preferences: List of recommended writing styles key_considerations: Important factors for content creation

Example: { “audience”: “GAMING”, “purpose”: “ENTERTAIN”, “tone”: “DRAMATIC”, “complexityLevel”: “MODERATE”, “stylePreferences”: [“NARRATIVE”, “DESCRIPTIVE_IMMERSIVE”], “keyConsiderations”: [“Maintain RPG lore consistency”] }

object
audience
required
Audience

Classified target audience type

string
purpose
required
Purpose

Identified content purpose

string
tone
required
Tone

Recommended content tone

string
complexityLevel
required
Complexitylevel

Content complexity level

string
stylePreferences
required
Stylepreferences

Recommended writing styles

Array<string>
keyConsiderations
required
Keyconsiderations

Key factors for content creation

Array<string>

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object