Segmind Docs
WebsiteConsole
  • Segmind Developer Platform
    • Developer Quickstart
    • Key Concepts
    • Support
    • Authentication
    • Pricing and Billing
    • Flux Fine Tuning
      • Flux fine Tuning API
      • Flux Pro fine tuning API
      • Fine tuning GPU options
    • Webhooks
    • Teams
    • Account and Developer Settings
  • API Reference
    • Model Status
    • Rate Limits
    • Account and Billing APIs
    • Premium models
    • Monitoring
    • Logging
    • Random Seed
  • PixelFlow
    • Getting Started
    • PixelFlow Components
    • PixelFlow Operations
    • Templates
    • Workflow to API
  • Model Hub
  • Dedicated Endpoints
    • Getting started
    • Endpoint APIs
Powered by GitBook
On this page
  1. PixelFlow

Workflow to API

PreviousTemplatesNextModel Hub

Last updated 11 months ago

Once the users have created a workflow of their choice, they can publish the entire workflow into a single API, using workflow to API feature. Users will be able to publish and test the API in the console itself. Here is how you can publish your workflow to an API:

How to publish workflows as an API?

  1. Define Input Parameters: In the advanced tab of the input nodes, check the ‘Use as API input name’ option for each input parameter. Enter the API input parameter name. Repeat this step for each input node if you have multiple inputs.

  2. Define Output Parameters: Similarly, for the output nodes, check the ‘Use as API output name’ option. Enter the API output parameter name.

  3. Publish Workflow: After defining your input and output parameters, publish your workflow.You can see ‘API live” indicating your API available is ready for use.

  4. Test Your API: You can test your API and view the ready-to-use API documentation.

If you need to make changes, you can update your API by modifying the workflow. Any changes will be reflected in the version change ( v1, v2 and so on) next to ‘API live’.