Generate images from text prompts using 6 different models. Supports text-to-image and image-to-image editing with a reference URL. Cost varies by model — from 0.10 per image.
API key starting with nj_sk_
Image description.
1 - 4000Image model to use. $0.10/img: flux-kontext-max. $0.08/img: flux-2-flex, flux-1-pro-ultra, recraft-v3, google-imagen-4, nano-banana-pro, seedream. $0.05/img: flux-2-pro, flux-kontext-pro, nano-banana-2, flux-1-fill. $0.03/img: flux-2-klein, nano-banana.
flux-kontext-max, flux-2-flex, flux-1-pro-ultra, recraft-v3, google-imagen-4, nano-banana-pro, seedream, flux-2-pro, flux-kontext-pro, nano-banana-2, flux-1-fill, flux-2-klein, nano-banana Output size: 1920x1920 (square, 1:1), 2560x1440 (landscape, 16:9), or 1440x2560 (portrait, 9:16).
1920x1920, 2560x1440, 1440x2560 Number of images to generate.
1 <= x <= 4Reference image URL for image-to-image editing. Must be a publicly accessible HTTPS URL.