mlscade / image_tune
image_tune
- Public
- 186 runs
Run mlscade/image_tune 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 |
---|---|---|---|
image_path |
string
|
Input image
|
|
auto_color_correction |
boolean
|
False
|
Apply automatic color correction
|
auto_white_balance |
boolean
|
False
|
Apply automatic white balance
|
auto_contrast |
boolean
|
False
|
Apply automatic contrast
|
auto_sharpness |
boolean
|
False
|
Apply automatic sharpness
|
saturation |
number
|
1
Max: 2 |
Saturation level
|
temperature |
number
|
1
Max: 2 |
Temperature
|
brightness |
number
|
1
Max: 2 |
Brightness level
|
contrast |
number
|
1
Max: 2 |
Contrast level
|
sharpness |
number
|
0
Max: 1 |
Sharpness level
|
blur |
number
|
0
Max: 1 |
Blur level
|
noise |
number
|
0
Max: 1 |
Noise level
|
vignette |
number
|
0
Max: 1 |
Vignette effect
|
exposure_offset |
number
|
0
Max: 1 |
Exposure offset
|
chromatic_aberration |
number
|
0
Max: 1 |
Chromatic aberration
|
rotate_degrees |
number
|
0
Min: -180 Max: 180 |
Rotate image (degrees)
|
ascii_effect |
integer
|
0
Max: 20 |
Apply ASCII effect. Recommended value 10
|
tilt_shift |
string
(enum)
|
None
Options: None, Top, Center, Bottom |
Tilt shift effect position
|
black_and_white |
boolean
|
False
|
Apply black and white
|
sepia |
boolean
|
False
|
Apply sepia effect
|
flip_image |
boolean
|
False
|
Flip image horizontally
|
glitch |
boolean
|
False
|
Apply glitch effect
|
vhs |
boolean
|
False
|
Apply VHS effect
|
{
"type": "object",
"title": "Input",
"required": [
"image_path"
],
"properties": {
"vhs": {
"type": "boolean",
"title": "Vhs",
"default": false,
"x-order": 22,
"description": "Apply VHS effect"
},
"blur": {
"type": "number",
"title": "Blur",
"default": 0,
"maximum": 1,
"minimum": 0,
"x-order": 10,
"description": "Blur level"
},
"noise": {
"type": "number",
"title": "Noise",
"default": 0,
"maximum": 1,
"minimum": 0,
"x-order": 11,
"description": "Noise level"
},
"sepia": {
"type": "boolean",
"title": "Sepia",
"default": false,
"x-order": 19,
"description": "Apply sepia effect"
},
"glitch": {
"type": "boolean",
"title": "Glitch",
"default": false,
"x-order": 21,
"description": "Apply glitch effect"
},
"contrast": {
"type": "number",
"title": "Contrast",
"default": 1,
"maximum": 2,
"minimum": 0,
"x-order": 8,
"description": "Contrast level"
},
"vignette": {
"type": "number",
"title": "Vignette",
"default": 0,
"maximum": 1,
"minimum": 0,
"x-order": 12,
"description": "Vignette effect"
},
"sharpness": {
"type": "number",
"title": "Sharpness",
"default": 0,
"maximum": 1,
"minimum": 0,
"x-order": 9,
"description": "Sharpness level"
},
"brightness": {
"type": "number",
"title": "Brightness",
"default": 1,
"maximum": 2,
"minimum": 0,
"x-order": 7,
"description": "Brightness level"
},
"flip_image": {
"type": "boolean",
"title": "Flip Image",
"default": false,
"x-order": 20,
"description": "Flip image horizontally"
},
"image_path": {
"type": "string",
"title": "Image Path",
"format": "uri",
"x-order": 0,
"description": "Input image"
},
"saturation": {
"type": "number",
"title": "Saturation",
"default": 1,
"maximum": 2,
"minimum": 0,
"x-order": 5,
"description": "Saturation level"
},
"tilt_shift": {
"enum": [
"None",
"Top",
"Center",
"Bottom"
],
"type": "string",
"title": "tilt_shift",
"description": "Tilt shift effect position",
"default": "None",
"x-order": 17
},
"temperature": {
"type": "number",
"title": "Temperature",
"default": 1,
"maximum": 2,
"minimum": 0,
"x-order": 6,
"description": "Temperature"
},
"ascii_effect": {
"type": "integer",
"title": "Ascii Effect",
"default": 0,
"maximum": 20,
"minimum": 0,
"x-order": 16,
"description": "Apply ASCII effect. Recommended value 10"
},
"auto_contrast": {
"type": "boolean",
"title": "Auto Contrast",
"default": false,
"x-order": 3,
"description": "Apply automatic contrast"
},
"auto_sharpness": {
"type": "boolean",
"title": "Auto Sharpness",
"default": false,
"x-order": 4,
"description": "Apply automatic sharpness"
},
"rotate_degrees": {
"type": "number",
"title": "Rotate Degrees",
"default": 0,
"maximum": 180,
"minimum": -180,
"x-order": 15,
"description": "Rotate image (degrees)"
},
"black_and_white": {
"type": "boolean",
"title": "Black And White",
"default": false,
"x-order": 18,
"description": "Apply black and white"
},
"exposure_offset": {
"type": "number",
"title": "Exposure Offset",
"default": 0,
"maximum": 1,
"minimum": 0,
"x-order": 13,
"description": "Exposure offset"
},
"auto_white_balance": {
"type": "boolean",
"title": "Auto White Balance",
"default": false,
"x-order": 2,
"description": "Apply automatic white balance"
},
"chromatic_aberration": {
"type": "number",
"title": "Chromatic Aberration",
"default": 0,
"maximum": 1,
"minimum": 0,
"x-order": 14,
"description": "Chromatic aberration"
},
"auto_color_correction": {
"type": "boolean",
"title": "Auto Color Correction",
"default": false,
"x-order": 1,
"description": "Apply automatic color correction"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "string",
"title": "Output",
"format": "uri"
}