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 Flux Dev
Flux Dev is a text to image AI model available on ModelsLab. Access Flux Dev through our API with pay-per-use pricing and no minimum commitments.
Technical Specifications
- Model ID
- flux
- Provider
- Modelslab
- Category
- Image Models
- Task
- Text to Image
- Price
- $0.0047 per API call
- Added
- September 4, 2024
Key Features
- High-resolution AI image generation from text prompts
- Negative prompt support for precise control
- Multiple output formats and aspect ratios
- Adjustable inference steps and guidance scale
- Batch generation support via API
Quick Start
Integrate Flux Dev 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": "flux","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
Flux Dev API costs $0.0047 per API call. Pay only for what you use with no minimum commitments. View pricing plans
Use Cases
- Product photography and e-commerce visuals
- Marketing and social media content creation
- Concept art and design prototyping
- Custom illustrations and artwork
Flux Dev FAQ
Flux Dev is a text to image AI model available on ModelsLab. Access it through our API with pay-per-use pricing and no minimum commitments.
You can integrate Flux Dev into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "flux" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.
Flux Dev 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 Flux Dev is "flux". Use this ID in your API requests to specify this model.
Yes, ModelsLab offers a free tier that lets you try Flux Dev and other AI models. Sign up to get free API credits and start building immediately.










![[Flux.1 D][Realistic] Cosplay costume collection | project cos - 2|HakureiReimu2](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/b5222555-c8ad-488d-8aa6-334a984762de/width=1152/69906309.jpeg)




![[Flux.1 D][Realistic] Idol costume | - Style 2](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/e3208bd4-e47c-4053-9dab-3fbf014a238a/width=1152/37313971.jpeg)
![Panam Palmer (Cyberpunk 2077) [FLUX] - v1](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/47e8c6c9-4a3b-47e1-a3da-7dddb3fefc77/width=1024/32462985.jpeg)