{"ok":true,"data":{"schemaVersion":"1.0","generatedAt":"2026-12-03T02:58:36.439Z","origin":"https://pikso-assets.vm.tooqing.com","service":{"name":"PiksoResourcePlatform","version":"0.1.0","description":"Pikso 2D 角色装扮、场景物件、动作动画、视频/透明序列帧导出与资源画布管理平台（支持免登录公开卡片 API 与 Remote MCP Streamable HTTP）。","catalogTotal":0,"catalogSource":"unknown","sampleCardId":"default","actionCount":76,"ffmpegAvailable":true,"devLoginEnabled":false},"quickUrls":{"agentGuidePage":"https://pikso-assets.vm.tooqing.com/agent","llmsTxt":"https://pikso-assets.vm.tooqing.com/llms.txt","agentGuideJson":"https://pikso-assets.vm.tooqing.com/api/v1/agent/guide","mcpEndpoint":"https://pikso-assets.vm.tooqing.com/mcp","oauthMetadata":"https://pikso-assets.vm.tooqing.com/.well-known/oauth-authorization-server","oauthProtectedResource":"https://pikso-assets.vm.tooqing.com/.well-known/oauth-protected-resource","characterCardPage":"https://pikso-assets.vm.tooqing.com/cards/character?id=default","objectCardPage":"https://pikso-assets.vm.tooqing.com/cards/object?key=system_resource%3A4017992","outfitsManifest":"https://pikso-assets.vm.tooqing.com/api/v1/cards/outfits?page=1&pageSize=20","objectsManifest":"https://pikso-assets.vm.tooqing.com/api/v1/cards/objects?cached=parsed&page=1&pageSize=20"},"auth":{"publicPrefix":["/agent","/llms.txt","/api/v1/agent/guide","/cards/*","/api/v1/cards/*"],"mcpAuth":"OAuth 2.1 (PKCE S256) 或静态 Bearer Token（Authorization: Bearer <token>）","oauthDiscoveryUrl":"https://pikso-assets.vm.tooqing.com/.well-known/oauth-authorization-server","protectedResourceUrl":"https://pikso-assets.vm.tooqing.com/.well-known/oauth-protected-resource","devLoginEndpoint":null,"notes":["所有 /cards/* 展示页与 /api/v1/cards/* 接口（含清单、详情、导出视频/序列帧与下载）均免登录直接调用。","Remote MCP 入口 /mcp 需要 Authorization: Bearer <token>，且需在 initialize 后透传响应头 Mcp-Session-Id。","写操作工具（create_character_card、export_character_card 等）受速率限制保护；admin 工具需要管理员角色。"]},"exportDefaults":{"format":"webm","movCodec":"auto","clipName":"Idle","facing":"right_front","width":720,"height":900,"fps":30,"loops":1,"durationSec":null,"background":"transparent","backgroundByFormat":{"webm":"transparent","mov":"transparent","frames":"transparent","mp4":"dark"},"scale":1,"bounds":{"width":{"min":256,"max":2048},"height":{"min":256,"max":2048},"fps":{"min":10,"max":60},"loops":{"min":1,"max":5},"durationSec":{"min":0.4,"max":30},"scale":{"min":0.5,"max":2},"maxFrames":600},"formats":["mp4","mov","webm","frames"],"movCodecs":["auto","h264","qtrle","prores_4444"],"backgrounds":["transparent","dark","green","white"],"facings":["right_front","left_front","right_back","left_back"],"ffmpegAvailable":true},"publicEndpoints":[{"id":"character_card_page","method":"GET","path":"/cards/character","auth":"none","category":"card_page","summary":"独立角色卡展示页（默认播放 Idle 动画，点击展开右侧详情与导出弹框）","queryParams":[{"name":"id","example":"default","description":"角色卡 ID（default / outfit_xxx / avatar:20087 / equip:10001）"},{"name":"facing","example":"right_front","description":"初始朝向：right_front | left_front | right_back | left_back"},{"name":"clip","example":"Idle","description":"初始播放动作名称"},{"name":"gender","example":"2","description":"仅 id=default 时生效，1=男，2=女"}],"exampleUrl":"https://pikso-assets.vm.tooqing.com/cards/character?id=default"},{"id":"object_card_page","method":"GET","path":"/cards/object","auth":"none","category":"card_page","summary":"独立物件卡展示页（含动画时自动循环播放，点击展开右侧详情）","queryParams":[{"name":"key","example":"system_resource:4017992","description":"物件资源 key（留空自动展示默认带动画物件）"}],"exampleUrl":"https://pikso-assets.vm.tooqing.com/cards/object?key=system_resource%3A4017992"},{"id":"list_outfits","method":"GET","path":"/api/v1/cards/outfits","aliases":["/api/v1/cards/characters"],"auth":"none","category":"catalog_api","summary":"免登录拉取装扮清单（含已保存角色卡 savedOutfits 与全部动作清单 actions）","queryParams":[{"name":"q","example":"冬","description":"按中文名/英文名/标签关键字检索"},{"name":"gender","example":"2","description":"性别筛选：1=男，2=女"},{"name":"part","example":"coat","description":"部位筛选"},{"name":"cached","example":"parsed","description":"缓存筛选：all | parsed | unparsed"},{"name":"actionCategory","example":"dance","description":"动作分类筛选：idle | emote | dance | move | pose"},{"name":"page","example":"1","description":"页码（传 all=1 可一次返回全部）"},{"name":"pageSize","example":"20","description":"每页数量（最大 200）"}],"exampleUrl":"https://pikso-assets.vm.tooqing.com/api/v1/cards/outfits?page=1&pageSize=10"},{"id":"character_detail","method":"GET","path":"/api/v1/cards/characters/:id","auth":"none","category":"catalog_api","summary":"免登录获取单张角色卡配置、穿戴部件及可用动作清单","queryParams":[{"name":"gender","example":"2","description":"仅 id=default 时可选"}],"exampleUrl":"https://pikso-assets.vm.tooqing.com/api/v1/cards/characters/default"},{"id":"character_export","method":"POST","path":"/api/v1/cards/characters/:id/export","auth":"none","category":"export_api","summary":"导出角色卡为 MP4、透明通道 MOV (ProRes 4444) 或 PNG 序列帧 ZIP（请求体传 {} 即使用默认配置）","bodyExample":{"format":"mov","clipName":"Idle","facing":"right_front","width":720,"height":900,"fps":30,"loops":1,"background":"transparent","scale":1},"exampleUrl":"https://pikso-assets.vm.tooqing.com/api/v1/cards/characters/default/export"},{"id":"character_export_download","method":"GET","path":"/api/v1/cards/exports/:exportId/download","auth":"none","category":"export_api","summary":"下载已导出的 .mp4 / .mov / _frames.zip 文件（支持 Range 断点续传与 ?inline=1 预览）","queryParams":[{"name":"inline","example":"1","description":"设为 1 时浏览器内联预览而非强制附件下载"}],"exampleUrl":"https://pikso-assets.vm.tooqing.com/api/v1/cards/exports/cexp_xxxxxxxxxxxx/download"},{"id":"export_config","method":"GET","path":"/api/v1/cards/export-config","auth":"none","category":"export_api","summary":"查询角色卡导出的默认参数、边界范围及 FFmpeg 可用状态","queryParams":[],"exampleUrl":"https://pikso-assets.vm.tooqing.com/api/v1/cards/export-config"},{"id":"list_objects","method":"GET","path":"/api/v1/cards/objects","aliases":["/api/v1/cards/items"],"auth":"none","category":"catalog_api","summary":"免登录拉取物品 / 场景物件清单（支持关键词、维度与缓存状态筛选）","queryParams":[{"name":"q","example":"lamp","description":"关键词检索"},{"name":"cached","example":"parsed","description":"all | parsed | unparsed"},{"name":"dimension","example":"2d","description":"2d | 3d | all"},{"name":"page","example":"1","description":"页码（all=1 返回全量）"},{"name":"pageSize","example":"20","description":"每页数量"}],"exampleUrl":"https://pikso-assets.vm.tooqing.com/api/v1/cards/objects?cached=parsed&page=1&pageSize=10"},{"id":"object_detail","method":"GET","path":"/api/v1/cards/objects/:key","auth":"none","category":"catalog_api","summary":"免登录获取单张物件卡完整元数据与动画摘要（hasAnimation / clips）","queryParams":[],"exampleUrl":"https://pikso-assets.vm.tooqing.com/api/v1/cards/objects/system_resource%3A4017992"},{"id":"list_clips","method":"GET","path":"/api/v1/cards/clips","auth":"none","category":"catalog_api","summary":"获取角色全部可用动作列表（支持 ?category=idle|emote|dance|move|pose）","queryParams":[{"name":"category","example":"emote","description":"动作分类筛选"}],"exampleUrl":"https://pikso-assets.vm.tooqing.com/api/v1/cards/clips"},{"id":"compose_outfit","method":"POST","path":"/api/v1/cards/outfits/compose","auth":"none","category":"catalog_api","summary":"根据性别与装备 ID 列表实时解析试穿搭配结果","bodyExample":{"gender":2,"equipIds":[]},"exampleUrl":"https://pikso-assets.vm.tooqing.com/api/v1/cards/outfits/compose"}],"mcp":{"endpoint":"https://pikso-assets.vm.tooqing.com/mcp","transport":"Streamable HTTP (JSON-RPC 2.0)","protocolVersions":["2025-03-26","2024-11-05"],"toolCount":26,"categories":[{"id":"character_card","label":"角色卡与导出"},{"id":"catalog_search","label":"资源检索与预览"},{"id":"scene_drama","label":"场景与剧情视频"},{"id":"project_canvas","label":"资源工程与无限画布"},{"id":"download_admin","label":"打包下载与运维"}],"clientConfigExample":{"mcpServers":{"pikso-resource-platform":{"type":"streamable-http","url":"https://pikso-assets.vm.tooqing.com/mcp","headers":{"Authorization":"Bearer <YOUR_ACCESS_TOKEN>"}}}},"tools":[{"name":"search_resources","description":"Search Pikso resource catalog across equip, scene_object, scene_component, system_resource, and avatar items.","category":"catalog_search","categoryLabel":"资源检索与预览","access":"read","required":[],"inputSchema":{"type":"object","properties":{"kind":{"type":"string","enum":["all","equip","scene_object","scene_component","system_resource","avatar"]},"dimension":{"type":"string","enum":["2d","3d","all"],"default":"2d"},"sceneCategory":{"type":"string"},"sceneGroup":{"type":"string"},"q":{"type":"string"},"nameGroup":{"type":"string"},"part":{"type":["string","integer"]},"gender":{"type":["string","integer"]},"quality":{"type":["string","integer"]},"available":{"type":"boolean"},"cached":{"type":"string","enum":["all","parsed","unparsed"]},"category":{"type":["string","integer"]},"page":{"type":"integer","minimum":1},"pageSize":{"type":"integer","minimum":1,"maximum":100}},"additionalProperties":false},"exampleArgs":{"q":"冬","kind":"equip","dimension":"2d","gender":2,"pageSize":10},"exampleJsonRpc":{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"search_resources","arguments":{"q":"冬","kind":"equip","dimension":"2d","gender":2,"pageSize":10}}}},{"name":"get_resource_detail","description":"Get full metadata, AssetBundle dependencies, and cache status for a resource key.","category":"catalog_search","categoryLabel":"资源检索与预览","access":"read","required":["key"],"inputSchema":{"type":"object","required":["key"],"properties":{"key":{"type":"string"}},"additionalProperties":false},"exampleArgs":{"key":"system_resource:4017992"},"exampleJsonRpc":{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_resource_detail","arguments":{"key":"system_resource:4017992"}}}},{"name":"preview_resource","description":"Ensure a resource prefab or icon AssetBundle is parsed and return exported PNG URLs and graph summary.","category":"catalog_search","categoryLabel":"资源检索与预览","access":"write","required":["key"],"inputSchema":{"type":"object","required":["key"],"properties":{"key":{"type":"string"},"target":{"type":"string","enum":["prefab","icon"],"default":"prefab"}},"additionalProperties":false},"exampleArgs":{"key":"equip:10001","force":false},"exampleJsonRpc":{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"preview_resource","arguments":{"key":"equip:10001","force":false}}}},{"name":"compose_outfit","description":"Compose a complete EZ2D avatar outfit for a target gender and equip IDs, filling defaults and sorting by draw order.","category":"character_card","categoryLabel":"角色卡与导出","access":"write","required":["gender","equipIds"],"inputSchema":{"type":"object","required":["gender","equipIds"],"properties":{"gender":{"type":["integer","string"]},"equipIds":{"type":"array","items":{"type":"integer"}},"resolvePreview":{"type":"boolean"}},"additionalProperties":false},"exampleArgs":{"gender":2,"equipIds":[10001],"resolvePreview":false},"exampleJsonRpc":{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"compose_outfit","arguments":{"gender":2,"equipIds":[10001],"resolvePreview":false}}}},{"name":"list_character_cards","description":"List saved persistent EZ2D character cards (outfits) with direct shareable /cards/character?id=<id> URLs and available action clips.","category":"character_card","categoryLabel":"角色卡与导出","access":"read","required":[],"inputSchema":{"type":"object","properties":{"q":{"type":"string"}},"additionalProperties":false},"exampleArgs":{"limit":20},"exampleJsonRpc":{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"list_character_cards","arguments":{"limit":20}}}},{"name":"create_character_card","description":"Create and persist a named EZ2D character card (saved outfit) and return a direct viewable /cards/character?id=<id> URL.","category":"character_card","categoryLabel":"角色卡与导出","access":"write","required":["name","equipIds"],"inputSchema":{"type":"object","required":["name","equipIds"],"properties":{"name":{"type":"string","minLength":1,"maxLength":120},"description":{"type":"string","maxLength":500},"gender":{"type":["integer","string"]},"equipIds":{"type":"array","items":{"type":"integer"}},"facing":{"type":"string","enum":["right_front","left_front","right_back","left_back"]},"clipName":{"type":"string"},"resolvePreview":{"type":"boolean"}},"additionalProperties":false},"exampleArgs":{"name":"冬日暖绒少女","description":"适合冬季主题展示的 2D 装扮","gender":2,"equipIds":[10001],"facing":"right_front","clipName":"Idle"},"exampleJsonRpc":{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"create_character_card","arguments":{"name":"冬日暖绒少女","description":"适合冬季主题展示的 2D 装扮","gender":2,"equipIds":[10001],"facing":"right_front","clipName":"Idle"}}}},{"name":"update_character_card","description":"Update an existing saved EZ2D character card and return its direct viewable /cards/character?id=<id> URL.","category":"character_card","categoryLabel":"角色卡与导出","access":"write","required":["id"],"inputSchema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","minLength":1,"maxLength":120},"description":{"type":"string","maxLength":500},"gender":{"type":["integer","string"]},"equipIds":{"type":"array","items":{"type":"integer"}},"facing":{"type":"string","enum":["right_front","left_front","right_back","left_back"]},"clipName":{"type":"string"},"resolvePreview":{"type":"boolean"}},"additionalProperties":false},"exampleArgs":{"id":"default","clipName":"Dance01","facing":"left_front"},"exampleJsonRpc":{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"update_character_card","arguments":{"id":"default","clipName":"Dance01","facing":"left_front"}}}},{"name":"export_character_card","description":"Export a character card (saved outfit, avatar, or equip) with a clean transparent Alpha channel by default for easy compositing into video scripts. Defaults to WebM (VP9 Alpha, 720x900, 30fps, 1 loop, transparent); also supports transparent MOV (qtrle 8-bit RGBA default or prores_4444, plus h264 opaque), RGBA PNG frame sequence ZIP (with manifest.json), and MP4 (H.264).","category":"character_card","categoryLabel":"角色卡与导出","access":"write","required":["id"],"inputSchema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","minLength":1,"maxLength":80},"format":{"type":"string","enum":["webm","mov","frames","mp4"],"default":"webm"},"movCodec":{"type":"string","enum":["auto","qtrle","prores_4444","h264"],"default":"auto"},"clipName":{"type":"string","minLength":1,"maxLength":64},"facing":{"type":"string","enum":["right_front","left_front","right_back","left_back"]},"width":{"type":"integer","minimum":256,"maximum":2048,"default":720},"height":{"type":"integer","minimum":256,"maximum":2048,"default":900},"fps":{"type":"integer","minimum":10,"maximum":60,"default":30},"loops":{"type":"integer","minimum":1,"maximum":5,"default":1},"durationSec":{"type":"number","minimum":0.4,"maximum":30},"background":{"type":"string","enum":["transparent","dark","green","white"]},"scale":{"type":"number","minimum":0.5,"maximum":2,"default":1},"gender":{"type":"integer","enum":[1,2]},"outputDir":{"type":"string","maxLength":300}},"additionalProperties":false},"exampleArgs":{"id":"default","format":"webm","clipName":"Idle","facing":"right_front","width":720,"height":900,"fps":30,"loops":1,"background":"transparent"},"exampleJsonRpc":{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"export_character_card","arguments":{"id":"default","format":"webm","clipName":"Idle","facing":"right_front","width":720,"height":900,"fps":30,"loops":1,"background":"transparent"}}}},{"name":"create_download_bundle","description":"Package one or more Pikso resources into a downloadable ZIP bundle and return its metadata and downloadUrl.","category":"download_admin","categoryLabel":"打包下载与运维","access":"write","required":["keys"],"inputSchema":{"type":"object","required":["keys"],"properties":{"keys":{"type":"array","items":{"type":"string"},"minItems":1,"maxItems":100},"name":{"type":"string"},"includeTextures":{"type":"boolean"},"includeGraph":{"type":"boolean"},"includeAb":{"type":"boolean"}},"additionalProperties":false},"exampleArgs":{"keys":["system_resource:4017992"],"name":"my_bundle","includeTextures":true,"includeGraph":true},"exampleJsonRpc":{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"create_download_bundle","arguments":{"keys":["system_resource:4017992"],"name":"my_bundle","includeTextures":true,"includeGraph":true}}}},{"name":"get_cache_status","description":"Get catalog summary, L1/L2 cache hit statistics, disk usage, parser pool status, and recent jobs.","category":"catalog_search","categoryLabel":"资源检索与预览","access":"read","required":[],"inputSchema":{"type":"object","properties":{},"additionalProperties":false},"exampleArgs":{},"exampleJsonRpc":{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_cache_status","arguments":{}}}},{"name":"prewarm_resources","description":"[Admin only] Submit an asynchronous prewarm job for resource keys or a search filter.","category":"download_admin","categoryLabel":"打包下载与运维","access":"admin","required":[],"inputSchema":{"type":"object","properties":{"keys":{"type":"array","items":{"type":"string"}},"filter":{"type":"object","properties":{"kind":{"type":"string"},"dimension":{"type":"string","enum":["2d","3d","all"]},"sceneCategory":{"type":"string"},"sceneGroup":{"type":"string"},"q":{"type":"string"},"nameGroup":{"type":"string"},"part":{"type":["string","integer"]},"gender":{"type":["string","integer"]},"cached":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":200}},"additionalProperties":false},"concurrency":{"type":"integer","minimum":1,"maximum":4}},"additionalProperties":false},"exampleArgs":{"keys":["system_resource:4017992"]},"exampleJsonRpc":{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"prewarm_resources","arguments":{"keys":["system_resource:4017992"]}}}},{"name":"sync_catalog","description":"[Admin only] Sync MiniTypeGroupData and ResourceListMD5 from upstream servers.","category":"download_admin","categoryLabel":"打包下载与运维","access":"admin","required":[],"inputSchema":{"type":"object","properties":{},"additionalProperties":false},"exampleArgs":{"force":false},"exampleJsonRpc":{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"sync_catalog","arguments":{"force":false}}}},{"name":"generate_outfit_batch","description":"Match EZ2D outfits and animation actions from a prompt, generate 10 outfits × 5 actions (or configured counts), write preview PNGs/manifests into outputDir, and create a downloadable ZIP archive.","category":"character_card","categoryLabel":"角色卡与导出","access":"write","required":["prompt"],"inputSchema":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string"},"outfitCount":{"type":"integer","minimum":1,"maximum":20,"default":10},"actionsPerOutfit":{"type":"integer","minimum":1,"maximum":20,"default":5},"gender":{"type":["integer","string"]},"outputDir":{"type":"string"},"resolvePreview":{"type":"boolean"}},"additionalProperties":false},"exampleArgs":{"prompt":"冬日甜美少女","count":3,"gender":2},"exampleJsonRpc":{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"generate_outfit_batch","arguments":{"prompt":"冬日甜美少女","count":3,"gender":2}}}},{"name":"list_story_scripts","description":"List saved Pikso drama story scripts, their rendered video status, and built-in starter templates.","category":"other","categoryLabel":"其他工具","access":"read","required":[],"inputSchema":{"type":"object","properties":{"includeTemplates":{"type":"boolean","default":true}},"additionalProperties":false},"exampleArgs":{},"exampleJsonRpc":{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"list_story_scripts","arguments":{}}}},{"name":"create_story_script","description":"Validate, normalize, and persist a StageMcp-compatible story script (spawns, setup, frames) under cache/stories.","category":"scene_drama","categoryLabel":"场景与剧情视频","access":"write","required":["name"],"inputSchema":{"type":"object","required":["name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"sceneId":{"type":"string"},"world":{"type":"object"},"replace":{"type":"boolean"},"spawns":{"type":"array","items":{"type":"object"}},"setup":{"type":"object"},"frames":{"type":"array","items":{"type":"object"}}},"additionalProperties":false},"exampleArgs":{"title":"示例剧情","sceneId":"scene_default","steps":[]},"exampleJsonRpc":{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"create_story_script","arguments":{"title":"示例剧情","sceneId":"scene_default","steps":[]}}}},{"name":"render_story_video","description":"Execute a saved story script in the headless 2D stage renderer and capture an H.264 MP4 (or WebM fallback) video file.","category":"scene_drama","categoryLabel":"场景与剧情视频","access":"write","required":["storyId"],"inputSchema":{"type":"object","required":["storyId"],"properties":{"storyId":{"type":"string"},"width":{"type":"integer","minimum":320,"maximum":1920,"default":960},"height":{"type":"integer","minimum":240,"maximum":1080,"default":540},"fps":{"type":"integer","minimum":5,"maximum":60,"default":24},"outputDir":{"type":"string"}},"additionalProperties":false},"exampleArgs":{"storyId":"story_xxxxxxxx"},"exampleJsonRpc":{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"render_story_video","arguments":{"storyId":"story_xxxxxxxx"}}}},{"name":"list_server_scenes","description":"List distinct server scenes indexed from live sceneFeedUrl, cached scenes, saved scene copies, and local TempStreamingAssets Cache/Scene packages.","category":"other","categoryLabel":"其他工具","access":"read","required":[],"inputSchema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":200,"default":50},"distinct":{"type":"boolean","default":true},"source":{"type":"string","enum":["auto","live","cache","saved"],"default":"auto"},"q":{"type":"string"},"origin":{"type":"string"}},"additionalProperties":false},"exampleArgs":{},"exampleJsonRpc":{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"list_server_scenes","arguments":{}}}},{"name":"pull_server_scenes","description":"Pull and cache N (default 10) distinct server scenes from sceneFeedUrl, areaTemplates, or Cache/Scene packages into cache/scenes/.","category":"scene_drama","categoryLabel":"场景与剧情视频","access":"write","required":[],"inputSchema":{"type":"object","properties":{"count":{"type":"integer","minimum":1,"maximum":50,"default":10},"source":{"type":"string","enum":["auto","live","cache"],"default":"auto"},"sceneIds":{"type":"array","items":{"type":"string"}},"areaTemplates":{"type":"array","items":{"type":["object","string"]}}},"additionalProperties":false},"exampleArgs":{"limit":5},"exampleJsonRpc":{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"pull_server_scenes","arguments":{"limit":5}}}},{"name":"export_scenes_psd","description":"Pull up to count (default 10) distinct scenes, render separated transparent layers (01_SkyBox..05_Foreground_Decor), and export standard layered 8BPS .psd files + ZIP.","category":"scene_drama","categoryLabel":"场景与剧情视频","access":"write","required":[],"inputSchema":{"type":"object","properties":{"count":{"type":"integer","minimum":1,"maximum":20,"default":10},"sceneIds":{"type":"array","items":{"type":"string"}},"width":{"type":"integer","minimum":320,"maximum":2048,"default":960},"height":{"type":"integer","minimum":240,"maximum":2048,"default":540},"outputDir":{"type":"string"},"source":{"type":"string","enum":["auto","live","cache"],"default":"auto"}},"additionalProperties":false},"exampleArgs":{"sceneIds":["scene_default"]},"exampleJsonRpc":{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"export_scenes_psd","arguments":{"sceneIds":["scene_default"]}}}},{"name":"list_resource_projects","description":"List saved Pikso resource projects (infinite canvas workspaces) with card counts, deliverable counts, and viewport state.","category":"project_canvas","categoryLabel":"资源工程与无限画布","access":"read","required":[],"inputSchema":{"type":"object","properties":{"q":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":200,"default":100}},"additionalProperties":false},"exampleArgs":{},"exampleJsonRpc":{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"list_resource_projects","arguments":{}}}},{"name":"create_resource_project","description":"Create a new Pikso resource project with an infinite canvas workspace.","category":"project_canvas","categoryLabel":"资源工程与无限画布","access":"write","required":["name"],"inputSchema":{"type":"object","required":["name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"viewport":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"zoom":{"type":"number"}},"additionalProperties":false}},"additionalProperties":false},"exampleArgs":{"name":"冬季宣发工程","description":"整合角色卡与视频片段"},"exampleJsonRpc":{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"create_resource_project","arguments":{"name":"冬季宣发工程","description":"整合角色卡与视频片段"}}}},{"name":"get_project_canvas","description":"Get the full infinite canvas state for a resource project, including cards, stacked overlays, ownership tags, and deliverables.","category":"other","categoryLabel":"其他工具","access":"read","required":["projectId"],"inputSchema":{"type":"object","required":["projectId"],"properties":{"projectId":{"type":"string"}},"additionalProperties":false},"exampleArgs":{"projectId":"<projectId>"},"exampleJsonRpc":{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_project_canvas","arguments":{"projectId":"<projectId>"}}}},{"name":"upsert_canvas_card","description":"Create a new text/image/video card on a project canvas (when cardId is omitted) or update an existing card (when cardId is provided).","category":"project_canvas","categoryLabel":"资源工程与无限画布","access":"write","required":["projectId"],"inputSchema":{"type":"object","required":["projectId"],"properties":{"projectId":{"type":"string"},"cardId":{"type":"string"},"type":{"type":"string","enum":["text","image","video"]},"title":{"type":"string"},"content":{"type":"string"},"mediaUrl":{"type":"string"},"filePath":{"type":"string"},"assetBase64":{"type":"string"},"assetFileName":{"type":"string"},"ownership":{"type":"string","enum":["shared_ref","project_local"]},"sourceRef":{"type":"object"},"x":{"type":"number"},"y":{"type":"number"},"width":{"type":"number"},"height":{"type":"number"},"clearPendingAction":{"type":"boolean"}},"additionalProperties":false},"exampleArgs":{"projectId":"proj_xxxxxxxx","kind":"text","title":"宣发文案","content":"冬日限定装扮上线"},"exampleJsonRpc":{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"upsert_canvas_card","arguments":{"projectId":"proj_xxxxxxxx","kind":"text","title":"宣发文案","content":"冬日限定装扮上线"}}}},{"name":"append_card_overlay","description":"Append a non-destructive AI result overlay (polish, generate_image, generate_video, or custom) onto an existing canvas card without overwriting its original content.","category":"project_canvas","categoryLabel":"资源工程与无限画布","access":"write","required":["projectId","cardId","action","resultType"],"inputSchema":{"type":"object","required":["projectId","cardId","action","resultType"],"properties":{"projectId":{"type":"string"},"cardId":{"type":"string"},"action":{"type":"string","enum":["polish","generate_image","generate_video","custom"]},"resultType":{"type":"string","enum":["text","image","video","html"]},"prompt":{"type":"string"},"title":{"type":"string"},"content":{"type":"string"},"mediaUrl":{"type":"string"},"filePath":{"type":"string"},"mediaBase64":{"type":"string"},"assetBase64":{"type":"string"},"assetFileName":{"type":"string"},"createdBy":{"type":"string","enum":["mcp","user"],"default":"mcp"},"clearPendingAction":{"type":"boolean"}},"additionalProperties":false},"exampleArgs":{"projectId":"proj_xxxxxxxx","cardId":"card_xxxxxxxx","action":"polish","resultText":"润色后的宣发文案"},"exampleJsonRpc":{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"append_card_overlay","arguments":{"projectId":"proj_xxxxxxxx","cardId":"card_xxxxxxxx","action":"polish","resultText":"润色后的宣发文案"}}}},{"name":"import_to_project_canvas","description":"Import an artifact from R1 outfit batches, saved outfits, R2 rendered story videos, R3 scene PSD exports, or catalog items onto a resource project canvas.","category":"project_canvas","categoryLabel":"资源工程与无限画布","access":"write","required":["projectId"],"inputSchema":{"type":"object","required":["projectId"],"properties":{"projectId":{"type":"string"},"sourceType":{"type":"string","enum":["outfit_batch","outfit_action","saved_outfit","saved_scene","story_video","scene_psd","catalog"]},"originType":{"type":"string"},"originId":{"type":"string"},"outfitId":{"type":"string"},"batchId":{"type":"string"},"outfitIndex":{"type":"integer","minimum":1},"actionIndex":{"type":"integer","minimum":1},"outfitFolder":{"type":"string"},"actionFolder":{"type":"string"},"storyId":{"type":"string"},"sceneId":{"type":"string"},"fileName":{"type":"string"},"key":{"type":"string"},"ownership":{"type":"string","enum":["shared_ref","project_local"],"default":"shared_ref"},"title":{"type":"string"},"x":{"type":"number"},"y":{"type":"number"},"width":{"type":"number"},"height":{"type":"number"}},"additionalProperties":false},"exampleArgs":{"projectId":"proj_xxxxxxxx","sourceType":"saved_outfit","outfitId":"default"},"exampleJsonRpc":{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"import_to_project_canvas","arguments":{"projectId":"proj_xxxxxxxx","sourceType":"saved_outfit","outfitId":"default"}}}},{"name":"publish_project_deliverable","description":"Synthesize and publish a project deliverable (copy, image, video, or html) derived from canvas cards into cache/projects/<projectId>/deliverables/.","category":"project_canvas","categoryLabel":"资源工程与无限画布","access":"write","required":["projectId","kind","title"],"inputSchema":{"type":"object","required":["projectId","kind","title"],"properties":{"projectId":{"type":"string"},"kind":{"type":"string","enum":["copy","image","video","html"]},"title":{"type":"string"},"content":{"type":"string"},"mediaUrl":{"type":"string"},"mediaBase64":{"type":"string"},"fileName":{"type":"string"},"sourceCardIds":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"exampleArgs":{"projectId":"proj_xxxxxxxx","kind":"html","title":"冬季装扮专题页","content":"<h1>冬季装扮</h1>"},"exampleJsonRpc":{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"publish_project_deliverable","arguments":{"projectId":"proj_xxxxxxxx","kind":"html","title":"冬季装扮专题页","content":"<h1>冬季装扮</h1>"}}}}]},"recipes":[{"id":"create_winter_card","title":"场景 1：Agent 自动选搭并创建角色卡，返回直达链接","summary":"通过远程 MCP 搜索装扮 → 保存为命名角色卡 → 直接返回 /cards/character?id=... 给用户查看。","steps":["调用 MCP 工具 `search_resources`（`kind: \"equip\"`, `dimension: \"2d\"`, `q: \"冬\"`）筛选可用部件 ID。","调用 MCP 工具 `create_character_card` 传入 `name`、`gender`、`equipIds`、`facing`、`clipName`。","返回结果中的 `fullCardUrl`（如 `${origin}/cards/character?id=outfit_xxx`）即可直接在浏览器打开预览与交互。"],"codeLang":"json","code":"{\n  \"jsonrpc\": \"2.0\",\n  \"id\": 10,\n  \"method\": \"tools/call\",\n  \"params\": {\n    \"name\": \"create_character_card\",\n    \"arguments\": {\n      \"name\": \"冬日暖绒少女\",\n      \"description\": \"Agent 自动搭配的冬季套装\",\n      \"gender\": 2,\n      \"equipIds\": [\n        10001\n      ],\n      \"facing\": \"right_front\",\n      \"clipName\": \"Idle\"\n    }\n  }\n}"},{"id":"export_character_video","title":"场景 2：导出角色卡为透明 MOV / MP4 / PNG 序列帧","summary":"既可通过免登录 REST API，也可通过 MCP `export_character_card` 一键导出视频与透明序列帧。","steps":["不传参数（仅传 `id` 或空 `{}`）自动按默认配置导出 MP4（720×900, 30fps, 1 周期, 深色棚拍）。","需要后期叠加合成时设 `format: \"mov\"`（自动 Apple ProRes 4444 + 透明通道）或 `format: \"frames\"`（透明 PNG 序列帧 + manifest.json ZIP）。","通过返回的 `fullDownloadUrl` 直接下载文件，或传 `outputDir` 同步落盘到允许的本地目录。"],"codeLang":"bash","code":"# 1. 免登录 REST 一键导出透明通道 MOV (ProRes 4444)\ncurl -X POST \"https://pikso-assets.vm.tooqing.com/api/v1/cards/characters/default/export\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"format\":\"mov\",\"clipName\":\"Idle\",\"width\":720,\"height\":900,\"fps\":30,\"background\":\"transparent\"}'\n\n# 2. 也可传 {} 使用默认参数导出 MP4\ncurl -X POST \"https://pikso-assets.vm.tooqing.com/api/v1/cards/characters/default/export\" \\\n  -H \"Content-Type: application/json\" -d '{}'"},{"id":"fetch_catalog_cards","title":"场景 3：免登录拉取装扮（含动作）清单与物品清单","summary":"适合外部业务系统或无鉴权 Agent 直接拉取目录并拼装卡片展示链接。","steps":["拉取装扮与动作清单：`GET /api/v1/cards/outfits?page=1&pageSize=50`（返回 `items`、`savedOutfits` 与全量 `actions`）。","拉取物品/物件清单：`GET /api/v1/cards/objects?cached=parsed&page=1&pageSize=50`。","清单每项自带 `cardUrl`，拼上服务域名即可免登录展示角色卡或物件卡。"],"codeLang":"bash","code":"curl \"https://pikso-assets.vm.tooqing.com/api/v1/cards/outfits?page=1&pageSize=10\"\ncurl \"https://pikso-assets.vm.tooqing.com/api/v1/cards/objects?cached=parsed&page=1&pageSize=10\""},{"id":"mcp_connect_flow","title":"场景 4：远程 MCP（Streamable HTTP）标准接入握手流程","summary":"连接 `/mcp` 前需携带 Bearer Token（通过 OAuth 2.1 PKCE 或管理员预置 Token 获取），首包执行 `initialize` 获取 `Mcp-Session-Id`。","steps":["通过 `GET /.well-known/oauth-authorization-server` 自动发现 OAuth 2.1 端点（Cursor / Claude 等支持 Remote MCP OAuth 的客户端会自动完成授权）。","向 `POST /mcp` 发送 `initialize` JSON-RPC 请求，从响应头读取 `Mcp-Session-Id`。","后续请求携带 `Authorization: Bearer <token>` 与 `Mcp-Session-Id: <sid>` 调用 `tools/list` 与 `tools/call`。"],"codeLang":"json","code":"{\n  \"mcpServers\": {\n    \"pikso-resource-platform\": {\n      \"type\": \"streamable-http\",\n      \"url\": \"https://pikso-assets.vm.tooqing.com/mcp\",\n      \"headers\": {\n        \"Authorization\": \"Bearer <YOUR_ACCESS_TOKEN>\"\n      }\n    }\n  }\n}"}]},"meta":{"requestId":"3f14e211-6728-4a8d-8d58-8b52bfa116e2"}}