Create entity
Create a new actor or visual style. Attach reference images with POST /v1/entities/{entityId}/references.
Authentication
AuthorizationBearer
API key from [app.videogen.io/developers](https://app.videogen.io/developers). The full key is only shown once when you create it.
Request
This endpoint expects an object.
entityType
ACTOR features a consistent character; PRODUCT features a consistent product or object; VISUAL_STYLE guides the look of generated images.
name
Display name.
description
Optional description.
Response
The created entity
entityId
The entity id (e.g. vg_enti_...).
entityType
ACTOR features a consistent character; PRODUCT features a consistent product or object; VISUAL_STYLE guides the look of generated images.
name
Display name.
description
Optional description. Empty string when not set.
references
Reference images attached to the entity.
createdAt
Seconds since epoch (Unix timestamp) when the entity was created.
updatedAt
Seconds since epoch (Unix timestamp) when the entity was last updated.
actorConfig
Voice and presenter summary for ACTOR entities. Null for VISUAL_STYLE entities.