Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generates one image via fal.ai's OpenAI gpt-image-1 or gpt-image-2 endpoints, using text-to-image or edit mode based on reference images.
32% 68%+36 ptsof test cases passed
Passed 15 of 22 test cases with the skill, and 7 of 22 without it.
We requested a huge resolution `--image-size 4000x4000` with model gpt-image-2. What upper limit will the generation script apply?
States the maximum dimension is capped at 3840 pixels
This test ran on v1. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Generate one image via fal.ai's OpenAI gpt-image endpoints. Two model families are supported through a single --model flag:
gpt-image-1 (default) — fal-ai/gpt-image-1. The FAL fallback for Higgsfield's gpt_image_2. Fixed output sizes only. Used by:
video-orchestrator/lock-character Phase 0 (anchor portrait) and Phase 1 (angle keyframes via /edit)video-orchestrator/create-clips Phase 1 for photoreal scenesgenerate_with_fallback.py router on Higgsfield failuregpt-image-2 — openai/gpt-image-2. The newer model; accepts custom output sizes (any multiple of 16, up to 3840px) and renders dense text/layouts well. Used for designed sheets such as ad storyboards.The default stays gpt-image-1 so existing callers and the lock-character anchor-parity contract are unaffected. Opt into the newer model with --model gpt-image-2.
Required:
--prompt — text prompt. A verbatim character descriptor block goes here for character work.--output — local PNG destination.Optional:
--model — gpt-image-1 (default) or gpt-image-2.--aspect-ratio — 9:16 (default), 16:9, 1:1, 2:3, 3:2. gpt-image-2 also accepts 3:4, 4:3, 4:5. Used when --image-size is not given.--image-size — explicit WIDTHxHEIGHT (e.g. 1728x2304). gpt-image-2 only — values are rounded to multiples of 16 and capped at 3840px. On gpt-image-1 a custom size is ignored with a warning and the aspect-ratio mapping is used instead.--quality — low | medium | high (default medium; use high for finals).--ref-image / --ref-url — a PUBLIC image URL for the /edit variant. Repeatable — pass it twice to send multiple refs (e.g. identity + style). The proxy does not upload local files, so a local path is rejected — host the image first (the MCP media_upload, or any public URL) and pass that URL. When present, routes to the model's /edit variant so the model can match the references. Order matters: pass identity (character) first, then style refs.--with-logs — stream fal queue logs.Credentials (proxy-routed — NOT a raw FAL key):
scripts/media_proxy.py routes every call through the GooseWorks fal-proxy, so every call is charged to your GooseWorks credits. It reads ~/.gooseworks/credentials.json (api_base, api_key, agent_id), written by the GooseWorks CLI. Do not set FAL_API_KEY: an agent (cal_) token is not a FAL key and 401s against fal directly.GW_PROJECT_ID=<ad project id> in the env so the generation's spend attributes to that ad project (per-project cost shows in the app).A cloud sandbox injects GW_MEDIA_PROXY_TOKEN; a terminal uses the CLI's credentials file. With
neither, the bundled helper relays each paid call through the agent instead (see media-proxy), so
the script never asks for a key or a sign-in.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.