openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
39 lines (38 loc) • 1.29 kB
JavaScript
import { t as createProviderApiKeyAuthMethod } from "../../provider-api-key-auth-mNtReYE0.js";
import { t as definePluginEntry } from "../../plugin-entry-zfBGJaNO.js";
import "../../provider-auth-api-key-DSeBB_JQ.js";
import { t as buildRunwayVideoGenerationProvider } from "../../video-generation-provider-D9hr0fVK.js";
//#region extensions/runway/index.ts
var runway_default = definePluginEntry({
id: "runway",
name: "Runway Provider",
description: "Bundled Runway video provider plugin",
register(api) {
api.registerProvider({
id: "runway",
label: "Runway",
docsPath: "/providers/runway",
envVars: ["RUNWAYML_API_SECRET", "RUNWAY_API_KEY"],
auth: [createProviderApiKeyAuthMethod({
providerId: "runway",
methodId: "api-key",
label: "Runway API key",
optionKey: "runwayApiKey",
flagName: "--runway-api-key",
envVar: "RUNWAYML_API_SECRET",
promptMessage: "Enter Runway API key",
wizard: {
choiceId: "runway-api-key",
choiceLabel: "Runway API key",
groupId: "runway",
groupLabel: "Runway",
groupHint: "API key",
onboardingScopes: ["image-generation"]
}
})]
});
api.registerVideoGenerationProvider(buildRunwayVideoGenerationProvider());
}
});
//#endregion
export { runway_default as default };