Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/anil-matcha/open-generative-ai/llms.txt

Use this file to discover all available pages before exploring further.

Workflow Studio lets you design and execute multi-step AI generation pipelines without writing any code. Instead of running models one at a time and manually passing outputs between them, you connect nodes in a visual editor — each node represents a model or transformation step — and the studio executes the entire pipeline in the correct order. This makes it possible to build complex creative workflows (for example: generate an image, upscale it, then animate it into a video) as a single reusable, shareable unit.

Key Capabilities

  • Templates — Start from a library of pre-built workflows covering common image, video, and audio pipelines. Templates are ready to run immediately, with no configuration required.
  • My Workflows — Save, edit, and manage your own custom pipelines. Workflows are versioned and can be renamed or deleted at any time.
  • Community — Browse and run workflows published by other users. Community workflows can be copied as a starting point for your own creations.
  • Node-based Builder — A drag-and-drop visual editor where you connect model nodes and route outputs between steps. Each node exposes its own input fields and configuration.
  • Playground — Run any workflow interactively using a generated form UI. Inputs are collected from you in real time and results render inline as each step completes.
  • API execution — Every workflow you create is also callable programmatically via the Muapi API using the executeWorkflow() function, making it straightforward to integrate workflows into your own applications.

How to Use Workflow Studio

1

Open Workflow Studio

Navigate to the Workflow tab in the Open Generative AI interface. The studio loads with three tabs: Templates, My Workflows, and Community.
2

Browse templates or create a new workflow

Select a template from the Templates tab to start from a pre-built pipeline, or click New Workflow to open a blank canvas in the node-based editor.
3

Connect nodes in the editor

In the node editor, drag model nodes onto the canvas and connect their inputs and outputs. The output of one node (e.g. a generated image URL) can be wired directly into the input of the next (e.g. an image-to-video model’s image_url field).
4

Run in the Playground

Click Playground to launch the interactive runner. The studio generates a form from your workflow’s input nodes, collects your values, and executes the pipeline step by step. Results appear inline as they are produced.
5

Optionally call via API

Once a workflow is saved, you can execute it programmatically. Fetch the workflow’s input schema, then call executeWorkflow() with your API key, the workflow ID, and the required inputs. The function submits the run and polls until all outputs are ready.
import { executeWorkflow } from 'studio';

const result = await executeWorkflow(apiKey, workflowId, {
  prompt: "a serene mountain lake at sunrise",
  aspect_ratio: "16:9"
});

console.log(result);
Workflow Studio is powered by Vibe Workflow, the open-source node-based AI workflow engine. You can drop Vibe Workflow into your own project to add the same visual pipeline builder independently of Open Generative AI.

API Execution Reference

The executeWorkflow() function from muapi.js handles the full submit-and-poll cycle for workflow runs:
import { executeWorkflow, getWorkflowInputs } from 'studio';

// 1. Inspect what inputs the workflow expects
const schema = await getWorkflowInputs(apiKey, workflowId);

// 2. Execute the workflow with those inputs
const result = await executeWorkflow(apiKey, workflowId, {
  // pass inputs matching the schema
});
Internally, executeWorkflow() posts to POST /workflow/{workflowId}/api-execute and polls GET /workflow/run/{runId}/api-outputs until the status reaches completed, succeeded, or success.
Use My Workflows to keep your production pipelines separate from community discoveries. Community workflows can be cloned into My Workflows and then customised — you always have a clean copy to edit without affecting the original.

Build docs developers (and LLMs) love