> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trycordage.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Quick Start

> Create your first AI workflow in 5 minutes

This guide walks you through creating a simple image generation workflow using Cordage.

## Prerequisites

* A Cordage account (sign up at [trycordage.com](https://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`

<Tip>
  You can also right-click on the canvas to quickly add nodes.
</Tip>

## 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

```mermaid theme={null}
flowchart LR
    A[Text Input] -->|prompt| B[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

```mermaid theme={null}
flowchart LR
    A[Text Input] --> B[Model Node]
    B --> C[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

<Check>
  Congratulations! You've built your first Cordage workflow.
</Check>

## What's Next?

<CardGroup cols={2}>
  <Card title="Explore Nodes" icon="circle-nodes" href="/tutorials/nodes">
    Learn about all available node types and their capabilities.
  </Card>

  <Card title="Chain Models" icon="link" href="/tutorials/models">
    Connect multiple AI models for advanced pipelines.
  </Card>

  <Card title="Add Tools" icon="screwdriver-wrench" href="/tutorials/tools">
    Use crop, resize, and filter tools to refine outputs.
  </Card>

  <Card title="Batch Processing" icon="repeat" href="/tutorials/iterators">
    Process multiple prompts or images automatically.
  </Card>
</CardGroup>

## Example Workflows

### Image Enhancement Pipeline

```mermaid theme={null}
flowchart LR
    A[Image Input] --> B[Upscale Model]
    B --> C[Sharpen Filter]
    C --> D[Export]
```

### Multi-Style Generation

```mermaid theme={null}
flowchart LR
    A[Text Input] --> B[Style Model A]
    A --> C[Style Model B]
    B --> D[Export]
    C --> D
```

### Batch Image Processing

```mermaid theme={null}
flowchart LR
    A["Media Iterator<br/>(100 images)"] --> B[Background Remove]
    B --> C[Resize Tool]
    C --> D[Export]
```
