@acedatacloud/node-red-seedream 1.0.0
Generate, edit and retrieve Seedream images or layers in Node-RED.
Seedream for Node-RED
Generate, edit and retrieve Seedream images or layers in Node-RED.
Install
Use Node.js 22+ and Node-RED 4+. In Manage palette → Install, search for @acedatacloud/node-red-seedream. For manual installation, run this command in your Node-RED user directory and restart the editor.
npm install @acedatacloud/node-red-seedream
Generate and check a result
- Import Generate and check a Seedream image from Import → Examples → @acedatacloud/node-red-seedream.
- Open Seedream generate and configure an Ace Data Cloud application token. Enter the raw token. Include
/seedream/imagesand/seedream/tasksin Allowed APIs. - Deploy the flow and click Image idea once. Generation can use Credits. Save the original task ID from the Debug sidebar. The example waits 60 seconds and checks the same task once.
- Read the result in Finished image. To check a pending task again, put the original ID in Existing task ID, deploy, and click that Inject node. After an uncertain submission, check application history before retrying.
Node inputs and outputs
Seedream generate takes a request object in msg.payload. The node sets async: true and returns the original task ID as a string.
For reference editing, include image. A supported Pro model can use layer_decomposition: true without a prompt. The result preserves data rows, layer metadata, item errors, and available usage. Use stream: false for the asynchronous node.
Seedream task accepts that ID or one copied from application history. Its outputs carry { id, state, result }. The first output carries a finished result. The second carries a pending task with result: null. A Catch node receives failed tasks and request errors.