string
default:"fal-ai/flux/schnell"
Model ID. Use
GET /v1/images/models to see all available models and their parameters.object
required
Model-specific parameters — all params supported. Must include
prompt.Image-to-image / edit models: the source image field name differs by model —
some expect the array image_urls, others the singular image_url. You may pass
either; a singular image_url string is normalized to image_urls: [url]
automatically, so one field works across models.Use
id, not job_id. The job identifier is returned as id on both submit
and status (GET /v1/jobs/:id), so the same field works for the whole lifecycle.
job_id is a deprecated alias kept for backward compatibility; prefer id.GET /v1/images/pricing?model=<id>&num_images=<n>. Based on model costs at $0.05/credit. Charged on completion only.
Common Input Parameters
Parameters vary by model. UseGET /v1/images/models to see key_params for each model.
guidance_scale and num_inference_steps are NOT supported on FLUX Pro v1.1. They are available on FLUX Schnell and FLUX Dev.Completed Result
When polling the job after completion viaGET /v1/jobs/:id or GET /v1/images/:jobId:
Reading the output URL. Use the flat, model-independent
media array —
media[0].url is stable across image and video jobs and every model. The raw
provider payload is still available under result (images at
result.images[].url), but its nesting varies by model; media[] does not.