Edit a picture
edit_imageChange a picture as instructed, optionally with reference pictures, with Tesseract (charged to the signed-in account). Returns download links, or 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": {
"image": "<image>",
"instructions": "<instructions>"
},
"name": "edit_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| image | Yes | A picture: a public https:// URL, or a data:image/…;base64,… URI (up to 10 MB). | |
| model | No | An edit model from list_models (default fal-ai/nano-banana-2/edit). | |
| 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. | |
| 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. | |
| instructions | Yes | What to change — imperative and specific. | |
| 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. | |
| reference_images | No | Pictures of what should appear or be matched. |