Update how to get the prompt in api format in the example.

This commit is contained in:
comfyanonymous 2023-07-19 15:07:12 -04:00
parent 799c08a4ce
commit d5c0765f4e
1 changed files with 6 additions and 2 deletions

View File

@ -2,8 +2,12 @@ import json
from urllib import request, parse
import random
#this is the ComfyUI api prompt format. If you want it for a specific workflow you can copy it from the prompt section
#of the image metadata of images generated with ComfyUI
#This is the ComfyUI api prompt format.
#If you want it for a specific workflow you can "enable dev mode options"
#in the settings of the UI (gear beside the "Queue Size: ") this will enable
#a button on the UI to save workflows in api format.
#keep in mind ComfyUI is pre alpha software so this format will change a bit.
#this is the one for the default workflow