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 SDXL-BaseModel-2-General
SDXL-BaseModel-2-General is a ai generation AI model available on ModelsLab. Access SDXL-BaseModel-2-General through our API with pay-per-use pricing and no minimum commitments.
Technical Specifications
- Model ID
- sdxl-basemodel-2-general
- Provider
- Modelslab
- Task
- AI Generation
- Price
- $0.0047 per API call
- Added
- September 30, 2023
Quick Start
Integrate SDXL-BaseModel-2-General 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": "sdxl-basemodel-2-general","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}")
View the full API documentation for SDKs, code examples in Python, JavaScript, and more.
Pricing
SDXL-BaseModel-2-General API costs $0.0047 per API call. Pay only for what you use with no minimum commitments. View pricing plans
SDXL-BaseModel-2-General FAQ
SDXL-BaseModel-2-General 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 SDXL-BaseModel-2-General into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "sdxl-basemodel-2-general" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.
SDXL-BaseModel-2-General 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 SDXL-BaseModel-2-General is "sdxl-basemodel-2-general". Use this ID in your API requests to specify this model.
Yes, ModelsLab offers a free tier that lets you try SDXL-BaseModel-2-General and other AI models. Sign up to get free API credits and start building immediately.






![[Pinkie] Iridescent Jelly - [Flux/SDXL] - SDXL](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/b22b78ff-b132-4aa9-85ed-6bb17cfa6a40/width=1248/20844009.jpeg)







![Watercolor Orange Blossom Style [XL+Pony] - SDXL X45_a3 (Simple)](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/6273d310-c585-400c-9e44-b71d5efb90fa/width=896/22755199.jpeg)



