Elements
Create an element
Changed onSaves a reusable element (a person/character, product/prop, or place) with a reference photo.
Photo source, one of:
- imageUrl: a public URL; we download and store it.
- imageAssetId: an asset from POST /uploads with purpose element-image.
After creating: mention it in scripts as @handle (returned in the response) to put it in faceless videos, or use a character's id as avatarId for talking-head videos.
The photo is the single source of truth for how the element looks. Use description for context (what it is, when to use it), never for appearance.
post/elements
Request
- Base URLhttps://app.aituber.app/api/v1
- AuthHTTP bearer
Request body
Response
OK
Changes
- info
api operation id
elements.createPublicremoved and replaced withcreateElement
- info
- info
added the non-success response with the status
- info