计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
create-image-fal【效率与协作】Generate or edit an image via any FAL image model (nano-banana edit, gpt-image, flux, ...), ROUTED THROUGH THE fal-proxy so it bills the Ads agent. image_urls must be public URLs; --image puts a local file on the fal CDN first. The recipe names the model + prompt. Use for keyframes, flat-cover transforms, product hero edits. (For the OpenAI gpt-image…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Generate or edit an image via any FAL image model (nano-banana edit, gpt-image, flux, ...), ROUTED THROUGH THE fal-proxy so it bills the Ads agent. image_urls must be public URLs; --image puts a local file on the fal CDN first. The recipe names the model + prompt. Use for keyframes, flat-cover transforms, product hero edits. (For the OpenAI gpt-image family specifically, create-image-gpt-image-fal also exists.)
gen_image.py --model fal-ai/nano-banana/edit --payload '{...}' --out keyframe.png — bills the agent; returns the *.fal.media URL.
media_proxy.py — never a provider SDK's default host.fal-ai/nano-banana/edit is the default editor for a prompt-driven edit: a restage or scene swap,
a subject swap in the same pose, a product placed into a scene. It keeps subject geometry, the room
and the light. Use create-image-gpt-image-fal instead when lettering is the point of the edit
(logos, wordmarks, signage) or for a transparent cutout. Small text inside the source can come back
mangled with either model; check it.
gen_image.py --model fal-ai/nano-banana/edit --image product.png --image https://.../scene.jpg \
--payload '{"prompt": "Put the bottle on the counter; keep everything else unchanged", "aspect_ratio": "9:16"}' \
--out edit.png
--image is repeatable and keeps its order; a public url passes through, a local file is put on
the fal CDN through the GooseWorks storage proxy (free). Urls already in the payload's
image_urls come first.prompt (required); aspect_ratio auto (the input's), 21:9, 16:9, 3:2, 4:3,
5:4, 1:1, 4:5, 3:4, 2:3 or 9:16; output_format png, jpeg or webp; seed. The
script saves the first image, so leave num_images at 1.Whenever the image will contain a person (creator, presenter, interviewee or any face in focus), with or without a template recipe, read the bundled avatar-generation guide before any paid call. Unless the selected recipe prescribes its own creator still, make the person with create-creator-takes-h3's scripts/make_character.py, which calls this skill. Never hand-write a person prompt here and never use a Flux route (fal-ai/flux/dev, fal-ai/flux/schnell) for a face. When the selected video route forbids person references (for example the street-interview format), make no person still at all. If a required guide cannot be fetched or opened, stop and name the missing file. Use the current project's creator choices and approved model binding; fetching this guide does not authorize another image, a retry or a different render engine.
How the image models behave, measured on shipped projects. Each note lives here once; recipes point here instead of repeating it.
fal-ai/nano-banana and fal-ai/nano-banana/edit. The engine label
nano_banana_2 is not a fal path, and the proxy refuses it as one.