@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,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "seedance",
|
|
3
|
+
"label": "Seedance",
|
|
4
|
+
"source": { "repository": "https://github.com/AceDataCloud/SeedanceDify", "commit": "89fb1f15821152e6574f7cb573fd0892654f2199", "path": "tools/api_contracts.py" },
|
|
5
|
+
"taskPath": "/seedance/tasks",
|
|
6
|
+
"endpoints": {
|
|
7
|
+
"seedance_generate_video": { "method": "POST", "path": "/seedance/videos", "operation": "generate", "schema": { "type": "object", "required": ["model", "content"], "properties": { "model": { "type": "string", "enum": ["doubao-seedance-1-0-pro-250528", "doubao-seedance-1-0-pro-fast-251015", "doubao-seedance-1-5-pro-251215", "doubao-seedance-1-0-lite-t2v-250428", "doubao-seedance-1-0-lite-i2v-250428", "doubao-seedance-2-0-260128", "doubao-seedance-2-0-fast-260128", "doubao-seedance-2-0-mini-260615", "doubao-seedance-2-5-260628"] }, "content": { "type": "array", "items": { "oneOf": [{ "type": "object", "required": ["type", "text"], "properties": { "type": { "type": "string", "enum": ["text"] }, "text": { "type": "string", "maxLength": 1000 } }, "additionalProperties": false }, { "type": "object", "required": ["type", "image_url"], "properties": { "type": { "type": "string", "enum": ["image_url"] }, "image_url": { "type": "object", "required": ["url"], "properties": { "url": { "type": "string" } }, "additionalProperties": false }, "role": { "type": "string", "enum": ["first_frame", "last_frame", "reference_image"] } }, "additionalProperties": false }, { "type": "object", "required": ["type", "audio_url", "role"], "properties": { "type": { "type": "string", "enum": ["audio_url"] }, "audio_url": { "type": "object", "required": ["url"], "properties": { "url": { "type": "string" } }, "additionalProperties": false }, "role": { "type": "string", "enum": ["reference_audio"] } }, "additionalProperties": false }, { "type": "object", "required": ["type", "video_url", "role"], "properties": { "type": { "type": "string", "enum": ["video_url"] }, "video_url": { "type": "object", "required": ["url"], "properties": { "url": { "type": "string" } }, "additionalProperties": false }, "role": { "type": "string", "enum": ["reference_video"] } }, "additionalProperties": false }], "discriminator": { "propertyName": "type" } } }, "resolution": { "type": "string", "enum": ["480p", "720p", "1080p", "4k"] }, "ratio": { "type": "string", "enum": ["16:9", "4:3", "1:1", "3:4", "9:16", "21:9", "adaptive"] }, "duration": { "type": "integer", "minimum": -1, "maximum": 30 }, "frames": { "type": "integer", "minimum": 29, "maximum": 289 }, "seed": { "type": "integer", "minimum": -1, "maximum": 4294967295 }, "camerafixed": { "type": "boolean" }, "watermark": { "type": "boolean" }, "generate_audio": { "type": "boolean" }, "callback_url": { "type": "string", "format": "uri" }, "async": { "type": "boolean" }, "return_last_frame": { "type": "boolean" }, "execution_expires_after": { "type": "integer", "minimum": 3600, "maximum": 259200 }, "omni_reference_task_type": { "type": "string", "enum": ["auto", "reference", "edit", "extend"] }, "output_format": { "type": "string", "enum": ["mp4", "mov"] }, "tools": { "type": "array", "maxItems": 1, "items": { "type": "object", "required": ["type"], "additionalProperties": false, "properties": { "type": { "type": "string", "enum": ["web_search"] }, "limit": { "type": "integer", "minimum": 1, "maximum": 50 }, "max_keyword": { "type": "integer", "minimum": 1, "maximum": 50 }, "sources": { "type": "array", "items": { "type": "string", "enum": ["toutiao", "douyin", "moji", "search_engine"] } } } } }, "priority": { "type": "integer", "minimum": 0, "maximum": 9 }, "safety_identifier": { "type": "string", "maxLength": 64 } } }, "properties": { "model": { "type": "string", "enum": ["doubao-seedance-1-0-pro-250528", "doubao-seedance-1-0-pro-fast-251015", "doubao-seedance-1-5-pro-251215", "doubao-seedance-1-0-lite-t2v-250428", "doubao-seedance-1-0-lite-i2v-250428", "doubao-seedance-2-0-260128", "doubao-seedance-2-0-fast-260128", "doubao-seedance-2-0-mini-260615", "doubao-seedance-2-5-260628"] }, "content": { "type": "array", "items": { "oneOf": [{ "type": "object", "required": ["type", "text"], "properties": { "type": { "type": "string", "enum": ["text"] }, "text": { "type": "string", "maxLength": 1000 } }, "additionalProperties": false }, { "type": "object", "required": ["type", "image_url"], "properties": { "type": { "type": "string", "enum": ["image_url"] }, "image_url": { "type": "object", "required": ["url"], "properties": { "url": { "type": "string" } }, "additionalProperties": false }, "role": { "type": "string", "enum": ["first_frame", "last_frame", "reference_image"] } }, "additionalProperties": false }, { "type": "object", "required": ["type", "audio_url", "role"], "properties": { "type": { "type": "string", "enum": ["audio_url"] }, "audio_url": { "type": "object", "required": ["url"], "properties": { "url": { "type": "string" } }, "additionalProperties": false }, "role": { "type": "string", "enum": ["reference_audio"] } }, "additionalProperties": false }, { "type": "object", "required": ["type", "video_url", "role"], "properties": { "type": { "type": "string", "enum": ["video_url"] }, "video_url": { "type": "object", "required": ["url"], "properties": { "url": { "type": "string" } }, "additionalProperties": false }, "role": { "type": "string", "enum": ["reference_video"] } }, "additionalProperties": false }], "discriminator": { "propertyName": "type" } } }, "resolution": { "type": "string", "enum": ["480p", "720p", "1080p", "4k"] }, "ratio": { "type": "string", "enum": ["16:9", "4:3", "1:1", "3:4", "9:16", "21:9", "adaptive"] }, "duration": { "type": "integer", "minimum": -1, "maximum": 30 }, "frames": { "type": "integer", "minimum": 29, "maximum": 289 }, "seed": { "type": "integer", "minimum": -1, "maximum": 4294967295 }, "camerafixed": { "type": "boolean" }, "watermark": { "type": "boolean" }, "generate_audio": { "type": "boolean" }, "callback_url": { "type": "string", "format": "uri" }, "async": { "type": "boolean" }, "return_last_frame": { "type": "boolean" }, "execution_expires_after": { "type": "integer", "minimum": 3600, "maximum": 259200 }, "omni_reference_task_type": { "type": "string", "enum": ["auto", "reference", "edit", "extend"] }, "output_format": { "type": "string", "enum": ["mp4", "mov"] }, "tools": { "type": "array", "maxItems": 1, "items": { "type": "object", "required": ["type"], "additionalProperties": false, "properties": { "type": { "type": "string", "enum": ["web_search"] }, "limit": { "type": "integer", "minimum": 1, "maximum": 50 }, "max_keyword": { "type": "integer", "minimum": 1, "maximum": 50 }, "sources": { "type": "array", "items": { "type": "string", "enum": ["toutiao", "douyin", "moji", "search_engine"] } } } } }, "priority": { "type": "integer", "minimum": 0, "maximum": 9 }, "safety_identifier": { "type": "string", "maxLength": 64 } }, "parameters": [], "defaults": { "model": "doubao-seedance-2-0-mini-260615", "resolution": "480p", "ratio": "16:9", "generate_audio": false }, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Seedance Generate Video", "description": "Generate a video with Ace Data Cloud Seedance 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": "model", "required": false, "schema": { "type": "string", "description": "Select a model currently supported by this API. Availability and pricing depend on the chosen model.", "enum": ["doubao-seedance-1-0-pro-250528", "doubao-seedance-1-0-pro-fast-251015", "doubao-seedance-1-5-pro-251215", "doubao-seedance-1-0-lite-t2v-250428", "doubao-seedance-1-0-lite-i2v-250428", "doubao-seedance-2-0-260128", "doubao-seedance-2-0-fast-260128", "doubao-seedance-2-0-mini-260615", "doubao-seedance-2-5-260628"], "default": "doubao-seedance-2-0-mini-260615" } }, { "name": "content", "required": false, "schema": { "type": "string", "description": "Set content for this operation. Enter a JSON array or object where applicable." } }, { "name": "resolution", "required": false, "schema": { "type": "string", "description": "Optional output resolution (480p/720p/1080p).", "enum": ["480p", "720p", "1080p", "4k"], "default": "480p" } }, { "name": "ratio", "required": false, "schema": { "type": "string", "description": "Aspect ratio", "enum": ["16:9", "4:3", "1:1", "3:4", "9:16", "21:9", "adaptive"], "default": "16:9" } }, { "name": "duration", "required": false, "schema": { "type": "number", "description": "Duration in seconds", "minimum": -1, "maximum": 30 } }, { "name": "frames", "required": false, "schema": { "type": "number", "description": "Set frames for this operation.", "minimum": 29, "maximum": 289 } }, { "name": "seed", "required": false, "schema": { "type": "number", "description": "Set seed for this operation.", "minimum": -1, "maximum": 4294967295 } }, { "name": "camerafixed", "required": false, "schema": { "type": "boolean", "description": "Set camerafixed for this operation." } }, { "name": "watermark", "required": false, "schema": { "type": "boolean", "description": "Set watermark for this operation." } }, { "name": "generate_audio", "required": false, "schema": { "type": "boolean", "description": "Include generated audio in the video.", "default": false } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }, { "name": "return_last_frame", "required": false, "schema": { "type": "boolean", "description": "Set return last frame for this operation." } }, { "name": "execution_expires_after", "required": false, "schema": { "type": "number", "description": "Set execution expires after for this operation.", "minimum": 3600, "maximum": 259200 } }, { "name": "omni_reference_task_type", "required": false, "schema": { "type": "string", "description": "Set omni reference task type for this operation.", "enum": ["auto", "reference", "edit", "extend"] } }, { "name": "output_format", "required": false, "schema": { "type": "string", "description": "Set output format for this operation.", "enum": ["mp4", "mov"] } }, { "name": "tools", "required": false, "schema": { "type": "string", "description": "Set tools for this operation. Enter a JSON array or object where applicable." } }, { "name": "priority", "required": false, "schema": { "type": "number", "description": "Set priority for this operation.", "minimum": 0, "maximum": 9 } }, { "name": "safety_identifier", "required": false, "schema": { "type": "string", "description": "Set safety identifier for this operation." } }, { "name": "prompt", "required": false, "schema": { "type": "string", "description": "Text prompt used to generate the video." } }, { "name": "first_frame_url", "required": false, "schema": { "type": "string", "description": "Optional public HTTPS image URL; omit for text-to-video." } }, { "name": "last_frame_url", "required": false, "schema": { "type": "string", "description": "Set last frame url for this operation." } }, { "name": "reference_image_urls", "required": false, "schema": { "type": "string", "description": "Set reference image urls for this operation. Enter a JSON array or object where applicable." } }, { "name": "reference_audio_urls", "required": false, "schema": { "type": "string", "description": "Set reference audio urls for this operation. Enter a JSON array or object where applicable." } }, { "name": "reference_video_urls", "required": false, "schema": { "type": "string", "description": "Set reference video urls for this operation. Enter a JSON array or object where applicable." } }] } },
|
|
8
|
+
"seedance_task_retrieve": { "method": "POST", "path": "/seedance/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": "Seedance 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
|
+
"seedance_tasks_retrieve_batch": { "method": "POST", "path": "/seedance/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": "Seedance 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,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "seedream",
|
|
3
|
+
"label": "Seedream",
|
|
4
|
+
"source": { "repository": "https://github.com/AceDataCloud/SeedreamDify", "commit": "ea15c461e930b4052b38af48a692e00167aeb197", "path": "tools/api_contracts.py" },
|
|
5
|
+
"taskPath": "/seedream/tasks",
|
|
6
|
+
"endpoints": {
|
|
7
|
+
"seedream_generate_image": { "method": "POST", "path": "/seedream/images", "operation": "generate", "schema": { "type": "object", "required": ["model"], "properties": { "model": { "type": "string", "enum": ["doubao-seedream-5-0-pro-260628", "doubao-seedream-5-0-lite-260128", "doubao-seedream-4-0-250828", "doubao-seedream-4-5-251128"] }, "prompt": { "type": "string" }, "image": { "oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" }, "maxItems": 14 }] }, "size": { "type": "string", "pattern": "^(1K|1\\.5K|2K|3K|4K|auto|[0-9]+x[0-9]+)$" }, "sequential_image_generation": { "type": "string", "enum": ["auto", "disabled"] }, "sequential_image_generation_options": { "type": "object", "properties": { "max_images": { "type": "integer", "minimum": 1, "maximum": 15 } } }, "stream": { "type": "boolean" }, "response_format": { "type": "string", "enum": ["url", "b64_json"] }, "watermark": { "type": "boolean" }, "output_format": { "type": "string", "enum": ["jpeg", "png"] }, "tools": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "enum": ["web_search"] } } } }, "optimize_prompt_options": { "type": "object", "properties": { "mode": { "type": "string", "enum": ["standard", "fast"] } } }, "callback_url": { "type": "string" }, "async": { "type": "boolean" }, "layer_decomposition": { "type": "boolean" }, "background": { "type": "string", "enum": ["transparent", "opaque"] } }, "allOf": [{ "oneOf": [{ "required": ["image", "layer_decomposition"], "properties": { "model": { "enum": ["doubao-seedream-5-0-pro-260628"] }, "layer_decomposition": { "enum": [true] }, "size": { "type": "string", "pattern": "^(auto|1K|1\\.5K|2K)$" } }, "not": { "anyOf": [{ "required": ["sequential_image_generation"] }, { "required": ["stream"] }, { "required": ["tools"] }, { "required": ["background"] }] } }, { "required": ["prompt"], "properties": { "model": { "enum": ["doubao-seedream-5-0-pro-260628"] }, "size": { "type": "string", "pattern": "^(1K|1\\.5K|2K|[0-9]+x[0-9]+)$" }, "image": { "oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" }, "maxItems": 10 }] } }, "not": { "anyOf": [{ "required": ["sequential_image_generation"] }, { "required": ["stream"] }, { "required": ["tools"] }] } }, { "required": ["prompt"], "properties": { "model": { "enum": ["doubao-seedream-5-0-lite-260128"] }, "size": { "type": "string", "pattern": "^(2K|3K|4K|[0-9]+x[0-9]+)$" }, "optimize_prompt_options": { "type": "object", "properties": { "mode": { "enum": ["standard"] } } } }, "not": { "anyOf": [{ "required": ["layer_decomposition"] }, { "required": ["background"] }] } }, { "required": ["prompt"], "properties": { "model": { "enum": ["doubao-seedream-4-0-250828", "doubao-seedream-4-5-251128"] } }, "not": { "anyOf": [{ "required": ["layer_decomposition"] }, { "required": ["background"] }, { "required": ["output_format"] }, { "required": ["tools"] }] } }] }] }, "properties": { "model": { "type": "string", "enum": ["doubao-seedream-5-0-pro-260628", "doubao-seedream-5-0-lite-260128", "doubao-seedream-4-0-250828", "doubao-seedream-4-5-251128"] }, "prompt": { "type": "string" }, "image": { "oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" }, "maxItems": 14 }] }, "size": { "type": "string", "pattern": "^(1K|1\\.5K|2K|3K|4K|auto|[0-9]+x[0-9]+)$" }, "sequential_image_generation": { "type": "string", "enum": ["auto", "disabled"] }, "sequential_image_generation_options": { "type": "object", "properties": { "max_images": { "type": "integer", "minimum": 1, "maximum": 15 } } }, "stream": { "type": "boolean" }, "response_format": { "type": "string", "enum": ["url", "b64_json"] }, "watermark": { "type": "boolean" }, "output_format": { "type": "string", "enum": ["jpeg", "png"] }, "tools": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "enum": ["web_search"] } } } }, "optimize_prompt_options": { "anyOf": [{ "type": "object", "properties": { "mode": { "type": "string", "enum": ["standard", "fast"] } } }, { "type": "object", "properties": { "mode": { "enum": ["standard"] } } }] }, "callback_url": { "type": "string" }, "async": { "type": "boolean" }, "layer_decomposition": { "anyOf": [{ "type": "boolean" }, { "enum": [true] }] }, "background": { "type": "string", "enum": ["transparent", "opaque"] } }, "parameters": [], "defaults": { "model": "doubao-seedream-5-0-lite-260128", "size": "2K", "response_format": "url" }, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": true, "tool": { "label": "Seedream Generate Image", "description": "Generate image(s) with Ace Data Cloud Seedream 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": "Select a model currently supported by this API. Availability and pricing depend on the chosen model.", "enum": ["doubao-seedream-5-0-pro-260628", "doubao-seedream-5-0-lite-260128", "doubao-seedream-4-0-250828", "doubao-seedream-4-5-251128"], "default": "doubao-seedream-5-0-lite-260128" } }, { "name": "prompt", "required": false, "schema": { "type": "string", "description": "Text prompt used to generate the image(s)." } }, { "name": "image", "required": false, "schema": { "type": "string", "description": "Set image. Enter a JSON array or object where applicable." } }, { "name": "size", "required": false, "schema": { "type": "string", "description": "Optional image size like 1K/2K/4K or 2048x2048 depending on model.", "default": "2K" } }, { "name": "sequential_image_generation", "required": false, "schema": { "type": "string", "description": "Optional. Use disabled/auto depending on model support.", "enum": ["auto", "disabled"] } }, { "name": "sequential_image_generation_options", "required": false, "schema": { "type": "string", "description": "Set sequential image generation options. Enter a JSON object. Enter a JSON array or object where applicable." } }, { "name": "watermark", "required": false, "schema": { "type": "boolean", "description": "Optional. Add watermark or not." } }, { "name": "output_format", "required": false, "schema": { "type": "string", "description": "Seedream 5.0 Pro/Lite: jpeg or png.", "enum": ["jpeg", "png"] } }, { "name": "tools", "required": false, "schema": { "type": "string", "description": "Set tools. Enter a JSON array. Enter a JSON array or object where applicable." } }, { "name": "optimize_prompt_options", "required": false, "schema": { "type": "string", "description": "Set optimize prompt options. Enter a JSON object. Enter a JSON array or object where applicable." } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }, { "name": "layer_decomposition", "required": false, "schema": { "type": "boolean", "description": "Set layer decomposition for this operation." } }, { "name": "background", "required": false, "schema": { "type": "string", "description": "Set background.", "enum": ["transparent", "opaque"] } }] } },
|
|
8
|
+
"seedream_edit_image": { "method": "POST", "path": "/seedream/images", "operation": "edit", "schema": { "type": "object", "required": ["model"], "properties": { "model": { "type": "string", "enum": ["doubao-seedream-5-0-pro-260628", "doubao-seedream-5-0-lite-260128", "doubao-seedream-4-0-250828", "doubao-seedream-4-5-251128"] }, "prompt": { "type": "string" }, "image": { "oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" }, "maxItems": 14 }] }, "size": { "type": "string", "pattern": "^(1K|1\\.5K|2K|3K|4K|auto|[0-9]+x[0-9]+)$" }, "sequential_image_generation": { "type": "string", "enum": ["auto", "disabled"] }, "sequential_image_generation_options": { "type": "object", "properties": { "max_images": { "type": "integer", "minimum": 1, "maximum": 15 } } }, "stream": { "type": "boolean" }, "response_format": { "type": "string", "enum": ["url", "b64_json"] }, "watermark": { "type": "boolean" }, "output_format": { "type": "string", "enum": ["jpeg", "png"] }, "tools": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "enum": ["web_search"] } } } }, "optimize_prompt_options": { "type": "object", "properties": { "mode": { "type": "string", "enum": ["standard", "fast"] } } }, "callback_url": { "type": "string" }, "async": { "type": "boolean" }, "layer_decomposition": { "type": "boolean" }, "background": { "type": "string", "enum": ["transparent", "opaque"] } }, "allOf": [{ "oneOf": [{ "required": ["image", "layer_decomposition"], "properties": { "model": { "enum": ["doubao-seedream-5-0-pro-260628"] }, "layer_decomposition": { "enum": [true] }, "size": { "type": "string", "pattern": "^(auto|1K|1\\.5K|2K)$" } }, "not": { "anyOf": [{ "required": ["sequential_image_generation"] }, { "required": ["stream"] }, { "required": ["tools"] }, { "required": ["background"] }] } }, { "required": ["prompt"], "properties": { "model": { "enum": ["doubao-seedream-5-0-pro-260628"] }, "size": { "type": "string", "pattern": "^(1K|1\\.5K|2K|[0-9]+x[0-9]+)$" }, "image": { "oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" }, "maxItems": 10 }] } }, "not": { "anyOf": [{ "required": ["sequential_image_generation"] }, { "required": ["stream"] }, { "required": ["tools"] }] } }, { "required": ["prompt"], "properties": { "model": { "enum": ["doubao-seedream-5-0-lite-260128"] }, "size": { "type": "string", "pattern": "^(2K|3K|4K|[0-9]+x[0-9]+)$" }, "optimize_prompt_options": { "type": "object", "properties": { "mode": { "enum": ["standard"] } } } }, "not": { "anyOf": [{ "required": ["layer_decomposition"] }, { "required": ["background"] }] } }, { "required": ["prompt"], "properties": { "model": { "enum": ["doubao-seedream-4-0-250828", "doubao-seedream-4-5-251128"] } }, "not": { "anyOf": [{ "required": ["layer_decomposition"] }, { "required": ["background"] }, { "required": ["output_format"] }, { "required": ["tools"] }] } }] }] }, "properties": { "model": { "type": "string", "enum": ["doubao-seedream-5-0-pro-260628", "doubao-seedream-5-0-lite-260128", "doubao-seedream-4-0-250828", "doubao-seedream-4-5-251128"] }, "prompt": { "type": "string" }, "image": { "oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" }, "maxItems": 14 }] }, "size": { "type": "string", "pattern": "^(1K|1\\.5K|2K|3K|4K|auto|[0-9]+x[0-9]+)$" }, "sequential_image_generation": { "type": "string", "enum": ["auto", "disabled"] }, "sequential_image_generation_options": { "type": "object", "properties": { "max_images": { "type": "integer", "minimum": 1, "maximum": 15 } } }, "stream": { "type": "boolean" }, "response_format": { "type": "string", "enum": ["url", "b64_json"] }, "watermark": { "type": "boolean" }, "output_format": { "type": "string", "enum": ["jpeg", "png"] }, "tools": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "enum": ["web_search"] } } } }, "optimize_prompt_options": { "anyOf": [{ "type": "object", "properties": { "mode": { "type": "string", "enum": ["standard", "fast"] } } }, { "type": "object", "properties": { "mode": { "enum": ["standard"] } } }] }, "callback_url": { "type": "string" }, "async": { "type": "boolean" }, "layer_decomposition": { "anyOf": [{ "type": "boolean" }, { "enum": [true] }] }, "background": { "type": "string", "enum": ["transparent", "opaque"] } }, "parameters": [], "defaults": { "model": "doubao-seedream-5-0-lite-260128", "size": "2K", "response_format": "url" }, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": true, "tool": { "label": "Seedream Edit Image", "description": "Edit image(s) with Ace Data Cloud Seedream 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": "Select a model currently supported by this API. Availability and pricing depend on the chosen model.", "enum": ["doubao-seedream-5-0-pro-260628", "doubao-seedream-5-0-lite-260128", "doubao-seedream-4-0-250828", "doubao-seedream-4-5-251128"], "default": "doubao-seedream-5-0-lite-260128" } }, { "name": "prompt", "required": false, "schema": { "type": "string", "description": "Text prompt describing the edit." } }, { "name": "image", "required": false, "schema": { "type": "string", "description": "Set image. Enter a JSON array or object where applicable." } }, { "name": "size", "required": false, "schema": { "type": "string", "description": "Optional image size.", "default": "2K" } }, { "name": "sequential_image_generation", "required": false, "schema": { "type": "string", "description": "Optional. Use disabled/auto depending on model support.", "enum": ["auto", "disabled"] } }, { "name": "sequential_image_generation_options", "required": false, "schema": { "type": "string", "description": "Set sequential image generation options. Enter a JSON object. Enter a JSON array or object where applicable." } }, { "name": "watermark", "required": false, "schema": { "type": "boolean", "description": "Optional. Add watermark or not." } }, { "name": "output_format", "required": false, "schema": { "type": "string", "description": "Seedream 5.0 Pro/Lite: jpeg or png.", "enum": ["jpeg", "png"] } }, { "name": "tools", "required": false, "schema": { "type": "string", "description": "Set tools. Enter a JSON array. Enter a JSON array or object where applicable." } }, { "name": "optimize_prompt_options", "required": false, "schema": { "type": "string", "description": "Set optimize prompt options. Enter a JSON object. Enter a JSON array or object where applicable." } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }, { "name": "layer_decomposition", "required": false, "schema": { "type": "boolean", "description": "Set layer decomposition for this operation." } }, { "name": "background", "required": false, "schema": { "type": "string", "description": "Pro-only transparent or opaque background mode.", "enum": ["transparent", "opaque"] } }] } },
|
|
9
|
+
"seedream_decompose_image": { "method": "POST", "path": "/seedream/images", "operation": "decompose", "schema": { "type": "object", "required": ["model"], "properties": { "model": { "type": "string", "enum": ["doubao-seedream-5-0-pro-260628", "doubao-seedream-5-0-lite-260128", "doubao-seedream-4-0-250828", "doubao-seedream-4-5-251128"] }, "prompt": { "type": "string" }, "image": { "oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" }, "maxItems": 14 }] }, "size": { "type": "string", "pattern": "^(1K|1\\.5K|2K|3K|4K|auto|[0-9]+x[0-9]+)$" }, "sequential_image_generation": { "type": "string", "enum": ["auto", "disabled"] }, "sequential_image_generation_options": { "type": "object", "properties": { "max_images": { "type": "integer", "minimum": 1, "maximum": 15 } } }, "stream": { "type": "boolean" }, "response_format": { "type": "string", "enum": ["url", "b64_json"] }, "watermark": { "type": "boolean" }, "output_format": { "type": "string", "enum": ["jpeg", "png"] }, "tools": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "enum": ["web_search"] } } } }, "optimize_prompt_options": { "type": "object", "properties": { "mode": { "type": "string", "enum": ["standard", "fast"] } } }, "callback_url": { "type": "string" }, "async": { "type": "boolean" }, "layer_decomposition": { "type": "boolean" }, "background": { "type": "string", "enum": ["transparent", "opaque"] } }, "allOf": [{ "oneOf": [{ "required": ["image", "layer_decomposition"], "properties": { "model": { "enum": ["doubao-seedream-5-0-pro-260628"] }, "layer_decomposition": { "enum": [true] }, "size": { "type": "string", "pattern": "^(auto|1K|1\\.5K|2K)$" } }, "not": { "anyOf": [{ "required": ["sequential_image_generation"] }, { "required": ["stream"] }, { "required": ["tools"] }, { "required": ["background"] }] } }, { "required": ["prompt"], "properties": { "model": { "enum": ["doubao-seedream-5-0-pro-260628"] }, "size": { "type": "string", "pattern": "^(1K|1\\.5K|2K|[0-9]+x[0-9]+)$" }, "image": { "oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" }, "maxItems": 10 }] } }, "not": { "anyOf": [{ "required": ["sequential_image_generation"] }, { "required": ["stream"] }, { "required": ["tools"] }] } }, { "required": ["prompt"], "properties": { "model": { "enum": ["doubao-seedream-5-0-lite-260128"] }, "size": { "type": "string", "pattern": "^(2K|3K|4K|[0-9]+x[0-9]+)$" }, "optimize_prompt_options": { "type": "object", "properties": { "mode": { "enum": ["standard"] } } } }, "not": { "anyOf": [{ "required": ["layer_decomposition"] }, { "required": ["background"] }] } }, { "required": ["prompt"], "properties": { "model": { "enum": ["doubao-seedream-4-0-250828", "doubao-seedream-4-5-251128"] } }, "not": { "anyOf": [{ "required": ["layer_decomposition"] }, { "required": ["background"] }, { "required": ["output_format"] }, { "required": ["tools"] }] } }] }] }, "properties": { "model": { "type": "string", "enum": ["doubao-seedream-5-0-pro-260628", "doubao-seedream-5-0-lite-260128", "doubao-seedream-4-0-250828", "doubao-seedream-4-5-251128"] }, "prompt": { "type": "string" }, "image": { "oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" }, "maxItems": 14 }] }, "size": { "type": "string", "pattern": "^(1K|1\\.5K|2K|3K|4K|auto|[0-9]+x[0-9]+)$" }, "sequential_image_generation": { "type": "string", "enum": ["auto", "disabled"] }, "sequential_image_generation_options": { "type": "object", "properties": { "max_images": { "type": "integer", "minimum": 1, "maximum": 15 } } }, "stream": { "type": "boolean" }, "response_format": { "type": "string", "enum": ["url", "b64_json"] }, "watermark": { "type": "boolean" }, "output_format": { "type": "string", "enum": ["jpeg", "png"] }, "tools": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "enum": ["web_search"] } } } }, "optimize_prompt_options": { "anyOf": [{ "type": "object", "properties": { "mode": { "type": "string", "enum": ["standard", "fast"] } } }, { "type": "object", "properties": { "mode": { "enum": ["standard"] } } }] }, "callback_url": { "type": "string" }, "async": { "type": "boolean" }, "layer_decomposition": { "anyOf": [{ "type": "boolean" }, { "enum": [true] }] }, "background": { "type": "string", "enum": ["transparent", "opaque"] } }, "parameters": [], "defaults": { "model": "doubao-seedream-5-0-pro-260628", "size": "auto", "response_format": "url", "layer_decomposition": true }, "fixed": { "model": "doubao-seedream-5-0-pro-260628", "layer_decomposition": true }, "allow_empty": [], "query_actions": [], "media_response": true, "tool": { "label": "Seedream Decompose Image", "description": "Split one image into a base plus editable transparent layers. 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": "Optional elements or <bbox> regions; omit for automatic decomposition." } }, { "name": "image", "required": false, "schema": { "type": "string", "description": "Set image. Enter a JSON array or object where applicable." } }, { "name": "size", "required": false, "schema": { "type": "string", "description": "auto, 1K, 1.5K, or 2K.", "default": "auto" } }, { "name": "sequential_image_generation", "required": false, "schema": { "type": "string", "description": "Set sequential image generation.", "enum": ["auto", "disabled"] } }, { "name": "sequential_image_generation_options", "required": false, "schema": { "type": "string", "description": "Set sequential image generation options. Enter a JSON object. Enter a JSON array or object where applicable." } }, { "name": "watermark", "required": false, "schema": { "type": "boolean", "description": "Add an AI watermark." } }, { "name": "output_format", "required": false, "schema": { "type": "string", "description": "Base jpeg/png; layers are always PNG.", "enum": ["jpeg", "png"] } }, { "name": "tools", "required": false, "schema": { "type": "string", "description": "Set tools. Enter a JSON array. Enter a JSON array or object where applicable." } }, { "name": "optimize_prompt_options", "required": false, "schema": { "type": "string", "description": "Set optimize prompt options. Enter a JSON object. Enter a JSON array or object where applicable." } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }, { "name": "background", "required": false, "schema": { "type": "string", "description": "Set background.", "enum": ["transparent", "opaque"] } }] } },
|
|
10
|
+
"seedream_task_retrieve": { "method": "POST", "path": "/seedream/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": "Seedream 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
|
+
"seedream_tasks_retrieve_batch": { "method": "POST", "path": "/seedream/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": "Seedream 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." } }] } }
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "suno",
|
|
3
|
+
"label": "Suno",
|
|
4
|
+
"source": { "repository": "https://github.com/AceDataCloud/SunoDify", "commit": "f09cd32999426515f5c49431d32ff251449a48e1", "path": "tools/api_contracts.py" },
|
|
5
|
+
"taskPath": "/suno/tasks",
|
|
6
|
+
"endpoints": {
|
|
7
|
+
"suno_generate_audios": { "method": "POST", "path": "/suno/audios", "operation": "generate", "schema": { "type": "object", "properties": { "lyric": { "type": "string" }, "model": { "enum": ["chirp-v6", "chirp-v6-wild", "chirp-v6-mini", "chirp-v5-5", "chirp-v5", "chirp-v4-5-plus", "chirp-v4-5", "chirp-v4", "chirp-v3-5", "chirp-v3-0"], "type": "string" }, "max_mode": { "type": "boolean" }, "variety": { "enum": ["off", "normal", "high", "extra", "max"], "type": "string" }, "style": { "type": "string" }, "variation_category": { "type": "string", "enum": ["high", "normal", "subtle"] }, "title": { "type": "string" }, "action": { "enum": ["generate", "extend", "upload_extend", "upload_cover", "concat", "cover", "artist_consistency", "artist_consistency_vox", "stems", "all_stems", "add_stem", "extract_stem", "sounds", "adjust_speed", "replace_section", "underpainting", "overpainting", "remaster", "mashup", "samples", "inspo"], "type": "string" }, "custom": { "type": "boolean" }, "prompt": { "type": "string", "additionalProperties": true }, "lyric_prompt": { "type": "string" }, "audio_id": { "type": "string" }, "stem_type": { "type": "string", "enum": ["vocals", "backing_vocals", "drums", "bass", "guitar", "keyboard", "percussion", "strings", "synth", "fx", "brass", "woodwinds"] }, "audio_format": { "type": "string", "enum": ["mp3"] }, "sound": { "type": "string" }, "sound_type": { "type": "string", "enum": ["one-shot", "loop"] }, "bpm": { "type": "integer", "minimum": 1, "maximum": 300 }, "key": { "type": "string" }, "speed_multiplier": { "type": "number", "minimum": 0.25, "maximum": 4 }, "keep_pitch": { "type": "boolean" }, "mashup_audio_ids": { "type": "array", "items": { "type": "string" } }, "audio_urls": { "type": "array", "items": { "type": "string", "pattern": "^https?://" }, "minItems": 1, "maxItems": 4 }, "weirdness": { "type": "number", "minimum": 0, "maximum": 1 }, "persona_id": { "type": "string" }, "overpainting_start": { "type": "number" }, "overpainting_end": { "type": "number" }, "samples_start": { "type": "number" }, "samples_end": { "type": "number" }, "underpainting_start": { "type": "number" }, "underpainting_end": { "type": "number" }, "continue_at": { "type": "number" }, "callback_url": { "type": "string" }, "async": { "type": "boolean" }, "instrumental": { "type": "boolean" }, "vocal_gender": { "type": "string", "enum": ["f", "m"] }, "negative_tags": { "type": "string" }, "style_influence": { "type": "number", "minimum": 0, "maximum": 1 }, "audio_weight": { "type": "number", "minimum": 0, "maximum": 1 }, "duration": { "type": "integer", "minimum": 10, "maximum": 360 }, "replace_section_end": { "type": "number" }, "replace_section_result_mode": { "type": "string", "enum": ["candidates", "full_song"] }, "replace_section_start": { "type": "number" } } }, "properties": { "lyric": { "type": "string" }, "model": { "enum": ["chirp-v6", "chirp-v6-wild", "chirp-v6-mini", "chirp-v5-5", "chirp-v5", "chirp-v4-5-plus", "chirp-v4-5", "chirp-v4", "chirp-v3-5", "chirp-v3-0"], "type": "string" }, "max_mode": { "type": "boolean" }, "variety": { "enum": ["off", "normal", "high", "extra", "max"], "type": "string" }, "style": { "type": "string" }, "variation_category": { "type": "string", "enum": ["high", "normal", "subtle"] }, "title": { "type": "string" }, "action": { "enum": ["generate", "extend", "upload_extend", "upload_cover", "concat", "cover", "artist_consistency", "artist_consistency_vox", "stems", "all_stems", "add_stem", "extract_stem", "sounds", "adjust_speed", "replace_section", "underpainting", "overpainting", "remaster", "mashup", "samples", "inspo"], "type": "string" }, "custom": { "type": "boolean" }, "prompt": { "type": "string", "additionalProperties": true }, "lyric_prompt": { "type": "string" }, "audio_id": { "type": "string" }, "stem_type": { "type": "string", "enum": ["vocals", "backing_vocals", "drums", "bass", "guitar", "keyboard", "percussion", "strings", "synth", "fx", "brass", "woodwinds"] }, "audio_format": { "type": "string", "enum": ["mp3"] }, "sound": { "type": "string" }, "sound_type": { "type": "string", "enum": ["one-shot", "loop"] }, "bpm": { "type": "integer", "minimum": 1, "maximum": 300 }, "key": { "type": "string" }, "speed_multiplier": { "type": "number", "minimum": 0.25, "maximum": 4 }, "keep_pitch": { "type": "boolean" }, "mashup_audio_ids": { "type": "array", "items": { "type": "string" } }, "audio_urls": { "type": "array", "items": { "type": "string", "pattern": "^https?://" }, "minItems": 1, "maxItems": 4 }, "weirdness": { "type": "number", "minimum": 0, "maximum": 1 }, "persona_id": { "type": "string" }, "overpainting_start": { "type": "number" }, "overpainting_end": { "type": "number" }, "samples_start": { "type": "number" }, "samples_end": { "type": "number" }, "underpainting_start": { "type": "number" }, "underpainting_end": { "type": "number" }, "continue_at": { "type": "number" }, "callback_url": { "type": "string" }, "async": { "type": "boolean" }, "instrumental": { "type": "boolean" }, "vocal_gender": { "type": "string", "enum": ["f", "m"] }, "negative_tags": { "type": "string" }, "style_influence": { "type": "number", "minimum": 0, "maximum": 1 }, "audio_weight": { "type": "number", "minimum": 0, "maximum": 1 }, "duration": { "type": "integer", "minimum": 10, "maximum": 360 }, "replace_section_end": { "type": "number" }, "replace_section_result_mode": { "type": "string", "enum": ["candidates", "full_song"] }, "replace_section_start": { "type": "number" } }, "parameters": [], "defaults": { "model": "chirp-v6", "custom": false, "instrumental": false, "action": "generate" }, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Suno Generate Audios", "description": "Generate songs with Ace Data Cloud Suno Audios API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "lyric", "required": false, "schema": { "type": "string", "description": "Lyrics for custom mode; omit for instrumental music." } }, { "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": ["chirp-v6", "chirp-v6-wild", "chirp-v6-mini", "chirp-v5-5", "chirp-v5", "chirp-v4-5-plus", "chirp-v4-5", "chirp-v4", "chirp-v3-5", "chirp-v3-0"], "default": "chirp-v6" } }, { "name": "max_mode", "required": false, "schema": { "type": "boolean", "description": "Set max mode for this operation." } }, { "name": "variety", "required": false, "schema": { "type": "string", "description": "Set variety for this operation.", "enum": ["off", "normal", "high", "extra", "max"] } }, { "name": "style", "required": false, "schema": { "type": "string", "description": "Describe the genre, tempo and instruments." } }, { "name": "variation_category", "required": false, "schema": { "type": "string", "description": "Set variation category for this operation.", "enum": ["high", "normal", "subtle"] } }, { "name": "title", "required": false, "schema": { "type": "string", "description": "Title of the generated song." } }, { "name": "action", "required": false, "schema": { "type": "string", "description": "Set action for this operation.", "enum": ["generate", "extend", "upload_extend", "upload_cover", "concat", "cover", "artist_consistency", "artist_consistency_vox", "stems", "all_stems", "add_stem", "extract_stem", "sounds", "adjust_speed", "replace_section", "underpainting", "overpainting", "remaster", "mashup", "samples", "inspo"], "default": "generate" } }, { "name": "custom", "required": false, "schema": { "type": "boolean", "description": "Use style and custom lyrics when enabled; otherwise describe the song in the prompt.", "default": false } }, { "name": "prompt", "required": false, "schema": { "type": "string", "description": "Music description" } }, { "name": "lyric_prompt", "required": false, "schema": { "type": "string", "description": "Set lyric prompt for this operation." } }, { "name": "audio_id", "required": false, "schema": { "type": "string", "description": "Set audio id for this operation." } }, { "name": "stem_type", "required": false, "schema": { "type": "string", "description": "Set stem type for this operation.", "enum": ["vocals", "backing_vocals", "drums", "bass", "guitar", "keyboard", "percussion", "strings", "synth", "fx", "brass", "woodwinds"] } }, { "name": "audio_format", "required": false, "schema": { "type": "string", "description": "Set audio format for this operation.", "enum": ["mp3"] } }, { "name": "sound", "required": false, "schema": { "type": "string", "description": "Set sound for this operation." } }, { "name": "sound_type", "required": false, "schema": { "type": "string", "description": "Set sound type for this operation.", "enum": ["one-shot", "loop"] } }, { "name": "bpm", "required": false, "schema": { "type": "number", "description": "Set bpm for this operation.", "minimum": 1, "maximum": 300 } }, { "name": "key", "required": false, "schema": { "type": "string", "description": "Set key for this operation." } }, { "name": "speed_multiplier", "required": false, "schema": { "type": "number", "description": "Set speed multiplier for this operation.", "minimum": 0.25, "maximum": 4 } }, { "name": "keep_pitch", "required": false, "schema": { "type": "boolean", "description": "Set keep pitch for this operation." } }, { "name": "mashup_audio_ids", "required": false, "schema": { "type": "string", "description": "Set mashup audio ids for this operation. Enter a JSON array or object where applicable." } }, { "name": "audio_urls", "required": false, "schema": { "type": "string", "description": "Set audio urls for this operation. Enter a JSON array or object where applicable." } }, { "name": "weirdness", "required": false, "schema": { "type": "number", "description": "Set weirdness for this operation.", "minimum": 0, "maximum": 1 } }, { "name": "persona_id", "required": false, "schema": { "type": "string", "description": "Set persona id for this operation." } }, { "name": "overpainting_start", "required": false, "schema": { "type": "number", "description": "Set overpainting start for this operation." } }, { "name": "overpainting_end", "required": false, "schema": { "type": "number", "description": "Set overpainting end for this operation." } }, { "name": "samples_start", "required": false, "schema": { "type": "number", "description": "Set samples start for this operation." } }, { "name": "samples_end", "required": false, "schema": { "type": "number", "description": "Set samples end for this operation." } }, { "name": "underpainting_start", "required": false, "schema": { "type": "number", "description": "Set underpainting start for this operation." } }, { "name": "underpainting_end", "required": false, "schema": { "type": "number", "description": "Set underpainting end for this operation." } }, { "name": "continue_at", "required": false, "schema": { "type": "number", "description": "Set continue at for this operation." } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }, { "name": "instrumental", "required": false, "schema": { "type": "boolean", "description": "Generate instrumental music without vocals.", "default": false } }, { "name": "vocal_gender", "required": false, "schema": { "type": "string", "description": "Set vocal gender for this operation.", "enum": ["f", "m"] } }, { "name": "negative_tags", "required": false, "schema": { "type": "string", "description": "Set negative tags for this operation." } }, { "name": "style_influence", "required": false, "schema": { "type": "number", "description": "Set style influence for this operation.", "minimum": 0, "maximum": 1 } }, { "name": "audio_weight", "required": false, "schema": { "type": "number", "description": "Set audio weight for this operation.", "minimum": 0, "maximum": 1 } }, { "name": "duration", "required": false, "schema": { "type": "number", "description": "10–360 seconds; a target rather than a guaranteed output length.", "minimum": 10, "maximum": 360 } }, { "name": "replace_section_end", "required": false, "schema": { "type": "number", "description": "Set replace section end for this operation." } }, { "name": "replace_section_result_mode", "required": false, "schema": { "type": "string", "description": "Set replace section result mode for this operation.", "enum": ["candidates", "full_song"] } }, { "name": "replace_section_start", "required": false, "schema": { "type": "number", "description": "Set replace section start for this operation." } }] } },
|
|
8
|
+
"suno_generate_lyrics": { "method": "POST", "path": "/suno/lyrics", "operation": "request", "schema": { "type": "object", "required": ["prompt", "model"], "properties": { "model": { "enum": ["default", "remi-v1"], "type": "string" }, "prompt": { "type": "string", "additionalProperties": true } } }, "properties": { "model": { "enum": ["default", "remi-v1"], "type": "string" }, "prompt": { "type": "string", "additionalProperties": true } }, "parameters": [], "defaults": { "model": "default" }, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Suno Generate Lyrics", "description": "Generate Lyrics through the Ace Data Cloud Suno 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": "Select a model currently supported by this API. Availability and pricing depend on the chosen model.", "enum": ["default", "remi-v1"], "default": "default" } }, { "name": "prompt", "required": true, "schema": { "type": "string", "description": "Set prompt for this operation." } }] } },
|
|
9
|
+
"suno_upload_reference_audio": { "method": "POST", "path": "/suno/upload", "operation": "request", "schema": { "type": "object", "required": ["audio_url"], "properties": { "audio_url": { "type": "string" }, "mode": { "type": "string", "enum": ["standard", "enhanced"] }, "name": { "type": "string", "minLength": 1, "maxLength": 100 }, "callback_url": { "type": "string", "format": "uri" } } }, "properties": { "audio_url": { "type": "string" }, "mode": { "type": "string", "enum": ["standard", "enhanced"] }, "name": { "type": "string", "minLength": 1, "maxLength": 100 }, "callback_url": { "type": "string", "format": "uri" } }, "parameters": [], "defaults": {}, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Suno Upload Reference Audio", "description": "Upload Reference Audio through the Ace Data Cloud Suno API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "audio_url", "required": true, "schema": { "type": "string", "description": "Set audio url for this operation." } }, { "name": "mode", "required": false, "schema": { "type": "string", "description": "Set mode for this operation.", "enum": ["standard", "enhanced"] } }, { "name": "name", "required": false, "schema": { "type": "string", "description": "Set name for this operation." } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }] } },
|
|
10
|
+
"suno_get_mp4": { "method": "POST", "path": "/suno/mp4", "operation": "request", "schema": { "type": "object", "required": ["audio_id"], "properties": { "audio_id": { "type": "string" } } }, "properties": { "audio_id": { "type": "string" } }, "parameters": [], "defaults": {}, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Suno Get Mp4", "description": "Get Mp4 through the Ace Data Cloud Suno API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "audio_id", "required": true, "schema": { "type": "string", "description": "Set audio id for this operation." } }] } },
|
|
11
|
+
"suno_get_mp3": { "method": "POST", "path": "/suno/mp3", "operation": "request", "schema": { "type": "object", "required": ["audio_id"], "properties": { "audio_id": { "type": "string" }, "callback_url": { "type": "string" }, "async": { "type": "boolean" } } }, "properties": { "audio_id": { "type": "string" }, "callback_url": { "type": "string" }, "async": { "type": "boolean" } }, "parameters": [], "defaults": {}, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Suno Get Mp3", "description": "Get Mp3 through the Ace Data Cloud Suno API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "audio_id", "required": true, "schema": { "type": "string", "description": "Set audio id for this operation." } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }] } },
|
|
12
|
+
"suno_get_wav": { "method": "POST", "path": "/suno/wav", "operation": "request", "schema": { "type": "object", "required": ["audio_id"], "properties": { "audio_id": { "type": "string" }, "callback_url": { "type": "string" }, "async": { "type": "boolean" } } }, "properties": { "audio_id": { "type": "string" }, "callback_url": { "type": "string" }, "async": { "type": "boolean" } }, "parameters": [], "defaults": {}, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Suno Get Wav", "description": "Get Wav through the Ace Data Cloud Suno API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "audio_id", "required": true, "schema": { "type": "string", "description": "Set audio id for this operation." } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }] } },
|
|
13
|
+
"suno_get_midi": { "method": "POST", "path": "/suno/midi", "operation": "request", "schema": { "type": "object", "required": ["audio_id"], "properties": { "audio_id": { "type": "string" }, "callback_url": { "type": "string" }, "async": { "type": "boolean" } } }, "properties": { "audio_id": { "type": "string" }, "callback_url": { "type": "string" }, "async": { "type": "boolean" } }, "parameters": [], "defaults": {}, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Suno Get Midi", "description": "Get Midi through the Ace Data Cloud Suno API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "audio_id", "required": true, "schema": { "type": "string", "description": "Set audio id for this operation." } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }] } },
|
|
14
|
+
"suno_get_timing": { "method": "POST", "path": "/suno/timing", "operation": "request", "schema": { "type": "object", "required": ["audio_id"], "properties": { "audio_id": { "type": "string" } } }, "properties": { "audio_id": { "type": "string" } }, "parameters": [], "defaults": {}, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Suno Get Timing", "description": "Get Timing through the Ace Data Cloud Suno API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "audio_id", "required": true, "schema": { "type": "string", "description": "Set audio id for this operation." } }] } },
|
|
15
|
+
"suno_create_vox_audio": { "method": "POST", "path": "/suno/vox", "operation": "request", "schema": { "type": "object", "required": ["audio_id", "vocal_start", "vocal_end"], "properties": { "audio_id": { "type": "string" }, "vocal_start": { "type": "number", "minimum": 0 }, "vocal_end": { "type": "number", "exclusiveMinimum": 0 }, "callback_url": { "type": "string" }, "async": { "type": "boolean" } } }, "properties": { "audio_id": { "type": "string" }, "vocal_start": { "type": "number", "minimum": 0 }, "vocal_end": { "type": "number", "exclusiveMinimum": 0 }, "callback_url": { "type": "string" }, "async": { "type": "boolean" } }, "parameters": [], "defaults": {}, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Suno Create Vox Audio", "description": "Create Vox Audio through the Ace Data Cloud Suno API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "audio_id", "required": true, "schema": { "type": "string", "description": "Set audio id for this operation." } }, { "name": "vocal_start", "required": true, "schema": { "type": "number", "description": "Set vocal start for this operation.", "minimum": 0 } }, { "name": "vocal_end", "required": true, "schema": { "type": "number", "description": "Set vocal end for this operation." } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }] } },
|
|
16
|
+
"suno_enhance_style": { "method": "POST", "path": "/suno/style", "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": "Suno Enhance Style", "description": "Enhance Style through the Ace Data Cloud Suno 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." } }] } },
|
|
17
|
+
"suno_mashup_lyrics": { "method": "POST", "path": "/suno/mashup-lyrics", "operation": "request", "schema": { "type": "object", "required": ["lyrics_a", "lyrics_b"], "properties": { "lyrics_a": { "type": "string" }, "lyrics_b": { "type": "string" } } }, "properties": { "lyrics_a": { "type": "string" }, "lyrics_b": { "type": "string" } }, "parameters": [], "defaults": {}, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Suno Mashup Lyrics", "description": "Mashup Lyrics through the Ace Data Cloud Suno API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "lyrics_a", "required": true, "schema": { "type": "string", "description": "Set lyrics a for this operation." } }, { "name": "lyrics_b", "required": true, "schema": { "type": "string", "description": "Set lyrics b for this operation." } }] } },
|
|
18
|
+
"suno_create_voice": { "method": "POST", "path": "/suno/voices", "operation": "request", "schema": { "type": "object", "required": ["audio_url"], "properties": { "audio_url": { "type": "string" }, "name": { "type": "string" }, "description": { "type": "string" } } }, "properties": { "audio_url": { "type": "string" }, "name": { "type": "string" }, "description": { "type": "string" } }, "parameters": [], "defaults": {}, "fixed": {}, "allow_empty": [], "query_actions": ["retrieve", "retrieve_batch", "list", "presets"], "media_response": false, "tool": { "label": "Suno Create Voice", "description": "Create Voice through the Ace Data Cloud Suno API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "audio_url", "required": true, "schema": { "type": "string", "description": "Set audio url for this operation." } }, { "name": "name", "required": false, "schema": { "type": "string", "description": "Set name for this operation." } }, { "name": "description", "required": false, "schema": { "type": "string", "description": "Set description for this operation." } }] } },
|
|
19
|
+
"suno_create_persona": { "method": "POST", "path": "/suno/persona", "operation": "request", "schema": { "type": "object", "required": ["audio_id", "name"], "properties": { "name": { "type": "string" }, "audio_id": { "type": "string" }, "vox_audio_id": { "type": "string" }, "vocal_start": { "type": "number" }, "vocal_end": { "type": "number" }, "description": { "type": "string" } } }, "properties": { "name": { "type": "string" }, "audio_id": { "type": "string" }, "vox_audio_id": { "type": "string" }, "vocal_start": { "type": "number" }, "vocal_end": { "type": "number" }, "description": { "type": "string" } }, "parameters": [], "defaults": {}, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Suno Create Persona", "description": "Create Persona through the Ace Data Cloud Suno API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "name", "required": true, "schema": { "type": "string", "description": "Set name for this operation." } }, { "name": "audio_id", "required": true, "schema": { "type": "string", "description": "Set audio id for this operation." } }, { "name": "vox_audio_id", "required": false, "schema": { "type": "string", "description": "Set vox audio id for this operation." } }, { "name": "vocal_start", "required": false, "schema": { "type": "number", "description": "Set vocal start for this operation." } }, { "name": "vocal_end", "required": false, "schema": { "type": "number", "description": "Set vocal end for this operation." } }, { "name": "description", "required": false, "schema": { "type": "string", "description": "Set description for this operation." } }] } },
|
|
20
|
+
"suno_list_personas": { "method": "GET", "path": "/suno/persona", "operation": "request", "schema": { "type": "object", "properties": {} }, "properties": {}, "parameters": [{ "in": "query", "name": "user_id", "schema": { "type": "string" }, "required": true }, { "in": "query", "name": "limit", "schema": { "type": "integer" }, "required": false }, { "in": "query", "name": "offset", "schema": { "type": "integer" }, "required": false }], "defaults": {}, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Suno List Personas", "description": "List Personas through the Ace Data Cloud Suno API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "user_id", "required": true, "schema": { "type": "string", "description": "Set user id for this operation." } }, { "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." } }] } },
|
|
21
|
+
"suno_delete_persona": { "method": "DELETE", "path": "/suno/persona", "operation": "request", "schema": { "type": "object", "properties": {} }, "properties": {}, "parameters": [{ "in": "query", "name": "persona_id", "schema": { "type": "string" }, "required": true }, { "in": "query", "name": "user_id", "schema": { "type": "string" }, "required": false }], "defaults": {}, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "destructive": true, "tool": { "label": "Suno Delete Persona", "description": "Delete Persona through the Ace Data Cloud Suno API. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "persona_id", "required": true, "schema": { "type": "string", "description": "Set persona id for this operation." } }, { "name": "user_id", "required": false, "schema": { "type": "string", "description": "Set user id for this operation." } }, { "name": "confirm", "required": false, "schema": { "type": "boolean", "description": "Set true only to confirm the selected deletion or archive operation." } }] } },
|
|
22
|
+
"suno_custom_models": { "method": "POST", "path": "/suno/custom-models", "operation": "request", "schema": { "oneOf": [{ "type": "object", "additionalProperties": false, "required": ["action", "name", "audio_urls"], "properties": { "action": { "type": "string", "enum": ["create"] }, "name": { "type": "string", "minLength": 1, "maxLength": 100 }, "audio_urls": { "type": "array", "minItems": 6, "maxItems": 24, "uniqueItems": true, "items": { "type": "string", "format": "uri", "pattern": "^https://" } }, "callback_url": { "type": "string", "format": "uri", "pattern": "^https://" } } }, { "type": "object", "additionalProperties": false, "required": ["action", "id"], "properties": { "action": { "type": "string", "enum": ["generate"] }, "id": { "type": "string", "format": "uuid" }, "lyric": { "type": "string" }, "lyric_prompt": { "type": "string" }, "style": { "type": "string" }, "negative_tags": { "type": "string" }, "title": { "type": "string" }, "instrumental": { "type": "boolean" }, "vocal_gender": { "type": "string", "enum": ["f", "m"] }, "weirdness": { "type": "number", "minimum": 0, "maximum": 1 }, "style_influence": { "type": "number", "minimum": 0, "maximum": 1 }, "duration": { "type": "integer" }, "async": { "type": "boolean" }, "callback_url": { "type": "string", "format": "uri", "pattern": "^https://" } } }, { "type": "object", "additionalProperties": false, "required": ["action", "id"], "properties": { "action": { "type": "string", "enum": ["retrieve"] }, "id": { "type": "string", "format": "uuid" } } }, { "type": "object", "additionalProperties": false, "required": ["action"], "properties": { "action": { "type": "string", "enum": ["retrieve_batch"] }, "limit": { "type": "integer", "minimum": 1, "maximum": 100 }, "offset": { "type": "integer", "minimum": 0 }, "status": { "type": "string", "enum": ["queued", "uploading", "training", "ready", "failed", "archived"] } } }, { "type": "object", "additionalProperties": false, "required": ["action", "id"], "properties": { "action": { "type": "string", "enum": ["delete"] }, "id": { "type": "string", "format": "uuid" } } }], "discriminator": { "propertyName": "action" } }, "properties": { "action": { "type": "string", "enum": ["create", "generate", "retrieve", "retrieve_batch", "delete"] }, "name": { "type": "string", "minLength": 1, "maxLength": 100 }, "audio_urls": { "type": "array", "minItems": 6, "maxItems": 24, "uniqueItems": true, "items": { "type": "string", "format": "uri", "pattern": "^https://" } }, "callback_url": { "type": "string", "format": "uri", "pattern": "^https://" }, "id": { "type": "string", "format": "uuid" }, "lyric": { "type": "string" }, "lyric_prompt": { "type": "string" }, "style": { "type": "string" }, "negative_tags": { "type": "string" }, "title": { "type": "string" }, "instrumental": { "type": "boolean" }, "vocal_gender": { "type": "string", "enum": ["f", "m"] }, "weirdness": { "type": "number", "minimum": 0, "maximum": 1 }, "style_influence": { "type": "number", "minimum": 0, "maximum": 1 }, "duration": { "type": "integer" }, "async": { "type": "boolean" }, "limit": { "type": "integer", "minimum": 1, "maximum": 100 }, "offset": { "type": "integer", "minimum": 0 }, "status": { "type": "string", "enum": ["queued", "uploading", "training", "ready", "failed", "archived"] } }, "parameters": [{ "name": "Idempotency-Key", "in": "header", "required": false, "schema": { "type": "string", "minLength": 1, "maxLength": 128 } }], "defaults": { "action": "retrieve_batch" }, "fixed": {}, "allow_empty": [], "query_actions": ["retrieve", "retrieve_batch"], "media_response": false, "tool": { "label": "Suno Custom Models", "description": "Custom Models through the Ace Data Cloud Suno 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": ["create", "generate", "retrieve", "retrieve_batch", "delete"], "default": "retrieve_batch" } }, { "name": "name", "required": false, "schema": { "type": "string", "description": "Set name for this operation." } }, { "name": "audio_urls", "required": false, "schema": { "type": "string", "description": "Set audio urls for this operation. Enter a JSON array or object where applicable." } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }, { "name": "id", "required": false, "schema": { "type": "string", "description": "Set id for this operation." } }, { "name": "lyric", "required": false, "schema": { "type": "string", "description": "Set lyric for this operation." } }, { "name": "lyric_prompt", "required": false, "schema": { "type": "string", "description": "Set lyric prompt for this operation." } }, { "name": "style", "required": false, "schema": { "type": "string", "description": "Set style for this operation." } }, { "name": "negative_tags", "required": false, "schema": { "type": "string", "description": "Set negative tags for this operation." } }, { "name": "title", "required": false, "schema": { "type": "string", "description": "Set title for this operation." } }, { "name": "instrumental", "required": false, "schema": { "type": "boolean", "description": "Set instrumental for this operation." } }, { "name": "vocal_gender", "required": false, "schema": { "type": "string", "description": "Set vocal gender for this operation.", "enum": ["f", "m"] } }, { "name": "weirdness", "required": false, "schema": { "type": "number", "description": "Set weirdness for this operation.", "minimum": 0, "maximum": 1 } }, { "name": "style_influence", "required": false, "schema": { "type": "number", "description": "Set style influence for this operation.", "minimum": 0, "maximum": 1 } }, { "name": "duration", "required": false, "schema": { "type": "number", "description": "Set duration for this operation." } }, { "name": "limit", "required": false, "schema": { "type": "number", "description": "Set limit for this operation.", "minimum": 1, "maximum": 100 } }, { "name": "offset", "required": false, "schema": { "type": "number", "description": "Set offset for this operation.", "minimum": 0 } }, { "name": "status", "required": false, "schema": { "type": "string", "description": "Set status for this operation.", "enum": ["queued", "uploading", "training", "ready", "failed", "archived"] } }, { "name": "idempotency_key", "required": false, "schema": { "type": "string", "description": "Set idempotency key for this operation." } }, { "name": "confirm", "required": false, "schema": { "type": "boolean", "description": "Set true only to confirm the selected deletion or archive operation." } }] } },
|
|
23
|
+
"suno_projects": { "method": "POST", "path": "/suno/projects", "operation": "request", "schema": { "oneOf": [{ "type": "object", "required": ["action", "title"], "additionalProperties": false, "properties": { "action": { "type": "string", "enum": ["create"] }, "title": { "type": "string", "minLength": 1, "maxLength": 200 } } }, { "type": "object", "required": ["action", "id"], "additionalProperties": false, "properties": { "action": { "type": "string", "enum": ["retrieve"] }, "id": { "type": "string" } } }, { "type": "object", "required": ["action", "id", "state"], "additionalProperties": false, "properties": { "action": { "type": "string", "enum": ["save"] }, "id": { "type": "string" }, "version_id": { "type": "string" }, "title": { "type": "string" }, "state": { "type": "object", "additionalProperties": true } } }, { "type": "object", "required": ["action", "id", "version_id", "audio_url"], "additionalProperties": false, "properties": { "action": { "type": "string", "enum": ["upload"] }, "id": { "type": "string" }, "version_id": { "type": "string" }, "audio_url": { "type": "string", "pattern": "^https://" }, "async": { "type": "boolean" }, "callback_url": { "type": "string", "format": "uri" } } }, { "type": "object", "required": ["action", "id", "version_id", "audio_id"], "additionalProperties": false, "properties": { "action": { "type": "string", "enum": ["add_track"] }, "id": { "type": "string" }, "version_id": { "type": "string" }, "audio_id": { "type": "string" }, "name": { "type": "string" }, "start_beats": { "type": "number", "minimum": 0 }, "end_beats": { "type": "number", "minimum": 0 }, "gain": { "type": "number" } } }, { "type": "object", "required": ["action", "id", "version_id", "source_audio_id", "render_audio_id", "stem_control_tags", "model", "start_seconds", "end_seconds"], "additionalProperties": false, "properties": { "action": { "type": "string", "enum": ["generate_track"] }, "id": { "type": "string" }, "version_id": { "type": "string" }, "source_audio_id": { "type": "string" }, "model": { "type": "string", "enum": ["chirp-v3-5", "chirp-v4", "chirp-v4-5", "chirp-v4-5-plus", "chirp-v5", "chirp-v5-5", "chirp-v6", "chirp-v6-wild", "chirp-v6-mini"] }, "title": { "type": "string" }, "tags": { "type": "string" }, "prompt": { "type": "string" }, "start_seconds": { "type": "number", "minimum": 0 }, "end_seconds": { "type": "number", "exclusiveMinimum": 0 }, "async": { "type": "boolean" }, "callback_url": { "type": "string", "format": "uri" }, "render_audio_id": { "type": "string" }, "stem_control_tags": { "type": "string" }, "batch_size": { "type": "integer", "minimum": 1, "maximum": 4 } } }, { "type": "object", "required": ["action", "id", "version_id", "source_audio_id", "model", "start_seconds", "end_seconds"], "additionalProperties": false, "properties": { "action": { "type": "string", "enum": ["replace_section"] }, "id": { "type": "string" }, "version_id": { "type": "string" }, "source_audio_id": { "type": "string" }, "model": { "type": "string", "enum": ["chirp-v3-5", "chirp-v4", "chirp-v4-5", "chirp-v4-5-plus", "chirp-v5", "chirp-v5-5", "chirp-v6", "chirp-v6-wild", "chirp-v6-mini"] }, "title": { "type": "string" }, "tags": { "type": "string" }, "prompt": { "type": "string" }, "start_seconds": { "type": "number", "minimum": 0 }, "end_seconds": { "type": "number", "exclusiveMinimum": 0 }, "async": { "type": "boolean" }, "callback_url": { "type": "string", "format": "uri" }, "replacement_lyrics": { "type": "string" }, "fixed": { "type": "boolean" } } }, { "type": "object", "required": ["action", "id", "version_id", "operation_id", "candidate_id", "track_id"], "additionalProperties": false, "properties": { "action": { "type": "string", "enum": ["commit_candidate"] }, "id": { "type": "string" }, "version_id": { "type": "string" }, "operation_id": { "type": "string" }, "candidate_id": { "type": "string" }, "track_id": { "type": "string" }, "start_beats": { "type": "number", "minimum": 0 }, "end_beats": { "type": "number", "minimum": 0 }, "async": { "type": "boolean" }, "callback_url": { "type": "string", "format": "uri" } } }, { "type": "object", "required": ["action", "id", "version_id", "track_id"], "additionalProperties": false, "properties": { "action": { "type": "string", "enum": ["remove_track"] }, "id": { "type": "string" }, "version_id": { "type": "string" }, "track_id": { "type": "string" } } }, { "type": "object", "required": ["action", "id", "version_id", "title"], "additionalProperties": false, "properties": { "action": { "type": "string", "enum": ["render"] }, "id": { "type": "string" }, "version_id": { "type": "string" }, "title": { "type": "string" }, "lyrics": { "type": "string" }, "tags": { "type": "string" }, "start_beats": { "type": "number", "minimum": 0 }, "end_beats": { "type": "number", "minimum": 0 }, "async": { "type": "boolean" }, "callback_url": { "type": "string", "format": "uri" } } }], "discriminator": { "propertyName": "action" } }, "properties": { "action": { "type": "string", "enum": ["create", "retrieve", "save", "upload", "add_track", "generate_track", "replace_section", "commit_candidate", "remove_track", "render"] }, "title": { "type": "string", "minLength": 1, "maxLength": 200 }, "id": { "type": "string" }, "version_id": { "type": "string" }, "state": { "type": "object", "additionalProperties": true }, "audio_url": { "type": "string", "pattern": "^https://" }, "async": { "type": "boolean" }, "callback_url": { "type": "string", "format": "uri" }, "audio_id": { "type": "string" }, "name": { "type": "string" }, "start_beats": { "type": "number", "minimum": 0 }, "end_beats": { "type": "number", "minimum": 0 }, "gain": { "type": "number" }, "source_audio_id": { "type": "string" }, "model": { "type": "string", "enum": ["chirp-v3-5", "chirp-v4", "chirp-v4-5", "chirp-v4-5-plus", "chirp-v5", "chirp-v5-5", "chirp-v6", "chirp-v6-wild", "chirp-v6-mini"] }, "tags": { "type": "string" }, "prompt": { "type": "string" }, "start_seconds": { "type": "number", "minimum": 0 }, "end_seconds": { "type": "number", "exclusiveMinimum": 0 }, "render_audio_id": { "type": "string" }, "stem_control_tags": { "type": "string" }, "batch_size": { "type": "integer", "minimum": 1, "maximum": 4 }, "replacement_lyrics": { "type": "string" }, "fixed": { "type": "boolean" }, "operation_id": { "type": "string" }, "candidate_id": { "type": "string" }, "track_id": { "type": "string" }, "lyrics": { "type": "string" } }, "parameters": [{ "name": "Idempotency-Key", "in": "header", "required": false, "schema": { "type": "string", "minLength": 1, "maxLength": 128 } }], "defaults": { "action": "retrieve" }, "fixed": {}, "allow_empty": [], "query_actions": ["retrieve", "retrieve_batch", "list", "presets"], "media_response": false, "tool": { "label": "Suno Projects", "description": "Projects through the Ace Data Cloud Suno 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": ["create", "retrieve", "save", "upload", "add_track", "generate_track", "replace_section", "commit_candidate", "remove_track", "render"], "default": "retrieve" } }, { "name": "title", "required": false, "schema": { "type": "string", "description": "Set title for this operation." } }, { "name": "id", "required": false, "schema": { "type": "string", "description": "Set id for this operation." } }, { "name": "version_id", "required": false, "schema": { "type": "string", "description": "Set version id for this operation." } }, { "name": "state", "required": false, "schema": { "type": "string", "description": "Set state for this operation. Enter a JSON array or object where applicable." } }, { "name": "audio_url", "required": false, "schema": { "type": "string", "description": "Set audio url for this operation." } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }, { "name": "audio_id", "required": false, "schema": { "type": "string", "description": "Set audio id for this operation." } }, { "name": "name", "required": false, "schema": { "type": "string", "description": "Set name for this operation." } }, { "name": "start_beats", "required": false, "schema": { "type": "number", "description": "Set start beats for this operation.", "minimum": 0 } }, { "name": "end_beats", "required": false, "schema": { "type": "number", "description": "Set end beats for this operation.", "minimum": 0 } }, { "name": "gain", "required": false, "schema": { "type": "number", "description": "Set gain for this operation." } }, { "name": "source_audio_id", "required": false, "schema": { "type": "string", "description": "Set source audio id 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": ["chirp-v3-5", "chirp-v4", "chirp-v4-5", "chirp-v4-5-plus", "chirp-v5", "chirp-v5-5", "chirp-v6", "chirp-v6-wild", "chirp-v6-mini"] } }, { "name": "tags", "required": false, "schema": { "type": "string", "description": "Set tags for this operation." } }, { "name": "prompt", "required": false, "schema": { "type": "string", "description": "Set prompt for this operation." } }, { "name": "start_seconds", "required": false, "schema": { "type": "number", "description": "Set start seconds for this operation.", "minimum": 0 } }, { "name": "end_seconds", "required": false, "schema": { "type": "number", "description": "Set end seconds for this operation." } }, { "name": "render_audio_id", "required": false, "schema": { "type": "string", "description": "Set render audio id for this operation." } }, { "name": "stem_control_tags", "required": false, "schema": { "type": "string", "description": "Set stem control tags for this operation." } }, { "name": "batch_size", "required": false, "schema": { "type": "number", "description": "Set batch size for this operation.", "minimum": 1, "maximum": 4 } }, { "name": "replacement_lyrics", "required": false, "schema": { "type": "string", "description": "Set replacement lyrics for this operation." } }, { "name": "fixed", "required": false, "schema": { "type": "boolean", "description": "Set fixed for this operation." } }, { "name": "operation_id", "required": false, "schema": { "type": "string", "description": "Set operation id for this operation." } }, { "name": "candidate_id", "required": false, "schema": { "type": "string", "description": "Set candidate id for this operation." } }, { "name": "track_id", "required": false, "schema": { "type": "string", "description": "Set track id for this operation." } }, { "name": "lyrics", "required": false, "schema": { "type": "string", "description": "Set lyrics for this operation." } }, { "name": "idempotency_key", "required": false, "schema": { "type": "string", "description": "Set idempotency key for this operation." } }] } },
|
|
24
|
+
"suno_task_retrieve": { "method": "POST", "path": "/suno/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": "Suno 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 } }] } },
|
|
25
|
+
"suno_tasks_retrieve_batch": { "method": "POST", "path": "/suno/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": "Suno 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." } }] } }
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "veo",
|
|
3
|
+
"label": "Veo",
|
|
4
|
+
"source": { "repository": "https://github.com/AceDataCloud/VeoDify", "commit": "8384cffd7263d3370f79474d55413471853bab78", "path": "tools/api_contracts.py" },
|
|
5
|
+
"taskPath": "/veo/tasks",
|
|
6
|
+
"endpoints": {
|
|
7
|
+
"veo_generate_video": { "method": "POST", "path": "/veo/videos", "operation": "generate", "schema": { "type": "object", "required": ["action"], "properties": { "model": { "enum": ["veo3", "veo3-fast", "veo31-fast", "veo31", "veo31-fast-ingredients"], "type": "string" }, "resolution": { "enum": ["4k", "1080p", "gif"], "type": "string" }, "action": { "enum": ["text2video", "image2video", "ingredients2video", "get1080p"], "type": "string" }, "prompt": { "type": "string" }, "video_id": { "type": "string" }, "translation": { "type": "boolean" }, "aspect_ratio": { "enum": ["16:9", "9:16"], "type": "string" }, "image_urls": { "type": "array", "items": { "type": "string" } }, "callback_url": { "type": "string" }, "async": { "type": "boolean" } } }, "properties": { "model": { "enum": ["veo3", "veo3-fast", "veo31-fast", "veo31", "veo31-fast-ingredients"], "type": "string" }, "resolution": { "enum": ["4k", "1080p", "gif"], "type": "string" }, "action": { "enum": ["text2video", "image2video", "ingredients2video", "get1080p"], "type": "string" }, "prompt": { "type": "string" }, "video_id": { "type": "string" }, "translation": { "type": "boolean" }, "aspect_ratio": { "enum": ["16:9", "9:16"], "type": "string" }, "image_urls": { "type": "array", "items": { "type": "string" } }, "callback_url": { "type": "string" }, "async": { "type": "boolean" } }, "parameters": [], "defaults": { "model": "veo31-fast", "action": "text2video", "aspect_ratio": "16:9" }, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Veo Generate Video", "description": "Generate videos with Ace Data Cloud Veo 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": "model", "required": false, "schema": { "type": "string", "description": "Select a model currently supported by this API. Availability and pricing depend on the chosen model.", "enum": ["veo3", "veo3-fast", "veo31-fast", "veo31", "veo31-fast-ingredients"], "default": "veo31-fast" } }, { "name": "resolution", "required": false, "schema": { "type": "string", "description": "Optional output resolution.", "enum": ["4k", "1080p", "gif"] } }, { "name": "action", "required": false, "schema": { "type": "string", "description": "Choose how to generate the video.", "enum": ["text2video", "image2video", "ingredients2video", "get1080p"], "default": "text2video" } }, { "name": "prompt", "required": false, "schema": { "type": "string", "description": "Required for text2video and image2video." } }, { "name": "video_id", "required": false, "schema": { "type": "string", "description": "Required for get1080p." } }, { "name": "translation", "required": false, "schema": { "type": "boolean", "description": "Enable automatic prompt translation." } }, { "name": "aspect_ratio", "required": false, "schema": { "type": "string", "description": "Optional output aspect ratio.", "enum": ["16:9", "9:16"], "default": "16:9" } }, { "name": "image_urls", "required": false, "schema": { "type": "string", "description": "Required for image2video. Use 1-3 images (depending on model capability). Enter a JSON array. Enter a JSON array or object where applicable." } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }] } },
|
|
8
|
+
"veo_extend_video": { "method": "POST", "path": "/veo/extend", "operation": "request", "schema": { "type": "object", "required": ["video_id", "model"], "properties": { "video_id": { "type": "string" }, "model": { "type": "string", "enum": ["veo31-fast", "veo31"] }, "prompt": { "type": "string" }, "aspect_ratio": { "type": "string", "enum": ["16:9", "9:16"] }, "resolution": { "type": "string", "enum": ["720p", "1080p"] }, "callback_url": { "type": "string" }, "async": { "type": "boolean" } } }, "properties": { "video_id": { "type": "string" }, "model": { "type": "string", "enum": ["veo31-fast", "veo31"] }, "prompt": { "type": "string" }, "aspect_ratio": { "type": "string", "enum": ["16:9", "9:16"] }, "resolution": { "type": "string", "enum": ["720p", "1080p"] }, "callback_url": { "type": "string" }, "async": { "type": "boolean" } }, "parameters": [], "defaults": {}, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Veo Extend Video", "description": "Extend Video through the Ace Data Cloud Veo 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": true, "schema": { "type": "string", "description": "Set video id for this operation." } }, { "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": ["veo31-fast", "veo31"] } }, { "name": "prompt", "required": false, "schema": { "type": "string", "description": "Set prompt for this operation." } }, { "name": "aspect_ratio", "required": false, "schema": { "type": "string", "description": "Aspect ratio of the extended video.", "enum": ["16:9", "9:16"] } }, { "name": "resolution", "required": false, "schema": { "type": "string", "description": "Optional output resolution.", "enum": ["720p", "1080p"] } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }] } },
|
|
9
|
+
"veo_edit_objects": { "method": "POST", "path": "/veo/objects", "operation": "request", "schema": { "type": "object", "required": ["video_id", "action"], "properties": { "action": { "type": "string", "enum": ["insert", "remove"] }, "video_id": { "type": "string" }, "prompt": { "type": "string" }, "image_mask": { "type": "string" }, "callback_url": { "type": "string" }, "async": { "type": "boolean" } } }, "properties": { "action": { "type": "string", "enum": ["insert", "remove"] }, "video_id": { "type": "string" }, "prompt": { "type": "string" }, "image_mask": { "type": "string" }, "callback_url": { "type": "string" }, "async": { "type": "boolean" } }, "parameters": [], "defaults": {}, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Veo Edit Objects", "description": "Edit Objects through the Ace Data Cloud Veo 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": true, "schema": { "type": "string", "description": "Set action for this operation.", "enum": ["insert", "remove"] } }, { "name": "video_id", "required": true, "schema": { "type": "string", "description": "Set video id for this operation." } }, { "name": "prompt", "required": false, "schema": { "type": "string", "description": "Set prompt for this operation." } }, { "name": "image_mask", "required": false, "schema": { "type": "string", "description": "Set image mask for this operation." } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }] } },
|
|
10
|
+
"veo_reshoot_video": { "method": "POST", "path": "/veo/reshoot", "operation": "request", "schema": { "type": "object", "required": ["video_id", "motion_type"], "properties": { "video_id": { "type": "string" }, "motion_type": { "type": "string", "enum": ["STATIONARY", "STATIONARY_UP", "STATIONARY_DOWN", "STATIONARY_LEFT", "STATIONARY_RIGHT", "STATIONARY_DOLLY_IN_ZOOM_OUT", "STATIONARY_DOLLY_OUT_ZOOM_IN", "UP", "DOWN", "LEFT_TO_RIGHT", "RIGHT_TO_LEFT", "FORWARD", "BACKWARD", "DOLLY_IN_ZOOM_OUT", "DOLLY_OUT_ZOOM_IN"] }, "callback_url": { "type": "string" }, "async": { "type": "boolean" } } }, "properties": { "video_id": { "type": "string" }, "motion_type": { "type": "string", "enum": ["STATIONARY", "STATIONARY_UP", "STATIONARY_DOWN", "STATIONARY_LEFT", "STATIONARY_RIGHT", "STATIONARY_DOLLY_IN_ZOOM_OUT", "STATIONARY_DOLLY_OUT_ZOOM_IN", "UP", "DOWN", "LEFT_TO_RIGHT", "RIGHT_TO_LEFT", "FORWARD", "BACKWARD", "DOLLY_IN_ZOOM_OUT", "DOLLY_OUT_ZOOM_IN"] }, "callback_url": { "type": "string" }, "async": { "type": "boolean" } }, "parameters": [], "defaults": {}, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Veo Reshoot Video", "description": "Reshoot Video through the Ace Data Cloud Veo 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": true, "schema": { "type": "string", "description": "Set video id for this operation." } }, { "name": "motion_type", "required": true, "schema": { "type": "string", "description": "Set motion type for this operation.", "enum": ["STATIONARY", "STATIONARY_UP", "STATIONARY_DOWN", "STATIONARY_LEFT", "STATIONARY_RIGHT", "STATIONARY_DOLLY_IN_ZOOM_OUT", "STATIONARY_DOLLY_OUT_ZOOM_IN", "UP", "DOWN", "LEFT_TO_RIGHT", "RIGHT_TO_LEFT", "FORWARD", "BACKWARD", "DOLLY_IN_ZOOM_OUT", "DOLLY_OUT_ZOOM_IN"] } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }] } },
|
|
11
|
+
"veo_upsample_video": { "method": "POST", "path": "/veo/upsample", "operation": "request", "schema": { "type": "object", "required": ["video_id", "action"], "properties": { "action": { "type": "string", "enum": ["1080p", "4k", "gif"] }, "video_id": { "type": "string" }, "callback_url": { "type": "string" }, "async": { "type": "boolean" } } }, "properties": { "action": { "type": "string", "enum": ["1080p", "4k", "gif"] }, "video_id": { "type": "string" }, "callback_url": { "type": "string" }, "async": { "type": "boolean" } }, "parameters": [], "defaults": {}, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Veo Upsample Video", "description": "Upsample Video through the Ace Data Cloud Veo 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": true, "schema": { "type": "string", "description": "Set action for this operation.", "enum": ["1080p", "4k", "gif"] } }, { "name": "video_id", "required": true, "schema": { "type": "string", "description": "Set video id for this operation." } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }] } },
|
|
12
|
+
"veo_task_retrieve": { "method": "POST", "path": "/veo/tasks", "operation": "task", "schema": { "type": "object", "properties": { "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" } }, "action": { "enum": ["retrieve", "retrieve_batch"], "type": "string" }, "trace_id": { "type": "string", "format": "uuid" }, "trace_ids": { "type": "array", "items": { "type": "string", "format": "uuid" } }, "offset": { "type": "integer", "minimum": 0 }, "limit": { "type": "integer", "minimum": 1 }, "type": { "type": "string" }, "created_at_min": { "type": "number", "format": "double" }, "created_at_max": { "type": "number", "format": "double" } }, "required": ["action"] }, "properties": { "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" } }, "action": { "enum": ["retrieve", "retrieve_batch"], "type": "string" }, "trace_id": { "type": "string", "format": "uuid" }, "trace_ids": { "type": "array", "items": { "type": "string", "format": "uuid" } }, "offset": { "type": "integer", "minimum": 0 }, "limit": { "type": "integer", "minimum": 1 }, "type": { "type": "string" }, "created_at_min": { "type": "number", "format": "double" }, "created_at_max": { "type": "number", "format": "double" } }, "parameters": [], "defaults": { "wait_seconds": 0 }, "fixed": {}, "allow_empty": [], "query_actions": ["retrieve", "retrieve_batch", "list", "presets"], "media_response": false, "tool": { "label": "Veo 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." } }] } },
|
|
13
|
+
"veo_tasks_retrieve_batch": { "method": "POST", "path": "/veo/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" }, "trace_id": { "type": "string", "format": "uuid" }, "trace_ids": { "type": "array", "items": { "type": "string", "format": "uuid" } }, "offset": { "type": "integer", "minimum": 0 }, "limit": { "type": "integer", "minimum": 1 }, "type": { "type": "string" }, "created_at_min": { "type": "number", "format": "double" }, "created_at_max": { "type": "number", "format": "double" } }, "required": ["action"] }, "properties": { "id": { "type": "string" }, "ids": { "type": "array", "items": { "type": "string" }, "minItems": 1 }, "action": { "enum": ["retrieve", "retrieve_batch"], "type": "string" }, "trace_id": { "type": "string", "format": "uuid" }, "trace_ids": { "type": "array", "items": { "type": "string", "format": "uuid" } }, "offset": { "type": "integer", "minimum": 0 }, "limit": { "type": "integer", "minimum": 1 }, "type": { "type": "string" }, "created_at_min": { "type": "number", "format": "double" }, "created_at_max": { "type": "number", "format": "double" } }, "parameters": [], "defaults": {}, "fixed": { "action": "retrieve_batch" }, "allow_empty": [], "query_actions": ["retrieve", "retrieve_batch", "list", "presets"], "media_response": false, "tool": { "label": "Veo Retrieve Tasks", "description": "Query existing task IDs. Each item retains its own terminal or pending status.", "input": [{ "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_id", "required": false, "schema": { "type": "string", "description": "Set trace id for this operation." } }, { "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.", "minimum": 0 } }, { "name": "limit", "required": false, "schema": { "type": "number", "description": "Set limit for this operation.", "minimum": 1 } }, { "name": "type", "required": false, "schema": { "type": "string", "description": "Set type 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." } }] } }
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "wan",
|
|
3
|
+
"label": "Wan",
|
|
4
|
+
"source": { "repository": "https://github.com/AceDataCloud/WanDify", "commit": "21c1b95b008bf530da9d700cbff1774296f5c644", "path": "tools/api_contracts.py" },
|
|
5
|
+
"taskPath": "/wan/tasks",
|
|
6
|
+
"endpoints": {
|
|
7
|
+
"wan_generate_video": { "method": "POST", "path": "/wan/videos", "operation": "generate", "schema": { "type": "object", "required": ["model"], "properties": { "audio": { "type": "boolean" }, "prompt_extend": { "type": "boolean" }, "action": { "enum": ["text2video", "image2video"], "type": "string" }, "resolution": { "enum": ["480P", "720P", "1080P"], "type": "string" }, "shot_type": { "enum": ["single", "multi"], "type": "string" }, "duration": { "type": "number", "oneOf": [{ "type": "integer", "minimum": 2, "maximum": 30 }, { "type": "integer", "enum": [-1] }] }, "prompt": { "type": "string" }, "negative_prompt": { "type": "string" }, "size": { "type": "string" }, "audio_url": { "type": "string" }, "reference_video_urls": { "type": "array", "minItems": 1, "items": { "type": "string", "format": "uri" } }, "model": { "enum": ["wan2.6-i2v", "wan2.6-r2v", "wan2.6-i2v-flash", "wan2.6-t2v", "wan3.0-video"], "type": "string" }, "callback_url": { "type": "string" }, "async": { "type": "boolean" }, "image_url": { "type": "string" }, "media": { "type": "array", "maxItems": 10, "items": { "type": "object", "required": ["type", "url"], "properties": { "type": { "type": "string", "enum": ["first_frame", "last_frame", "reference_image", "reference_video", "reference_audio", "file", "link"] }, "url": { "type": "string" } } } }, "ratio": { "type": "string", "enum": ["adaptive", "16:9", "4:3", "1:1", "3:4", "9:16"] }, "seed": { "type": "integer", "minimum": 0, "maximum": 2147483647 }, "watermark": { "type": "boolean" } } }, "properties": { "audio": { "type": "boolean" }, "prompt_extend": { "type": "boolean" }, "action": { "enum": ["text2video", "image2video"], "type": "string" }, "resolution": { "enum": ["480P", "720P", "1080P"], "type": "string" }, "shot_type": { "enum": ["single", "multi"], "type": "string" }, "duration": { "type": "number", "oneOf": [{ "type": "integer", "minimum": 2, "maximum": 30 }, { "type": "integer", "enum": [-1] }] }, "prompt": { "type": "string" }, "negative_prompt": { "type": "string" }, "size": { "type": "string" }, "audio_url": { "type": "string" }, "reference_video_urls": { "type": "array", "minItems": 1, "items": { "type": "string", "format": "uri" } }, "model": { "enum": ["wan2.6-i2v", "wan2.6-r2v", "wan2.6-i2v-flash", "wan2.6-t2v", "wan3.0-video"], "type": "string" }, "callback_url": { "type": "string" }, "async": { "type": "boolean" }, "image_url": { "type": "string" }, "media": { "type": "array", "maxItems": 10, "items": { "type": "object", "required": ["type", "url"], "properties": { "type": { "type": "string", "enum": ["first_frame", "last_frame", "reference_image", "reference_video", "reference_audio", "file", "link"] }, "url": { "type": "string" } } } }, "ratio": { "type": "string", "enum": ["adaptive", "16:9", "4:3", "1:1", "3:4", "9:16"] }, "seed": { "type": "integer", "minimum": 0, "maximum": 2147483647 }, "watermark": { "type": "boolean" } }, "parameters": [], "defaults": { "model": "wan2.6-t2v", "action": "text2video", "duration": 5, "resolution": "720P" }, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Wan Generate Video", "description": "Generate a video with Ace Data Cloud Wan (Alibaba) 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": "audio", "required": false, "schema": { "type": "boolean", "description": "Whether the generated video should include audio. Default false." } }, { "name": "prompt_extend", "required": false, "schema": { "type": "boolean", "description": "Enable LLM-based prompt rewriting for better results." } }, { "name": "action", "required": false, "schema": { "type": "string", "description": "Choose how to generate the video.", "enum": ["text2video", "image2video"], "default": "text2video" } }, { "name": "resolution", "required": false, "schema": { "type": "string", "description": "Set resolution; supported combinations are described by the current API.", "enum": ["480P", "720P", "1080P"], "default": "720P" } }, { "name": "shot_type", "required": false, "schema": { "type": "string", "description": "Optional shot type.", "enum": ["single", "multi"] } }, { "name": "duration", "required": false, "schema": { "type": "number", "description": "Duration. Wan 2.6 supports 5, 10, or 15 seconds; wan3.0-video supports integer 2–30 seconds or -1 smart duration. Final billing uses actual output seconds plus reference-video input seconds.", "default": 5 } }, { "name": "prompt", "required": false, "schema": { "type": "string", "description": "Description of the scene, motion, and style." } }, { "name": "negative_prompt", "required": false, "schema": { "type": "string", "description": "Content to exclude (max 500 characters)." } }, { "name": "size", "required": false, "schema": { "type": "string", "description": "Optional explicit pixel size (e.g. 1280x720)." } }, { "name": "audio_url", "required": false, "schema": { "type": "string", "description": "Optional reference audio used when audio is enabled." } }, { "name": "reference_video_urls", "required": false, "schema": { "type": "string", "description": "Comma-separated URLs of reference videos (for wan2.6-r2v). Enter a JSON array. Enter a JSON array or object where applicable." } }, { "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": ["wan2.6-i2v", "wan2.6-r2v", "wan2.6-i2v-flash", "wan2.6-t2v", "wan3.0-video"], "default": "wan2.6-t2v" } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }, { "name": "image_url", "required": false, "schema": { "type": "string", "description": "Required for image2video." } }, { "name": "media", "required": false, "schema": { "type": "string", "description": "Wan 3 media array supporting first_frame, last_frame, reference_image, reference_video, reference_audio, file, and link. Reference-video billing uses input plus output video seconds. Enter a JSON array or object where applicable." } }, { "name": "ratio", "required": false, "schema": { "type": "string", "description": "Wan 3 output aspect ratio.", "enum": ["adaptive", "16:9", "4:3", "1:1", "3:4", "9:16"] } }, { "name": "seed", "required": false, "schema": { "type": "number", "description": "Wan 3 random seed.", "minimum": 0, "maximum": 2147483647 } }, { "name": "watermark", "required": false, "schema": { "type": "boolean", "description": "Whether Wan 3 adds a watermark." } }] } },
|
|
8
|
+
"wan3_generate": { "method": "POST", "path": "/wan/videos", "operation": "wan3", "schema": { "type": "object", "required": ["model"], "properties": { "audio": { "type": "boolean" }, "prompt_extend": { "type": "boolean" }, "action": { "enum": ["text2video", "image2video"], "type": "string" }, "resolution": { "enum": ["480P", "720P", "1080P"], "type": "string" }, "shot_type": { "enum": ["single", "multi"], "type": "string" }, "duration": { "type": "number", "oneOf": [{ "type": "integer", "minimum": 2, "maximum": 30 }, { "type": "integer", "enum": [-1] }] }, "prompt": { "type": "string" }, "negative_prompt": { "type": "string" }, "size": { "type": "string" }, "audio_url": { "type": "string" }, "reference_video_urls": { "type": "array", "minItems": 1, "items": { "type": "string", "format": "uri" } }, "model": { "enum": ["wan2.6-i2v", "wan2.6-r2v", "wan2.6-i2v-flash", "wan2.6-t2v", "wan3.0-video"], "type": "string" }, "callback_url": { "type": "string" }, "async": { "type": "boolean" }, "image_url": { "type": "string" }, "media": { "type": "array", "maxItems": 10, "items": { "type": "object", "required": ["type", "url"], "properties": { "type": { "type": "string", "enum": ["first_frame", "last_frame", "reference_image", "reference_video", "reference_audio", "file", "link"] }, "url": { "type": "string" } } } }, "ratio": { "type": "string", "enum": ["adaptive", "16:9", "4:3", "1:1", "3:4", "9:16"] }, "seed": { "type": "integer", "minimum": 0, "maximum": 2147483647 }, "watermark": { "type": "boolean" } } }, "properties": { "audio": { "type": "boolean" }, "prompt_extend": { "type": "boolean" }, "action": { "enum": ["text2video", "image2video"], "type": "string" }, "resolution": { "enum": ["480P", "720P", "1080P"], "type": "string" }, "shot_type": { "enum": ["single", "multi"], "type": "string" }, "duration": { "type": "number", "oneOf": [{ "type": "integer", "minimum": 2, "maximum": 30 }, { "type": "integer", "enum": [-1] }] }, "prompt": { "type": "string" }, "negative_prompt": { "type": "string" }, "size": { "type": "string" }, "audio_url": { "type": "string" }, "reference_video_urls": { "type": "array", "minItems": 1, "items": { "type": "string", "format": "uri" } }, "model": { "enum": ["wan2.6-i2v", "wan2.6-r2v", "wan2.6-i2v-flash", "wan2.6-t2v", "wan3.0-video"], "type": "string" }, "callback_url": { "type": "string" }, "async": { "type": "boolean" }, "image_url": { "type": "string" }, "media": { "type": "array", "maxItems": 10, "items": { "type": "object", "required": ["type", "url"], "properties": { "type": { "type": "string", "enum": ["first_frame", "last_frame", "reference_image", "reference_video", "reference_audio", "file", "link"] }, "url": { "type": "string" } } } }, "ratio": { "type": "string", "enum": ["adaptive", "16:9", "4:3", "1:1", "3:4", "9:16"] }, "seed": { "type": "integer", "minimum": 0, "maximum": 2147483647 }, "watermark": { "type": "boolean" } }, "parameters": [], "defaults": { "model": "wan3.0-video", "action": "text2video", "duration": 5, "resolution": "720P" }, "fixed": {}, "allow_empty": [], "query_actions": [], "media_response": false, "tool": { "label": "Wan 3 Generate", "description": "Generate video from text or multimodal references. For asynchronous results, preserve task_id and use the task retrieval tool until completion. A successful submission is not completed output.", "input": [{ "name": "audio", "required": false, "schema": { "type": "boolean", "description": "Include audio." } }, { "name": "prompt_extend", "required": false, "schema": { "type": "boolean", "description": "Set prompt extend." } }, { "name": "action", "required": false, "schema": { "type": "string", "description": "Set action.", "enum": ["text2video", "image2video"], "default": "text2video" } }, { "name": "resolution", "required": false, "schema": { "type": "string", "description": "Output resolution.", "enum": ["480P", "720P", "1080P"], "default": "720P" } }, { "name": "shot_type", "required": false, "schema": { "type": "string", "description": "Set shot type.", "enum": ["single", "multi"] } }, { "name": "duration", "required": false, "schema": { "type": "number", "description": "Duration. Wan 2.6 supports 5, 10, or 15 seconds; wan3.0-video supports integer 2–30 seconds or -1 smart duration. Final billing uses actual output seconds plus reference-video input seconds.", "default": 5 } }, { "name": "prompt", "required": false, "schema": { "type": "string", "description": "Video instruction." } }, { "name": "negative_prompt", "required": false, "schema": { "type": "string", "description": "Set negative prompt." } }, { "name": "size", "required": false, "schema": { "type": "string", "description": "Set size." } }, { "name": "audio_url", "required": false, "schema": { "type": "string", "description": "Set audio url." } }, { "name": "reference_video_urls", "required": false, "schema": { "type": "string", "description": "Set reference video urls. Enter a JSON array. Enter a JSON array or object where applicable." } }, { "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": ["wan2.6-i2v", "wan2.6-r2v", "wan2.6-i2v-flash", "wan2.6-t2v", "wan3.0-video"], "default": "wan3.0-video" } }, { "name": "callback_url", "required": false, "schema": { "type": "string", "description": "Set callback url for this operation." } }, { "name": "image_url", "required": false, "schema": { "type": "string", "description": "Set image url." } }, { "name": "media", "required": false, "schema": { "type": "string", "description": "Wan 3 media array supporting first_frame, last_frame, reference_image, reference_video, reference_audio, file, and link. Reference-video billing uses input plus output video seconds. Enter a JSON array or object where applicable." } }, { "name": "ratio", "required": false, "schema": { "type": "string", "description": "Wan 3 output aspect ratio.", "enum": ["adaptive", "16:9", "4:3", "1:1", "3:4", "9:16"] } }, { "name": "seed", "required": false, "schema": { "type": "number", "description": "Wan 3 random seed.", "minimum": 0, "maximum": 2147483647 } }, { "name": "watermark", "required": false, "schema": { "type": "boolean", "description": "Whether Wan 3 adds a watermark." } }] } },
|
|
9
|
+
"wan_task_retrieve": { "method": "POST", "path": "/wan/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": "Wan 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
|
+
"wan_tasks_retrieve_batch": { "method": "POST", "path": "/wan/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": "Wan 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,25 @@
|
|
|
1
|
+
import type { OpenClawPluginApi } from "openclaw/plugin-sdk/plugin-entry";
|
|
2
|
+
import { type Endpoint } from "./catalog.js";
|
|
3
|
+
type ImageProvider = Parameters<OpenClawPluginApi["registerImageGenerationProvider"]>[0];
|
|
4
|
+
type VideoProvider = Parameters<OpenClawPluginApi["registerVideoGenerationProvider"]>[0];
|
|
5
|
+
type ImageRequest = Parameters<ImageProvider["generateImage"]>[0];
|
|
6
|
+
type VideoRequest = Parameters<VideoProvider["generateVideo"]>[0];
|
|
7
|
+
type Values = Record<string, unknown>;
|
|
8
|
+
export declare const IMAGE_OPERATIONS: Record<string, [string, string | null]>;
|
|
9
|
+
export declare const VIDEO_OPERATIONS: Record<string, string>;
|
|
10
|
+
export declare const providerId: (service: string) => string;
|
|
11
|
+
export declare function operationModels(endpoint: Endpoint): string[];
|
|
12
|
+
export declare function downloadAsset(url: string, kind: "image" | "audio", timeoutMs?: number): Promise<{
|
|
13
|
+
buffer: Buffer;
|
|
14
|
+
mimeType: string;
|
|
15
|
+
}>;
|
|
16
|
+
export declare function mapImageRequest(service: string, req: ImageRequest): {
|
|
17
|
+
tool: string;
|
|
18
|
+
params: Values;
|
|
19
|
+
};
|
|
20
|
+
export declare function mapVideoRequest(service: string, req: VideoRequest): {
|
|
21
|
+
tool: string;
|
|
22
|
+
params: Values;
|
|
23
|
+
};
|
|
24
|
+
export declare function registerMediaProviders(api: OpenClawPluginApi): void;
|
|
25
|
+
export {};
|