162 lines
3.3 KiB
JSON
162 lines
3.3 KiB
JSON
{
|
|
"id": "1h-tools",
|
|
"name": "1-h Tools",
|
|
"description": "Custom Tools and Media Providers (Video & Image) for OpenClaw.",
|
|
"version": "0.3.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"
|
|
]
|
|
},
|
|
{
|
|
"id": "openai-image",
|
|
"envVars": [
|
|
"OPENAI_IMAGE_API_KEY",
|
|
"BIFROST_API_KEY",
|
|
"CCLOAD_API_KEY",
|
|
"OPENAI_API_KEY"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"contracts": {
|
|
"tools": [
|
|
"echo"
|
|
],
|
|
"videoGenerationProviders": [
|
|
"openai-video"
|
|
],
|
|
"imageGenerationProviders": [
|
|
"openai-image"
|
|
]
|
|
},
|
|
"videoGenerationProviderMetadata": {
|
|
"openai-video": {
|
|
"authSignals": [
|
|
{
|
|
"provider": "openai"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"imageGenerationProviderMetadata": {
|
|
"openai-image": {
|
|
"authSignals": [
|
|
{
|
|
"provider": "openai"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"configContracts": {
|
|
"secretInputs": {
|
|
"paths": [
|
|
{
|
|
"path": "video.apiKey",
|
|
"expected": "string",
|
|
"ownerKind": "capability"
|
|
},
|
|
{
|
|
"path": "image.apiKey",
|
|
"expected": "string",
|
|
"ownerKind": "capability"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"uiHints": {
|
|
"video.apiKey": {
|
|
"label": "Video API Key",
|
|
"sensitive": true
|
|
},
|
|
"image.apiKey": {
|
|
"label": "Image API Key",
|
|
"sensitive": true
|
|
}
|
|
},
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"video": {
|
|
"type": "object",
|
|
"title": "Video Generation Settings",
|
|
"description": "Configuration for video generation (openai-video)",
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"image": {
|
|
"type": "object",
|
|
"title": "Image Generation Settings",
|
|
"description": "Configuration for image generation (openai-image / bifrost-image)",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"baseUrl": {
|
|
"type": "string"
|
|
},
|
|
"apiKey": {
|
|
"type": [
|
|
"string",
|
|
"object"
|
|
]
|
|
},
|
|
"allowPrivateNetwork": {
|
|
"type": "boolean",
|
|
"default": true
|
|
},
|
|
"defaultModel": {
|
|
"type": "string",
|
|
"default": "gpt-image-2"
|
|
},
|
|
"models": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|