PixelFlow Operations
Last updated
Last updated
Adding a node: To add a node, simply drag your desired node from the model nodes and place it onto the board.
Deleting a Node: If you need to remove a node from your workflow, you can do so by clicking on the delete option.
Duplicate a Node: If you want to use the same node multiple times in your workflow, you can duplicate it by clicking on the duplicate option on the node.
Minimize a Node: To reduce clutter on your graph, you can minimize a node by clicking on the minimize option on the node.
Creating Connections between nodes: Nodes are connected with each other through connection lines. You can create a connection line by selecting a node and clicking on its port. Once the connection line is created, you can move it to the node you want to connect by linking it to the port of that node.
Deleting Connections between nodes: If you wish to delete a connection, you can do so by simply clicking on the connection line and hitting the backspace or delete button on your keyboard.
Creating a Simple Workflow: You can create your first workflow by following these steps:
Drag and drop an input node, a model node, and an output node onto the canvas.
Add a connection line between the input node to the model node, and then from the model node to the output node, and hit the run button. Tada! You have built your first workflow.
Moving Nodes in Your Workflow: You can hold and move the nodes around the canvas. Arrange them in whatever way is convenient for you to create an organized and understandable workflow.
Naming Your Workflow: When you create a new workflow, a random name is generated. However, you can rename your workflow to something more descriptive or meaningful to you.
Deleting a Workflow: If you wish to delete a workflow, simply click on the delete option. This will remove the workflow from your canvas.
Share Workflow to an Email: If you want to share your workflow with others, you can do so by sending it to an email. Please note whoever you are sharing your workflow with, they need to have an account on Segmind to view/edit workflow. This allows others to view and use your workflow. Please note you can only share your workflow to only one email address at a time.
Executing Workflows:
Executing workflows simply means starting tasks in a workflow. Here, a workflow is a set of connected tasks (such as text to image, image to image and so on), each represented by a node. Each task depends on the previous one. A workflow can be executed by clicking on the run button.
Executing Multiple Workflows: If you have multiple workflows on your canvas, you can run all of them at once by clicking on the ‘Run’ button at the top corner of the canvas.
Executing Single Workflow: If you want to run a single workflow within the canvas, you can do so by clicking on ‘Run’ on the output node of that specific workflow.
Checking Status of a Workflow: The status of an executed workflow is indicated by a colored icon. A green tick indicates that the workflow, with all its nodes, has been successfully executed. A red exclamation icon, on the other hand, indicates that the workflow has not been executed. This could be due to an issue with one or more nodes in the workflow. If there’s an error, you can read the error message to understand the type of error and make the necessary adjustments.
Zoom In: You can zoom into the canvas by clicking on the ‘Zoom In’ option or scrolling up with your mouse. This is very useful if you want to adjust the parameters or take a closer look at the nodes. It allows you to focus on specific parts of your workflow.
Zoom Out: You can zoom out of the canvas by clicking on the ‘Zoom Out’ option or scrolling down with your mouse . This is useful to take a bird’s eye view of your workflow. It allows you to see the entire workflow and understand the big picture.
Fit View: The ‘Fit View’ option repositions the screen to fit the workflow to your screen. This is particularly useful when you want to view the entire workflow at once, especially if it’s a large and complex one.
Lock Canvas: Locking the canvas allows you to move around the graph without disturbing the nodes’ positions. When you run a graph or workflow, the graph is automatically locked. When the graph is locked, you will not be able to make any changes to the workflow. This prevents accidental modifications while you’re reviewing or presenting your workflow.
Using Map: The ‘Map’ feature helps you navigate your workflow. It provides a miniature view of your entire workflow, allowing you to quickly move to different parts of your workflow.
Assets:
Upload Assets: You can upload assets such as images, audio files, or text files that you want to use in your workflows. These assets can then be used as inputs for your workflows.
Workflow to API
We will soon introduce this feature that will allow users to create an API directly from their workflows. This will enable the processes defined in the workflows to be accessed and run through this API. Users will be able to test the created API to ensure it functions as expected, and upon successful testing, they can publish the API. This could potentially make the API available to other applications or users. Here is how you can publish your workflow to an API:
Define Input Parameters: In the advanced tab of the input nodes, check the ‘Use as API input name’ option for each input parameter. Enter the API input parameter name. Repeat this step for each input node if you have multiple inputs.
Define Output Parameters: Similarly, for the output nodes, check the ‘Use as API output name’ option. Enter the API output parameter name.
Publish Workflow: After defining your input and output parameters, publish your workflow.You can see ‘API live” indicating your API available is ready for use.
Test Your API: You can test your API and view the ready-to-use API documentation.
Update Your API: If you need to make changes, you can update your API by modifying the workflow. Any changes will be reflected in the version change ( v1, v2 and so on) next to ‘API live’.
Using your custom models in workflows (Coming soon)
You can bring your fine-tuned custom models and build workflows. We will be soon rolling out this feature.