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 Food
Food is a ai generation AI model available on ModelsLab. Access Food through our API with pay-per-use pricing and no minimum commitments.
Technical Specifications
- Model ID
- food
- Provider
- Modelslab
- Task
- AI Generation
- Price
- $0.0047 per API call
- Added
- November 25, 2023
Quick Start
Integrate Food 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": "food","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
Food API costs $0.0047 per API call. Pay only for what you use with no minimum commitments. View pricing plans
Food FAQ
Food 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 Food into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "food" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.
Food costs $0.0047 per API call. ModelsLab plans start at $21/month (Basic), and the $149/month Open Source plan includes unlimited generation on open-source models.
The model ID for Food is "food". Use this ID in your API requests to specify this model.
No — ModelsLab is subscription-based, with plans from $21/month (Basic, 3,250 API calls). The $149/month Open Source plan includes unlimited generation across open-source models.




![Liquid Water Flow Style [FLUX+SDXL+1.5] - SDXL v2](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/f1304213-4d42-4671-92ca-29e484522efc/width=896/7667525.jpeg)
![Midjourney V6.1 meets FLUX 🖼️ [+ILLUSTRIOUS / SDXL] - SDXL](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/c8f80191-8238-48f3-8c7b-9e928645daf5/width=1080/24447559.jpeg)
![Object Showcase Collection of 60 Items [XL] - 54 Handgun Showcase](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/bd769939-a9d7-45b6-9ab9-5b67a43ed3fd/width=1024/17731264.jpeg)




![[D.pys] / Taiwanese temple building - SDXL](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/7337a6eb-084e-4e1a-8efb-104ce3a2c882/width=1344/48136502.jpeg)


![Memadukan Brush Strokes of Fineart [ FLUX / SDXL ] - [SDXL] v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/6b817e25-e366-4462-b7a1-4a74024e31cb/width=832/48509685.jpeg)



