import { t as createProviderApiKeyAuthMethod } from "../../provider-api-key-auth-CHwLGSRt.js";
import { t as definePluginEntry } from "../../plugin-entry-BGsahazT.js";
import "../../provider-auth-api-key-CW3c5LUU.js";
import { t as buildRunwayVideoGenerationProvider } from "../../video-generation-provider-DtoGEYVT.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 };
