148 lines
3.2 KiB
JSON
148 lines
3.2 KiB
JSON
{
|
|
"id": "tools",
|
|
"name": "Tools",
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|