Class PolicyAwareImageRouter

Policy-aware image provider router. Selects the preferred image generation provider and model based on the session's content policy tier.

Constructors

Methods

  • Get the ordered provider chain for a given policy tier.

    Safe/standard returns the default chain (OpenAI-first). Mature/private-adult returns the uncensored chain (Replicate-first).

    Parameters

    • policyTier: PolicyTier

      Content policy tier.

    Returns string[]

    Ordered array of provider IDs to try in sequence.