zf-kbot/qwen-edit

Public
815.4K runs

Run zf-kbot/qwen-edit 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
input_image
string
Input image for editing
prompt
string
修复破损、污渍、划痕
Positive prompt for the image editing
negative_prompt
string
Negative prompt for the image editing
megapixels
number
1
Target megapixels for scaling
image_width
integer
1280
Image width
image_height
integer
720
Image height
enable_manual_image_size_switch
boolean
False
Enable manual image size switch
enable_multi_image_edit
boolean
False
Enable multi-image editing mode (uses both input image and reference if applicable)
ref_image
string
Reference image for multi-image editing (required if enable_multi_image_edit is True)
seed
integer
-1
Random seed, -1 for random
steps
integer
4
Number of steps for the image editing
website_name
string
ImgUpscaler.AI
Website name for filename suffix
image_filename
string
output
Custom filename for the output (without extension)
color_match_switch
boolean
False
Enable color matching
output_ext
None
.jpg
Output image extension
quality
integer
90

Min: 1

Max: 100

Output image quality (1-100)
apikey
string
API Key

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"
}