Get Started
Integrate this model into your application with a few lines of code.
You need an API key to use this model.
Example request
A complete request you can copy and run in your language of choice.
curl -X POST https://api.nunchux.ai/v1/images/generations \
-H "Content-Type: application/json" \
-H "X-API-Key: $NUNCHUX_API_KEY" \
-d '{
"model": "nunchux-flux.3-image-klein",
"tier": "radical_speed",
"prompt": "Editorial portrait of an elderly beekeeper in a white veiled hat lifting a honeycomb frame out of a violet-painted wooden hive, golden honey catching the light, a few bees in the air, a field of purple lavender behind him at golden hour. Square composition, medium format, 80mm lens, shallow depth of field, fine film grain, natural skin texture.",
"n": 1,
"width": 1024,
"height": 1024,
"prompt_expansion": "standard",
"response_format": "b64_json",
"seed": 42
}' | jq -r '.data[0].b64_json // error(.error.message // .detail // tostring)' | base64 -d > output.jpg