Member Junction
    Preparing search index...

    Interface AIVideoGenerationRunResult

    The result of AIVideoRunner.RunGenerateVideo.

    The runner resolves and returns the generated video bytes in Video.Data; it never uploads them to storage. Callers store the bytes through their own storage path and record provenance (ModelID, PromptRunID, JobID, C2PA).

    interface AIVideoGenerationRunResult {
        C2PA?: boolean;
        Cost?: number;
        CostCurrency?: string;
        DriverClass?: string;
        ErrorMessage?: string;
        ExecutionTimeMS: number;
        JobID?: string;
        ModelID?: string;
        ModelName?: string;
        PromptRunID?: string;
        Success: boolean;
        Video?: {
            Data: Buffer;
            DurationSeconds: number;
            Height: number;
            MimeType: string;
            Width: number;
        };
    }

    Hierarchy (View Summary)

    Index

    Properties

    C2PA?: boolean

    Whether the provider embeds C2PA content credentials in the generated video.

    Cost?: number

    Driver-reported cost only (for example when the provider returns credits/cost on submission). When absent, the server prices the MJ: AI Prompt Runs row on save from the active Per Second model cost row; read the computed cost back by PromptRunID.

    CostCurrency?: string

    ISO 4217 currency code for Cost when the driver reported a cost.

    DriverClass?: string

    The driver class of that model's vendor.

    ErrorMessage?: string

    Why the call failed, when it did.

    ExecutionTimeMS: number

    Wall-clock time for the whole call, in milliseconds.

    JobID?: string

    Provider's job identifier from submission / status polling.

    ModelID?: string

    The model that answered after any failover, or the last one tried when the call failed.

    ModelName?: string

    The name of that model.

    PromptRunID?: string

    The MJ: AI Prompt Runs row for this call. Absent when the call never reached a model.

    Success: boolean

    Whether the driver reported success.

    Video?: {
        Data: Buffer;
        DurationSeconds: number;
        Height: number;
        MimeType: string;
        Width: number;
    }

    Resolved video clip and metadata when generation succeeded.