Skip to main content
This guide walks you through creating a simple image generation workflow using Cordage.

Prerequisites

  • A Cordage account (sign up at trycordage.com)
  • Credits in your account for AI model execution

Step 1: Create a New Canvas

  1. Log in to Cordage and navigate to your workspace
  2. Click New Canvas to create a blank canvas
  3. Give your canvas a descriptive name like “My First Workflow”

Step 2: Add Input Nodes

Every workflow needs input nodes to provide data. Let’s add a text input for our prompt.
  1. Open the Node Palette on the left sidebar
  2. Find Text Input under “Inputs”
  3. Drag it onto the canvas
  4. Click the node and enter a prompt like: A serene mountain landscape at sunset, photorealistic
You can also right-click on the canvas to quickly add nodes.

Step 3: Add an AI Model

Now let’s add an image generation model to process our prompt.
  1. From the Node Palette, drag a Model node onto the canvas
  2. Click the model node to open the model selector
  3. Search for “flux” or browse the available models
  4. Select a model like black-forest-labs/flux-schnell for fast generation

Step 4: Connect the Nodes

Connect your text input to the model:
  1. Click and drag from the output handle (right side) of the Text Input node
  2. Drop the connection onto the prompt input handle (left side) of the Model node
  3. The connection line confirms data will flow from input to model
[Text Input] ──prompt──> [Model Node]

Step 5: Add an Export Node

To save the generated image, add an export node:
  1. Drag an Export node from the Node Palette
  2. Connect the Model node’s output to the Export node’s input
  3. Configure export settings (format, quality) in the inspector panel
[Text Input] ──> [Model Node] ──> [Export]

Step 6: Run the Workflow

  1. Click the Run button on the Export node, or use the toolbar
  2. Watch the execution progress on each node
  3. When complete, your generated image appears in the Export node
  4. Click to download or view the full-size image
Congratulations! You’ve built your first Cordage workflow.

What’s Next?

Example Workflows

Image Enhancement Pipeline

[Image Input] ──> [Upscale Model] ──> [Sharpen Filter] ──> [Export]

Multi-Style Generation

                    ┌──> [Style Model A] ──┐
[Text Input] ──────>│                      │──> [Export]
                    └──> [Style Model B] ──┘

Batch Image Processing

[Media Iterator] ──> [Background Remove] ──> [Resize Tool] ──> [Export]
     (100 images)