301 lines
6.5 KiB
JSON
301 lines
6.5 KiB
JSON
{
|
|
"id": "1h-tools",
|
|
"name": "1-h Tools",
|
|
"description": "Custom Tools and Media Providers (OpenAI & Gemini) for OpenClaw.",
|
|
"version": "0.4.0",
|
|
"categories": [
|
|
"media",
|
|
"developer-tools"
|
|
],
|
|
"activation": {
|
|
"onStartup": true
|
|
},
|
|
"skills": [
|
|
"./skills"
|
|
],
|
|
"setup": {
|
|
"providers": [
|
|
{
|
|
"id": "1h-openai-video",
|
|
"envVars": [
|
|
"OPENAI_VIDEO_API_KEY",
|
|
"CCLOAD_API_KEY",
|
|
"BIFROST_API_KEY",
|
|
"OPENAI_API_KEY"
|
|
]
|
|
},
|
|
{
|
|
"id": "1h-openai-image",
|
|
"envVars": [
|
|
"OPENAI_IMAGE_API_KEY",
|
|
"CCLOAD_API_KEY",
|
|
"BIFROST_API_KEY",
|
|
"OPENAI_API_KEY"
|
|
]
|
|
},
|
|
{
|
|
"id": "1h-gemini-image",
|
|
"envVars": [
|
|
"CCLOAD_API_KEY",
|
|
"GEMINI_API_KEY",
|
|
"BIFROST_API_KEY"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"contracts": {
|
|
"tools": [
|
|
"echo"
|
|
],
|
|
"videoGenerationProviders": [
|
|
"1h-openai-video"
|
|
],
|
|
"imageGenerationProviders": [
|
|
"1h-openai-image",
|
|
"1h-gemini-image"
|
|
]
|
|
},
|
|
"videoGenerationProviderMetadata": {
|
|
"1h-openai-video": {
|
|
"authSignals": [
|
|
{
|
|
"provider": "openai"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"imageGenerationProviderMetadata": {
|
|
"1h-openai-image": {
|
|
"authSignals": [
|
|
{
|
|
"provider": "openai"
|
|
}
|
|
]
|
|
},
|
|
"1h-gemini-image": {
|
|
"authSignals": [
|
|
{
|
|
"provider": "google"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"configContracts": {
|
|
"secretInputs": {
|
|
"paths": [
|
|
{
|
|
"path": "video.apiKey",
|
|
"expected": "string",
|
|
"ownerKind": "capability"
|
|
},
|
|
{
|
|
"path": "openaiVideo.apiKey",
|
|
"expected": "string",
|
|
"ownerKind": "capability"
|
|
},
|
|
{
|
|
"path": "image.apiKey",
|
|
"expected": "string",
|
|
"ownerKind": "capability"
|
|
},
|
|
{
|
|
"path": "openaiImage.apiKey",
|
|
"expected": "string",
|
|
"ownerKind": "capability"
|
|
},
|
|
{
|
|
"path": "geminiImage.apiKey",
|
|
"expected": "string",
|
|
"ownerKind": "capability"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"uiHints": {
|
|
"openaiVideo.apiKey": {
|
|
"label": "OpenAI Video API Key",
|
|
"sensitive": true
|
|
},
|
|
"openaiImage.apiKey": {
|
|
"label": "OpenAI Image API Key",
|
|
"sensitive": true
|
|
},
|
|
"geminiImage.apiKey": {
|
|
"label": "Gemini Image API Key",
|
|
"sensitive": true
|
|
}
|
|
},
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"video": {
|
|
"type": "object",
|
|
"title": "Video Generation Settings (Alias for openaiVideo)",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"baseUrl": {
|
|
"type": "string"
|
|
},
|
|
"apiKey": {
|
|
"type": [
|
|
"string",
|
|
"object"
|
|
]
|
|
},
|
|
"allowPrivateNetwork": {
|
|
"type": "boolean",
|
|
"default": true
|
|
},
|
|
"defaultModel": {
|
|
"type": "string",
|
|
"default": "gemini-video"
|
|
},
|
|
"models": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"openaiVideo": {
|
|
"type": "object",
|
|
"title": "OpenAI Video Generation Settings (1h-openai-video)",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"baseUrl": {
|
|
"type": "string"
|
|
},
|
|
"apiKey": {
|
|
"type": [
|
|
"string",
|
|
"object"
|
|
]
|
|
},
|
|
"allowPrivateNetwork": {
|
|
"type": "boolean",
|
|
"default": true
|
|
},
|
|
"defaultModel": {
|
|
"type": "string",
|
|
"default": "gemini-video"
|
|
},
|
|
"models": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"image": {
|
|
"type": "object",
|
|
"title": "Image Generation Settings (Alias for openaiImage)",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"baseUrl": {
|
|
"type": "string"
|
|
},
|
|
"apiKey": {
|
|
"type": [
|
|
"string",
|
|
"object"
|
|
]
|
|
},
|
|
"allowPrivateNetwork": {
|
|
"type": "boolean",
|
|
"default": true
|
|
},
|
|
"defaultModel": {
|
|
"type": "string",
|
|
"default": "gpt-image-2"
|
|
},
|
|
"responseFormat": {
|
|
"type": "string",
|
|
"enum": [
|
|
"url",
|
|
"b64_json"
|
|
],
|
|
"default": "url"
|
|
},
|
|
"models": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"openaiImage": {
|
|
"type": "object",
|
|
"title": "OpenAI Image Generation Settings (1h-openai-image)",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"baseUrl": {
|
|
"type": "string"
|
|
},
|
|
"apiKey": {
|
|
"type": [
|
|
"string",
|
|
"object"
|
|
]
|
|
},
|
|
"allowPrivateNetwork": {
|
|
"type": "boolean",
|
|
"default": true
|
|
},
|
|
"defaultModel": {
|
|
"type": "string",
|
|
"default": "gpt-image-2"
|
|
},
|
|
"responseFormat": {
|
|
"type": "string",
|
|
"enum": [
|
|
"url",
|
|
"b64_json"
|
|
],
|
|
"default": "url"
|
|
},
|
|
"models": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"geminiImage": {
|
|
"type": "object",
|
|
"title": "Gemini Image Generation Settings (1h-gemini-image)",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"baseUrl": {
|
|
"type": "string"
|
|
},
|
|
"apiKey": {
|
|
"type": [
|
|
"string",
|
|
"object"
|
|
]
|
|
},
|
|
"allowPrivateNetwork": {
|
|
"type": "boolean",
|
|
"default": true
|
|
},
|
|
"defaultModel": {
|
|
"type": "string",
|
|
"default": "gemini-3.1-flash-image"
|
|
},
|
|
"models": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|