
The first Nyno workflow command: Edit Images with YAML. It integrates directly into Nyno’s workflow and allows you to edit images via YAML workflow nodes or remotely via TCP execution.
Add this command to your Nyno workflow YAML:
nyno-openai-image-edit:
args:
- "${apiKey}"
- "${imagePath}"
- "${prompt}"
${apiKey} → Your OpenAI API key${imagePath} → Path to the image you want to edit${prompt} → Description of the desired edit
🚀 Install & Link Locally
git clone https://github.com/empowerd-cms/nyno-image-editor
cd nyno-image-editor
npm link # this makes the 'nyno-image-editor' command available
tcpman)You can also run the Nyno workflow with the example YAML using TCP/tcpman:
tcpman localhost:6001/test_ai \
'c{"apiKey":"changeme"}' \
'q{"imagePath":"/home/user/Pictures/nyno-logo2.png","prompt":"Make it a bit prettier and look high tech my logo","apiKey":"sk-..."}'
c{...} → Connection/authentication parametersq{...} → Query/execution parameters corresponding to YAML arguments/home/user/Pictures/nyno-logo2.png with your image pathsk-... with your OpenAI API key