FLUX.2 [dev]

from $0.0100 per image

Image
Beta
3.0s
inference.flux-2.dev.txt2img.v0
Integrate Prodia's `inference.flux-2.dev.txt2img.v0` using https://docs.prodia.com/llms.txt

API 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.dev.txt2img.v0",
  "config": {
    "prompt": "A serene mountain landscape at sunset, photorealistic, 4k",
    "width": 1024,
    "height": 1024,
    "steps": 28,
    "guidance_scale": 4
  }
}'

Input

Text description of the image to generate. Supports up to 32K tokens.

Output image width in pixels.

Output image height in pixels.

Number of inference steps.

Guidance scale for classifier-free guidance.

Style preset to apply to the prompt.

Random seed for reproducible results.

Output

Elapsed0.00s

Other endpoints