ModelsLab/Qwen
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 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 Name | Parameter | Technical Description |
|---|---|---|
| model_id | model_id | Model to use for generation |
| prompt | prompt | Text description of the image you want to generate |
| width | width | width of the image |
| height | height | Height of the Image |
| num_inference_steps | num_inference_steps | The number of denoising steps. Values range from 1 to 20, and any value above 20 will be capped at 20. |
| guidance_scale | guidance_scale | How closely to follow the prompt (1-10) |