Make pictures
generate_imageMake pictures from words with Tesseract, charged to the signed-in account (its plan's free media first, then its allowance or balance). Waits up to about 40 seconds and returns download links (valid for an hour); if it takes longer, returns a job_id for check_job.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>"
},
"name": "generate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | How many pictures (default 1). | |
| model | No | A picture model from list_models (default fal-ai/nano-banana-2). | |
| params | No | The model's own fields (fal.ai's names), e.g. {"aspect_ratio": "16:9", "seed": 7}. A field the model's price does not cover is refused, never sent. | |
| prompt | Yes | What to make — be descriptive. | |
| max_usd | No | The most this may cost, in US dollars: a dearer job is not started. | |
| rights_ok | No | With a source video of someone else's: true only when the person says the video and its sound belong to their makers, and the result is for their own use unless they hold the rights. | |
| aspect_ratio | No | The shape, e.g. "16:9", "1:1", "9:16", for models that take one. | |
| likeness_consent | No | Only when the person asked for it themselves, about who is shown: "self" (them), "consented" (an adult who agreed to it) or "made-up" (a made-up person) — and only when nobody shown is under 18 or a public figure, and there is no nudity or sexual content. Needed by the effects that put a person in, talking or lip-synced people, headshots and try-ons. |