Skip to main content
Preparing the Workflow for API Deployment
Milad Mesbah avatar
Written by Milad Mesbah
Updated over a week ago

Before deploying your workflow, you need to configure it to accept inputs that users can customize when interacting with your API. Follow these steps:

  1. Launch Your Workflow on InstaSD

    • Ensure your workflow is uploaded and functional within InstaSD.

  2. Identify Configurable Inputs

    • Decide which parts of the workflow users should be able to customize (e.g., prompt, seed).

  3. Add API Input Nodes

    • Replace existing static values in your workflow with InstaSD-specific API input nodes:

      • For text-based inputs like prompts, use the Multi-line Text Input Node under "NSD API Inputs."

      • For numeric or variable inputs like seeds, use the Seed Input Node.

  4. Configure the Input Nodes

    • Add default values to your input nodes. For example:

      • Set a placeholder prompt or description for the Multi-line Text Input Node.

      • Add a default or random seed value for the Seed Input Node.

  5. Save Your Workflow

    • After replacing the relevant fields with API input nodes, save the updated workflow file in InstaSD.

Did this answer your question?