Qwen Image
Qwen-Image is an image generation foundation model in the Qwen series that achieves significant advances in complex text rendering and precise image editing.
sk-kEEV5TfTCTpE4uFwUg9p8UhVyVWpC9IEgOVezQ4b1ZCWQFCVmodel is the model name
qwen-image-text-to-imageprompt is the prompt.
The number of inference steps to perform. Default value: 30
30The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you. Default value: 2.5
2.5The same seed and the same prompt given to the same version of the model will output the same image every time.
The negative prompt for the generation Default value: " "
Acceleration level for image generation. Options: 'none', 'regular', 'high'. Higher acceleration increases speed. 'regular' balances speed and quality. 'high' is recommended for images without text. Default value: "none"
nonePossible values: If set to true, the safety checker will be enabled. Default value: false
falsen is the number of images to generate, default value is 1.
1output_format indicate the output format, default value is url.
urlPossible values: POST /v1/images/generations HTTP/1.1
Host: image.onerouter.pro
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 265
{
"model": "qwen-image-text-to-image",
"prompt": "A cute baby sea otter.",
"size": {
"width": 1280,
"height": 720
},
"num_inference_steps": 30,
"guidance_scale": 2.5,
"seed": 1,
"negative_prompt": " ",
"acceleration": "regular",
"enable_safety_checker": false,
"n": 1,
"output_format": "url"
}{
"data": [
{
"url": "https://resource.onerouter.pro/image/generated%2Fonerouter_fe4771ae-d67c-41bb-a366-b07f1411ae06.png",
"b64_json": "",
"revised_prompt": ""
}
],
"created": 1760414675
}