
Stable Diffusion 2.0
by ModelsLabThis stable-difussion-2 model trained for 150k steps using a v-objective on the same dataset. Resumed for another 140k steps on 768x768 images.
stable-diffuInput
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 Stable Diffusion 2.0
This stable-difussion-2 model trained for 150k steps using a v-objective on the same dataset. Resumed for another 140k steps on 768x768 images.
Technical Specifications
- Model ID
- stable-diffu
- Provider
- Modelslab
- Task
- AI Generation
- Price
- $0.0047 per API call
Quick Start
Integrate Stable Diffusion 2.0 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": "stable-diffu","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
Stable Diffusion 2.0 API costs $0.0047 per API call. Pay only for what you use with no minimum commitments. View pricing plans
Stable Diffusion 2.0 FAQ
This stable-difussion-2 model trained for 150k steps using a v-objective on the same dataset. Resumed for another 140k steps on 768x768 images.
You can integrate Stable Diffusion 2.0 into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "stable-diffu" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.
Stable Diffusion 2.0 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 Stable Diffusion 2.0 is "stable-diffu". Use this ID in your API requests to specify this model.
Yes, ModelsLab offers a free tier that lets you try Stable Diffusion 2.0 and other AI models. Sign up to get free API credits and start building immediately.









![Type[TRP] | Lora style - v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/1edf7bbc-a072-4281-bccf-ca566e742c89/width=1328/3633047.jpeg)







