Integrate Prodia's `inference.flux-2.max.txt2img.v1` using https://docs.prodia.com/llms.txtAPI request
curl -X POST https://inference.prodia.com/v2/job \
-H "Authorization: Bearer $PRODIA_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: image/jpeg" \
-d '{
"type": "inference.flux-2.max.txt2img.v1",
"config": {
"prompt": "A serene mountain landscape at sunset, photorealistic, 4k",
"width": 1024,
"height": 1024,
"safety_tolerance": 2
}
}'Input
Text description of the image to generate. Supports up to 32K tokens.
Output width in pixels. Must be a multiple of 16.
Output height in pixels. Must be a multiple of 16.
Random seed for reproducible results.
Safety filter tolerance level. 0 is strict, 5 is permissive.
Output

Elapsed0.00s
Other endpoints
- Flux 2 Max · Image Editing$0.0600 per image