Image models › Flux-2
Flux-2 - Pro Text to Image
High-quality photorealistic image generation powered by Flux-2's advanced AI model ## Query Task Status After submitting a task, use the unified query endpoint to check progress and retrieve results: <Card title="Get Task Details" icon="lucide-search" href="/market/common/get-task-detail"> Learn how to query task status and retrieve generation results </Card> For production use, we recommend using the `callBackUrl` parameter to receive automatic notifications when generation completes, rather than polling the status endpoint. ## Related Resources <CardGroup cols={2}> <Card title="Market Overvi
image Flux-2 price on request
Request
POST https://app.video-blade.com/api/v1/generations
X-API-Key: vb_…
Content-Type: application/json
{
"callback_url": "https://your-app.example/callbacks/video-blade",
"input": {
"aspect_ratio": "1:1",
"prompt": "\u2026",
"resolution": "1K"
},
"model": "flux2-pro-text-to-image"
}
Input parameters
| Name | Type | Required | Description |
|---|---|---|---|
prompt |
string | required | Must be between 3 and 5000 characters. (Max length: 5000 characters) |
aspect_ratio |
string | required | Aspect ratio for the generated image. Select 'auto' to match the first input image ratio (requires input image). Values: 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3Default:
1:1 |
resolution |
string | required | Output image resolution. Values: 1K, 2KDefault:
1K |
nsfw_checker |
boolean | optional | Defaults to false. You can set it to false based on your needs. If set to false, our content filtering will be disabled, and all results will be returned directly by the model itself. Note: There is no guarantee that everything can be filtered out; if you are not satisfied with the results, you will need to make your own arrangements. |
Pricing
Price on request; the charge is settled from actual consumption with the image coefficient ×2.0. See Pricing & tokens.