Input
Per image generation will cost 0.0047$
For premium plan image generation will cost 0.00$ i.e Free.
Output
Unknown content type
Related Models
Discover similar models you might be interested in
About SD XL
SD XL is a ai generation AI model available on ModelsLab. Access SD XL through our API with pay-per-use pricing and no minimum commitments.
Technical Specifications
- Model ID
- sd-xl
- Provider
- Modelslab
- Task
- AI Generation
- Price
- $0.0047 per API call
- Added
- June 7, 2024
Quick Start
Integrate SD XL into your application with a single API call. Get your API key from the pricing page to get started.
import requestsimport jsonurl = "https://modelslab.com/api/v6/images/text2img"headers = {"Content-Type": "application/json"}data = {"model_id": "sd-xl","prompt": "your prompt here","key": "YOUR_API_KEY"}try:response = requests.post(url, headers=headers, json=data)response.raise_for_status() # Raises an HTTPError for bad responses (4XX or 5XX)result = response.json()print("API Response:")print(json.dumps(result, indent=2))except requests.exceptions.HTTPError as http_err:print(f"HTTP error occurred: {http_err} - {response.text}")except Exception as err:print(f"Other error occurred: {err}")
Pricing
SD XL API costs $0.0047 per API call. Pay only for what you use with no minimum commitments. View pricing plans
SD XL FAQ
SD XL is a ai generation AI model available on ModelsLab. Access it through our API with pay-per-use pricing and no minimum commitments.
You can integrate SD XL into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "sd-xl" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.
SD XL costs $0.0047 per API call. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.
The model ID for SD XL is "sd-xl". Use this ID in your API requests to specify this model.
Yes, ModelsLab offers a free tier that lets you try SD XL and other AI models. Sign up to get free API credits and start building immediately.

![[Illustrious / SDXL] Super robot diffusion XL (Gundam, EVA, ARMORED CORE, BATTLE TECH like mecha lor](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/cbc301f7-1fb8-41fe-8acd-94500e4de31f/width=768/2056614.jpeg)



![- CH.01 [ALT] Clean Lineart](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/5e99823f-42dc-4c5a-91b8-71c1febf6d11/width=1040/42073184.jpeg)












![rebel nun monocrom consept [PONY | SDXL | ILLUSTRIOUS | FLUX] - SDXL](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/45918c83-f7e3-4b0c-9dc6-e33834ec8412/width=1024/55888445.jpeg)