🎉 New Year Sale: Get 20% OFF on all plans — Use code NEWYEAR2026.

Upgrade now
flux_dev thumbnail

ModelsLab/Flux Dev

fluxdev
Endpoint:

Flux-dev checkpoint

API PlaygroundAPI Documentation

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 NameParameterTechnical Description
Modelmodel_idModel to use for generation
Image URLinit_imageImage to upscale/enhance
Promptprompttry to keep same prompt as it works best
StepsstepsNumber of inference steps
controlnet_typecontrolnet_typecontrolnet_model and controlnet_type should be same
controlnet_modelcontrolnet_modelcontrolnet_model and controlnet_type should be same
base64base64Get response as a base64 string. Pass init_image as base64 strings to get base64 response.