Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
High-quality image generation with Flux.2 Pro. See supported inputs, parameters, pricing, response fields, and API examples.
black-forest-labs/flux.2-pro
prompt
aspect_ratio
"16:9"
"21:9"
"4:3"
"1:1"
"3:4"
"9:16"
"9:21"
resolution
"1mp"
"0.6mp"
"2mp"
"4mp"
image_urls
null
nsfw_check
false
true
curl -X POST https://api.unifically.com/v1/tasks \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{ "model": "black-forest-labs/flux.2-pro", "input": { "prompt": "A photorealistic portrait of a woman in golden hour light", "aspect_ratio": "9:16", "resolution": "2mp" } }'
curl -X POST https://api.unifically.com/v1/tasks \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{ "model": "black-forest-labs/flux.2-pro", "input": { "prompt": "A portrait in this style", "image_urls": ["https://example.com/ref1.jpg", "https://example.com/ref2.jpg"], "resolution": "2mp" } }'
{ "code": 200, "success": true, "data": { "task_id": "abc123def456", "status": "processing" } }