Skip to main content

Designing and Modifying the Sharable API Page on InstaSD

Milad Mesbah avatar
Written by Milad Mesbah
Updated over 6 months ago

InstaSD allows you to customize your API's sharable page to ensure a user-friendly experience. Here's how you can view and edit your API page:


1. Viewing Your Sharable Page

  • Navigate to the API page and click on the Eye icon to preview what the sharable page looks like.


2. Customizing the Sharable Page

You can modify various aspects of your sharable page directly from the API page interface:

a. Rearrange Inputs

  • Drag and rearrange the input fields from the left-hand side of the API page.

  • The updated order will reflect on the sharable page once you click Save Changes.

b. Set Default Values

  • Define default values for each input field.

  • These defaults will automatically load when someone visits the sharable page. Ensure to save changes after setting defaults.

c. Hide or Show Inputs

  • Choose to hide certain inputs on the sharable page.

  • If an input is hidden, ensure its default value is properly set, as users won't be able to modify it.

d. Enable Auto-Randomize for Seeds

  • If your workflow uses the appropriate InstaSD input node for seeds, you’ll see an Auto Randomize checkbox near the seed input field.

  • Enable this option to randomize the seed value for each generation automatically.

  • Optionally, hide the seed input on the sharable page if you prefer users not to modify it.

e. Set Min/Max for Integer Inputs

  • For integer inputs, you can define a minimum and maximum value.

  • These will appear as a slider on the sharable page, enhancing usability.

f. Create Select Inputs

  • For string inputs, you can turn them into select inputs with key-value pairs.

  • This will present users with a dropdown menu, limiting their choices to predefined options.

By tailoring your sharable page with these tools, you can provide a streamlined and efficient user experience, whether your API is shared with collaborators, clients, or the public.

Did this answer your question?