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

![Sauron's Tower | Barad-dûr (Mordor, Middle Earth) (Lord of the Rings) [Illustrious & SDXL] - v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/d34633fb-e8f5-4092-8beb-99971b081244/width=1024/10244001.jpeg)






![[IL & PONY & SD1.5] Honkai Star Rail - Castorice | - [SD1.5] v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/74c5054f-c775-4ead-9fcc-71b6c5307c23/width=1800/66579279.jpeg)


![Hanekawa Hasumi | (Blue Archive) [Illustrious] - v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/58765e50-a90f-420d-8dd4-d9af9f9467ac/width=1024/30090004.jpeg)






![Venus - Project QT [Pony & SD1.5] - v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/cb3e3493-e185-4c29-900e-c679c293139b/width=1024/7666430.jpeg)