goldens/capabilities/image-edit.v1.json 1.7 KiB 79 lines Raw
1 {2   "capability": "image-edit",3   "channels": [4     {5       "channel": "image",6       "mime": "image/png",7       "payload": "one whole image"8     },9     {10       "channel": "progress",11       "mime": "application/json",12       "payload": "{stage, pct} during generation"13     }14   ],15   "meta": [16     {17       "key": "model",18       "meaning": "the served name that ran the job",19       "type": "string"20     },21     {22       "key": "width",23       "meaning": "the width of the produced image, in pixels",24       "type": "uint"25     },26     {27       "key": "height",28       "meaning": "the height of the produced image, in pixels",29       "type": "uint"30     }31   ],32   "parameters": [33     {34       "default": "catalogue",35       "meaning": "the number of denoise steps",36       "name": "steps",37       "type": "uint"38     },39     {40       "default": "catalogue",41       "meaning": "how closely the job follows the instruction",42       "name": "guidance",43       "type": "float"44     },45     {46       "default": "catalogue",47       "meaning": "how far the job moves from the source",48       "name": "strength",49       "type": "float"50     },51     {52       "default": "none",53       "meaning": "a fixed seed for a repeatable job",54       "name": "seed",55       "type": "uint"56     }57   ],58   "parts": [59     {60       "kind": "image",61       "meaning": "the image that the job changes.",62       "required": "yes, exactly one",63       "role": "source"64     },65     {66       "kind": "image",67       "meaning": "the area that the job may change. At most one.",68       "required": "no",69       "role": "mask"70     },71     {72       "kind": "text",73       "meaning": "what to change in the source.",74       "required": "yes, exactly one",75       "role": "instruction"76     }77   ],78   "version": 179 }