Building the app
To get started, you need to use the workflow_api.json file from the workflow you want to turn into an app. There are more details on how to get that file here. Once you have the file ready, you just need to drop it in the editor.
Editing the app

Link your App with the ViewComfy Cloud API Endpoint
The “ViewComfy Endpoint” is the API link to your deployment. This is required if you are planning to deploy the app on ViewComfy cloud. The deployment is where the workflow will run (ei. generate content).
Editing the app (Advanced)
It is also possible to make more advanced edits to the apps by making changes directly in the view_comfy.json file. If you use Cursor, you can use our Cursor Rule to help you. (we have some examples on how to do that here). We also have a video guide on how to do some of those advanced edits.Supported input types
- text
- long-text
- number
- boolean
- video
- image
- audio
- seed => seed, noise_seed, rand_seed
- number slider => with min, max and step.
- select => list of options (label and value) e.g:
view_comfy.json file structure
You can download the view_comfy.json file from the editor (“Download as ViewComfy JSON”). The section of the json file called “viewComfyJSON” is what defines the UI elements inside the app. More specifically, the “input” and “advancedInputs” sections are the ones that define the parameters.- The input name in the UI is the input “title”
- Default values are stored in “value”
- The UI will render the inputs in the same order as in the json
- You can create dropdowns by changing the input type to select and adding a list of labels.
Rename parameters
So, for example, you can rename the “CLIP Text Encode (Positive Prompt)” input to “prompt” and remove the default value by changing that input to:Create dropdowns

Dropdown
Organise parameters
And finally, you can rename that input to “Controlnet type” and bring it to the top (and outside of the advanced input section), so that the viewComfyJSON section of the json ends up looking like this:Create sliders

Input Tooltips
You can add tooltips beside your input to add helpful information to the user
tooltip key to a parameter and if you want to add a new line you can add the \n
Input Help text
You can add a help text below your input to add guidance information to the user
helpText key of a parameter and if you want to add a new line you can add the \n
Supported output types
Supported types are rendered by their mime-type- Image (image/)
- Video (video/)
- Audio (audio/)
- PSD Files (image/vnd.adobe.photoshop)
Compare images side by side
You can compare any two image that you generated

Display the name of the output file
You can enable this option to display the file name in the output section of the playground

__, for example: __text__, the text between ’ __’ will be shown instead.
- In the case of the SaveImage Node, it will automatically add an _ to the file name, that’s why you should only add 1 after the name, like in the picture


Example creating a PSD file Output
To create a .psd file that ViewComfy can display in the playground page, you need to connect it to a “Show Any” node and make sure that the output has the following shape.