mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-30 10:33:36 +00:00
21 lines
757 B
TypeScript
21 lines
757 B
TypeScript
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
import { PIXVERSE_PROVIDER_ID } from "./constants.js";
|
|
import { buildPixVerseApiKeyAuthMethod } from "./onboard.js";
|
|
import { buildPixVerseVideoGenerationProvider } from "./video-generation-provider.js";
|
|
|
|
export default definePluginEntry({
|
|
id: PIXVERSE_PROVIDER_ID,
|
|
name: "PixVerse Provider",
|
|
description: "Official external PixVerse video provider plugin",
|
|
register(api) {
|
|
api.registerProvider({
|
|
id: PIXVERSE_PROVIDER_ID,
|
|
label: "PixVerse",
|
|
docsPath: "/providers/pixverse",
|
|
envVars: ["PIXVERSE_API_KEY"],
|
|
auth: [buildPixVerseApiKeyAuthMethod()],
|
|
});
|
|
api.registerVideoGenerationProvider(buildPixVerseVideoGenerationProvider());
|
|
},
|
|
});
|