ModelsLab/Flux Dev
Flux-dev checkpoint
API Endpoint URL
Base URL for all API requests to this endpoint.
https://modelslab.com/api/v5/controlnet
API Authentication
Authentication requires a valid API key included in the request. Generate and manage your API keys from your developer dashboard. Include the key in the key parameter for all API requests.
Integration Examples
Production-ready code samples for API integration
{"model_id": "fluxdev","init_image": "https://assets.modelslab.com/generations/3bbf03d7-cc4a-45e2-b209-440d00306f4a","prompt": "Ghibli Studio style, Charming hand-drawn anime-style illustration","steps": "20","controlnet_type": "ghibli","controlnet_model": "ghibli","base64": "no","key": "YOUR_API_KEY"}
SDKs
Official SDKs
Production-ready SDKs and client libraries for all major programming languages
API Parameters
Technical specifications for API request parameters.
| Field Name | Parameter | Technical Description |
|---|---|---|
| Model | model_id | Model to use for generation |
| Image URL | init_image | Image to upscale/enhance |
| Prompt | prompt | try to keep same prompt as it works best |
| Steps | steps | Number of inference steps |
| controlnet_type | controlnet_type | controlnet_model and controlnet_type should be same |
| controlnet_model | controlnet_model | controlnet_model and controlnet_type should be same |
| base64 | base64 | Get response as a base64 string. Pass init_image as base64 strings to get base64 response. |