SegmindSegmind / Docs
Guides

Build Your First Workflow

A step-by-step PixelFlow tutorial: build a text-to-image workflow from a blank canvas, run it, iterate with pinning, and get it ready to publish as an API.

In this tutorial you'll build the classic starter workflow — prompt in, image out — and learn the editor moves you'll use in every workflow after it.

Video coming soon

The full tutorial, end to end

https://segmind-resources.s3.amazonaws.com/docs/pixelflow/guides/build-first-workflow.mp4

Create a workflow

In the library, click New workflow. You'll land on an empty canvas.

An empty PixelFlow canvas after creating a new workflow

Add a text input

From the sidebar, add an Input node. Leave it in plain-text mode and type a prompt — try a lighthouse at dusk, dramatic sky, photographic.

A text input node containing a prompt

Add an image model

Open the model search, look up an image-generation model, and add it. Its parameter form appears on the node — defaults are fine for a first run.

Model search results with an image model added to the canvas

Connect input → model

Drag from the input node's output port to the model's prompt parameter. The port highlights when connected.

An edge connecting the input node to the model node's prompt parameter

Add an output node

Add an Output node and connect the model's image output to it.

Output node connected to the model node

Run it

Click Run. Watch the model node go in‑progress, then your image appears in the output node. Note the execution time and credit cost reported on the node.

A completed run with the generated image displayed in the output node

Iterate — with pinning

Tweak the prompt and run again. When part of your graph is already right, pin those nodes — pinned nodes reuse their cached output instead of re-running, saving time and credits while you iterate on the rest.

Where to go from here

The pattern you just built — input → model → output — scales to everything PixelFlow does:

On this page