black_forest_labs/flux-2-flex/Released Nov 2025

FLUX.2 [flex]

Tunable open text-to-image model

Image
Per image
Standard$0.12 per image

Ready to build with FLUX.2 [flex]?

Sign in to grab your API key and start making requests.
bash
curl -sSf -X POST https://hub.oxen.ai/api/ai/images/edit \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer $OXEN_API_KEY" \
    -d '{
  "model": "flux-2-flex",
  "prompt": "Draw a parody of the Mona Lisa by Leonardo da Vinci with Bloxy, the cartoon ox in @Image1, as Lisa del Giocondo. Keep Bloxy in the original style of @Image1 with the cartoon ox, but adapt its pose to the pose depicted in the Mona Lisa. Don'\''t include its arms or legs in the painting.",
  "input_image": [
    "https://hub.oxen.ai/api/repos/elau/assets/file/main/bloxy/bloxy_cropped_512x512.png"
  ],
  "aspect_ratio": "16:9",
  "resolution": "1 MP",
  "num_inference_steps": 30,
  "guidance": 2,
  "output_format": "webp",
  "output_quality": 80,
  "disable_safety_checker": false
}'