Interface SignageAICapabilities

What image generation can do on the current domain, and for the current user

interface SignageAICapabilities {
    aspect_ratios: string[];
    default_provider_id?: string;
    enabled: boolean;
    logo_layer: boolean;
    max_candidates: number;
    providers: SignageAIProviderCapabilities[];
    qualities: string[];
    quota: SignageAIQuota;
    reason?: string;
}

Properties

aspect_ratios: string[]

Aspect ratios accepted across the platform

default_provider_id?: string

ID of the provider used when a request does not name one

enabled: boolean

Whether image generation can be used at all

logo_layer: boolean

Whether the domain has a logo that can be composited over a generated image

max_candidates: number

Most candidates that may be asked for in one request

Providers configured for this domain

qualities: string[]

Quality levels accepted across the platform

Remaining allowance for the caller and their domain

reason?: string

Why the feature is unavailable. Only set when enabled is false