prompthunt
/
cog-comfy
- Public
- 18 runs
Run prompthunt/cog-comfy with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
Input schema
The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.
Field | Type | Default value | Description |
---|---|---|---|
workflow |
string
|
Input image
|
|
weights_url |
string
|
Weights ckpt URL
|
|
positive_prompt |
string
|
Hey! Have a nice day :D
|
Positive prompt
|
negative_prompt |
string
|
|
Negative prompt
|
seed |
integer
|
Seed
|
|
control_image |
string
|
Control image
|
|
face_swap_image |
string
|
Face swap image
|
{
"type": "object",
"title": "Input",
"required": [
"workflow"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 4,
"description": "Seed"
},
"workflow": {
"type": "string",
"title": "Workflow",
"format": "uri",
"x-order": 0,
"description": "Input image"
},
"weights_url": {
"type": "string",
"title": "Weights Url",
"x-order": 1,
"description": "Weights ckpt URL"
},
"control_image": {
"type": "string",
"title": "Control Image",
"format": "uri",
"x-order": 5,
"description": "Control image"
},
"face_swap_image": {
"type": "string",
"title": "Face Swap Image",
"format": "uri",
"x-order": 6,
"description": "Face swap image"
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "",
"x-order": 3,
"description": "Negative prompt"
},
"positive_prompt": {
"type": "string",
"title": "Positive Prompt",
"default": "Hey! Have a nice day :D",
"x-order": 2,
"description": "Positive prompt"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
}