interface AvatarSessionOptions {
    apiKey?: string;
    apiUrl?: string;
    avatarId?: string;
    avatarParticipantIdentity?: string;
    avatarParticipantName?: string;
    connOptions?: APIConnectOptions;
    maxDuration?: number;
    presetId?: string;
}

Properties

apiKey?: string

Runway API secret. Falls back to RUNWAYML_API_SECRET environment variable.

apiUrl?: string

Runway API URL. Defaults to https://api.dev.runwayml.com or RUNWAYML_BASE_URL environment variable.

avatarId?: string

ID of a user-created avatar. Provide either avatarId or presetId, not both.

avatarParticipantIdentity?: string
avatarParticipantName?: string
connOptions?: APIConnectOptions
maxDuration?: number

Maximum session duration in seconds.

presetId?: string

ID of a Runway preset avatar. Provide either avatarId or presetId, not both.