REST API ReferenceEndpointsEntities

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.
entityTypeenumRequired

ACTOR features a consistent character; PRODUCT features a consistent product or object; VISUAL_STYLE guides the look of generated images.

namestringRequired
Display name.
descriptionstringOptional
Optional description.

Response

The created entity
entityIdstring

The entity id (e.g. vg_enti_...).

entityTypeenum

ACTOR features a consistent character; PRODUCT features a consistent product or object; VISUAL_STYLE guides the look of generated images.

namestring
Display name.
descriptionstring
Optional description. Empty string when not set.
referenceslist of objects
Reference images attached to the entity.
createdAtinteger

Seconds since epoch (Unix timestamp) when the entity was created.

updatedAtinteger

Seconds since epoch (Unix timestamp) when the entity was last updated.

actorConfigobject or null

Voice and presenter summary for ACTOR entities. Null for VISUAL_STYLE entities.