{"_id":"@copicake/n8n-nodes-copicake","_rev":"5-5833f1db1173b2dcf3fc6d912624bf00","name":"@copicake/n8n-nodes-copicake","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.3":{"name":"@copicake/n8n-nodes-copicake","version":"1.0.3","keywords":["n8n-community-node-package"],"author":{"name":"EragonJ","email":"eragonj@eragonj.me"},"license":"MIT","_id":"@copicake/n8n-nodes-copicake@1.0.3","maintainers":[{"name":"eragonj","email":"eragonj@eragonj.me"}],"homepage":"https://github.com/Copicake/n8n-nodes-copicake","bugs":{"url":"https://github.com/Copicake/n8n-nodes-copicake/issues"},"n8n":{"nodes":["dist/nodes/Copicake/Copicake.node.js"],"credentials":["dist/credentials/CopicakeApi.credentials.js"],"n8nNodesApiVersion":1},"dist":{"shasum":"c68938f3505ac7eacd0ad1dae3400788c2015c16","tarball":"https://registry.npmjs.org/@copicake/n8n-nodes-copicake/-/n8n-nodes-copicake-1.0.3.tgz","fileCount":14,"integrity":"sha512-lhyBT0vfKyRdA8qcuRkr4lfPu35fqP/WiNiJNc8GL/LXgTCdTWyEyS1peAJnAX0TV8tFBZs3ayeWlBmkWg5I7w==","signatures":[{"sig":"MEYCIQC0r0XEFMKkUCPj4rauQPxzJCMbVqcv+sAOBYdbaf8bDwIhAPjj8Bkn18yQphHf2lI20NDXpiTG1EqoRgX1hx31Jju9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":102420},"main":"index.js","engines":{"node":">=20.15"},"gitHead":"6b83ec655c1da8ad24ea5b811d7312920bbadc91","scripts":{"dev":"tsc --watch","lint":"eslint nodes credentials package.json","build":"npx rimraf dist && tsc && gulp build:icons","format":"prettier nodes credentials --write","lintfix":"eslint nodes credentials package.json --fix","prepublishOnly":"npm run build && npm run lint -c .eslintrc.prepublish.js nodes credentials package.json"},"_npmUser":{"name":"eragonj","email":"eragonj@eragonj.me"},"repository":{"url":"git+https://github.com/Copicake/n8n-nodes-copicake.git","type":"git"},"_npmVersion":"10.9.2","description":"n8n node for Copicake - Generate marketing visuals with templates and API","directories":{},"_nodeVersion":"22.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"gulp":"^5.0.0","eslint":"^8.57.0","prettier":"^3.5.3","typescript":"^5.8.2","@types/node":"^22.15.30","semantic-release":"^24.2.5","@semantic-release/git":"^10.0.1","@typescript-eslint/parser":"~8.32.0","@semantic-release/changelog":"^6.0.3","eslint-plugin-n8n-nodes-base":"^1.16.3"},"peerDependencies":{"n8n-workflow":"*"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-copicake_1.0.3_1749441855544_0.8346971376411878","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@copicake/n8n-nodes-copicake","version":"1.0.4","keywords":["n8n-community-node-package"],"author":{"name":"EragonJ","email":"eragonj@eragonj.me"},"license":"MIT","_id":"@copicake/n8n-nodes-copicake@1.0.4","maintainers":[{"name":"eragonj","email":"eragonj@eragonj.me"}],"homepage":"https://github.com/Copicake/n8n-nodes-copicake","bugs":{"url":"https://github.com/Copicake/n8n-nodes-copicake/issues"},"n8n":{"nodes":["dist/nodes/Copicake/Copicake.node.js"],"credentials":["dist/credentials/CopicakeApi.credentials.js"],"n8nNodesApiVersion":1},"dist":{"shasum":"e36c6dc67b90b9d8aaf945bbc87ac8fc46e589bb","tarball":"https://registry.npmjs.org/@copicake/n8n-nodes-copicake/-/n8n-nodes-copicake-1.0.4.tgz","fileCount":14,"integrity":"sha512-3gdXbLhJb9SNyeHkCzhdizeMzCn1+7fO7Dpzd+JMp8Hd0tmwiFUBG5Iwoj1+5gEeAFlSrxIez2zwqFWEhr5hQg==","signatures":[{"sig":"MEQCIBxNdDpuC7dCd2r+wsWPI/SeVDVAW0LdLt5m3ywA38uCAiBEU2hN10u8DId3m7kcqXcu9DInSuS2Sh1OQ8tC6xoakQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":102410},"main":"index.js","engines":{"node":">=20.15"},"gitHead":"bb25a32fbfb09f37a41c32520bebd78d697447b8","scripts":{"dev":"tsc --watch","lint":"eslint nodes credentials package.json","build":"npx rimraf dist && tsc && gulp build:icons","format":"prettier nodes credentials --write","lintfix":"eslint nodes credentials package.json --fix","prepublishOnly":"npm run build && npm run lint -c .eslintrc.prepublish.js nodes credentials package.json"},"_npmUser":{"name":"eragonj","email":"eragonj@eragonj.me"},"repository":{"url":"git+https://github.com/Copicake/n8n-nodes-copicake.git","type":"git"},"_npmVersion":"10.9.2","description":"n8n node for Copicake - Generate marketing visuals with templates and API","directories":{},"_nodeVersion":"22.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"gulp":"^5.0.0","eslint":"^8.57.0","prettier":"^3.5.3","typescript":"^5.8.2","@types/node":"^22.15.30","semantic-release":"^24.2.5","@semantic-release/git":"^10.0.1","@typescript-eslint/parser":"~8.32.0","@semantic-release/changelog":"^6.0.3","eslint-plugin-n8n-nodes-base":"^1.16.3"},"peerDependencies":{"n8n-workflow":"*"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-copicake_1.0.4_1749442316007_0.73616485784185","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@copicake/n8n-nodes-copicake","version":"1.0.5","keywords":["n8n-community-node-package"],"author":{"name":"EragonJ","email":"eragonj@eragonj.me"},"license":"MIT","_id":"@copicake/n8n-nodes-copicake@1.0.5","maintainers":[{"name":"eragonj","email":"eragonj@eragonj.me"}],"homepage":"https://github.com/Copicake/n8n-nodes-copicake","bugs":{"url":"https://github.com/Copicake/n8n-nodes-copicake/issues"},"n8n":{"nodes":["dist/nodes/Copicake/Copicake.node.js"],"credentials":["dist/credentials/CopicakeApi.credentials.js"],"n8nNodesApiVersion":1},"dist":{"shasum":"f31b03b440a3918096a5886211708f6c750c8dc6","tarball":"https://registry.npmjs.org/@copicake/n8n-nodes-copicake/-/n8n-nodes-copicake-1.0.5.tgz","fileCount":14,"integrity":"sha512-obnh8Gh593X235RogEPB1Ps16a/LKX3T0plbaZY/oESWWMoC6I9+ive611EkwuhINPcY8V6plOyWZxqf5q2Mdg==","signatures":[{"sig":"MEQCIBHmEhNsnoRyRwEkymyH2fUKr96YrM/AlEF75fCvNX4kAiA/sXljPb7WVsFAFhHo7xbWul4EedjFLrNVgmq7yysSxg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":103440},"main":"index.js","engines":{"node":">=20.15"},"gitHead":"df4938e5d9dfe6c89eef26363f923bc209dc8c75","scripts":{"dev":"tsc --watch","lint":"eslint nodes credentials package.json","build":"npx rimraf dist && tsc && gulp build:icons","format":"prettier nodes credentials --write","lintfix":"eslint nodes credentials package.json --fix","prepublishOnly":"npm run build && npm run lint -c .eslintrc.prepublish.js nodes credentials package.json"},"_npmUser":{"name":"eragonj","email":"eragonj@eragonj.me"},"repository":{"url":"git+https://github.com/Copicake/n8n-nodes-copicake.git","type":"git"},"_npmVersion":"10.9.2","description":"n8n node for Copicake - Generate marketing visuals with templates and API","directories":{},"_nodeVersion":"22.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"gulp":"^5.0.0","eslint":"^8.57.0","prettier":"^3.5.3","typescript":"^5.8.2","@types/node":"^22.15.30","semantic-release":"^24.2.5","@semantic-release/git":"^10.0.1","@typescript-eslint/parser":"~8.32.0","@semantic-release/changelog":"^6.0.3","eslint-plugin-n8n-nodes-base":"^1.16.3"},"peerDependencies":{"n8n-workflow":"*"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-copicake_1.0.5_1749443277509_0.05962901990030001","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@copicake/n8n-nodes-copicake","version":"1.0.6","keywords":["n8n-community-node-package"],"author":{"name":"EragonJ","email":"eragonj@eragonj.me"},"license":"MIT","_id":"@copicake/n8n-nodes-copicake@1.0.6","maintainers":[{"name":"eragonj","email":"eragonj@eragonj.me"}],"homepage":"https://github.com/Copicake/n8n-nodes-copicake","bugs":{"url":"https://github.com/Copicake/n8n-nodes-copicake/issues"},"n8n":{"nodes":["dist/nodes/Copicake/Copicake.node.js"],"credentials":["dist/credentials/CopicakeApi.credentials.js"],"n8nNodesApiVersion":1},"dist":{"shasum":"f2fd101d48f18bceb0fe888aba3a0cbd5ddb2ce7","tarball":"https://registry.npmjs.org/@copicake/n8n-nodes-copicake/-/n8n-nodes-copicake-1.0.6.tgz","fileCount":14,"integrity":"sha512-DVldLqbv0cJ67bsLr/fC4t/9RDbAhkVKya4U0cloJjO5C6HqWdW/W7ou0pUFhjrDHaIEXardJDiNtDPXfBRrnA==","signatures":[{"sig":"MEUCIFUxZgJVEDRyxFtohiHTThelJ2wv0CsHB4naV2i3SyxLAiEA+erEa1J2qOSJwAS7N2N+qSDc3J7vb1/mSROb1nfB7Jg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":103803},"main":"index.js","engines":{"node":">=20.15"},"gitHead":"a78a3052844855ee47477402157197680e69d2f8","scripts":{"dev":"tsc --watch","lint":"eslint nodes credentials package.json","build":"npx rimraf dist && tsc && gulp build:icons","format":"prettier nodes credentials --write","lintfix":"eslint nodes credentials package.json --fix","prepublishOnly":"npm run build && npm run lint -c .eslintrc.prepublish.js nodes credentials package.json"},"_npmUser":{"name":"eragonj","email":"eragonj@eragonj.me"},"repository":{"url":"git+https://github.com/Copicake/n8n-nodes-copicake.git","type":"git"},"_npmVersion":"10.9.2","description":"n8n node for Copicake - Generate marketing visuals with templates and API","directories":{},"_nodeVersion":"22.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"gulp":"^5.0.0","eslint":"^8.57.0","prettier":"^3.5.3","typescript":"^5.8.2","@types/node":"^22.15.30","semantic-release":"^24.2.5","@semantic-release/git":"^10.0.1","@typescript-eslint/parser":"~8.32.0","@semantic-release/changelog":"^6.0.3","eslint-plugin-n8n-nodes-base":"^1.16.3"},"peerDependencies":{"n8n-workflow":"*"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-copicake_1.0.6_1749444177756_0.5410622912542209","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@copicake/n8n-nodes-copicake","version":"1.1.0","description":"n8n node for Copicake - Generate marketing visuals with templates and API","keywords":["n8n-community-node-package"],"license":"MIT","homepage":"https://github.com/Copicake/n8n-nodes-copicake","author":{"name":"EragonJ","email":"eragonj@eragonj.me"},"repository":{"type":"git","url":"git+https://github.com/Copicake/n8n-nodes-copicake.git"},"engines":{"node":">=20.15"},"main":"index.js","scripts":{"build":"npx rimraf dist && tsc && gulp build:icons","dev":"tsc --watch","format":"prettier nodes credentials --write","lint":"eslint nodes credentials package.json","lintfix":"eslint nodes credentials package.json --fix","prepublishOnly":"npm run build && npm run lint -c .eslintrc.prepublish.js nodes credentials package.json"},"publishConfig":{"access":"public"},"n8n":{"n8nNodesApiVersion":1,"credentials":["dist/credentials/CopicakeApi.credentials.js"],"nodes":["dist/nodes/Copicake/Copicake.node.js"]},"devDependencies":{"@semantic-release/changelog":"^6.0.3","@semantic-release/git":"^10.0.1","@types/node":"^22.15.30","@typescript-eslint/parser":"~8.32.0","eslint":"^8.57.0","eslint-plugin-n8n-nodes-base":"^1.16.3","gulp":"^5.0.0","prettier":"^3.5.3","semantic-release":"^24.2.5","typescript":"^5.8.2"},"peerDependencies":{"n8n-workflow":"*"},"_id":"@copicake/n8n-nodes-copicake@1.1.0","gitHead":"54ae36a0292d6a993d4ed1f8eb65fbfc754eb0ac","bugs":{"url":"https://github.com/Copicake/n8n-nodes-copicake/issues"},"_nodeVersion":"22.16.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-88fs73WWOq4hcJL7Wu7qvr3RKFBomCVvTJANZE/uVtuE1S1cF/ZY9XMeBuA3Ru+uMNnBaslN6C8+BKrjkHvMLg==","shasum":"1b7d72da827df617b04d85c02a95ac7c83d805ca","tarball":"https://registry.npmjs.org/@copicake/n8n-nodes-copicake/-/n8n-nodes-copicake-1.1.0.tgz","fileCount":14,"unpackedSize":103856,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCFxEHxiMOI6HO1SXhbUDGjwodQ/mLZGpTWRIjGGaZd4gIhAKDU4ug8TrDNqPRkypkDc0d4qGnhq3HJR7k75Tu/t2OE"}]},"_npmUser":{"name":"eragonj","email":"eragonj@eragonj.me","actor":{"name":"eragonj","email":"eragonj@eragonj.me","type":"user"}},"directories":{},"maintainers":[{"name":"eragonj","email":"eragonj@eragonj.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/n8n-nodes-copicake_1.1.0_1751303397917_0.47665329492758457"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-09T04:04:15.459Z","modified":"2025-06-30T17:09:58.290Z","1.0.3":"2025-06-09T04:04:15.728Z","1.0.4":"2025-06-09T04:11:56.198Z","1.0.5":"2025-06-09T04:27:57.687Z","1.0.6":"2025-06-09T04:42:57.955Z","1.1.0":"2025-06-30T17:09:58.111Z"},"bugs":{"url":"https://github.com/Copicake/n8n-nodes-copicake/issues"},"author":{"name":"EragonJ","email":"eragonj@eragonj.me"},"license":"MIT","homepage":"https://github.com/Copicake/n8n-nodes-copicake","keywords":["n8n-community-node-package"],"repository":{"type":"git","url":"git+https://github.com/Copicake/n8n-nodes-copicake.git"},"description":"n8n node for Copicake - Generate marketing visuals with templates and API","maintainers":[{"name":"eragonj","email":"eragonj@eragonj.me"}],"readme":"![Banner image](https://user-images.githubusercontent.com/10284570/173569848-c624317f-42b1-45a6-ab09-f0ea3c247648.png)\n\n# n8n-nodes-copicake\n\nThis is an n8n community node that lets you use [Copicake](https://copicake.com/) in your n8n workflows.\n\nCopicake is a data-driven image generation service that allows you to generate social media materials with just one click using templates and API calls.\n\n[n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/reference/license/) workflow automation platform.\n\n## Installation\n\nFollow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the n8n community nodes documentation.\n\n### Community Nodes (Recommended)\n\n1. Go to **Settings > Community Nodes**.\n2. Select **Install**.\n3. Enter `n8n-nodes-copicake` in **Enter npm package name**.\n4. Agree to the [risks](https://docs.n8n.io/integrations/community-nodes/risks/) of using community nodes: select **I understand the risks of installing unverified code from a public source**.\n5. Select **Install**.\n\nAfter installing the node, you can use it like any other node in your workflows.\n\n### Manual Installation\n\nTo get started install the package in your n8n root directory:\n\n```bash\nnpm install n8n-nodes-copicake\n```\n\nFor Docker-based deployments, add the following line before the font installation command in your [n8n Dockerfile](https://github.com/n8n-io/n8n/blob/master/docker/images/n8n/Dockerfile):\n\n```dockerfile\nRUN cd /usr/local/lib/node_modules/n8n && npm install n8n-nodes-copicake\n```\n\n## Credentials\n\nYou need to set up credentials to use this node:\n\n1. In n8n, go to **Credentials** and create new **Copicake API** credentials.\n2. Enter your Copicake API key.\n   - You can get your API key from the [Copicake dashboard](https://copicake.com/).\n\n## Operations\n\nThis node supports the following operations:\n\n### Image\n\n#### Create\nCreate a new image from a template with custom changes.\n\n**Parameters:**\n- **Template ID** (required): The ID of the template to use for image generation\n- **Changes**: Array of changes to apply to the template elements\n  - **Element Name**: The name of the element to modify\n  - **Change Type**: Type of change (Text, Image, QR Code, Shape)\n  - **Properties**: Specific properties based on change type:\n    - **Text**: text, fill color, stroke color, text background color\n    - **Image**: image URL, stroke color\n    - **QR Code**: content, fill color, stroke color\n    - **Shape**: fill color, stroke color\n- **Additional Options**:\n  - **Format**: Output format (PNG or JPG)\n  - **Max Wait Time (Seconds)**: Maximum time to wait for rendering completion (default: 60)\n  - **Polling Interval (Seconds)**: How often to check rendering status (default: 2)\n  - **Wait for Completion**: Whether to poll until rendering is complete (default: true)\n  - **Webhook URL**: URL to receive webhook when image is ready\n\n**Asynchronous Processing:**\nBy default, the node will automatically wait for the image rendering to complete before returning the final result. This includes polling the Copicake API every 2 seconds until the status becomes either `success` or `failed`, with a maximum wait time of 60 seconds. You can disable this behavior by setting \"Wait for Completion\" to false, which will return the initial response with `processing` status immediately.\n\n**Example:**\n```json\n{\n  \"template_id\": \"jfwrFJdR3z1eF8BcEhSnAFyhxgOq\",\n  \"changes\": [\n    {\n      \"name\": \"text-9so09m\",\n      \"text\": \"hello world\",\n      \"fill\": \"#ff0000\"\n    },\n    {\n      \"name\": \"image-yeavh7\",\n      \"src\": \"https://your_website.com/test.png\"\n    }\n  ],\n  \"options\": {\n    \"format\": \"png\",\n    \"webhook_url\": \"https://your_website.com/webhook_url\"\n  }\n}\n```\n\n#### Get\nRetrieve an existing image by its rendering ID.\n\n**Parameters:**\n- **Rendering ID** (required): The rendering ID of the image to retrieve\n\n**Example:**\n```json\n{\n  \"rendering_id\": \"ki9ImK39lPRwb1oOpKbROkNWumFz\"\n}\n```\n\n## Response Format\n\n### Create Image Response\n```json\n{\n  \"rendering_id\": \"xc17NtfyMaxPDCtz0ZjEZ4guBmiC\",\n  \"status\": \"processing\",\n  \"created_at\": \"2023-01-01T00:00:00Z\"\n}\n```\n\n### Get Image Response\n```json\n{\n  \"rendering_id\": \"xc17NtfyMaxPDCtz0ZjEZ4guBmiC\",\n  \"status\": \"success\",\n  \"permanent_url\": \"https://copicake.s3.ap-northeast-1.amazonaws.com/renderings/xc17NtfyMaxPDCtz0ZjEZ4guBmiC.png\",\n  \"created_at\": \"2023-01-01T00:00:00Z\",\n  \"completed_at\": \"2023-01-01T00:00:05Z\"\n}\n```\n\n## Example Workflows\n\n### Basic Image Generation\n1. **Manual Trigger** → **Copicake (Create Image)** → **HTTP Request** (to download image)\n\n### Automated Social Media Posts\n1. **Schedule Trigger** → **Copicake (Create Image)** → **Twitter** (post with generated image)\n\n### Dynamic Content Generation\n1. **Webhook** → **Set** (prepare data) → **Copicake (Create Image)** → **Email** (send with generated image)\n\n## Resources\n\n- [Copicake API Documentation](https://docs.copicake.com/)\n- [Copicake Website](https://copicake.com/)\n- [n8n Community Nodes Documentation](https://docs.n8n.io/integrations/community-nodes/)\n\n## Version History\n\n### 0.1.0\n- Initial release\n- Support for Create Image and Get Image operations\n- Full support for all Copicake API features including text, image, QR code, and shape modifications\n\n## License\n\n[MIT](https://github.com/copicake/n8n-nodes-copicake/blob/main/LICENSE.md)\n","readmeFilename":"README.md"}