Skip to main content
POST
Batch create NPCs

Body

application/json

POST /v1/projects/{project_id}/characters/batch

npcs
CreateNPCRequest · object[]
required

List of NPC definitions to create (max 50)

Required array length: 1 - 50 elements

Response

NPCs created successfully

npc_id
string
required

Unique NPC identifier (UUID)

name
string
required

Display name of the NPC

project_id
string
required

Project this NPC belongs to

status
string
default:brainstorm

Lifecycle status: brainstorm | draft | final

session_id
string | null

Active generation session ID, if any

created_at
string<date-time> | null

ISO 8601 creation timestamp

portrait_url
string | null

URL of the generated character portrait when generate_portrait=true was passed and image generation succeeded. Null otherwise.