Interface SignageAIImage

One candidate produced by a job. Slots are null in SignageAIJob.images until the candidate for that slot lands

interface SignageAIImage {
    bytes: number;
    height: null | number;
    index: number;
    item_id?: string;
    mime: string;
    state: string;
    upload_id: string;
    url: string;
    width: null | number;
}

Properties

bytes: number

Size of the stored image in bytes

height: null | number

Height of the image in pixels, when it could be read

index: number

Position of the candidate in the job's image list

item_id?: string

ID of the media item the candidate was kept as. Set by claiming the image

mime: string

Content type of the stored image

state: string

State of the candidate

upload_id: string

ID of the upload holding the image

url: string

Endpoint returning a signed URL for the image

width: null | number

Width of the image in pixels, when it could be read