Image models › Flux-2

Flux-2 - Pro Image to Image

Image generation by flux-2/pro-image-to-image ## 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 Overview" icon="lucide-store" href="/market

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",
    "input_urls": "\u2026",
    "prompt": "\u2026",
    "resolution": "1K"
  },
  "model": "flux2-pro-image-to-image"
}

Input parameters

NameTypeRequiredDescription
input_urls array required Input reference images (1-8 images). (File URL after upload, not file content; Accepted types: image/jpeg, image/png, image/webp; Max size: 10.0MB)
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:3, auto
Default: 1:1
resolution string required Output image resolution.
Values: 1K, 2K
Default: 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.