@acedatacloud/node-red-seedream 1.0.0

Generate, edit and retrieve Seedream images or layers in Node-RED.

npm install @acedatacloud/node-red-seedream

Seedream for Node-RED

Seedream

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

  1. Import Generate and check a Seedream image from Import → Examples → @acedatacloud/node-red-seedream.
  2. Open Seedream generate and configure an Ace Data Cloud application token. Enter the raw token. Include /seedream/images and /seedream/tasks in Allowed APIs.
  3. 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.
  4. 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.

Node Info

Version: 1.0.0
Updated 5 days ago
License: MIT
Rating: not yet rated

Categories

Actions

Rate:

Downloads

0 in the last week

Nodes

  • acedatacloud-seedream-account
  • acedatacloud-seedream-generate
  • acedatacloud-seedream-task

Keywords

  • node-red
  • seedream
  • image
  • acedatacloud

Maintainers