Seedance 2.0 Mini is live on viddly.io — video from $0.045/second 🚀
viddly.ioAI Model Gateway
API Market
Black Forest LabsBest priceFastest

Flux 2 Flex API

Draft-speed Flux for high-volume pipelines

Trades a little fidelity for a large drop in cost and latency. The right default for thumbnails and first passes.

Text to imageImage to image

Quickstart

Authenticate with a bearer token from your dashboard, then POST the request below.

curl -X POST https://api.viddly.io/v1/images/generations \
  -H "Authorization: Bearer $VIDDLY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "flux-2-flex",
    "prompt": "a lighthouse in a storm, drone orbit, dusk",
    "size": "512x512",
    "num_images": 1
  }'

Parameters

NameTypeDefaultDescription
prompt*textWhat to generate. Describe subject, action, camera and lighting.
image_urlimageOptional reference or first-frame image. Publicly reachable URL.
sizeenum512x512 | 1024x1024 | 1536x1024512x512Output dimensions.
num_imagesnumber1How many images to return (1–4).
seednumberFix for reproducible results.

Similar models