You're looking at a specific version of this model. Jump to the model overview.
zf-kbot /md-me-image-qwen:5a1ae9aa
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 |
|---|---|---|---|
| apikey |
string
|
Access key.
|
|
| prompt |
string
|
Text instruction or text-to-image prompt.
|
|
| input_image |
string
|
Primary image for edit mode.
|
|
| ref_image |
string
|
Optional second reference image.
|
|
| megapixels |
number
|
1
Min: 0.5 Max: 4 |
Output megapixels when resolution_mode is megapixels; ignored in longest_edge mode.
|
| seed |
integer
|
Random seed. Empty chooses a new seed.
|
|
| file_format |
None
|
jpg
|
Requested output format.
|
| resolution_mode |
None
|
longest_edge
|
longest_edge: resize each reference and output to the selected longest_edge (small images are upscaled). megapixels: use the previous area-based mode. Output shape follows aspect_ratio.
|
| aspect_ratio |
None
|
default
|
Output aspect ratio. default follows input_image, or uses 1:1 for text-to-image. Applies in both resolution modes.
|
| longest_edge |
integer
|
1024
Min: 1024 Max: 2560 |
Longest edge in pixels for output and each reference when resolution_mode is longest_edge; ignored in megapixels mode.
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}