providerplaneai
    Preparing search index...

    Interface contract for ClientVideoExtendRequest.

    interface ClientVideoExtendRequest {
        context?: { metadata?: Record<string, unknown>; requestId?: string };
        model?: string;
        options?: Record<string, unknown>;
        params?: {
            aspectRatio?: "16:9" | "9:16";
            durationSeconds?: number;
            includeBase64?: boolean;
            maxPollMs?: number;
            model?: string;
            pollIntervalMs?: number;
            pollUntilComplete?: boolean;
            resolution?: "720p" | "1080p";
        };
        prompt?: string;
        sourceVideoBase64?: string;
        sourceVideoMimeType?: string;
        sourceVideoUri?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    context?: { metadata?: Record<string, unknown>; requestId?: string }

    Execution context (tracing, requestId, etc.) Not sent to the provider.

    model?: string
    options?: Record<string, unknown>

    Provider-agnostic tuning options (temperature, max tokens, etc.)

    params?: {
        aspectRatio?: "16:9" | "9:16";
        durationSeconds?: number;
        includeBase64?: boolean;
        maxPollMs?: number;
        model?: string;
        pollIntervalMs?: number;
        pollUntilComplete?: boolean;
        resolution?: "720p" | "1080p";
    }

    Optional extension and polling controls.

    Type Declaration

    • OptionalaspectRatio?: "16:9" | "9:16"
    • OptionaldurationSeconds?: number

      Gemini Veo currently accepts 4-8 seconds.

    • OptionalincludeBase64?: boolean
    • OptionalmaxPollMs?: number
    • Optionalmodel?: string
    • OptionalpollIntervalMs?: number
    • OptionalpollUntilComplete?: boolean
    • Optionalresolution?: "720p" | "1080p"
    prompt?: string

    Optional text instruction for the extension behavior.

    sourceVideoBase64?: string

    Optional base64-encoded source video content.

    sourceVideoMimeType?: string

    MIME type for base64 source video input.

    sourceVideoUri?: string

    Existing video URI or provider file reference to extend from.