mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-06 05:51:15 +08:00
22 lines
823 B
TypeScript
22 lines
823 B
TypeScript
// Pixverse plugin entrypoint registers its OpenClaw integration.
|
|
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());
|
|
},
|
|
});
|