@acedatacloud/node-red-producer 1.0.0

Generate and edit Producer songs, check existing tasks, and retrieve audio assets in Node-RED.

npm install @acedatacloud/node-red-producer

Producer for Node-RED

Generate or edit music with Producer, look up the original task, and retrieve related audio assets in Node-RED.

Install

Search for @acedatacloud/node-red-producer in Manage palette → Install. Alternatively, run npm install @acedatacloud/node-red-producer in the Node-RED user directory and restart it. Use Node.js 22 or later with Node-RED 4 or 5.

Configure a raw application token from Ace Data Cloud Applications with access to the operations used in your flow. Node-RED stores it as a password credential outside flow exports.

Generate and check a song

  1. Add Producer generate. Send an Audios request in msg.payload, for example {"action":"generate","prompt":"A reflective piano instrumental","instrumental":true}. Other actions include cover, extend, variation, vocal and instrumental swaps, section replacement, and stems. The public API reference lists their inputs. Each submission may use Credits.
  2. Save the original task ID emitted as a string. Pass it to Producer task for one lookup. You can also import Check an existing Producer task from the package examples and supply the ID from application history.
  3. The first output carries a finished task and its HTTPS audio, video, or stems links in msg.payload.tracks. The second carries a pending task with msg.payload.id. Pass that ID back as a string for the next lookup without submitting a new generation.

Connect a Catch node to route failed tasks, missing results, and HTTP or transport errors. Check the original task in application history if the submit response is uncertain. Each input sends one request.

Audio and lyrics operations

Select an operation on Producer assets. The node emits the API data value in msg.payload.

Operation Input Result
Generate lyrics {"prompt":"A song about stargazing"} Lyrics record
Upload reference audio {"audio_url":"https://example.com/reference.mp3"} Audio ID
Get WAV download {"audio_id":"your-original-audio-id"} WAV file records with file_url
Get video download {"audio_id":"your-original-audio-id"} Video record with video_url

Public OpenAPI · Producer generation guide

Node Info

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

Categories

Actions

Rate:

Downloads

0 in the last week

Nodes

  • acedatacloud-producer-account
  • acedatacloud-producer-generate
  • acedatacloud-producer-task
  • acedatacloud-producer-assets

Keywords

  • node-red
  • producer
  • music
  • acedatacloud

Maintainers