You're looking at a specific version of this model. Jump to the model overview.
qwen /qwen-image:8101a239
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 |
|---|---|---|---|
| prompt |
string
|
Prompt for generated image
|
|
| enhance_prompt |
boolean
|
False
|
Enhance the prompt with positive magic.
|
| lora_weights |
string
|
Load LoRA weights. Only works with text to image pipeline. Supports arbitrary .safetensors URLs, tar files, and zip files from the Internet (for example, 'https://huggingface.co/Viktor1717/scandinavian-interior-style1/resolve/main/my_first_flux_lora_v1.safetensors', 'https://example.com/lora_weights.tar.gz', or 'https://example.com/lora_weights.zip')
|
|
| lora_scale |
number
|
1
|
Determines how strongly the main LoRA should be applied.
|
| image |
string
|
Input image for img2img pipeline
|
|
| strength |
number
|
0.9
Max: 1 |
Strength for img2img pipeline
|
| negative_prompt |
string
|
|
Negative prompt for generated image
|
| aspect_ratio |
None
|
16:9
|
Aspect ratio for the generated image
|
| image_size |
None
|
optimize_for_quality
|
Image size for the generated image
|
| go_fast |
boolean
|
True
|
Run faster predictions with additional optimizations.
|
| num_inference_steps |
integer
|
30
Min: 1 Max: 50 |
Number of denoising steps. Recommended range is 28-50, and lower number of steps produce lower quality outputs, faster.
|
| guidance |
number
|
4
Max: 10 |
Guidance for generated image. Lower values can give more realistic images. Good values to try are 2, 2.5, 3 and 3.5
|
| seed |
integer
|
Random seed. Set for reproducible generation
|
|
| output_format |
None
|
webp
|
Format of the output images
|
| output_quality |
integer
|
80
Max: 100 |
Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs
|
| disable_safety_checker |
boolean
|
False
|
Disable safety checker for generated images.
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'items': {'format': 'uri', 'type': 'string'},
'title': 'Output',
'type': 'array'}