@acedatacloud/node-red-luma 1.0.0
Generate or extend Luma videos and retrieve the original task in Node-RED.
Luma for Node-RED
Generate or extend Luma videos and retrieve the original task in Node-RED.
Install
In Manage palette → Install, search for @acedatacloud/node-red-luma. For manual installation, run npm install @acedatacloud/node-red-luma in your Node-RED user directory and restart it. Use Node.js 22 or later with Node-RED 4 or 5.
Add an application token scoped to the operations you use. Enter the raw token in the account node's password field.
Use the node
- Open Import → Examples → @acedatacloud/node-red-luma and import Generate and check a Luma video. Both Inject nodes start manually.
- Set
msg.payloadto a video request object. Deploy and click Video prompt once. Luma generate submits one asynchronous request and emits the original task ID as a string. Generation may use Credits. - Pass that ID to Luma task. Its first output carries a completed result with
msg.payload.result.video_url. The second carries a pending task withmsg.payload.idfor another lookup. A Catch node receives failed tasks or request errors. Check the same ID in application history before repeating an uncertain submission.
Luma accepts text-to-video, optional first or last images, and extension by the previous video_id or video_url. The completed result includes video_id and thumbnail_url when returned.
Source
The palette PNG is the published product artwork for this service. The repository contains credential-free examples and local Node-RED tests.