Vana SDK - v0.1.0
    Preparing search index...

    Interface ReplicateAPIResponse

    Base Replicate API prediction response

    interface ReplicateAPIResponse {
        id: string;
        version: string;
        status: ReplicateStatus;
        input: Record<string, unknown>;
        output?: unknown;
        error?: null | string;
        logs?: string;
        data_removed?: boolean;
        created_at: string;
        started_at?: string;
        completed_at?: string;
        urls: { get: string; cancel: string; web?: string };
        metrics?: { predict_time?: number; total_time?: number };
    }
    Index

    Properties

    id: string

    Unique identifier for the prediction

    version: string

    Model version identifier

    Current status of the prediction

    input: Record<string, unknown>

    Input parameters sent to the model

    output?: unknown

    Output from the model (if completed successfully)

    error?: null | string

    Error message (if failed)

    logs?: string

    Logs from the prediction run

    data_removed?: boolean

    Whether data has been removed due to content policy

    created_at: string

    Timestamp when prediction was created

    started_at?: string

    Timestamp when prediction started processing

    completed_at?: string

    Timestamp when prediction completed

    urls: { get: string; cancel: string; web?: string }

    URLs for interacting with the prediction

    Type declaration

    • get: string

      URL to get prediction status/results

    • cancel: string

      URL to cancel the prediction

    • Optionalweb?: string

      Web interface URL

    metrics?: { predict_time?: number; total_time?: number }

    Performance metrics

    Type declaration

    • Optionalpredict_time?: number

      Time spent in prediction (seconds)

    • Optionaltotal_time?: number

      Total time including setup (seconds)