@acedatacloud/openclaw-provider 2026.5.34 → 2026.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +72 -59
- package/assets/icon.png +0 -0
- package/dist/index.d.ts +4 -10
- package/dist/index.js +34 -20
- package/dist/src/chat/generated-catalog.d.ts +9 -7
- package/dist/src/chat/generated-catalog.js +3893 -65
- package/dist/src/chat/onboard.d.ts +1 -1
- package/dist/src/chat/onboard.js +13 -2
- package/dist/src/chat/provider-catalog.d.ts +4 -2
- package/dist/src/chat/provider-catalog.js +2 -51
- package/dist/src/chat/runtime.d.ts +4 -0
- package/dist/src/chat/runtime.js +77 -0
- package/dist/src/constants.d.ts +1 -1
- package/dist/src/constants.js +1 -1
- package/dist/src/search/acedata-search-client.d.ts +2 -0
- package/dist/src/search/acedata-search-client.js +21 -13
- package/dist/src/search/acedata-search-config.js +6 -4
- package/dist/src/search/acedata-search-provider.d.ts +3 -2
- package/dist/src/search/acedata-search-provider.js +5 -2
- package/dist/src/search/acedata-search-shared.d.ts +2 -1
- package/dist/src/search/acedata-search-shared.js +37 -6
- package/dist/src/services/catalog.d.ts +46 -0
- package/dist/src/services/catalog.js +24 -0
- package/dist/src/services/client.d.ts +36 -0
- package/dist/src/services/client.js +315 -0
- package/dist/src/services/contracts/face.json +16 -0
- package/dist/src/services/contracts/fish-audio.json +15 -0
- package/dist/src/services/contracts/flux.json +13 -0
- package/dist/src/services/contracts/google-search.json +9 -0
- package/dist/src/services/contracts/gpt-image.json +13 -0
- package/dist/src/services/contracts/grok.json +12 -0
- package/dist/src/services/contracts/happyhorse.json +11 -0
- package/dist/src/services/contracts/kling.json +20 -0
- package/dist/src/services/contracts/midjourney.json +17 -0
- package/dist/src/services/contracts/minimax.json +13 -0
- package/dist/src/services/contracts/nano-banana.json +12 -0
- package/dist/src/services/contracts/qwen-image.json +11 -0
- package/dist/src/services/contracts/seedance.json +11 -0
- package/dist/src/services/contracts/seedream.json +13 -0
- package/dist/src/services/contracts/suno.json +27 -0
- package/dist/src/services/contracts/veo.json +15 -0
- package/dist/src/services/contracts/wan.json +12 -0
- package/dist/src/services/media.d.ts +25 -0
- package/dist/src/services/media.js +350 -0
- package/dist/src/services/parameters.d.ts +6 -0
- package/dist/src/services/parameters.js +165 -0
- package/dist/src/services/tools.d.ts +6 -0
- package/dist/src/services/tools.js +59 -0
- package/docs/architecture.md +58 -0
- package/docs/capabilities.md +75 -0
- package/docs/cookbook.md +77 -0
- package/docs/model-catalog.md +126 -0
- package/openclaw.plugin.json +5679 -8
- package/package.json +31 -23
- package/skills/acedata-face/SKILL.md +14 -0
- package/skills/acedata-fish-audio/SKILL.md +20 -0
- package/skills/acedata-flux/SKILL.md +18 -0
- package/skills/acedata-google-search/SKILL.md +14 -0
- package/skills/acedata-gpt-image/SKILL.md +18 -0
- package/skills/acedata-grok/SKILL.md +17 -0
- package/skills/acedata-happyhorse/SKILL.md +16 -0
- package/skills/acedata-kling/SKILL.md +25 -0
- package/skills/acedata-midjourney/SKILL.md +22 -0
- package/skills/acedata-minimax/SKILL.md +18 -0
- package/skills/acedata-nano-banana/SKILL.md +17 -0
- package/skills/acedata-qwen-image/SKILL.md +16 -0
- package/skills/acedata-seedance/SKILL.md +16 -0
- package/skills/acedata-seedream/SKILL.md +18 -0
- package/skills/acedata-suno/SKILL.md +32 -0
- package/skills/acedata-veo/SKILL.md +20 -0
- package/skills/acedata-wan/SKILL.md +17 -0
- package/index.ts +0 -110
- package/src/chat/generated-catalog.ts +0 -77
- package/src/chat/model-overrides.json +0 -93
- package/src/chat/onboard.ts +0 -33
- package/src/chat/provider-catalog.ts +0 -73
- package/src/constants.ts +0 -3
- package/src/search/acedata-search-client.ts +0 -160
- package/src/search/acedata-search-config.ts +0 -76
- package/src/search/acedata-search-provider.ts +0 -80
- package/src/search/acedata-search-shared.ts +0 -29
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "grok",
|
|
3
|
+
"label": "Grok",
|
|
4
|
+
"source": { "repository": "https://github.com/AceDataCloud/GrokDify", "commit": "fd72879b4a74fceaa94b81dc5f90d2e833b7f12c", "path": "tools/api_contracts.py" },
|
|
5
|
+
"taskPath": "/grok/tasks",
|
|
6
|
+
"endpoints": {
|
|
7
|
+
"grok_generate_video": { "method": "POST", "path": "/grok/videos", "operation": "generate", "schema": { "type": "object", "properties": { "prompt": { "type": "string" }, "model": { "enum": ["grok-imagine-video-1.5-fast:reverse", "grok-imagine-video:reverse", "grok-imagine-video:official", "grok-imagine-video-1.5:official", "grok-imagine-video"], "type": "string" }, "image_url": { "type": "string" }, "reference_image_urls": { "type": "array", "items": { "type": "string" } }, "aspect_ratio": { "enum": ["1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3"], "type": "string" }, "resolution": { "enum": ["480p", "720p", "1080p"], "type": "string" }, "duration": { "type": "integer", "minimum": 1, "maximum": 30 }, "callback_url": { "type": "string" }, "async": { "type": "boolean" } } }, "properties": { "prompt": { "type": "string" }, "model": { "enum": ["grok-imagine-video-1.5-fast:reverse", "grok-imagine-video:reverse", "grok-imagine-video:official", "grok-imagine-video-1.5:official", "grok-imagine-video"], "type": "string" }, "image_url": { "type": "string" }, "reference_image_urls": { "type": "array", "items": { "type": "string" } }, "aspect_ratio": { "enum": ["1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3"], "type": "string" }, "resolution": { "enum": ["480p", "720p", "1080p"], "type": "string" }, "duration": { "type": "integer", "minimum": 1, "maximum": 30 }, "callback_url": { "type": "string" }, "async": { "type": "boolean" } }, "parameters": [], "defaults": { "model": "grok-imagine-video-1.5-fast:reverse", "resolution": "480p", "duration": 6 }, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Grok Generate Video", "description": "Generate videos with Ace Data Cloud Grok Imagine Videos API (text-to-video or image-to-video). For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "prompt", "required": false, "schema": { "type": "string", "description": "Text description. Required for text-to-video; optional when an image_url is provided." } }, { "name": "model", "required": false, "schema": { "type": "string", "description": "Select a model currently supported by this API. Availability and pricing depend on the chosen model.", "enum": ["grok-imagine-video-1.5-fast:reverse", "grok-imagine-video:reverse", "grok-imagine-video:official", "grok-imagine-video-1.5:official", "grok-imagine-video"], "default": "grok-imagine-video-1.5-fast:reverse" } }, { "name": "image_url", "required": false, "schema": { "type": "string", "description": "Input image to animate (image-to-video). Required for grok-imagine-video-1.5-preview." } }, { "name": "reference_image_urls", "required": false, "schema": { "type": "string", "description": "Optional reference images to guide the style/content (array, JSON array string, or one per line). Enter a JSON array. Enter a JSON array or object where applicable." } }, { "name": "aspect_ratio", "required": false, "schema": { "type": "string", "description": "Optional output aspect ratio.", "enum": ["1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3"] } }, { "name": "resolution", "required": false, "schema": { "type": "string", "description": "Set resolution; supported combinations are described by the current API.", "enum": ["480p", "720p", "1080p"], "default": "480p" } }, { "name": "duration", "required": false, "schema": { "type": "number", "description": "Set duration (seconds); supported combinations are described by the current API.", "default": 6, "minimum": 1, "maximum": 30 } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }] } },
|
|
8
|
+
"grok_chat_completions": { "method": "POST", "path": "/grok/chat/completions", "operation": "request", "schema": { "type": "object", "required": ["model", "messages"], "properties": { "n": { "type": ["number", "null"], "maximum": 128, "minimum": 1 }, "model": { "enum": ["grok-4.7", "grok-4.5", "grok-4", "grok-3"], "type": "string" }, "stream": { "type": ["boolean", "null"] }, "messages": { "type": "array", "items": { "type": "object", "required": ["role"], "properties": { "role": { "enum": ["user", "assistant", "system", "developer", "tool"], "type": "string" }, "content": { "oneOf": [{ "type": "string" }, { "type": "array", "items": { "oneOf": [{ "type": "object", "required": ["type", "text"], "properties": { "type": { "type": "string", "enum": ["text"] }, "text": { "type": "string" } } }, { "type": "object", "required": ["type", "image_url"], "properties": { "type": { "type": "string", "enum": ["image_url"] }, "image_url": { "type": "object", "required": ["url"], "properties": { "url": { "type": "string" }, "detail": { "type": "string", "enum": ["auto", "low", "high"] } } } } }] }, "minItems": 1 }] }, "name": { "type": "string" }, "tool_calls": { "type": "array", "items": { "type": "object", "required": ["id", "type", "function"], "properties": { "id": { "type": "string" }, "type": { "type": "string", "enum": ["function"] }, "function": { "type": "object", "required": ["name", "arguments"], "properties": { "name": { "type": "string" }, "arguments": { "type": "string" } } } } } }, "refusal": { "type": ["string", "null"] }, "tool_call_id": { "type": "string" } } }, "minItems": 1 }, "max_tokens": { "type": ["number", "null"] }, "temperature": { "type": ["number", "null"], "maximum": 2, "minimum": 0 }, "top_p": { "type": ["number", "null"], "maximum": 1, "minimum": 0 }, "frequency_penalty": { "type": ["number", "null"], "maximum": 2, "minimum": -2 }, "presence_penalty": { "type": ["number", "null"], "maximum": 2, "minimum": -2 }, "seed": { "type": ["integer", "null"] }, "stop": { "oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" }, "minItems": 1, "maxItems": 4 }] }, "max_completion_tokens": { "type": ["integer", "null"] }, "logprobs": { "type": ["boolean", "null"] }, "top_logprobs": { "type": ["integer", "null"], "minimum": 0, "maximum": 20 }, "stream_options": { "type": ["object", "null"], "properties": { "include_usage": { "type": "boolean" } } }, "parallel_tool_calls": { "type": "boolean" }, "user": { "type": "string" }, "reasoning_effort": { "type": ["string", "null"], "enum": ["minimal", "low", "medium", "high"] }, "service_tier": { "type": ["string", "null"], "enum": ["auto", "default", "flex", "scale", "priority"] }, "store": { "type": ["boolean", "null"] }, "metadata": { "type": ["object", "null"], "additionalProperties": { "type": "string" } }, "logit_bias": { "type": ["object", "null"], "additionalProperties": { "type": "integer" } }, "modalities": { "type": ["array", "null"], "items": { "type": "string", "enum": ["text", "audio"] } }, "audio": { "type": ["object", "null"], "required": ["voice", "format"], "properties": { "voice": { "type": "string", "enum": ["alloy", "ash", "ballad", "coral", "echo", "fable", "nova", "onyx", "sage", "shimmer"] }, "format": { "type": "string", "enum": ["wav", "aac", "mp3", "flac", "opus", "pcm16"] } } }, "prediction": { "type": ["object", "null"], "required": ["type", "content"], "properties": { "type": { "type": "string", "enum": ["content"] }, "content": { "oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "object", "required": ["type", "text"], "properties": { "type": { "type": "string", "enum": ["text"] }, "text": { "type": "string" } } } }] } } }, "web_search_options": { "type": "object", "properties": { "search_context_size": { "type": "string", "enum": ["low", "medium", "high"] }, "user_location": { "type": ["object", "null"], "properties": { "type": { "type": "string", "enum": ["approximate"] }, "approximate": { "type": "object", "properties": { "country": { "type": "string" }, "region": { "type": "string" }, "city": { "type": "string" }, "timezone": { "type": "string" } } } } } } }, "tools": { "type": ["array", "null"], "items": { "type": "object", "required": ["type", "function"], "properties": { "type": { "type": "string", "enum": ["function"] }, "function": { "type": "object", "required": ["name"], "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "parameters": { "type": "object", "additionalProperties": true } } } } } }, "tool_choice": { "oneOf": [{ "type": "string", "enum": ["none", "auto", "required"] }, { "type": "object", "required": ["type", "function"], "properties": { "type": { "type": "string", "enum": ["function"] }, "function": { "type": "object", "required": ["name"], "properties": { "name": { "type": "string" } } } } }] }, "response_format": { "oneOf": [{ "type": "object", "required": ["type"], "properties": { "type": { "enum": ["text"], "type": "string" } } }, { "type": "object", "required": ["type"], "properties": { "type": { "enum": ["json_object"], "type": "string" } } }, { "type": "object", "required": ["type", "json_schema"], "properties": { "type": { "enum": ["json_schema"], "type": "string" }, "json_schema": { "type": "object", "required": ["name"], "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "schema": { "type": "object", "additionalProperties": true }, "strict": { "type": ["boolean", "null"] } } } } }] } } }, "properties": { "n": { "type": ["number", "null"], "maximum": 128, "minimum": 1 }, "model": { "enum": ["grok-4.7", "grok-4.5", "grok-4", "grok-3"], "type": "string" }, "stream": { "type": ["boolean", "null"] }, "messages": { "type": "array", "items": { "type": "object", "required": ["role"], "properties": { "role": { "enum": ["user", "assistant", "system", "developer", "tool"], "type": "string" }, "content": { "oneOf": [{ "type": "string" }, { "type": "array", "items": { "oneOf": [{ "type": "object", "required": ["type", "text"], "properties": { "type": { "type": "string", "enum": ["text"] }, "text": { "type": "string" } } }, { "type": "object", "required": ["type", "image_url"], "properties": { "type": { "type": "string", "enum": ["image_url"] }, "image_url": { "type": "object", "required": ["url"], "properties": { "url": { "type": "string" }, "detail": { "type": "string", "enum": ["auto", "low", "high"] } } } } }] }, "minItems": 1 }] }, "name": { "type": "string" }, "tool_calls": { "type": "array", "items": { "type": "object", "required": ["id", "type", "function"], "properties": { "id": { "type": "string" }, "type": { "type": "string", "enum": ["function"] }, "function": { "type": "object", "required": ["name", "arguments"], "properties": { "name": { "type": "string" }, "arguments": { "type": "string" } } } } } }, "refusal": { "type": ["string", "null"] }, "tool_call_id": { "type": "string" } } }, "minItems": 1 }, "max_tokens": { "type": ["number", "null"] }, "temperature": { "type": ["number", "null"], "maximum": 2, "minimum": 0 }, "top_p": { "type": ["number", "null"], "maximum": 1, "minimum": 0 }, "frequency_penalty": { "type": ["number", "null"], "maximum": 2, "minimum": -2 }, "presence_penalty": { "type": ["number", "null"], "maximum": 2, "minimum": -2 }, "seed": { "type": ["integer", "null"] }, "stop": { "oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" }, "minItems": 1, "maxItems": 4 }] }, "max_completion_tokens": { "type": ["integer", "null"] }, "logprobs": { "type": ["boolean", "null"] }, "top_logprobs": { "type": ["integer", "null"], "minimum": 0, "maximum": 20 }, "stream_options": { "type": ["object", "null"], "properties": { "include_usage": { "type": "boolean" } } }, "parallel_tool_calls": { "type": "boolean" }, "user": { "type": "string" }, "reasoning_effort": { "type": ["string", "null"], "enum": ["minimal", "low", "medium", "high"] }, "service_tier": { "type": ["string", "null"], "enum": ["auto", "default", "flex", "scale", "priority"] }, "store": { "type": ["boolean", "null"] }, "metadata": { "type": ["object", "null"], "additionalProperties": { "type": "string" } }, "logit_bias": { "type": ["object", "null"], "additionalProperties": { "type": "integer" } }, "modalities": { "type": ["array", "null"], "items": { "type": "string", "enum": ["text", "audio"] } }, "audio": { "type": ["object", "null"], "required": ["voice", "format"], "properties": { "voice": { "type": "string", "enum": ["alloy", "ash", "ballad", "coral", "echo", "fable", "nova", "onyx", "sage", "shimmer"] }, "format": { "type": "string", "enum": ["wav", "aac", "mp3", "flac", "opus", "pcm16"] } } }, "prediction": { "type": ["object", "null"], "required": ["type", "content"], "properties": { "type": { "type": "string", "enum": ["content"] }, "content": { "oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "object", "required": ["type", "text"], "properties": { "type": { "type": "string", "enum": ["text"] }, "text": { "type": "string" } } } }] } } }, "web_search_options": { "type": "object", "properties": { "search_context_size": { "type": "string", "enum": ["low", "medium", "high"] }, "user_location": { "type": ["object", "null"], "properties": { "type": { "type": "string", "enum": ["approximate"] }, "approximate": { "type": "object", "properties": { "country": { "type": "string" }, "region": { "type": "string" }, "city": { "type": "string" }, "timezone": { "type": "string" } } } } } } }, "tools": { "type": ["array", "null"], "items": { "type": "object", "required": ["type", "function"], "properties": { "type": { "type": "string", "enum": ["function"] }, "function": { "type": "object", "required": ["name"], "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "parameters": { "type": "object", "additionalProperties": true } } } } } }, "tool_choice": { "oneOf": [{ "type": "string", "enum": ["none", "auto", "required"] }, { "type": "object", "required": ["type", "function"], "properties": { "type": { "type": "string", "enum": ["function"] }, "function": { "type": "object", "required": ["name"], "properties": { "name": { "type": "string" } } } } }] }, "response_format": { "oneOf": [{ "type": "object", "required": ["type"], "properties": { "type": { "enum": ["text"], "type": "string" } } }, { "type": "object", "required": ["type"], "properties": { "type": { "enum": ["json_object"], "type": "string" } } }, { "type": "object", "required": ["type", "json_schema"], "properties": { "type": { "enum": ["json_schema"], "type": "string" }, "json_schema": { "type": "object", "required": ["name"], "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "schema": { "type": "object", "additionalProperties": true }, "strict": { "type": ["boolean", "null"] } } } } }] } }, "parameters": [], "defaults": {}, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Grok Video Chat Completions", "description": "Chat Completions through the Ace Data Cloud Grok Video API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "n", "required": false, "schema": { "type": "number", "description": "Set n for this operation.", "minimum": 1, "maximum": 128 } }, { "name": "model", "required": true, "schema": { "type": "string", "description": "Select a model currently supported by this API. Availability and pricing depend on the chosen model.", "enum": ["grok-4.7", "grok-4.5", "grok-4", "grok-3"] } }, { "name": "messages", "required": true, "schema": { "type": "string", "description": "Set messages for this operation. Enter a JSON array or object where applicable." } }, { "name": "max_tokens", "required": false, "schema": { "type": "number", "description": "Set max tokens for this operation." } }, { "name": "temperature", "required": false, "schema": { "type": "number", "description": "Set temperature for this operation.", "minimum": 0, "maximum": 2 } }, { "name": "top_p", "required": false, "schema": { "type": "number", "description": "Set top p for this operation.", "minimum": 0, "maximum": 1 } }, { "name": "frequency_penalty", "required": false, "schema": { "type": "number", "description": "Set frequency penalty for this operation.", "minimum": -2, "maximum": 2 } }, { "name": "presence_penalty", "required": false, "schema": { "type": "number", "description": "Set presence penalty for this operation.", "minimum": -2, "maximum": 2 } }, { "name": "seed", "required": false, "schema": { "type": "number", "description": "Set seed for this operation." } }, { "name": "stop", "required": false, "schema": { "type": "string", "description": "Set stop for this operation. Enter a JSON array or object where applicable." } }, { "name": "max_completion_tokens", "required": false, "schema": { "type": "number", "description": "Set max completion tokens for this operation." } }, { "name": "logprobs", "required": false, "schema": { "type": "boolean", "description": "Set logprobs for this operation." } }, { "name": "top_logprobs", "required": false, "schema": { "type": "number", "description": "Set top logprobs for this operation.", "minimum": 0, "maximum": 20 } }, { "name": "stream_options", "required": false, "schema": { "type": "string", "description": "Set stream options for this operation. Enter a JSON array or object where applicable." } }, { "name": "parallel_tool_calls", "required": false, "schema": { "type": "boolean", "description": "Set parallel tool calls for this operation." } }, { "name": "user", "required": false, "schema": { "type": "string", "description": "Set user for this operation." } }, { "name": "reasoning_effort", "required": false, "schema": { "type": "string", "description": "Set reasoning effort for this operation.", "enum": ["minimal", "low", "medium", "high"] } }, { "name": "service_tier", "required": false, "schema": { "type": "string", "description": "Set service tier for this operation.", "enum": ["auto", "default", "flex", "scale", "priority"] } }, { "name": "store", "required": false, "schema": { "type": "boolean", "description": "Set store for this operation." } }, { "name": "metadata", "required": false, "schema": { "type": "string", "description": "Set metadata for this operation. Enter a JSON array or object where applicable." } }, { "name": "logit_bias", "required": false, "schema": { "type": "string", "description": "Set logit bias for this operation. Enter a JSON array or object where applicable." } }, { "name": "modalities", "required": false, "schema": { "type": "string", "description": "Set modalities for this operation. Enter a JSON array or object where applicable." } }, { "name": "audio", "required": false, "schema": { "type": "string", "description": "Set audio for this operation. Enter a JSON array or object where applicable." } }, { "name": "prediction", "required": false, "schema": { "type": "string", "description": "Set prediction for this operation. Enter a JSON array or object where applicable." } }, { "name": "web_search_options", "required": false, "schema": { "type": "string", "description": "Set web search options for this operation. Enter a JSON array or object where applicable." } }, { "name": "tools", "required": false, "schema": { "type": "string", "description": "Set tools for this operation. Enter a JSON array or object where applicable." } }, { "name": "tool_choice", "required": false, "schema": { "type": "string", "description": "Set tool choice for this operation. Enter a JSON array or object where applicable." } }, { "name": "response_format", "required": false, "schema": { "type": "string", "description": "Set response format for this operation. Enter a JSON array or object where applicable." } }] } },
|
|
9
|
+
"grok_task_retrieve": { "method": "POST", "path": "/grok/tasks", "operation": "task", "schema": { "type": "object", "properties": { "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" } }, "action": { "enum": ["retrieve", "retrieve_batch"], "type": "string" } } }, "properties": { "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" } }, "action": { "enum": ["retrieve", "retrieve_batch"], "type": "string" } }, "parameters": [], "defaults": { "wait_seconds": 0 }, "fixed": {}, "allow_empty": [], "query_actions": ["retrieve", "retrieve_batch", "list", "presets"], "media_response": false, "tool": { "label": "Grok Video Retrieve Task", "description": "Query the existing task ID; do not repeat generation while it is pending.", "input": [{ "name": "task_id", "required": true, "schema": { "type": "string", "description": "Use the task ID or IDs returned by earlier submissions." } }, { "name": "wait_seconds", "required": false, "schema": { "type": "number", "description": "0 queries once; 1–240 waits for the same task to finish. Pending is not complete.", "default": 0, "minimum": 0, "maximum": 240 } }] } },
|
|
10
|
+
"grok_tasks_retrieve_batch": { "method": "POST", "path": "/grok/tasks", "operation": "batch", "schema": { "type": "object", "properties": { "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" }, "minItems": 1 }, "action": { "enum": ["retrieve", "retrieve_batch"], "type": "string" } }, "required": ["action", "ids"] }, "properties": { "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" }, "minItems": 1 }, "action": { "enum": ["retrieve", "retrieve_batch"], "type": "string" } }, "parameters": [], "defaults": {}, "fixed": { "action": "retrieve_batch" }, "allow_empty": [], "query_actions": ["retrieve", "retrieve_batch", "list", "presets"], "media_response": false, "tool": { "label": "Grok Video Retrieve Tasks", "description": "Query existing task IDs. Each item retains its own terminal or pending status.", "input": [{ "name": "ids", "required": true, "schema": { "type": "string", "description": "Use the task ID or IDs returned by earlier submissions. Enter a JSON array or object where applicable." } }] } }
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "happyhorse",
|
|
3
|
+
"label": "Happy Horse",
|
|
4
|
+
"source": { "repository": "https://github.com/AceDataCloud/HappyHorseDify", "commit": "4653020b3aba1dde6026f30148af488a69bf6d9c", "path": "tools/api_contracts.py" },
|
|
5
|
+
"taskPath": "/happyhorse/tasks",
|
|
6
|
+
"endpoints": {
|
|
7
|
+
"happyhorse_generate_video": { "method": "POST", "path": "/happyhorse/videos", "operation": "generate", "schema": { "type": "object", "properties": { "action": { "enum": ["generate", "image_to_video", "reference_to_video", "video_edit"], "type": "string" }, "model": { "enum": ["happyhorse-1.0-t2v", "happyhorse-1.1-t2v", "happyhorse-1.0-i2v", "happyhorse-1.1-i2v", "happyhorse-1.0-r2v", "happyhorse-1.1-r2v", "happyhorse-1.0-video-edit"], "type": "string" }, "prompt": { "type": "string" }, "image_url": { "type": "string" }, "image_urls": { "type": "array", "items": { "type": "string" } }, "video_url": { "type": "string" }, "resolution": { "enum": ["720P", "1080P"], "type": "string" }, "ratio": { "enum": ["16:9", "9:16", "1:1", "4:3", "3:4"], "type": "string" }, "duration": { "type": "integer", "minimum": 3, "maximum": 15 }, "watermark": { "type": "boolean" }, "audio_setting": { "enum": ["auto", "origin"], "type": "string" }, "seed": { "type": "integer", "minimum": 0, "maximum": 2147483647 }, "callback_url": { "type": "string" }, "async": { "type": "boolean" } } }, "properties": { "action": { "enum": ["generate", "image_to_video", "reference_to_video", "video_edit"], "type": "string" }, "model": { "enum": ["happyhorse-1.0-t2v", "happyhorse-1.1-t2v", "happyhorse-1.0-i2v", "happyhorse-1.1-i2v", "happyhorse-1.0-r2v", "happyhorse-1.1-r2v", "happyhorse-1.0-video-edit"], "type": "string" }, "prompt": { "type": "string" }, "image_url": { "type": "string" }, "image_urls": { "type": "array", "items": { "type": "string" } }, "video_url": { "type": "string" }, "resolution": { "enum": ["720P", "1080P"], "type": "string" }, "ratio": { "enum": ["16:9", "9:16", "1:1", "4:3", "3:4"], "type": "string" }, "duration": { "type": "integer", "minimum": 3, "maximum": 15 }, "watermark": { "type": "boolean" }, "audio_setting": { "enum": ["auto", "origin"], "type": "string" }, "seed": { "type": "integer", "minimum": 0, "maximum": 2147483647 }, "callback_url": { "type": "string" }, "async": { "type": "boolean" } }, "parameters": [], "defaults": { "action": "generate", "resolution": "720P", "duration": 3, "ratio": "16:9" }, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Happy Horse Generate", "description": "Use the Ace Data Cloud Happy Horse APIs in Dify workflows. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "action", "required": false, "schema": { "type": "string", "description": "Set action.", "enum": ["generate", "image_to_video", "reference_to_video", "video_edit"], "default": "generate" } }, { "name": "model", "required": false, "schema": { "type": "string", "description": "Select a model currently supported by this API. Availability and pricing depend on the chosen model.", "enum": ["happyhorse-1.0-t2v", "happyhorse-1.1-t2v", "happyhorse-1.0-i2v", "happyhorse-1.1-i2v", "happyhorse-1.0-r2v", "happyhorse-1.1-r2v", "happyhorse-1.0-video-edit"] } }, { "name": "prompt", "required": false, "schema": { "type": "string", "description": "Set prompt." } }, { "name": "image_url", "required": false, "schema": { "type": "string", "description": "Set image url." } }, { "name": "image_urls", "required": false, "schema": { "type": "string", "description": "Set image urls. Enter a JSON array. Enter a JSON array or object where applicable." } }, { "name": "video_url", "required": false, "schema": { "type": "string", "description": "Set video url." } }, { "name": "resolution", "required": false, "schema": { "type": "string", "description": "Set resolution.", "enum": ["720P", "1080P"], "default": "720P" } }, { "name": "ratio", "required": false, "schema": { "type": "string", "description": "Set ratio.", "enum": ["16:9", "9:16", "1:1", "4:3", "3:4"], "default": "16:9" } }, { "name": "duration", "required": false, "schema": { "type": "number", "description": "Set duration.", "default": 3, "minimum": 3, "maximum": 15 } }, { "name": "watermark", "required": false, "schema": { "type": "boolean", "description": "Set watermark." } }, { "name": "audio_setting", "required": false, "schema": { "type": "string", "description": "Set audio setting.", "enum": ["auto", "origin"] } }, { "name": "seed", "required": false, "schema": { "type": "number", "description": "Set seed.", "minimum": 0, "maximum": 2147483647 } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }] } },
|
|
8
|
+
"happyhorse_task_retrieve": { "method": "POST", "path": "/happyhorse/tasks", "operation": "task", "schema": { "type": "object", "properties": { "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" } }, "action": { "enum": ["retrieve", "retrieve_batch"], "type": "string" } } }, "properties": { "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" } }, "action": { "enum": ["retrieve", "retrieve_batch"], "type": "string" } }, "parameters": [], "defaults": { "wait_seconds": 0 }, "fixed": {}, "allow_empty": [], "query_actions": ["retrieve", "retrieve_batch", "list", "presets"], "media_response": false, "tool": { "label": "Happy Horse Retrieve Task", "description": "Query the existing task ID; do not repeat generation while it is pending.", "input": [{ "name": "task_id", "required": true, "schema": { "type": "string", "description": "Use the task ID or IDs returned by earlier submissions." } }, { "name": "wait_seconds", "required": false, "schema": { "type": "number", "description": "0 queries once; 1–240 waits for the same task to finish. Pending is not complete.", "default": 0, "minimum": 0, "maximum": 240 } }] } },
|
|
9
|
+
"happyhorse_tasks_retrieve_batch": { "method": "POST", "path": "/happyhorse/tasks", "operation": "batch", "schema": { "type": "object", "properties": { "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" }, "minItems": 1 }, "action": { "enum": ["retrieve", "retrieve_batch"], "type": "string" } }, "required": ["action", "ids"] }, "properties": { "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" }, "minItems": 1 }, "action": { "enum": ["retrieve", "retrieve_batch"], "type": "string" } }, "parameters": [], "defaults": {}, "fixed": { "action": "retrieve_batch" }, "allow_empty": [], "query_actions": ["retrieve", "retrieve_batch", "list", "presets"], "media_response": false, "tool": { "label": "Happy Horse Retrieve Tasks", "description": "Query existing task IDs. Each item retains its own terminal or pending status.", "input": [{ "name": "ids", "required": true, "schema": { "type": "string", "description": "Use the task ID or IDs returned by earlier submissions. Enter a JSON array or object where applicable." } }] } }
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "kling",
|
|
3
|
+
"label": "Kling",
|
|
4
|
+
"source": { "repository": "https://github.com/AceDataCloud/KlingDify", "commit": "f0e67ed9310c5520c27a1e18d6287777f43947a3", "path": "tools/api_contracts.py" },
|
|
5
|
+
"taskPath": "/kling/tasks",
|
|
6
|
+
"endpoints": {
|
|
7
|
+
"kling_generate_video": { "method": "POST", "path": "/kling/videos", "operation": "generate", "schema": { "type": "object", "required": ["action"], "properties": { "mode": { "enum": ["std", "pro", "4k"], "type": "string" }, "model": { "enum": ["kling-v3-turbo", "kling-v1", "kling-v1-6", "kling-v2-master", "kling-v2-1-master", "kling-v2-5-turbo", "kling-v2-6", "kling-v3", "kling-v3-omni", "kling-o1"], "type": "string" }, "action": { "enum": ["text2video", "image2video", "extend"], "type": "string" }, "prompt": { "type": "string" }, "duration": { "type": "number" }, "generate_audio": { "type": "boolean" }, "video_id": { "type": "string" }, "cfg_scale": { "type": "number", "minimum": 0, "maximum": 1 }, "aspect_ratio": { "enum": ["16:9", "9:16", "1:1"], "type": "string" }, "callback_url": { "type": "string" }, "async": { "type": "boolean" }, "end_image_url": { "type": "string" }, "camera_control": { "type": "object", "properties": { "type": { "type": "string", "enum": ["simple", "down_back", "forward_up", "left_turn_forward", "right_turn_forward"] }, "config": { "type": "object", "additionalProperties": { "type": "number", "minimum": -1, "maximum": 1 }, "properties": {} } } }, "image_list": { "type": "array", "minItems": 1, "maxItems": 7, "items": { "type": "object", "required": ["image_url"], "properties": { "image_url": { "type": "string", "format": "uri" }, "type": { "type": "string", "enum": ["first_frame", "end_frame"] } } } }, "video_list": { "type": "array", "minItems": 1, "maxItems": 1, "items": { "type": "object", "required": ["video_url"], "properties": { "video_url": { "type": "string", "format": "uri" }, "refer_type": { "type": "string", "enum": ["base", "feature"] }, "keep_original_sound": { "type": "string", "enum": ["yes", "no"] } } } }, "negative_prompt": { "type": "string" }, "start_image_url": { "type": "string" }, "multi_shot": { "type": "boolean" }, "shot_type": { "type": "string", "enum": ["customize", "intelligence"] }, "multi_prompt": { "type": "array", "minItems": 1, "maxItems": 6, "items": { "type": "object", "required": ["index", "prompt", "duration"], "properties": { "index": { "type": "integer", "minimum": 1, "maximum": 6 }, "prompt": { "type": "string", "minLength": 1, "maxLength": 512 }, "duration": { "type": "integer", "minimum": 1, "maximum": 15 } } } }, "element_list": { "type": "array", "minItems": 1, "maxItems": 3, "items": { "type": "object", "additionalProperties": false, "required": ["element_id"], "properties": { "element_id": { "type": "string", "minLength": 1 } } } }, "voice_list": { "type": "array", "minItems": 1, "maxItems": 2, "items": { "type": "object", "additionalProperties": false, "required": ["voice_id"], "properties": { "voice_id": { "type": "string", "minLength": 1 } } } } }, "anyOf": [{ "required": ["prompt"] }, { "required": ["multi_shot", "shot_type", "multi_prompt"], "properties": { "multi_shot": { "enum": [true] }, "shot_type": { "enum": ["customize"] } } }] }, "properties": { "mode": { "enum": ["std", "pro", "4k"], "type": "string" }, "model": { "enum": ["kling-v3-turbo", "kling-v1", "kling-v1-6", "kling-v2-master", "kling-v2-1-master", "kling-v2-5-turbo", "kling-v2-6", "kling-v3", "kling-v3-omni", "kling-o1"], "type": "string" }, "action": { "enum": ["text2video", "image2video", "extend"], "type": "string" }, "prompt": { "type": "string" }, "duration": { "type": "number" }, "generate_audio": { "type": "boolean" }, "video_id": { "type": "string" }, "cfg_scale": { "type": "number", "minimum": 0, "maximum": 1 }, "aspect_ratio": { "enum": ["16:9", "9:16", "1:1"], "type": "string" }, "callback_url": { "type": "string" }, "async": { "type": "boolean" }, "end_image_url": { "type": "string" }, "camera_control": { "type": "object", "properties": { "type": { "type": "string", "enum": ["simple", "down_back", "forward_up", "left_turn_forward", "right_turn_forward"] }, "config": { "type": "object", "additionalProperties": { "type": "number", "minimum": -1, "maximum": 1 }, "properties": {} } } }, "image_list": { "type": "array", "minItems": 1, "maxItems": 7, "items": { "type": "object", "required": ["image_url"], "properties": { "image_url": { "type": "string", "format": "uri" }, "type": { "type": "string", "enum": ["first_frame", "end_frame"] } } } }, "video_list": { "type": "array", "minItems": 1, "maxItems": 1, "items": { "type": "object", "required": ["video_url"], "properties": { "video_url": { "type": "string", "format": "uri" }, "refer_type": { "type": "string", "enum": ["base", "feature"] }, "keep_original_sound": { "type": "string", "enum": ["yes", "no"] } } } }, "negative_prompt": { "type": "string" }, "start_image_url": { "type": "string" }, "multi_shot": { "anyOf": [{ "type": "boolean" }, { "enum": [true] }] }, "shot_type": { "type": "string", "enum": ["customize", "intelligence"] }, "multi_prompt": { "type": "array", "minItems": 1, "maxItems": 6, "items": { "type": "object", "required": ["index", "prompt", "duration"], "properties": { "index": { "type": "integer", "minimum": 1, "maximum": 6 }, "prompt": { "type": "string", "minLength": 1, "maxLength": 512 }, "duration": { "type": "integer", "minimum": 1, "maximum": 15 } } } }, "element_list": { "type": "array", "minItems": 1, "maxItems": 3, "items": { "type": "object", "additionalProperties": false, "required": ["element_id"], "properties": { "element_id": { "type": "string", "minLength": 1 } } } }, "voice_list": { "type": "array", "minItems": 1, "maxItems": 2, "items": { "type": "object", "additionalProperties": false, "required": ["voice_id"], "properties": { "voice_id": { "type": "string", "minLength": 1 } } } } }, "parameters": [], "defaults": { "model": "kling-v3-turbo", "action": "text2video", "mode": "std", "duration": 5, "aspect_ratio": "16:9" }, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Kling Generate Video", "description": "Generate a video with Ace Data Cloud Kling Videos API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "mode", "required": false, "schema": { "type": "string", "description": "Optional generation mode.", "enum": ["std", "pro", "4k"], "default": "std" } }, { "name": "model", "required": false, "schema": { "type": "string", "description": "Select a model currently supported by this API. Availability and pricing depend on the chosen model.", "enum": ["kling-v3-turbo", "kling-v1", "kling-v1-6", "kling-v2-master", "kling-v2-1-master", "kling-v2-5-turbo", "kling-v2-6", "kling-v3", "kling-v3-omni", "kling-o1"], "default": "kling-v3-turbo" } }, { "name": "action", "required": false, "schema": { "type": "string", "description": "Choose how to generate the video.", "enum": ["text2video", "image2video", "extend"], "default": "text2video" } }, { "name": "prompt", "required": false, "schema": { "type": "string", "description": "Required for text2video / image2video / extend." } }, { "name": "duration", "required": false, "schema": { "type": "number", "description": "Set duration; supported combinations are described by the current API.", "default": 5 } }, { "name": "generate_audio", "required": false, "schema": { "type": "boolean", "description": "Whether to generate audio synchronously. Supported by kling-v3, kling-v3-omni, and kling-v2-6 (pro mode only)." } }, { "name": "video_id", "required": false, "schema": { "type": "string", "description": "Required for extend." } }, { "name": "cfg_scale", "required": false, "schema": { "type": "number", "description": "Optional. Range [0, 1]; higher is closer to prompt.", "minimum": 0, "maximum": 1 } }, { "name": "aspect_ratio", "required": false, "schema": { "type": "string", "description": "Optional output aspect ratio.", "enum": ["16:9", "9:16", "1:1"], "default": "16:9" } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }, { "name": "end_image_url", "required": false, "schema": { "type": "string", "description": "Optional for image2video." } }, { "name": "camera_control", "required": false, "schema": { "type": "string", "description": "Optional camera motion control as a JSON object string. Enter a JSON object. Enter a JSON array or object where applicable." } }, { "name": "image_list", "required": false, "schema": { "type": "string", "description": "JSON array of reference images for kling-o1 or kling-v3-omni. Enter a JSON array. Enter a JSON array or object where applicable." } }, { "name": "video_list", "required": false, "schema": { "type": "string", "description": "JSON array containing one base or feature reference video. Enter a JSON array. Enter a JSON array or object where applicable." } }, { "name": "negative_prompt", "required": false, "schema": { "type": "string", "description": "Optional negative prompt (up to 200 chars)." } }, { "name": "start_image_url", "required": false, "schema": { "type": "string", "description": "Required for image2video." } }, { "name": "multi_shot", "required": false, "schema": { "type": "boolean", "description": "Set multi shot." } }, { "name": "shot_type", "required": false, "schema": { "type": "string", "description": "Set shot type.", "enum": ["customize", "intelligence"] } }, { "name": "multi_prompt", "required": false, "schema": { "type": "string", "description": "Set multi prompt. Enter a JSON array. Enter a JSON array or object where applicable." } }, { "name": "element_list", "required": false, "schema": { "type": "string", "description": "Set element list. Enter a JSON array. Enter a JSON array or object where applicable." } }, { "name": "voice_list", "required": false, "schema": { "type": "string", "description": "Set voice list. Enter a JSON array. Enter a JSON array or object where applicable." } }] } },
|
|
8
|
+
"kling_generate_motion": { "method": "POST", "path": "/kling/motion", "operation": "request", "schema": { "type": "object", "required": ["image_url", "video_url", "character_orientation", "mode"], "properties": { "model_name": { "enum": ["kling-v2-6", "kling-v3"], "type": "string" }, "mode": { "enum": ["std", "pro"], "type": "string" }, "keep_original_sound": { "enum": ["yes", "no"], "type": "string" }, "watermark_info": { "type": "object", "properties": { "enabled": { "type": "boolean" } } }, "image_url": { "type": "string", "format": "uri" }, "video_url": { "type": "string", "format": "uri" }, "character_orientation": { "enum": ["image", "video"], "type": "string" }, "prompt": { "type": "string" }, "callback_url": { "type": "string", "format": "uri" }, "async": { "type": "boolean" } } }, "properties": { "model_name": { "enum": ["kling-v2-6", "kling-v3"], "type": "string" }, "mode": { "enum": ["std", "pro"], "type": "string" }, "keep_original_sound": { "enum": ["yes", "no"], "type": "string" }, "watermark_info": { "type": "object", "properties": { "enabled": { "type": "boolean" } } }, "image_url": { "type": "string", "format": "uri" }, "video_url": { "type": "string", "format": "uri" }, "character_orientation": { "enum": ["image", "video"], "type": "string" }, "prompt": { "type": "string" }, "callback_url": { "type": "string", "format": "uri" }, "async": { "type": "boolean" } }, "parameters": [], "defaults": {}, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Kling Generate Motion", "description": "Generate Motion through the Ace Data Cloud Kling API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "model_name", "required": false, "schema": { "type": "string", "description": "Set model name for this operation.", "enum": ["kling-v2-6", "kling-v3"] } }, { "name": "mode", "required": true, "schema": { "type": "string", "description": "Set mode for this operation.", "enum": ["std", "pro"] } }, { "name": "keep_original_sound", "required": false, "schema": { "type": "string", "description": "Set keep original sound for this operation.", "enum": ["yes", "no"] } }, { "name": "watermark_info", "required": false, "schema": { "type": "string", "description": "Set watermark info for this operation. Enter a JSON array or object where applicable." } }, { "name": "image_url", "required": true, "schema": { "type": "string", "description": "Set image url for this operation." } }, { "name": "video_url", "required": true, "schema": { "type": "string", "description": "Set video url for this operation." } }, { "name": "character_orientation", "required": true, "schema": { "type": "string", "description": "Set character orientation for this operation.", "enum": ["image", "video"] } }, { "name": "prompt", "required": false, "schema": { "type": "string", "description": "Set prompt for this operation." } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }] } },
|
|
9
|
+
"kling_lip_sync": { "method": "POST", "path": "/kling/lip-sync", "operation": "request", "schema": { "type": "object", "required": ["mode"], "properties": { "video_id": { "type": "string" }, "video_url": { "type": "string", "format": "uri" }, "mode": { "type": "string", "enum": ["audio2video", "text2video"] }, "audio_url": { "type": "string", "format": "uri" }, "audio_type": { "type": "string", "enum": ["url", "file"] }, "audio_file": { "type": "string" }, "text": { "type": "string", "maxLength": 120 }, "voice_id": { "type": "string" }, "voice_language": { "type": "string", "enum": ["zh", "en"] }, "voice_speed": { "type": "number", "minimum": 0.8, "maximum": 2.0 }, "callback_url": { "type": "string", "format": "uri" }, "async": { "type": "boolean" } } }, "properties": { "video_id": { "type": "string" }, "video_url": { "type": "string", "format": "uri" }, "mode": { "type": "string", "enum": ["audio2video", "text2video"] }, "audio_url": { "type": "string", "format": "uri" }, "audio_type": { "type": "string", "enum": ["url", "file"] }, "audio_file": { "type": "string" }, "text": { "type": "string", "maxLength": 120 }, "voice_id": { "type": "string" }, "voice_language": { "type": "string", "enum": ["zh", "en"] }, "voice_speed": { "type": "number", "minimum": 0.8, "maximum": 2.0 }, "callback_url": { "type": "string", "format": "uri" }, "async": { "type": "boolean" } }, "parameters": [], "defaults": {}, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Kling Lip Sync", "description": "Lip Sync through the Ace Data Cloud Kling API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "video_id", "required": false, "schema": { "type": "string", "description": "Set video id for this operation." } }, { "name": "video_url", "required": false, "schema": { "type": "string", "description": "Set video url for this operation." } }, { "name": "mode", "required": true, "schema": { "type": "string", "description": "Set mode for this operation.", "enum": ["audio2video", "text2video"] } }, { "name": "audio_url", "required": false, "schema": { "type": "string", "description": "Set audio url for this operation." } }, { "name": "audio_type", "required": false, "schema": { "type": "string", "description": "Set audio type for this operation.", "enum": ["url", "file"] } }, { "name": "audio_file", "required": false, "schema": { "type": "string", "description": "Set audio file for this operation." } }, { "name": "text", "required": false, "schema": { "type": "string", "description": "Set text for this operation." } }, { "name": "voice_id", "required": false, "schema": { "type": "string", "description": "Set voice id for this operation." } }, { "name": "voice_language", "required": false, "schema": { "type": "string", "description": "Set voice language for this operation.", "enum": ["zh", "en"] } }, { "name": "voice_speed", "required": false, "schema": { "type": "number", "description": "Set voice speed for this operation.", "minimum": 0.8, "maximum": 2.0 } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }] } },
|
|
10
|
+
"kling_talking_photo": { "method": "POST", "path": "/kling/talking-photo", "operation": "request", "schema": { "type": "object", "required": ["image_url", "audio_url"], "properties": { "image_url": { "type": "string", "format": "uri" }, "audio_url": { "type": "string", "format": "uri" }, "prompt": { "type": "string" }, "model": { "type": "string", "enum": ["kling-v1", "kling-v1-6", "kling-v2-master", "kling-v2-1-master", "kling-v2-5-turbo", "kling-v2-6"] }, "duration": { "type": "integer", "enum": [5, 10] }, "mode": { "type": "string", "enum": ["std", "pro"] }, "callback_url": { "type": "string", "format": "uri" }, "async": { "type": "boolean" } } }, "properties": { "image_url": { "type": "string", "format": "uri" }, "audio_url": { "type": "string", "format": "uri" }, "prompt": { "type": "string" }, "model": { "type": "string", "enum": ["kling-v1", "kling-v1-6", "kling-v2-master", "kling-v2-1-master", "kling-v2-5-turbo", "kling-v2-6"] }, "duration": { "type": "integer", "enum": [5, 10] }, "mode": { "type": "string", "enum": ["std", "pro"] }, "callback_url": { "type": "string", "format": "uri" }, "async": { "type": "boolean" } }, "parameters": [], "defaults": {}, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Kling Talking Photo", "description": "Talking Photo through the Ace Data Cloud Kling API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "image_url", "required": true, "schema": { "type": "string", "description": "Set image url for this operation." } }, { "name": "audio_url", "required": true, "schema": { "type": "string", "description": "Set audio url for this operation." } }, { "name": "prompt", "required": false, "schema": { "type": "string", "description": "Set prompt for this operation." } }, { "name": "model", "required": false, "schema": { "type": "string", "description": "Select a model currently supported by this API. Availability and pricing depend on the chosen model.", "enum": ["kling-v1", "kling-v1-6", "kling-v2-master", "kling-v2-1-master", "kling-v2-5-turbo", "kling-v2-6"] } }, { "name": "duration", "required": false, "schema": { "type": "string", "description": "Set duration for this operation.", "enum": [5, 10] } }, { "name": "mode", "required": false, "schema": { "type": "string", "description": "Set mode for this operation.", "enum": ["std", "pro"] } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }] } },
|
|
11
|
+
"kling_goods_studio": { "method": "POST", "path": "/kling/goods-studio", "operation": "request", "schema": { "type": "object", "additionalProperties": false, "required": ["contents", "settings"], "properties": { "contents": { "type": "array", "minItems": 2, "items": { "oneOf": [{ "type": "object", "additionalProperties": false, "required": ["type", "url"], "properties": { "type": { "type": "string", "enum": ["ref_image"] }, "url": { "type": "string", "minLength": 1 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "text"], "properties": { "type": { "type": "string", "enum": ["goods_title"] }, "text": { "type": "string", "minLength": 1, "maxLength": 200 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "text"], "properties": { "type": { "type": "string", "enum": ["goods_description"] }, "text": { "type": "string", "minLength": 1, "maxLength": 2000 } } }] } }, "settings": { "type": "object", "additionalProperties": false, "properties": { "resolution": { "type": "string", "enum": ["720p", "1080p"] }, "aspect_ratio": { "type": "string", "enum": ["9:16", "1:1", "16:9"] }, "duration": { "type": "integer", "enum": [15, 30, 60] } }, "required": ["aspect_ratio", "duration"] }, "watermark": { "type": "boolean" }, "async": { "type": "boolean" }, "callback_url": { "type": "string", "format": "uri" } } }, "properties": { "contents": { "type": "array", "minItems": 2, "items": { "oneOf": [{ "type": "object", "additionalProperties": false, "required": ["type", "url"], "properties": { "type": { "type": "string", "enum": ["ref_image"] }, "url": { "type": "string", "minLength": 1 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "text"], "properties": { "type": { "type": "string", "enum": ["goods_title"] }, "text": { "type": "string", "minLength": 1, "maxLength": 200 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "text"], "properties": { "type": { "type": "string", "enum": ["goods_description"] }, "text": { "type": "string", "minLength": 1, "maxLength": 2000 } } }] } }, "settings": { "type": "object", "additionalProperties": false, "properties": { "resolution": { "type": "string", "enum": ["720p", "1080p"] }, "aspect_ratio": { "type": "string", "enum": ["9:16", "1:1", "16:9"] }, "duration": { "type": "integer", "enum": [15, 30, 60] } }, "required": ["aspect_ratio", "duration"] }, "watermark": { "type": "boolean" }, "async": { "type": "boolean" }, "callback_url": { "type": "string", "format": "uri" } }, "parameters": [], "defaults": {}, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Kling Goods Studio", "description": "Goods Studio through the Ace Data Cloud Kling API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "contents", "required": true, "schema": { "type": "string", "description": "Set contents for this operation. Enter a JSON array or object where applicable." } }, { "name": "settings", "required": true, "schema": { "type": "string", "description": "Set settings for this operation. Enter a JSON array or object where applicable." } }, { "name": "watermark", "required": false, "schema": { "type": "boolean", "description": "Set watermark for this operation." } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }] } },
|
|
12
|
+
"kling_video_commerce": { "method": "POST", "path": "/kling/video-commerce", "operation": "request", "schema": { "type": "object", "additionalProperties": false, "required": ["contents"], "properties": { "contents": { "type": "array", "minItems": 2, "items": { "oneOf": [{ "type": "object", "additionalProperties": false, "required": ["type", "url"], "properties": { "type": { "type": "string", "enum": ["avatar_image"] }, "url": { "type": "string", "minLength": 1 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "text"], "properties": { "type": { "type": "string", "enum": ["avatar_id"] }, "text": { "type": "string", "minLength": 1, "maxLength": 128 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "url"], "properties": { "type": { "type": "string", "enum": ["ref_image"] }, "url": { "type": "string", "minLength": 1 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "text"], "properties": { "type": { "type": "string", "enum": ["goods_title"] }, "text": { "type": "string", "minLength": 1, "maxLength": 500 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "text"], "properties": { "type": { "type": "string", "enum": ["goods_price"] }, "text": { "type": "string", "minLength": 1, "maxLength": 256 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "text"], "properties": { "type": { "type": "string", "enum": ["goods_target_audience"] }, "text": { "type": "string", "minLength": 1, "maxLength": 200 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "text"], "properties": { "type": { "type": "string", "enum": ["goods_selling_point"] }, "text": { "type": "string", "minLength": 1, "maxLength": 500 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "text"], "properties": { "type": { "type": "string", "enum": ["speech_script"] }, "text": { "type": "string", "minLength": 1, "maxLength": 2000 } } }] } }, "settings": { "type": "object", "additionalProperties": false, "properties": { "resolution": { "type": "string", "enum": ["720p", "1080p"] }, "aspect_ratio": { "type": "string", "enum": ["9:16", "16:9"] }, "allow_polish": { "type": "boolean" }, "voice_id": { "type": "string" }, "speech_rate": { "type": "number", "enum": [0.8, 1, 1.2] }, "action_prompt": { "type": "string", "maxLength": 2500 }, "bgm_enabled": { "type": "boolean" } } }, "watermark": { "type": "boolean" }, "async": { "type": "boolean" }, "callback_url": { "type": "string", "format": "uri" } } }, "properties": { "contents": { "type": "array", "minItems": 2, "items": { "oneOf": [{ "type": "object", "additionalProperties": false, "required": ["type", "url"], "properties": { "type": { "type": "string", "enum": ["avatar_image"] }, "url": { "type": "string", "minLength": 1 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "text"], "properties": { "type": { "type": "string", "enum": ["avatar_id"] }, "text": { "type": "string", "minLength": 1, "maxLength": 128 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "url"], "properties": { "type": { "type": "string", "enum": ["ref_image"] }, "url": { "type": "string", "minLength": 1 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "text"], "properties": { "type": { "type": "string", "enum": ["goods_title"] }, "text": { "type": "string", "minLength": 1, "maxLength": 500 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "text"], "properties": { "type": { "type": "string", "enum": ["goods_price"] }, "text": { "type": "string", "minLength": 1, "maxLength": 256 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "text"], "properties": { "type": { "type": "string", "enum": ["goods_target_audience"] }, "text": { "type": "string", "minLength": 1, "maxLength": 200 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "text"], "properties": { "type": { "type": "string", "enum": ["goods_selling_point"] }, "text": { "type": "string", "minLength": 1, "maxLength": 500 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "text"], "properties": { "type": { "type": "string", "enum": ["speech_script"] }, "text": { "type": "string", "minLength": 1, "maxLength": 2000 } } }] } }, "settings": { "type": "object", "additionalProperties": false, "properties": { "resolution": { "type": "string", "enum": ["720p", "1080p"] }, "aspect_ratio": { "type": "string", "enum": ["9:16", "16:9"] }, "allow_polish": { "type": "boolean" }, "voice_id": { "type": "string" }, "speech_rate": { "type": "number", "enum": [0.8, 1, 1.2] }, "action_prompt": { "type": "string", "maxLength": 2500 }, "bgm_enabled": { "type": "boolean" } } }, "watermark": { "type": "boolean" }, "async": { "type": "boolean" }, "callback_url": { "type": "string", "format": "uri" } }, "parameters": [], "defaults": {}, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Kling Video Commerce", "description": "Video Commerce through the Ace Data Cloud Kling API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "contents", "required": true, "schema": { "type": "string", "description": "Set contents for this operation. Enter a JSON array or object where applicable." } }, { "name": "settings", "required": false, "schema": { "type": "string", "description": "Set settings for this operation. Enter a JSON array or object where applicable." } }, { "name": "watermark", "required": false, "schema": { "type": "boolean", "description": "Set watermark for this operation." } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }] } },
|
|
13
|
+
"kling_virtual_try_on": { "method": "POST", "path": "/kling/virtual-try-on", "operation": "request", "schema": { "type": "object", "additionalProperties": false, "required": ["contents"], "properties": { "contents": { "type": "array", "minItems": 2, "items": { "oneOf": [{ "type": "object", "additionalProperties": false, "required": ["type", "url"], "properties": { "type": { "type": "string", "enum": ["product_image"] }, "url": { "type": "string", "minLength": 1 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "url"], "properties": { "type": { "type": "string", "enum": ["person_image"] }, "url": { "type": "string", "minLength": 1 } } }] } }, "settings": { "type": "object", "additionalProperties": false, "properties": { "keep_face": { "type": "boolean" }, "keep_pose": { "type": "boolean" }, "keep_background": { "type": "boolean" } } }, "watermark": { "type": "boolean" }, "async": { "type": "boolean" }, "callback_url": { "type": "string", "format": "uri" } } }, "properties": { "contents": { "type": "array", "minItems": 2, "items": { "oneOf": [{ "type": "object", "additionalProperties": false, "required": ["type", "url"], "properties": { "type": { "type": "string", "enum": ["product_image"] }, "url": { "type": "string", "minLength": 1 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "url"], "properties": { "type": { "type": "string", "enum": ["person_image"] }, "url": { "type": "string", "minLength": 1 } } }] } }, "settings": { "type": "object", "additionalProperties": false, "properties": { "keep_face": { "type": "boolean" }, "keep_pose": { "type": "boolean" }, "keep_background": { "type": "boolean" } } }, "watermark": { "type": "boolean" }, "async": { "type": "boolean" }, "callback_url": { "type": "string", "format": "uri" } }, "parameters": [], "defaults": {}, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Kling Virtual Try On", "description": "Virtual Try On through the Ace Data Cloud Kling API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "contents", "required": true, "schema": { "type": "string", "description": "Set contents for this operation. Enter a JSON array or object where applicable." } }, { "name": "settings", "required": false, "schema": { "type": "string", "description": "Set settings for this operation. Enter a JSON array or object where applicable." } }, { "name": "watermark", "required": false, "schema": { "type": "boolean", "description": "Set watermark for this operation." } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }] } },
|
|
14
|
+
"kling_apparel": { "method": "POST", "path": "/kling/apparel", "operation": "request", "schema": { "type": "object", "additionalProperties": false, "required": ["contents"], "properties": { "contents": { "type": "array", "minItems": 2, "items": { "oneOf": [{ "type": "object", "additionalProperties": false, "required": ["type", "text"], "properties": { "type": { "type": "string", "enum": ["product_info"] }, "text": { "type": "string", "minLength": 1, "maxLength": 2500 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "url"], "properties": { "type": { "type": "string", "enum": ["source_video"] }, "url": { "type": "string", "minLength": 1 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "url"], "properties": { "type": { "type": "string", "enum": ["product_image"] }, "url": { "type": "string", "minLength": 1 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "url"], "properties": { "type": { "type": "string", "enum": ["model_image"] }, "url": { "type": "string", "minLength": 1 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "url"], "properties": { "type": { "type": "string", "enum": ["bgm"] }, "url": { "type": "string", "minLength": 1 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "voice_id"], "properties": { "type": { "type": "string", "enum": ["voice"] }, "voice_id": { "type": "string", "minLength": 1, "maxLength": 128 } } }] } }, "settings": { "type": "object", "additionalProperties": false, "properties": { "resolution": { "type": "string", "enum": ["720p", "1080p"] }, "aspect_ratio": { "type": "string", "enum": ["9:16", "2:3", "3:4", "1:1", "4:3", "3:2", "16:9", "21:9"] } } }, "watermark": { "type": "boolean" }, "async": { "type": "boolean" }, "callback_url": { "type": "string", "format": "uri" } } }, "properties": { "contents": { "type": "array", "minItems": 2, "items": { "oneOf": [{ "type": "object", "additionalProperties": false, "required": ["type", "text"], "properties": { "type": { "type": "string", "enum": ["product_info"] }, "text": { "type": "string", "minLength": 1, "maxLength": 2500 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "url"], "properties": { "type": { "type": "string", "enum": ["source_video"] }, "url": { "type": "string", "minLength": 1 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "url"], "properties": { "type": { "type": "string", "enum": ["product_image"] }, "url": { "type": "string", "minLength": 1 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "url"], "properties": { "type": { "type": "string", "enum": ["model_image"] }, "url": { "type": "string", "minLength": 1 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "url"], "properties": { "type": { "type": "string", "enum": ["bgm"] }, "url": { "type": "string", "minLength": 1 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "voice_id"], "properties": { "type": { "type": "string", "enum": ["voice"] }, "voice_id": { "type": "string", "minLength": 1, "maxLength": 128 } } }] } }, "settings": { "type": "object", "additionalProperties": false, "properties": { "resolution": { "type": "string", "enum": ["720p", "1080p"] }, "aspect_ratio": { "type": "string", "enum": ["9:16", "2:3", "3:4", "1:1", "4:3", "3:2", "16:9", "21:9"] } } }, "watermark": { "type": "boolean" }, "async": { "type": "boolean" }, "callback_url": { "type": "string", "format": "uri" } }, "parameters": [], "defaults": {}, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Kling Apparel", "description": "Apparel through the Ace Data Cloud Kling API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "contents", "required": true, "schema": { "type": "string", "description": "Set contents for this operation. Enter a JSON array or object where applicable." } }, { "name": "settings", "required": false, "schema": { "type": "string", "description": "Set settings for this operation. Enter a JSON array or object where applicable." } }, { "name": "watermark", "required": false, "schema": { "type": "boolean", "description": "Set watermark for this operation." } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }] } },
|
|
15
|
+
"kling_voices": { "method": "POST", "path": "/kling/voices", "operation": "request", "schema": { "type": "object", "additionalProperties": false, "properties": { "action": { "type": "string", "enum": ["list", "presets", "retrieve", "delete", "create"] }, "id": { "type": "string" }, "page_num": { "type": "integer", "minimum": 1, "maximum": 1000 }, "page_size": { "type": "integer", "minimum": 1, "maximum": 500 }, "async": { "type": "boolean" }, "callback_url": { "type": "string", "format": "uri" }, "voice_name": { "type": "string", "minLength": 1, "maxLength": 20 }, "voice_url": { "type": "string", "format": "uri" } } }, "properties": { "action": { "type": "string", "enum": ["list", "presets", "retrieve", "delete", "create"] }, "id": { "type": "string" }, "page_num": { "type": "integer", "minimum": 1, "maximum": 1000 }, "page_size": { "type": "integer", "minimum": 1, "maximum": 500 }, "async": { "type": "boolean" }, "callback_url": { "type": "string", "format": "uri" }, "voice_name": { "type": "string", "minLength": 1, "maxLength": 20 }, "voice_url": { "type": "string", "format": "uri" } }, "parameters": [], "defaults": {}, "fixed": {}, "allow_empty": [], "query_actions": ["retrieve", "retrieve_batch", "list", "presets"], "media_response": false, "tool": { "label": "Kling Voices", "description": "Voices through the Ace Data Cloud Kling API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "action", "required": false, "schema": { "type": "string", "description": "Set action for this operation.", "enum": ["list", "presets", "retrieve", "delete", "create"] } }, { "name": "id", "required": false, "schema": { "type": "string", "description": "Set id for this operation." } }, { "name": "page_num", "required": false, "schema": { "type": "number", "description": "Set page num for this operation.", "minimum": 1, "maximum": 1000 } }, { "name": "page_size", "required": false, "schema": { "type": "number", "description": "Set page size for this operation.", "minimum": 1, "maximum": 500 } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }, { "name": "voice_name", "required": false, "schema": { "type": "string", "description": "Set voice name for this operation." } }, { "name": "voice_url", "required": false, "schema": { "type": "string", "description": "Set voice url for this operation." } }, { "name": "confirm", "required": false, "schema": { "type": "boolean", "description": "Set true only to confirm the selected deletion or archive operation." } }] } },
|
|
16
|
+
"kling_elements": { "method": "POST", "path": "/kling/elements", "operation": "request", "schema": { "type": "object", "additionalProperties": false, "properties": { "action": { "type": "string", "enum": ["list", "presets", "retrieve", "delete", "create"] }, "id": { "type": "string" }, "page_num": { "type": "integer", "minimum": 1, "maximum": 1000 }, "page_size": { "type": "integer", "minimum": 1, "maximum": 500 }, "async": { "type": "boolean" }, "callback_url": { "type": "string", "format": "uri" }, "element_name": { "type": "string", "minLength": 1, "maxLength": 20 }, "element_description": { "type": "string", "minLength": 1, "maxLength": 100 }, "reference_type": { "type": "string", "enum": ["image_refer", "video_refer"] }, "element_voice_id": { "type": "string" }, "element_image_list": { "type": "object", "additionalProperties": false, "required": ["frontal_image", "refer_images"], "properties": { "frontal_image": { "type": "string" }, "refer_images": { "type": "array", "items": { "type": "object", "additionalProperties": false, "required": ["image_url"], "properties": { "image_url": { "type": "string" } } }, "minItems": 1, "maxItems": 3 } } }, "element_video_list": { "type": "object", "additionalProperties": false, "required": ["refer_videos"], "properties": { "refer_videos": { "type": "array", "items": { "type": "object", "additionalProperties": false, "required": ["video_url"], "properties": { "video_url": { "type": "string", "format": "uri" } } }, "minItems": 1, "maxItems": 1 } } } } }, "properties": { "action": { "type": "string", "enum": ["list", "presets", "retrieve", "delete", "create"] }, "id": { "type": "string" }, "page_num": { "type": "integer", "minimum": 1, "maximum": 1000 }, "page_size": { "type": "integer", "minimum": 1, "maximum": 500 }, "async": { "type": "boolean" }, "callback_url": { "type": "string", "format": "uri" }, "element_name": { "type": "string", "minLength": 1, "maxLength": 20 }, "element_description": { "type": "string", "minLength": 1, "maxLength": 100 }, "reference_type": { "type": "string", "enum": ["image_refer", "video_refer"] }, "element_voice_id": { "type": "string" }, "element_image_list": { "type": "object", "additionalProperties": false, "required": ["frontal_image", "refer_images"], "properties": { "frontal_image": { "type": "string" }, "refer_images": { "type": "array", "items": { "type": "object", "additionalProperties": false, "required": ["image_url"], "properties": { "image_url": { "type": "string" } } }, "minItems": 1, "maxItems": 3 } } }, "element_video_list": { "type": "object", "additionalProperties": false, "required": ["refer_videos"], "properties": { "refer_videos": { "type": "array", "items": { "type": "object", "additionalProperties": false, "required": ["video_url"], "properties": { "video_url": { "type": "string", "format": "uri" } } }, "minItems": 1, "maxItems": 1 } } } }, "parameters": [], "defaults": {}, "fixed": {}, "allow_empty": [], "query_actions": ["retrieve", "retrieve_batch", "list", "presets"], "media_response": false, "tool": { "label": "Kling Elements", "description": "Elements through the Ace Data Cloud Kling API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "action", "required": false, "schema": { "type": "string", "description": "Set action for this operation.", "enum": ["list", "presets", "retrieve", "delete", "create"] } }, { "name": "id", "required": false, "schema": { "type": "string", "description": "Set id for this operation." } }, { "name": "page_num", "required": false, "schema": { "type": "number", "description": "Set page num for this operation.", "minimum": 1, "maximum": 1000 } }, { "name": "page_size", "required": false, "schema": { "type": "number", "description": "Set page size for this operation.", "minimum": 1, "maximum": 500 } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }, { "name": "element_name", "required": false, "schema": { "type": "string", "description": "Set element name for this operation." } }, { "name": "element_description", "required": false, "schema": { "type": "string", "description": "Set element description for this operation." } }, { "name": "reference_type", "required": false, "schema": { "type": "string", "description": "Set reference type for this operation.", "enum": ["image_refer", "video_refer"] } }, { "name": "element_voice_id", "required": false, "schema": { "type": "string", "description": "Set element voice id for this operation." } }, { "name": "element_image_list", "required": false, "schema": { "type": "string", "description": "Set element image list for this operation. Enter a JSON array or object where applicable." } }, { "name": "element_video_list", "required": false, "schema": { "type": "string", "description": "Set element video list for this operation. Enter a JSON array or object where applicable." } }, { "name": "confirm", "required": false, "schema": { "type": "boolean", "description": "Set true only to confirm the selected deletion or archive operation." } }] } },
|
|
17
|
+
"kling_task_retrieve": { "method": "POST", "path": "/kling/tasks", "operation": "task", "schema": { "type": "object", "properties": { "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" } }, "action": { "enum": ["retrieve", "retrieve_batch"], "type": "string" } } }, "properties": { "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" } }, "action": { "enum": ["retrieve", "retrieve_batch"], "type": "string" } }, "parameters": [], "defaults": { "wait_seconds": 0 }, "fixed": {}, "allow_empty": [], "query_actions": ["retrieve", "retrieve_batch", "list", "presets"], "media_response": false, "tool": { "label": "Kling Retrieve Task", "description": "Query the existing task ID; do not repeat generation while it is pending.", "input": [{ "name": "task_id", "required": true, "schema": { "type": "string", "description": "Use the task ID or IDs returned by earlier submissions." } }, { "name": "wait_seconds", "required": false, "schema": { "type": "number", "description": "0 queries once; 1–240 waits for the same task to finish. Pending is not complete.", "default": 0, "minimum": 0, "maximum": 240 } }] } },
|
|
18
|
+
"kling_tasks_retrieve_batch": { "method": "POST", "path": "/kling/tasks", "operation": "batch", "schema": { "type": "object", "properties": { "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" }, "minItems": 1 }, "action": { "enum": ["retrieve", "retrieve_batch"], "type": "string" } }, "required": ["action", "ids"] }, "properties": { "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" }, "minItems": 1 }, "action": { "enum": ["retrieve", "retrieve_batch"], "type": "string" } }, "parameters": [], "defaults": {}, "fixed": { "action": "retrieve_batch" }, "allow_empty": [], "query_actions": ["retrieve", "retrieve_batch", "list", "presets"], "media_response": false, "tool": { "label": "Kling Retrieve Tasks", "description": "Query existing task IDs. Each item retains its own terminal or pending status.", "input": [{ "name": "ids", "required": true, "schema": { "type": "string", "description": "Use the task ID or IDs returned by earlier submissions. Enter a JSON array or object where applicable." } }] } }
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "midjourney",
|
|
3
|
+
"label": "Midjourney",
|
|
4
|
+
"source": { "repository": "https://github.com/AceDataCloud/MidjourneyDify", "commit": "e7996e4c9342cf7f151dc611b7f4324d8ac53556", "path": "tools/api_contracts.py" },
|
|
5
|
+
"taskPath": "/midjourney/tasks",
|
|
6
|
+
"endpoints": {
|
|
7
|
+
"midjourney_imagine": { "method": "POST", "path": "/midjourney/imagine", "operation": "generate", "schema": { "type": "object", "properties": { "mask": { "type": "string" }, "mode": { "enum": ["fast", "relax", "turbo"], "type": "string" }, "action": { "type": "string" }, "prompt": { "type": "string" }, "timeout": { "type": "number" }, "image_id": { "type": "string" }, "translation": { "type": "boolean" }, "callback_url": { "type": "string" }, "async": { "type": "boolean" }, "split_images": { "type": "boolean" }, "version": { "type": "string", "enum": ["8.2", "8.1", "8", "7", "6.1", "6", "5.2"] }, "hd": { "type": "boolean" }, "quality": { "type": "string" }, "style_reference": { "type": "boolean" }, "moodboard": { "type": "boolean" } } }, "properties": { "mask": { "type": "string" }, "mode": { "enum": ["fast", "relax", "turbo"], "type": "string" }, "action": { "type": "string" }, "prompt": { "type": "string" }, "timeout": { "type": "number" }, "image_id": { "type": "string" }, "translation": { "type": "boolean" }, "callback_url": { "type": "string" }, "async": { "type": "boolean" }, "split_images": { "type": "boolean" }, "version": { "type": "string", "enum": ["8.2", "8.1", "8", "7", "6.1", "6", "5.2"] }, "hd": { "type": "boolean" }, "quality": { "type": "string" }, "style_reference": { "type": "boolean" }, "moodboard": { "type": "boolean" } }, "parameters": [], "defaults": { "action": "generate", "version": "8.2", "mode": "fast" }, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Midjourney Imagine", "description": "Generate or transform images via Ace Data Cloud Midjourney Imagine API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "mask", "required": false, "schema": { "type": "string", "description": "Optional mask image URL for variation_region action." } }, { "name": "mode", "required": false, "schema": { "type": "string", "description": "Generation mode.", "enum": ["fast", "relax", "turbo"], "default": "fast" } }, { "name": "action", "required": false, "schema": { "type": "string", "description": "Set action; supported combinations are described by the current API.", "default": "generate" } }, { "name": "prompt", "required": false, "schema": { "type": "string", "description": "Text prompt used to generate the image (required when action=generate)." } }, { "name": "timeout", "required": false, "schema": { "type": "number", "description": "Set timeout for this operation." } }, { "name": "image_id", "required": false, "schema": { "type": "string", "description": "Required when action is not generate." } }, { "name": "translation", "required": false, "schema": { "type": "boolean", "description": "Auto translate non-English prompt." } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }, { "name": "split_images", "required": false, "schema": { "type": "boolean", "description": "Split a 2x2 grid into single images when supported." } }, { "name": "version", "required": false, "schema": { "type": "string", "description": "Midjourney model version. V8 is the latest with HD and quality 4 support.", "enum": ["8.2", "8.1", "8", "7", "6.1", "6", "5.2"], "default": "8.2" } }, { "name": "hd", "required": false, "schema": { "type": "boolean", "description": "Enable HD mode for 2K resolution output (V8 only, costs 4x)." } }, { "name": "quality", "required": false, "schema": { "type": "string", "description": "Image quality level." } }, { "name": "style_reference", "required": false, "schema": { "type": "boolean", "description": "Whether the prompt uses --sref style references (V8 premium feature)." } }, { "name": "moodboard", "required": false, "schema": { "type": "boolean", "description": "Whether using moodboard mode with multiple reference images (V8 premium feature)." } }] } },
|
|
8
|
+
"midjourney_edits": { "method": "POST", "path": "/midjourney/edits", "operation": "edit", "schema": { "type": "object", "properties": { "mask": { "type": "string" }, "mode": { "enum": ["fast", "relax", "turbo"], "type": "string" }, "action": { "type": "string" }, "prompt": { "type": "string" }, "image_url": { "type": "string" }, "callback_url": { "type": "string" }, "async": { "type": "boolean" }, "split_images": { "type": "boolean" } } }, "properties": { "mask": { "type": "string" }, "mode": { "enum": ["fast", "relax", "turbo"], "type": "string" }, "action": { "type": "string" }, "prompt": { "type": "string" }, "image_url": { "type": "string" }, "callback_url": { "type": "string" }, "async": { "type": "boolean" }, "split_images": { "type": "boolean" } }, "parameters": [], "defaults": { "action": "generate", "mode": "fast" }, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Midjourney Edits", "description": "Edit an image via Ace Data Cloud Midjourney Edits API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "mask", "required": false, "schema": { "type": "string", "description": "Optional mask for targeted edits." } }, { "name": "mode", "required": false, "schema": { "type": "string", "description": "Generation mode.", "enum": ["fast", "relax", "turbo"], "default": "fast" } }, { "name": "action", "required": false, "schema": { "type": "string", "description": "Set action; supported combinations are described by the current API.", "default": "generate" } }, { "name": "prompt", "required": false, "schema": { "type": "string", "description": "Text prompt used to edit the image." } }, { "name": "image_url", "required": false, "schema": { "type": "string", "description": "Input image URL to edit." } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }, { "name": "split_images", "required": false, "schema": { "type": "boolean", "description": "Return sub_image_urls when supported." } }] } },
|
|
9
|
+
"midjourney_describe": { "method": "POST", "path": "/midjourney/describe", "operation": "describe", "schema": { "type": "object", "required": ["image_url"], "properties": { "image_url": { "type": "string" } } }, "properties": { "image_url": { "type": "string" } }, "parameters": [], "defaults": {}, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Midjourney Describe", "description": "Get descriptions for an image via Ace Data Cloud Midjourney Describe API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "image_url", "required": true, "schema": { "type": "string", "description": "Input image URL." } }] } },
|
|
10
|
+
"midjourney_translate": { "method": "POST", "path": "/midjourney/translate", "operation": "translate", "schema": { "type": "object", "required": ["content"], "properties": { "content": { "type": "string" } } }, "properties": { "content": { "type": "string" } }, "parameters": [], "defaults": {}, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Midjourney Translate", "description": "Translate Chinese prompt to English via Ace Data Cloud Midjourney Translate API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "content", "required": true, "schema": { "type": "string", "description": "Chinese content to translate." } }] } },
|
|
11
|
+
"midjourney_videos": { "method": "POST", "path": "/midjourney/videos", "operation": "video", "schema": { "type": "object", "properties": { "action": { "enum": ["generate", "extend"], "type": "string" }, "mode": { "enum": ["fast", "turbo"], "type": "string" }, "resolution": { "enum": ["480p", "720p"], "type": "string" }, "prompt": { "type": "string" }, "video_id": { "type": "string" }, "video_index": { "type": "number" }, "loop": { "type": "boolean" }, "image_url": { "type": "string" }, "end_image_url": { "type": "string" }, "callback_url": { "type": "string" }, "async": { "type": "boolean" } } }, "properties": { "action": { "enum": ["generate", "extend"], "type": "string" }, "mode": { "enum": ["fast", "turbo"], "type": "string" }, "resolution": { "enum": ["480p", "720p"], "type": "string" }, "prompt": { "type": "string" }, "video_id": { "type": "string" }, "video_index": { "type": "number" }, "loop": { "type": "boolean" }, "image_url": { "type": "string" }, "end_image_url": { "type": "string" }, "callback_url": { "type": "string" }, "async": { "type": "boolean" } }, "parameters": [], "defaults": { "action": "generate", "mode": "fast" }, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Midjourney Videos", "description": "Generate or extend videos via Ace Data Cloud Midjourney Videos API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "action", "required": false, "schema": { "type": "string", "description": "Set action; supported combinations are described by the current API.", "enum": ["generate", "extend"], "default": "generate" } }, { "name": "mode", "required": false, "schema": { "type": "string", "description": "Generation mode.", "enum": ["fast", "turbo"], "default": "fast" } }, { "name": "resolution", "required": false, "schema": { "type": "string", "description": "Set resolution; supported combinations are described by the current API.", "enum": ["480p", "720p"] } }, { "name": "prompt", "required": false, "schema": { "type": "string", "description": "Video prompt." } }, { "name": "video_id", "required": false, "schema": { "type": "string", "description": "Required when action=extend." } }, { "name": "video_index", "required": false, "schema": { "type": "number", "description": "Optional. Index of video_urls to extend (0-based)." } }, { "name": "loop", "required": false, "schema": { "type": "boolean", "description": "Generate loop video." } }, { "name": "image_url", "required": false, "schema": { "type": "string", "description": "Required when action=generate." } }, { "name": "end_image_url", "required": false, "schema": { "type": "string", "description": "Optional end frame reference." } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }] } },
|
|
12
|
+
"midjourney_get_seed": { "method": "POST", "path": "/midjourney/seed", "operation": "request", "schema": { "type": "object", "required": ["image_id"], "properties": { "image_id": { "type": "string" } } }, "properties": { "image_id": { "type": "string" } }, "parameters": [], "defaults": {}, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Midjourney Get Seed", "description": "Get Seed through the Ace Data Cloud Midjourney API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "image_id", "required": true, "schema": { "type": "string", "description": "Set image id for this operation." } }] } },
|
|
13
|
+
"midjourney_shorten": { "method": "POST", "path": "/midjourney/shorten", "operation": "request", "schema": { "type": "object", "required": ["prompt"], "properties": { "prompt": { "type": "string" } } }, "properties": { "prompt": { "type": "string" } }, "parameters": [], "defaults": {}, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Midjourney Shorten", "description": "Shorten through the Ace Data Cloud Midjourney API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "prompt", "required": true, "schema": { "type": "string", "description": "Set prompt for this operation." } }] } },
|
|
14
|
+
"midjourney_task_retrieve": { "method": "POST", "path": "/midjourney/tasks", "operation": "task", "schema": { "type": "object", "properties": { "action": { "enum": ["retrieve", "retrieve_batch"], "type": "string" }, "id": { "type": "string" }, "trace_id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" } }, "trace_ids": { "type": "array", "items": { "type": "string" } }, "offset": { "type": "integer" }, "limit": { "type": "integer" } } }, "properties": { "action": { "enum": ["retrieve", "retrieve_batch"], "type": "string" }, "id": { "type": "string" }, "trace_id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" } }, "trace_ids": { "type": "array", "items": { "type": "string" } }, "offset": { "type": "integer" }, "limit": { "type": "integer" } }, "parameters": [], "defaults": { "wait_seconds": 0 }, "fixed": {}, "allow_empty": [], "query_actions": ["retrieve", "retrieve_batch", "list", "presets"], "media_response": false, "tool": { "label": "Midjourney Retrieve Task", "description": "Query the existing task ID; do not repeat generation while it is pending.", "input": [{ "name": "task_id", "required": false, "schema": { "type": "string", "description": "Use the task ID or IDs returned by earlier submissions." } }, { "name": "wait_seconds", "required": false, "schema": { "type": "number", "description": "0 queries once; 1–240 waits for the same task to finish. Pending is not complete.", "default": 0, "minimum": 0, "maximum": 240 } }, { "name": "trace_id", "required": false, "schema": { "type": "string", "description": "Set trace id for this operation." } }] } },
|
|
15
|
+
"midjourney_tasks_retrieve_batch": { "method": "POST", "path": "/midjourney/tasks", "operation": "batch", "schema": { "type": "object", "properties": { "action": { "enum": ["retrieve", "retrieve_batch"], "type": "string" }, "id": { "type": "string" }, "trace_id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" }, "minItems": 1 }, "trace_ids": { "type": "array", "items": { "type": "string" } }, "offset": { "type": "integer" }, "limit": { "type": "integer" } }, "required": ["action"] }, "properties": { "action": { "enum": ["retrieve", "retrieve_batch"], "type": "string" }, "id": { "type": "string" }, "trace_id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" }, "minItems": 1 }, "trace_ids": { "type": "array", "items": { "type": "string" } }, "offset": { "type": "integer" }, "limit": { "type": "integer" } }, "parameters": [], "defaults": {}, "fixed": { "action": "retrieve_batch" }, "allow_empty": [], "query_actions": ["retrieve", "retrieve_batch", "list", "presets"], "media_response": false, "tool": { "label": "Midjourney Retrieve Tasks", "description": "Query existing task IDs. Each item retains its own terminal or pending status.", "input": [{ "name": "trace_id", "required": false, "schema": { "type": "string", "description": "Set trace id for this operation." } }, { "name": "ids", "required": false, "schema": { "type": "string", "description": "Use the task ID or IDs returned by earlier submissions. Enter a JSON array or object where applicable." } }, { "name": "trace_ids", "required": false, "schema": { "type": "string", "description": "Set trace ids for this operation. Enter a JSON array or object where applicable." } }, { "name": "offset", "required": false, "schema": { "type": "number", "description": "Set offset for this operation." } }, { "name": "limit", "required": false, "schema": { "type": "number", "description": "Set limit for this operation." } }] } }
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "minimax",
|
|
3
|
+
"label": "MiniMax H3",
|
|
4
|
+
"source": { "repository": "https://github.com/AceDataCloud/MiniMaxDify", "commit": "2e8bb6adbaf43c024d3b8e1f9c7d7b2e70471190", "path": "tools/api_contracts.py" },
|
|
5
|
+
"taskPath": "/minimax/tasks",
|
|
6
|
+
"endpoints": {
|
|
7
|
+
"minimax_generate_video": { "method": "POST", "path": "/minimax/videos", "operation": "generate", "schema": { "type": "object", "additionalProperties": false, "required": ["model", "content", "resolution", "duration"], "properties": { "model": { "type": "string", "enum": ["MiniMax-H3"] }, "content": { "type": "array", "minItems": 1, "items": { "oneOf": [{ "type": "object", "additionalProperties": false, "required": ["type", "text"], "properties": { "type": { "type": "string", "enum": ["text"] }, "text": { "type": "string", "minLength": 1, "maxLength": 7000 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "image_url"], "properties": { "type": { "type": "string", "enum": ["image_url"] }, "image_url": { "type": "object", "additionalProperties": false, "required": ["url"], "properties": { "url": { "type": "string" } } }, "role": { "type": "string", "enum": ["first_frame", "last_frame", "reference_image"] } } }, { "type": "object", "additionalProperties": false, "required": ["type", "video_url", "role"], "properties": { "type": { "type": "string", "enum": ["video_url"] }, "video_url": { "type": "object", "additionalProperties": false, "required": ["url"], "properties": { "url": { "type": "string" } } }, "role": { "type": "string", "enum": ["reference_video"] } } }, { "type": "object", "additionalProperties": false, "required": ["type", "audio_url", "role"], "properties": { "type": { "type": "string", "enum": ["audio_url"] }, "audio_url": { "type": "object", "additionalProperties": false, "required": ["url"], "properties": { "url": { "type": "string" } } }, "role": { "type": "string", "enum": ["reference_audio"] } } }] } }, "resolution": { "type": "string", "enum": ["480P", "768P", "2K"] }, "duration": { "type": "integer", "minimum": 4, "maximum": 15 }, "ratio": { "type": "string", "enum": ["adaptive", "21:9", "16:9", "4:3", "1:1", "3:4", "9:16"] }, "callback_url": { "type": "string", "format": "uri" }, "async": { "type": "boolean" } } }, "properties": { "model": { "type": "string", "enum": ["MiniMax-H3"] }, "content": { "type": "array", "minItems": 1, "items": { "oneOf": [{ "type": "object", "additionalProperties": false, "required": ["type", "text"], "properties": { "type": { "type": "string", "enum": ["text"] }, "text": { "type": "string", "minLength": 1, "maxLength": 7000 } } }, { "type": "object", "additionalProperties": false, "required": ["type", "image_url"], "properties": { "type": { "type": "string", "enum": ["image_url"] }, "image_url": { "type": "object", "additionalProperties": false, "required": ["url"], "properties": { "url": { "type": "string" } } }, "role": { "type": "string", "enum": ["first_frame", "last_frame", "reference_image"] } } }, { "type": "object", "additionalProperties": false, "required": ["type", "video_url", "role"], "properties": { "type": { "type": "string", "enum": ["video_url"] }, "video_url": { "type": "object", "additionalProperties": false, "required": ["url"], "properties": { "url": { "type": "string" } } }, "role": { "type": "string", "enum": ["reference_video"] } } }, { "type": "object", "additionalProperties": false, "required": ["type", "audio_url", "role"], "properties": { "type": { "type": "string", "enum": ["audio_url"] }, "audio_url": { "type": "object", "additionalProperties": false, "required": ["url"], "properties": { "url": { "type": "string" } } }, "role": { "type": "string", "enum": ["reference_audio"] } } }] } }, "resolution": { "type": "string", "enum": ["480P", "768P", "2K"] }, "duration": { "type": "integer", "minimum": 4, "maximum": 15 }, "ratio": { "type": "string", "enum": ["adaptive", "21:9", "16:9", "4:3", "1:1", "3:4", "9:16"] }, "callback_url": { "type": "string", "format": "uri" }, "async": { "type": "boolean" } }, "parameters": [], "defaults": { "model": "MiniMax-H3", "resolution": "768P", "duration": 4, "ratio": "16:9" }, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "MiniMax H3 Generate Video", "description": "Generate MiniMax H3 video from text, images, or audio guidance. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "model", "required": false, "schema": { "type": "string", "description": "Select a model currently supported by this API. Availability and pricing depend on the chosen model.", "enum": ["MiniMax-H3"], "default": "MiniMax-H3" } }, { "name": "content", "required": true, "schema": { "type": "string", "description": "Ordered MiniMax H3 V2 text, image, video, and audio content items. Enter a JSON array. Enter a JSON array or object where applicable." } }, { "name": "resolution", "required": false, "schema": { "type": "string", "description": "Use 768P or 2K. The current live service rejects 480P for MiniMax H3.", "enum": ["768P", "2K"], "default": "768P" } }, { "name": "duration", "required": false, "schema": { "type": "number", "description": "Integer duration from 4 to 15 seconds.", "default": 4, "minimum": 4, "maximum": 15 } }, { "name": "ratio", "required": false, "schema": { "type": "string", "description": "Output aspect ratio.", "enum": ["adaptive", "21:9", "16:9", "4:3", "1:1", "3:4", "9:16"], "default": "16:9" } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }] } },
|
|
8
|
+
"minimax_list_tasks": { "method": "POST", "path": "/minimax/tasks", "operation": "request", "schema": { "type": "object", "properties": { "action": { "type": "string", "enum": ["retrieve", "retrieve_batch", "delete"] }, "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" } }, "limit": { "type": "integer" }, "offset": { "type": "integer" }, "created_at_min": { "type": "number" }, "created_at_max": { "type": "number" } } }, "properties": { "action": { "type": "string", "enum": ["retrieve", "retrieve_batch", "delete"] }, "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" } }, "limit": { "type": "integer" }, "offset": { "type": "integer" }, "created_at_min": { "type": "number" }, "created_at_max": { "type": "number" } }, "parameters": [], "defaults": { "action": "retrieve" }, "fixed": {}, "allow_empty": [], "query_actions": ["retrieve", "retrieve_batch", "list", "presets"], "media_response": false, "tool": { "label": "MiniMax H3 List Tasks", "description": "List Tasks through the Ace Data Cloud MiniMax H3 API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "action", "required": false, "schema": { "type": "string", "description": "Set action for this operation.", "enum": ["retrieve", "retrieve_batch", "delete"], "default": "retrieve" } }, { "name": "id", "required": false, "schema": { "type": "string", "description": "Set id for this operation." } }, { "name": "ids", "required": false, "schema": { "type": "string", "description": "Use the task ID or IDs returned by earlier submissions. Enter a JSON array or object where applicable." } }, { "name": "limit", "required": false, "schema": { "type": "number", "description": "Set limit for this operation." } }, { "name": "offset", "required": false, "schema": { "type": "number", "description": "Set offset for this operation." } }, { "name": "created_at_min", "required": false, "schema": { "type": "number", "description": "Set created at min for this operation." } }, { "name": "created_at_max", "required": false, "schema": { "type": "number", "description": "Set created at max for this operation." } }, { "name": "confirm", "required": false, "schema": { "type": "boolean", "description": "Set true only to confirm the selected deletion or archive operation." } }] } },
|
|
9
|
+
"minimax_delete_task": { "method": "POST", "path": "/minimax/tasks", "operation": "request", "schema": { "type": "object", "properties": { "action": { "type": "string", "enum": ["retrieve", "retrieve_batch", "delete"] }, "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" } }, "limit": { "type": "integer" }, "offset": { "type": "integer" }, "created_at_min": { "type": "number" }, "created_at_max": { "type": "number" } } }, "properties": { "action": { "type": "string", "enum": ["retrieve", "retrieve_batch", "delete"] }, "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" } }, "limit": { "type": "integer" }, "offset": { "type": "integer" }, "created_at_min": { "type": "number" }, "created_at_max": { "type": "number" } }, "parameters": [], "defaults": { "action": "delete" }, "fixed": { "action": "delete" }, "allow_empty": [], "query_actions": ["retrieve", "retrieve_batch", "list", "presets"], "media_response": false, "destructive": true, "tool": { "label": "MiniMax H3 Delete Task", "description": "Delete Task through the Ace Data Cloud MiniMax H3 API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "id", "required": false, "schema": { "type": "string", "description": "Set id for this operation." } }, { "name": "ids", "required": false, "schema": { "type": "string", "description": "Use the task ID or IDs returned by earlier submissions. Enter a JSON array or object where applicable." } }, { "name": "limit", "required": false, "schema": { "type": "number", "description": "Set limit for this operation." } }, { "name": "offset", "required": false, "schema": { "type": "number", "description": "Set offset for this operation." } }, { "name": "created_at_min", "required": false, "schema": { "type": "number", "description": "Set created at min for this operation." } }, { "name": "created_at_max", "required": false, "schema": { "type": "number", "description": "Set created at max for this operation." } }, { "name": "confirm", "required": false, "schema": { "type": "boolean", "description": "Set true only to confirm the selected deletion or archive operation." } }] } },
|
|
10
|
+
"minimax_task_retrieve": { "method": "POST", "path": "/minimax/tasks", "operation": "task", "schema": { "type": "object", "properties": { "action": { "type": "string", "enum": ["retrieve", "retrieve_batch", "delete"] }, "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" } }, "limit": { "type": "integer" }, "offset": { "type": "integer" }, "created_at_min": { "type": "number" }, "created_at_max": { "type": "number" } } }, "properties": { "action": { "type": "string", "enum": ["retrieve", "retrieve_batch", "delete"] }, "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" } }, "limit": { "type": "integer" }, "offset": { "type": "integer" }, "created_at_min": { "type": "number" }, "created_at_max": { "type": "number" } }, "parameters": [], "defaults": { "wait_seconds": 0 }, "fixed": {}, "allow_empty": [], "query_actions": ["retrieve", "retrieve_batch", "list", "presets"], "media_response": false, "tool": { "label": "MiniMax H3 Retrieve Task", "description": "Query the existing task ID; do not repeat generation while it is pending.", "input": [{ "name": "task_id", "required": true, "schema": { "type": "string", "description": "Use the task ID or IDs returned by earlier submissions." } }, { "name": "wait_seconds", "required": false, "schema": { "type": "number", "description": "0 queries once; 1–240 waits for the same task to finish. Pending is not complete.", "default": 0, "minimum": 0, "maximum": 240 } }] } },
|
|
11
|
+
"minimax_tasks_retrieve_batch": { "method": "POST", "path": "/minimax/tasks", "operation": "batch", "schema": { "type": "object", "properties": { "action": { "type": "string", "enum": ["retrieve", "retrieve_batch", "delete"] }, "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" }, "minItems": 1 }, "limit": { "type": "integer" }, "offset": { "type": "integer" }, "created_at_min": { "type": "number" }, "created_at_max": { "type": "number" } }, "required": ["action", "ids"] }, "properties": { "action": { "type": "string", "enum": ["retrieve", "retrieve_batch", "delete"] }, "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" }, "minItems": 1 }, "limit": { "type": "integer" }, "offset": { "type": "integer" }, "created_at_min": { "type": "number" }, "created_at_max": { "type": "number" } }, "parameters": [], "defaults": {}, "fixed": { "action": "retrieve_batch" }, "allow_empty": [], "query_actions": ["retrieve", "retrieve_batch", "list", "presets"], "media_response": false, "tool": { "label": "MiniMax H3 Retrieve Tasks", "description": "Query existing task IDs. Each item retains its own terminal or pending status.", "input": [{ "name": "ids", "required": true, "schema": { "type": "string", "description": "Use the task ID or IDs returned by earlier submissions. Enter a JSON array or object where applicable." } }, { "name": "limit", "required": false, "schema": { "type": "number", "description": "Set limit for this operation." } }, { "name": "offset", "required": false, "schema": { "type": "number", "description": "Set offset for this operation." } }, { "name": "created_at_min", "required": false, "schema": { "type": "number", "description": "Set created at min for this operation." } }, { "name": "created_at_max", "required": false, "schema": { "type": "number", "description": "Set created at max for this operation." } }] } }
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "nano-banana",
|
|
3
|
+
"label": "Nano Banana",
|
|
4
|
+
"source": { "repository": "https://github.com/AceDataCloud/NanoBananaDify", "commit": "e0bdf00cf2b7a8e7ac5da25010b1e5179c407ea7", "path": "tools/api_contracts.py" },
|
|
5
|
+
"taskPath": "/nano-banana/tasks",
|
|
6
|
+
"endpoints": {
|
|
7
|
+
"nano_banana_generate_image": { "method": "POST", "path": "/nano-banana/images", "operation": "generate", "schema": { "type": "object", "required": ["action", "prompt"], "properties": { "action": { "enum": ["generate", "edit"], "type": "string" }, "model": { "type": "string", "enum": ["nano-banana", "nano-banana-2-lite", "nano-banana-2", "nano-banana-2.1", "nano-banana-pro", "nano-banana:official", "nano-banana-2-lite:official", "nano-banana-2:official", "nano-banana-pro:official"] }, "prompt": { "type": "string" }, "image_urls": { "type": "array", "items": { "type": "string" } }, "count": { "type": "integer", "minimum": 1, "maximum": 4 }, "aspect_ratio": { "type": "string", "enum": ["1:1", "3:2", "2:3", "16:9", "9:16", "4:3", "3:4"] }, "resolution": { "type": "string", "enum": ["1K", "2K", "4K"] }, "callback_url": { "type": "string" }, "async": { "type": "boolean" } } }, "properties": { "action": { "enum": ["generate", "edit"], "type": "string" }, "model": { "type": "string", "enum": ["nano-banana", "nano-banana-2-lite", "nano-banana-2", "nano-banana-2.1", "nano-banana-pro", "nano-banana:official", "nano-banana-2-lite:official", "nano-banana-2:official", "nano-banana-pro:official"] }, "prompt": { "type": "string" }, "image_urls": { "type": "array", "items": { "type": "string" } }, "count": { "type": "integer", "minimum": 1, "maximum": 4 }, "aspect_ratio": { "type": "string", "enum": ["1:1", "3:2", "2:3", "16:9", "9:16", "4:3", "3:4"] }, "resolution": { "type": "string", "enum": ["1K", "2K", "4K"] }, "callback_url": { "type": "string" }, "async": { "type": "boolean" } }, "parameters": [], "defaults": { "model": "nano-banana-2-lite", "aspect_ratio": "1:1", "resolution": "1K", "count": 1 }, "fixed": { "action": "generate" }, "allow_empty": [], "query_actions": [], "media_response": true, "tool": { "label": "Nano Banana Generate Image", "description": "Generate an image with Ace Data Cloud Nano Banana Images API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "model", "required": false, "schema": { "type": "string", "description": "Set model for this operation.", "enum": ["nano-banana", "nano-banana-2-lite", "nano-banana-2", "nano-banana-2.1", "nano-banana-pro", "nano-banana:official", "nano-banana-2-lite:official", "nano-banana-2:official", "nano-banana-pro:official"], "default": "nano-banana-2-lite" } }, { "name": "prompt", "required": true, "schema": { "type": "string", "description": "Text prompt used to generate the image." } }, { "name": "image_urls", "required": false, "schema": { "type": "string", "description": "Set image urls for this operation. Enter a JSON array or object where applicable." } }, { "name": "count", "required": false, "schema": { "type": "number", "description": "Number of images to generate; each image is billed at the current service rate.", "default": 1, "minimum": 1, "maximum": 4 } }, { "name": "aspect_ratio", "required": false, "schema": { "type": "string", "description": "Aspect ratio for generation. Default is 1:1.", "enum": ["1:1", "3:2", "2:3", "16:9", "9:16", "4:3", "3:4"], "default": "1:1" } }, { "name": "resolution", "required": false, "schema": { "type": "string", "description": "Set resolution; supported combinations are described by the current API.", "enum": ["1K", "2K", "4K"], "default": "1K" } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }] } },
|
|
8
|
+
"nano_banana_edit_image": { "method": "POST", "path": "/nano-banana/images", "operation": "edit", "schema": { "type": "object", "required": ["action", "prompt"], "properties": { "action": { "enum": ["generate", "edit"], "type": "string" }, "model": { "type": "string", "enum": ["nano-banana", "nano-banana-2-lite", "nano-banana-2", "nano-banana-2.1", "nano-banana-pro", "nano-banana:official", "nano-banana-2-lite:official", "nano-banana-2:official", "nano-banana-pro:official"] }, "prompt": { "type": "string" }, "image_urls": { "type": "array", "items": { "type": "string" } }, "count": { "type": "integer", "minimum": 1, "maximum": 4 }, "aspect_ratio": { "type": "string", "enum": ["1:1", "3:2", "2:3", "16:9", "9:16", "4:3", "3:4"] }, "resolution": { "type": "string", "enum": ["1K", "2K", "4K"] }, "callback_url": { "type": "string" }, "async": { "type": "boolean" } } }, "properties": { "action": { "enum": ["generate", "edit"], "type": "string" }, "model": { "type": "string", "enum": ["nano-banana", "nano-banana-2-lite", "nano-banana-2", "nano-banana-2.1", "nano-banana-pro", "nano-banana:official", "nano-banana-2-lite:official", "nano-banana-2:official", "nano-banana-pro:official"] }, "prompt": { "type": "string" }, "image_urls": { "type": "array", "items": { "type": "string" } }, "count": { "type": "integer", "minimum": 1, "maximum": 4 }, "aspect_ratio": { "type": "string", "enum": ["1:1", "3:2", "2:3", "16:9", "9:16", "4:3", "3:4"] }, "resolution": { "type": "string", "enum": ["1K", "2K", "4K"] }, "callback_url": { "type": "string" }, "async": { "type": "boolean" } }, "parameters": [], "defaults": { "model": "nano-banana-2-lite", "aspect_ratio": "1:1", "resolution": "1K", "count": 1 }, "fixed": { "action": "edit" }, "allow_empty": [], "query_actions": [], "media_response": true, "tool": { "label": "Nano Banana Edit Image", "description": "Edit image(s) with Ace Data Cloud Nano Banana Images API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "model", "required": false, "schema": { "type": "string", "description": "Set model for this operation.", "enum": ["nano-banana", "nano-banana-2-lite", "nano-banana-2", "nano-banana-2.1", "nano-banana-pro", "nano-banana:official", "nano-banana-2-lite:official", "nano-banana-2:official", "nano-banana-pro:official"], "default": "nano-banana-2-lite" } }, { "name": "prompt", "required": true, "schema": { "type": "string", "description": "Text prompt describing the edit." } }, { "name": "image_urls", "required": false, "schema": { "type": "string", "description": "Public HTTPS image URLs, one per line or a JSON array. Only submit images you may use. Enter a JSON array or object where applicable." } }, { "name": "count", "required": false, "schema": { "type": "number", "description": "Number of images to generate; each image is billed at the current service rate.", "default": 1, "minimum": 1, "maximum": 4 } }, { "name": "aspect_ratio", "required": false, "schema": { "type": "string", "description": "Aspect ratio for editing. Default is 1:1.", "enum": ["1:1", "3:2", "2:3", "16:9", "9:16", "4:3", "3:4"], "default": "1:1" } }, { "name": "resolution", "required": false, "schema": { "type": "string", "description": "Set resolution; supported combinations are described by the current API.", "enum": ["1K", "2K", "4K"], "default": "1K" } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }] } },
|
|
9
|
+
"nano_banana_task_retrieve": { "method": "POST", "path": "/nano-banana/tasks", "operation": "task", "schema": { "type": "object", "properties": { "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" } }, "action": { "enum": ["retrieve", "retrieve_batch"], "type": "string" } } }, "properties": { "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" } }, "action": { "enum": ["retrieve", "retrieve_batch"], "type": "string" } }, "parameters": [], "defaults": { "wait_seconds": 0 }, "fixed": {}, "allow_empty": [], "query_actions": ["retrieve", "retrieve_batch", "list", "presets"], "media_response": false, "tool": { "label": "Nano Banana Retrieve Task", "description": "Query the existing task ID; do not repeat generation while it is pending.", "input": [{ "name": "task_id", "required": true, "schema": { "type": "string", "description": "Use the task ID or IDs returned by earlier submissions." } }, { "name": "wait_seconds", "required": false, "schema": { "type": "number", "description": "0 queries once; 1–240 waits for the same task to finish. Pending is not complete.", "default": 0, "minimum": 0, "maximum": 240 } }] } },
|
|
10
|
+
"nano_banana_tasks_retrieve_batch": { "method": "POST", "path": "/nano-banana/tasks", "operation": "batch", "schema": { "type": "object", "properties": { "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" }, "minItems": 1 }, "action": { "enum": ["retrieve", "retrieve_batch"], "type": "string" } }, "required": ["action", "ids"] }, "properties": { "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" }, "minItems": 1 }, "action": { "enum": ["retrieve", "retrieve_batch"], "type": "string" } }, "parameters": [], "defaults": {}, "fixed": { "action": "retrieve_batch" }, "allow_empty": [], "query_actions": ["retrieve", "retrieve_batch", "list", "presets"], "media_response": false, "tool": { "label": "Nano Banana Retrieve Tasks", "description": "Query existing task IDs. Each item retains its own terminal or pending status.", "input": [{ "name": "ids", "required": true, "schema": { "type": "string", "description": "Use the task ID or IDs returned by earlier submissions. Enter a JSON array or object where applicable." } }] } }
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "qwen-image",
|
|
3
|
+
"label": "Qwen Image",
|
|
4
|
+
"source": { "repository": "https://github.com/AceDataCloud/QwenImageDify", "commit": "7e3866e45c3e0dca073e41c186db67252f6ba566", "path": "tools/api_contracts.py" },
|
|
5
|
+
"taskPath": "/qwen-image/tasks",
|
|
6
|
+
"endpoints": {
|
|
7
|
+
"qwen_image": { "method": "POST", "path": "/qwen-image/images", "operation": "generate", "schema": { "type": "object", "required": ["model", "prompt"], "properties": { "model": { "type": "string", "enum": ["qwen-image-3.0", "qwen-image-3.0-pro"] }, "prompt": { "type": "string", "minLength": 1, "maxLength": 18000 }, "image_urls": { "type": "array", "minItems": 1, "maxItems": 3, "items": { "type": "string", "format": "uri" } }, "n": { "type": "integer", "minimum": 1, "maximum": 6 }, "size": { "type": "string", "pattern": "^[0-9]+\\*[0-9]+$" }, "prompt_extend": { "type": "boolean" }, "prompt_extend_mode": { "type": "string", "enum": ["direct", "agent"] }, "enable_thinking": { "type": "boolean" }, "negative_prompt": { "type": "string" }, "seed": { "type": "integer", "minimum": 0, "maximum": 2147483647 }, "watermark": { "type": "boolean" }, "callback_url": { "type": "string", "format": "uri" }, "async": { "type": "boolean" } } }, "properties": { "model": { "type": "string", "enum": ["qwen-image-3.0", "qwen-image-3.0-pro"] }, "prompt": { "type": "string", "minLength": 1, "maxLength": 18000 }, "image_urls": { "type": "array", "minItems": 1, "maxItems": 3, "items": { "type": "string", "format": "uri" } }, "n": { "type": "integer", "minimum": 1, "maximum": 6 }, "size": { "type": "string", "pattern": "^[0-9]+\\*[0-9]+$" }, "prompt_extend": { "type": "boolean" }, "prompt_extend_mode": { "type": "string", "enum": ["direct", "agent"] }, "enable_thinking": { "type": "boolean" }, "negative_prompt": { "type": "string" }, "seed": { "type": "integer", "minimum": 0, "maximum": 2147483647 }, "watermark": { "type": "boolean" }, "callback_url": { "type": "string", "format": "uri" }, "async": { "type": "boolean" } }, "parameters": [], "defaults": { "model": "qwen-image-3.0", "n": 1, "size": "1024*1024" }, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": true, "tool": { "label": "Qwen Image 3", "description": "Generate or edit images with Qwen Image 3. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "model", "required": false, "schema": { "type": "string", "description": "Select a model currently supported by this API. Availability and pricing depend on the chosen model.", "enum": ["qwen-image-3.0", "qwen-image-3.0-pro"], "default": "qwen-image-3.0" } }, { "name": "prompt", "required": true, "schema": { "type": "string", "description": "Generation prompt or editing instruction. Include image_urls for edit mode." } }, { "name": "image_urls", "required": false, "schema": { "type": "string", "description": "Optional array of 1–3 reference image URLs, billed by the actual input image count. Enter a JSON array or object where applicable." } }, { "name": "n", "required": false, "schema": { "type": "number", "description": "Number of output images, from 1 to 6.", "default": 1, "minimum": 1, "maximum": 6 } }, { "name": "size", "required": false, "schema": { "type": "string", "description": "Output dimensions with pixel area between 512×512 and 2048×2048.", "default": "1024*1024" } }, { "name": "prompt_extend", "required": false, "schema": { "type": "boolean", "description": "Whether to enhance the prompt." } }, { "name": "prompt_extend_mode", "required": false, "schema": { "type": "string", "description": "Prompt enhancement mode; agent is text-to-image only.", "enum": ["direct", "agent"] } }, { "name": "enable_thinking", "required": false, "schema": { "type": "boolean", "description": "Whether to enable enhanced reasoning." } }, { "name": "negative_prompt", "required": false, "schema": { "type": "string", "description": "Content to exclude from the image." } }, { "name": "seed", "required": false, "schema": { "type": "number", "description": "Random seed.", "minimum": 0, "maximum": 2147483647 } }, { "name": "watermark", "required": false, "schema": { "type": "boolean", "description": "Whether to add a watermark." } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Callback URL for asynchronous completion." } }] } },
|
|
8
|
+
"qwen_image_task_retrieve": { "method": "POST", "path": "/qwen-image/tasks", "operation": "task", "schema": { "type": "object", "properties": { "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" } }, "action": { "enum": ["retrieve", "retrieve_batch"], "type": "string" } } }, "properties": { "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" } }, "action": { "enum": ["retrieve", "retrieve_batch"], "type": "string" } }, "parameters": [], "defaults": { "wait_seconds": 0 }, "fixed": {}, "allow_empty": [], "query_actions": ["retrieve", "retrieve_batch", "list", "presets"], "media_response": false, "tool": { "label": "Qwen Image Retrieve Task", "description": "Query the existing task ID; do not repeat generation while it is pending.", "input": [{ "name": "task_id", "required": true, "schema": { "type": "string", "description": "Use the task ID or IDs returned by earlier submissions." } }, { "name": "wait_seconds", "required": false, "schema": { "type": "number", "description": "0 queries once; 1–240 waits for the same task to finish. Pending is not complete.", "default": 0, "minimum": 0, "maximum": 240 } }] } },
|
|
9
|
+
"qwen_image_tasks_retrieve_batch": { "method": "POST", "path": "/qwen-image/tasks", "operation": "batch", "schema": { "type": "object", "properties": { "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" }, "minItems": 1 }, "action": { "enum": ["retrieve", "retrieve_batch"], "type": "string" } }, "required": ["action", "ids"] }, "properties": { "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" }, "minItems": 1 }, "action": { "enum": ["retrieve", "retrieve_batch"], "type": "string" } }, "parameters": [], "defaults": {}, "fixed": { "action": "retrieve_batch" }, "allow_empty": [], "query_actions": ["retrieve", "retrieve_batch", "list", "presets"], "media_response": false, "tool": { "label": "Qwen Image Retrieve Tasks", "description": "Query existing task IDs. Each item retains its own terminal or pending status.", "input": [{ "name": "ids", "required": true, "schema": { "type": "string", "description": "Use the task ID or IDs returned by earlier submissions. Enter a JSON array or object where applicable." } }] } }
|
|
10
|
+
}
|
|
11
|
+
}
|