black_forest_labs/flux-2-flex/Released Nov 2025
FLUX.2 [flex]
Delivers high-quality image generation and editing with advanced text rendering, multi-image reference for style consistency, and precise, JSON-based prompt control.
Provider
black_forest_labs
Modality
multi-to-image
Released
Nov 2025
Pricing
$0.12 / image
bash
curl -sSf -X POST https://hub.oxen.ai/api/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 the reference image, as Lisa del Giocondo. Keep Bloxy in the original style of the reference image 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": "2:3",
"resolution": "1 MP",
"num_inference_steps": 30,
"guidance": 2,
"output_format": "webp",
"output_quality": 80,
"disable_safety_checker": false
}'