Add entity reference
Attach an image file as a reference for the entity. Upload the image first via POST /v1/files/upload. Returns the updated entity. Built-in entities (isBuiltIn: true) cannot have references added.
Authentication
API key from app.videogen.io/api. The full key is only shown once when you create it.
Path parameters
The entity id (e.g. vg_enti_...).
Request
The file id (e.g. vg_file_...) of an image to attach as a reference.
What the file is used for. BRAND_LOGO and BRAND_STYLE_GUIDE are only allowed on BRAND entities, and attaching one replaces the brand’s previous logo or style guide. BRAND_LOGO is applied as the video logo overlay and is never used as a generation reference.
When true, make this the entity’s primary reference (used for its thumbnail).
Response
The entity id (e.g. vg_enti_...).
ACTOR features a consistent character; PRODUCT features a consistent product you sell or promote; VISUAL_STYLE guides the look of generated images; SLIDESHOW_THEME is a shared slide design system (fonts, colors, layout) applied to every slide of a slideshow-to-video deck; BRAND holds a logo, a style guide image, and a writing style; LOCATION features a consistent place or set; PROP features a consistent background object that is not a product.
Seconds since epoch (Unix timestamp) when the entity was created.
Seconds since epoch (Unix timestamp) when the entity was last updated.
Voice and presenter summary for ACTOR entities. Null for non-ACTOR entities.
When true, this is a VideoGen catalog entity. Built-in entities cannot be updated, archived, or have references added or removed.