[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M778TCZK78G4KRDWAHBAW71D":3,"skill-same:01M778TCZK78G4KRDWAHBAW71D":79},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":57,"commitSha":58,"skillDirectory":59,"forksCount":60,"repositoryHtmlUrl":61,"repositoryHomepageUrl":62,"ownerHtmlUrl":63,"ownerBlogUrl":6,"ownerDescription":64,"updatedAt":65,"install":66,"resources":78},"01M778TCZK78G4KRDWAHBAW71D","coze-image",null,"Generate images using Coze AI platform. Supports text-to-image generation with automatic Base64 encoding for inline preview. Use when you need to create images from text prompts.","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fc\u002Fcoze-image\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: coze-image\ndescription: Generate images using Coze AI platform. Supports text-to-image generation with automatic Base64 encoding for inline preview. Use when you need to create images from text prompts.\nmetadata:\n  {\n    \"openclaw\":\n      {\n        \"env\":\n          [\n            { \"name\": \"IMAGE_API_TOKEN\", \"description\": \"Coze API authentication token\", \"required\": true },\n            { \"name\": \"IMAGE_API_URL\", \"description\": \"Coze stream_run endpoint\", \"default\": \"https:\u002F\u002F6fj9k4p9x3.coze.site\u002Fstream_run\" },\n            { \"name\": \"IMAGE_API_PROJECT_ID\", \"description\": \"Coze project ID\", \"default\": \"7621854258107039796\" },\n            { \"name\": \"IMAGE_API_SESSION_ID\", \"description\": \"Coze session ID\", \"default\": \"mT8SQeCGgTMZNBsJEiRuN\" },\n            { \"name\": \"IMAGE_API_TIMEOUT\", \"description\": \"Request timeout in seconds\", \"default\": \"60\" },\n          ],\n      },\n    \"clawhub\":\n      {\n        \"version\": \"1.0.0\",\n        \"author\": \"OpenClaw Community\",\n        \"license\": \"MIT\",\n        \"tags\": [\"image\", \"generation\", \"coze\", \"ai\", \"text-to-image\"],\n        \"repository\": \"https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fskills\",\n      },\n  }\n---\n\n# Coze Image Generation Skill\n\nGenerate images from text prompts using the Coze AI platform. This skill handles the complete workflow: submitting prompts, parsing SSE responses, downloading images, and returning Base64-encoded data URIs for inline display.\n\n## Usage\n\n### Basic Usage\n\n```python\nfrom coze_image_skill import run\n\nresult = run({\n    \"text\": \"一只可爱的小猫，毛茸茸的，大眼睛，坐在窗台上\",\n    \"api_token\": \"your_coze_api_token\"\n})\n\n# Result contains:\n# - image: data:image\u002Fjpeg;base64,... (inline Base64)\n# - mime_type: image\u002Fjpeg\n# - filename: generated-image.jpeg\n# - source_url: original image URL\n```\n\n### With Custom Configuration\n\n```python\nresult = run({\n    \"prompt\": \"a cute orange cat playing on grass, sunny day\",\n    \"api_token\": \"your_token\",\n    \"project_id\": \"your_project_id\",\n    \"session_id\": \"your_session_id\",\n    \"timeout\": 90,\n    \"include_debug\": True\n})\n```\n\n## Environment Variables\n\nSet these in your OpenClaw configuration or `.env` file:\n\n| Variable | Description | Default |\n|----------|-------------|---------|\n| `IMAGE_API_TOKEN` | Coze API authentication token | Required |\n| `IMAGE_API_URL` | Coze stream_run endpoint | `https:\u002F\u002F6fj9k4p9x3.coze.site\u002Fstream_run` |\n| `IMAGE_API_PROJECT_ID` | Coze project ID | `7621854258107039796` |\n| `IMAGE_API_SESSION_ID` | Coze session ID | `mT8SQeCGgTMZNBsJEiRuN` |\n| `IMAGE_API_TIMEOUT` | Request timeout in seconds | `60` |\n\n## Parameters\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| `text` or `prompt` | string | Image generation prompt (required) |\n| `api_token` | string | Coze API token (or use env var) |\n| `project_id` | string | Coze project ID (or use env var) |\n| `session_id` | string | Coze session ID (or use env var) |\n| `timeout` | int | Request timeout in seconds |\n| `include_debug` | bool | Include debug info in response |\n| `strict` | bool | Raise exceptions instead of returning error object |\n\n## Response Format\n\n### Success\n\n```json\n{\n  \"image\": \"data:image\u002Fjpeg;base64,\u002F9j\u002F4AAQSkZJRg...\",\n  \"mime_type\": \"image\u002Fjpeg\",\n  \"filename\": \"generated-image.jpeg\",\n  \"source_url\": \"https:\u002F\u002F...\"\n}\n```\n\n### Error\n\n```json\n{\n  \"error\": \"Error message describing what went wrong\",\n  \"image\": null,\n  \"mime_type\": null,\n  \"filename\": null,\n  \"source_url\": null\n}\n```\n\n## Features\n\n- **SSE Streaming**: Handles Coze's Server-Sent Events response format\n- **Auto Download**: Automatically downloads generated images and converts to Base64\n- **Error Handling**: Graceful error handling with structured error responses\n- **Flexible Auth**: Supports both inline token and environment variables\n- **Debug Mode**: Optional debug output for troubleshooting\n\n## Setup on ClawHub\n\n1. Install the skill via ClawHub:\n   ```bash\n   openclaw skills install coze-image\n   ```\n\n2. Configure your API token:\n   ```bash\n   openclaw config set IMAGE_API_TOKEN your_token_here\n   ```\n\n3. Generate your first image:\n   ```\n   Generate a picture of a sunset over the ocean\n   ```\n\n## Troubleshooting\n\n### \"Image URL not found in SSE response\"\n\nThis means the Coze project returned text instead of an image. Make sure:\n- Your Coze bot has an image generation plugin enabled\n- The workflow is configured to return images\n- The prompt is appropriate for image generation\n\n### Authentication Errors\n\n- Verify your API token is valid and not expired\n- Check that the token has permission to access the project\n- Ensure environment variables are set correctly\n\n### Timeout Errors\n\n- Increase the timeout parameter (default 60s)\n- Check your network connection\n- The image generation may be taking longer than expected\n\n## License\n\nMIT License - See license file for details.\n\n## Support\n\nFor issues or questions, please open an issue on the ClawHub repository.\n","# Coze Image Generation Skill\n\nGenerate images from text prompts using the Coze AI platform. This skill handles the complete workflow: submitting prompts, parsing SSE responses, downloading images, and returning Base64-encoded data URIs for inline display.\n\n## Usage\n\n### Basic Usage\n\n```python\nfrom coze_image_skill import run\n\nresult = run({\n    \"text\": \"一只可爱的小猫，毛茸茸的，大眼睛，坐在窗台上\",\n    \"api_token\": \"your_coze_api_token\"\n})\n\n# Result contains:\n# - image: data:image\u002Fjpeg;base64,... (inline Base64)\n# - mime_type: image\u002Fjpeg\n# - filename: generated-image.jpeg\n# - source_url: original image URL\n```\n\n### With Custom Configuration\n\n```python\nresult = run({\n    \"prompt\": \"a cute orange cat playing on grass, sunny day\",\n    \"api_token\": \"your_token\",\n    \"project_id\": \"your_project_id\",\n    \"session_id\": \"your_session_id\",\n    \"timeout\": 90,\n    \"include_debug\": True\n})\n```\n\n## Environment Variables\n\nSet these in your OpenClaw configuration or `.env` file:\n\n| Variable | Description | Default |\n|----------|-------------|---------|\n| `IMAGE_API_TOKEN` | Coze API authentication token | Required |\n| `IMAGE_API_URL` | Coze stream_run endpoint | `https:\u002F\u002F6fj9k4p9x3.coze.site\u002Fstream_run` |\n| `IMAGE_API_PROJECT_ID` | Coze project ID | `7621854258107039796` |\n| `IMAGE_API_SESSION_ID` | Coze session ID | `mT8SQeCGgTMZNBsJEiRuN` |\n| `IMAGE_API_TIMEOUT` | Request timeout in seconds | `60` |\n\n## Parameters\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| `text` or `prompt` | string | Image generation prompt (required) |\n| `api_token` | string | Coze API token (or use env var) |\n| `project_id` | string | Coze project ID (or use env var) |\n| `session_id` | string | Coze session ID (or use env var) |\n| `timeout` | int | Request timeout in seconds |\n| `include_debug` | bool | Include debug info in response |\n| `strict` | bool | Raise exceptions instead of returning error object |\n\n## Response Format\n\n### Success\n\n```json\n{\n  \"image\": \"data:image\u002Fjpeg;base64,\u002F9j\u002F4AAQSkZJRg...\",\n  \"mime_type\": \"image\u002Fjpeg\",\n  \"filename\": \"generated-image.jpeg\",\n  \"source_url\": \"https:\u002F\u002F...\"\n}\n```\n\n### Error\n\n```json\n{\n  \"error\": \"Error message describing what went wrong\",\n  \"image\": null,\n  \"mime_type\": null,\n  \"filename\": null,\n  \"source_url\": null\n}\n```\n\n## Features\n\n- **SSE Streaming**: Handles Coze's Server-Sent Events response format\n- **Auto Download**: Automatically downloads generated images and converts to Base64\n- **Error Handling**: Graceful error handling with structured error responses\n- **Flexible Auth**: Supports both inline token and environment variables\n- **Debug Mode**: Optional debug output for troubleshooting\n\n## Setup on ClawHub\n\n1. Install the skill via ClawHub:\n   ```bash\n   openclaw skills install coze-image\n   ```\n\n2. Configure your API token:\n   ```bash\n   openclaw config set IMAGE_API_TOKEN your_token_here\n   ```\n\n3. Generate your first image:\n   ```\n   Generate a picture of a sunset over the ocean\n   ```\n\n## Troubleshooting\n\n### \"Image URL not found in SSE response\"\n\nThis means the Coze project returned text instead of an image. Make sure:\n- Your Coze bot has an image generation plugin enabled\n- The workflow is configured to return images\n- The prompt is appropriate for image generation\n\n### Authentication Errors\n\n- Verify your API token is valid and not expired\n- Check that the token has permission to access the project\n- Ensure environment variables are set correctly\n\n### Timeout Errors\n\n- Increase the timeout parameter (default 60s)\n- Check your network connection\n- The image generation may be taking longer than expected\n\n## License\n\nMIT License - See license file for details.\n\n## Support\n\nFor issues or questions, please open an issue on the ClawHub repository.\n",{"name":5,"metadata":24,"description":7},{"clawhub":25,"openclaw":35},{"tags":26,"author":32,"license":15,"version":33,"repository":34},[27,28,29,30,31],"image","generation","coze","ai","text-to-image","OpenClaw Community","1.0.0","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fskills",{"env":36},[37,41,45,49,53],{"name":38,"required":39,"description":40},"IMAGE_API_TOKEN",true,"Coze API authentication token",{"name":42,"default":43,"description":44},"IMAGE_API_URL","https:\u002F\u002F6fj9k4p9x3.coze.site\u002Fstream_run","Coze stream_run endpoint",{"name":46,"default":47,"description":48},"IMAGE_API_PROJECT_ID","7621854258107039796","Coze project ID",{"name":50,"default":51,"description":52},"IMAGE_API_SESSION_ID","mT8SQeCGgTMZNBsJEiRuN","Coze session ID",{"name":54,"default":55,"description":56},"IMAGE_API_TIMEOUT","60","Request timeout in seconds","master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fc\u002Fcoze-image",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":67,"prompt":77,"zipAvailable":39},[68,71,74],{"tool":69,"command":70},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill coze-image",{"tool":72,"command":73},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill coze-image",{"tool":75,"command":76},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill coze-image","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fc\u002Fcoze-image\u002FSKILL.md",[],[80,87,94,101,108,115],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]