🎉 New Year Sale: Get 20% OFF on all plans — Use code NEWYEAR2026.

Upgrade now
Qwen thumbnail

ModelsLab/Qwen

qwen
Endpoint:
A 20-billion-parameter multimodal diffusion transformer model excelling in complex multilingual text rendering, precise image generation, and advanced editing like style transfer, object manipulation, and pose adjustment with strong semantic and visual fidelity.
API PlaygroundAPI Documentation

API Endpoint URL

Base URL for all API requests to this endpoint.

https://modelslab.com/api/v6/images/text2img

API Authentication

Authentication requires a valid API key included in the request. Generate and manage your API keys from your developer dashboard. Include the key in the key parameter for all API requests.

Integration Examples

Production-ready code samples for API integration

{
"model_id": "qwen",
"prompt": "high-end product photography of a luxury watch on a dark reflective surface, dramatic lighting, ultra-realistic detail",
"width": "2024",
"height": "2024",
"num_inference_steps": "20",
"guidance_scale": "7.5",
"key": "YOUR_API_KEY"
}

SDKs

Official SDKs

Production-ready SDKs and client libraries for all major programming languages

API Parameters

Technical specifications for API request parameters.

Field NameParameterTechnical Description
model_idmodel_idModel to use for generation
promptpromptText description of the image you want to generate
widthwidthwidth of the image
heightheightHeight of the Image
num_inference_stepsnum_inference_stepsThe number of denoising steps. Values range from 1 to 20, and any value above 20 will be capped at 20.
guidance_scaleguidance_scaleHow closely to follow the prompt (1-10)