feat: migrate openai-video provider into tools plugin
This commit is contained in:
1 parent
42ef37f10a
commit
720f48844d
13 files changed
+1306
-38
No files matched your search
+132
-7
@@ -1,22 +1,147 @@
|
||||
{
|
||||
"id": "tools",
|
||||
"name": "Tools",
|
||||
"description": "Add Tools tools to OpenClaw.",
|
||||
"version": "0.1.0",
|
||||
"configSchema": {
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"description": "Custom Tools and Media Providers for OpenClaw.",
|
||||
"version": "0.2.0",
|
||||
"categories": [
|
||||
"media",
|
||||
"utilities"
|
||||
],
|
||||
"activation": {
|
||||
"onStartup": true
|
||||
},
|
||||
"skills": [
|
||||
"./skills"
|
||||
],
|
||||
"setup": {
|
||||
"providers": [
|
||||
{
|
||||
"id": "openai-video",
|
||||
"envVars": [
|
||||
"OPENAI_VIDEO_API_KEY",
|
||||
"CCLOAD_API_KEY",
|
||||
"BIFROST_API_KEY",
|
||||
"OPENAI_API_KEY"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"contracts": {
|
||||
"tools": [
|
||||
"echo"
|
||||
],
|
||||
"videoGenerationProviders": [
|
||||
"openai-video"
|
||||
]
|
||||
},
|
||||
"videoGenerationProviderMetadata": {
|
||||
"openai-video": {
|
||||
"authSignals": [
|
||||
{
|
||||
"provider": "openai"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"configContracts": {
|
||||
"secretInputs": {
|
||||
"paths": [
|
||||
{
|
||||
"path": "apiKey",
|
||||
"expected": "string",
|
||||
"ownerKind": "capability"
|
||||
},
|
||||
{
|
||||
"path": "video.apiKey",
|
||||
"expected": "string",
|
||||
"ownerKind": "capability"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"uiHints": {
|
||||
"apiKey": {
|
||||
"label": "API Key",
|
||||
"sensitive": true
|
||||
},
|
||||
"video.apiKey": {
|
||||
"label": "Video API Key",
|
||||
"sensitive": true
|
||||
}
|
||||
},
|
||||
"configSchema": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"baseUrl": {
|
||||
"type": "string",
|
||||
"title": "API Base URL",
|
||||
"description": "Base URL of the OpenAI-compatible video endpoint"
|
||||
},
|
||||
"apiKey": {
|
||||
"type": [
|
||||
"string",
|
||||
"object"
|
||||
],
|
||||
"title": "API Key",
|
||||
"description": "API Key or SecretRef for video generation"
|
||||
},
|
||||
"allowPrivateNetwork": {
|
||||
"type": "boolean",
|
||||
"title": "Allow Private Network",
|
||||
"description": "Allow requests to private/internal network endpoints (e.g. host.incus.internal, 127.0.0.1)",
|
||||
"default": true
|
||||
},
|
||||
"defaultModel": {
|
||||
"type": "string",
|
||||
"title": "Default Video Model",
|
||||
"description": "Default model ID to use when no model is explicitly requested",
|
||||
"default": "sora-2"
|
||||
},
|
||||
"models": {
|
||||
"type": "array",
|
||||
"title": "Available Models",
|
||||
"description": "List of available video model IDs",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"default": [
|
||||
"sora-2",
|
||||
"sora-2-pro",
|
||||
"gemini-video"
|
||||
]
|
||||
},
|
||||
"video": {
|
||||
"type": "object",
|
||||
"title": "Video Generation Settings",
|
||||
"description": "Nested configuration for video generation",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"baseUrl": {
|
||||
"type": "string"
|
||||
},
|
||||
"apiKey": {
|
||||
"type": [
|
||||
"string",
|
||||
"object"
|
||||
]
|
||||
},
|
||||
"allowPrivateNetwork": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"defaultModel": {
|
||||
"type": "string",
|
||||
"default": "sora-2"
|
||||
},
|
||||
"models": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user