Skip to content

flux-2/pro-text-to-image ​

📝 Model description pending (TODO). Every value on this page comes from the ModelFold catalog, and no technical detail has been invented.

Overview ​

FieldValue
Model IDflux-2/pro-text-to-image
Family slugflux-2
ModalityImage Generation (image)
Credits8
Upstream cost5 / per image
Pricing sourceupstream-api — Upstream official pricing (media)
EndpointPOST /v1/images/generations

Request example ​

bash
export API_BASE="https://modelfold.ai/v1"
export MODELFOLD_API_KEY="mf-..."   # 在控制台 API Key 页面创建

curl -X POST "$API_BASE/images/generations" \
  -H "Authorization: Bearer $MODELFOLD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"flux-2/pro-text-to-image","prompt":"Hyperrealistic supermarket blister pack on clean olive green surface. No shadows. Inside: bright pink 3D letters spelling \"FLUX.2\" pressing against stretched plastic film, creating realistic deformation and reflective highlights. Bottom left corner: barcode sticker with text \"GENERATE NOW\" and \"PLAYGROUND\". Plastic shows tension wrinkles and realistic shine where stretched by the volumetric letters.","aspect_ratio":"1:1","resolution":"1K"}'

Required parameters ​

Required: prompt, aspect_ratio, resolution.

Pass model parameters at the top level; do not wrap them in input. Replace sample media URLs with your own publicly accessible files. The request waits for generation and returns data[].url.

See the complete parameter reference for conditional requirements, limits and alternative input modes.

See also ​

ModelFold — one API for all the best AI models.