Model
Parameters
Example Request
Response
Volume discounts are available for almost all models. Reach out at contact@unifically.com to discuss custom pricing.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Flexible image generation with advanced controls. See supported inputs, parameters, pricing, response fields, and API examples.
black-forest-labs/flux.2-flex
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | - | Text description of the image |
aspect_ratio | string | No | "16:9" | "21:9", "16:9", "4:3", "1:1", "3:4", "9:16", "9:21" |
resolution | string | No | "1mp" | "0.6mp", "1mp", "2mp", "4mp" |
image_urls | string[] | No | null | Reference image URLs |
guidance | float | No | - | Guidance scale (e.g. 1.5) |
steps | integer | No | - | Number of generation steps |
seed | integer | No | random | Seed for reproducibility |
prompt_upsampling | boolean | No | true | Auto-enhance prompt for more creative output |
nsfw_check | boolean | No | true | Check uploaded media inputs for NSFW content |
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-flex",
"input": {
"prompt": "A cyberpunk city at night with neon reflections",
"aspect_ratio": "21:9",
"resolution": "2mp",
"guidance": 1.5,
"steps": 30,
"seed": 124242,
"prompt_upsampling": false
}
}'
{
"code": 200,
"success": true,
"data": {
"task_id": "abc123def456",
"status": "processing"
}
}
