Image
A component for rendering images:
- From external URLs
 - From a local path
 
Usage
Register an image with an id example_image:
Register image request
POST: /api/image/example_image/registerContent-Type: application/json
{  "asset_type": "svg",  "url": "https://example.com/image.svg"}Update output with a new scene that is using image example_image:
Update request
POST: /api/output/example_output/updateContent-Type: application/json
{  "video": {    "root": {      "type": "view",      "background_color": "#52505b",      "children": [        {          "type": "image",          "image_id": "example_image"        }      ]    }  }}Example output
 
 
Reference
Type definitions
type Image = {  id?: string;  image_id: string;}Properties
id
ID of a component.
- Type: 
string 
image_id
ID of an image. It identifies an image registered using a register image request.
- Type: 
string