@adcp/sdk API Reference - v7.9.0
    Preparing search index...

    Interface PerUnitPricing

    Fixed price per unit of work. Used for creative transformation (per format), AI generation (per image, per token), and rendering (per variant). The unit field describes what is counted; unit_price is the cost per one unit.

    interface PerUnitPricing {
        model: "per_unit";
        unit: string;
        unit_price: number;
        currency: string;
        ext?: ExtensionObject;
    }
    Index

    Properties

    model: "per_unit"
    unit: string

    What is counted — e.g. 'format', 'image', 'token', 'variant', 'render', 'evaluation'.

    unit_price: number

    Cost per one unit

    0

    currency: string

    ISO 4217 currency code

    ^[A-Z]{3}$

    ext?: ExtensionObject