Skip to content

Analyze Creative Task

POST
/api/creative/hawken/creative/analyze-task

Deterministic creative-task classification via weighted keywords.

Body_analyze_creative_task_api_creative_hawken_creative_analyze_task_post
object
message
required
Message

Creative request text

string
task_type
Any of:
string
context
Any of:
string

Successful Response

CreativeTaskAnalysisResponse

Response model for creative task analysis.

Contains comprehensive task classification results including task type, complexity assessment, timing estimates, research requirements, and style recommendations.

Attributes: task_type: Classified creative task type (storytelling, world_building, etc.) complexity: Complexity level (SIMPLE, MODERATE, HIGH, VERY_HIGH, EXPERT) estimated_time: Estimated generation time in seconds required_research: Whether research phase is needed recommended_style: Suggested primary writing style lore_integration: Whether project lore integration is needed

Example: { “taskType”: “storytelling”, “complexity”: “HIGH”, “estimatedTime”: 120, “requiredResearch”: true, “recommendedStyle”: “NARRATIVE”, “loreIntegration”: true }

object
taskType
required
Tasktype

Classified creative task type

string
complexity
required
Complexity

Task complexity level

string
estimatedTime
required
Estimatedtime

Estimated time in seconds

integer
requiredResearch
required
Requiredresearch

Whether research is needed

boolean
recommendedStyle
required
Recommendedstyle

Recommended writing style

string
loreIntegration
required
Loreintegration

Whether lore integration needed

boolean

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