bxclib2
/
public-test
- Public
- 0 runs
Run bxclib2/public-test 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 |
---|---|---|---|
face_image |
string
|
Input face image
|
|
blur_amount |
number
|
0
|
Blur to apply to mask to face
|
source_image |
string
|
Source image of body
|
|
strength |
number
|
0.7
|
mask strength
|
prompt |
string
|
|
Prompt
|
num_outputs |
integer
|
1
Min: 1 Max: 4 |
Number of images to output.
|
seed |
integer
|
Random seed. Leave blank to randomize the seed
|
{
"type": "object",
"title": "Input",
"required": [
"face_image"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 6,
"description": "Random seed. Leave blank to randomize the seed"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "",
"x-order": 4,
"description": "Prompt"
},
"strength": {
"type": "number",
"title": "Strength",
"default": 0.7,
"x-order": 3,
"description": "mask strength"
},
"face_image": {
"type": "string",
"title": "Face Image",
"format": "uri",
"x-order": 0,
"description": "Input face image"
},
"blur_amount": {
"type": "number",
"title": "Blur Amount",
"default": 0,
"x-order": 1,
"description": "Blur to apply to mask to face"
},
"num_outputs": {
"type": "integer",
"title": "Num Outputs",
"default": 1,
"maximum": 4,
"minimum": 1,
"x-order": 5,
"description": "Number of images to output."
},
"source_image": {
"type": "string",
"title": "Source Image",
"format": "uri",
"x-order": 2,
"description": "Source image of body"
}
}
}
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"
}