Interface ReplicateSegmentationOptions

Per-provider passthrough options for the Replicate backend.

interface ReplicateSegmentationOptions {
    samModelId?: string;
    groundedSamModelId?: string;
    pollIntervalMs?: number;
    timeoutMs?: number;
    input?: Record<string, unknown>;
}

Properties

samModelId?: string

Override the SAM2 model slug used for geometric prompts.

groundedSamModelId?: string

Override the GroundedSAM model slug used for text prompts.

pollIntervalMs?: number

Poll interval in milliseconds (default 1000).

timeoutMs?: number

Overall timeout in milliseconds (default 120000).

input?: Record<string, unknown>

Extra fields merged verbatim into the Replicate input.