Skip to content

gooseworks-ai/goose-skills / skills/video/create-image-gpt-image-fal

create-image-gpt-image-fal

Verified

Generate a single photoreal or designed image with OpenAI gpt-image via fal.ai. Supports gpt-image-1 (default, fixed sizes — the FAL fallback for Higgsfield's `gpt_image_2`) and gpt-image-2 (`openai/gpt-image-2`, custom output sizes up to 3840px). Routes to text-to-image or the edit variant depending on whether a reference image is provided. Use for photoreal character anchors, scene keyframes, and designed sheets (e.g. storyboards) where precise layout and legible text matter.

FileKindSize
SKILL.mdskill md9.4 KB
scripts/generate.pyscript6.9 KB
scripts/media_proxy.pyscript56.8 KB
skill.meta.jsonconfig155 B
tests/expected-output.mdmarkdown900 B
tests/human-test.mdmarkdown1.2 KB
tests/sample-input.mdmarkdown525 B
tests/smoke-test.mdmarkdown1.4 KB

tests/human-test.md

View on GitHub
# Human Test — create-image-gpt-image-fal

## Goal

Confirm the atom generates prompt-faithful images on both model families and honors custom sizes on gpt-image-2.

## Test input

Any descriptive prompt. Optionally a reference image to exercise the `/edit` path.

## Steps to run

1. Create `skills/test-runs/<timestamp>/create-image-gpt-image-fal/`.
2. Run the script for: (a) default `gpt-image-1`, (b) `--model gpt-image-2 --image-size 1728x2304`, (c) optionally `--ref-image` to test the edit variant.
3. Open each PNG and read each `.meta.json`.

## Output directory

`skills/test-runs/<timestamp>/create-image-gpt-image-fal/`

## Artifacts to return

- The generated PNGs
- The `.meta.json` sidecars
- A short `verification.md`

## Human acceptance criteria

- Each image opens and plausibly matches its prompt.
- gpt-image-2 output dimensions match the requested custom size.
- `meta.json` reports the correct `model_family` and `model` endpoint.
- The `--ref-image` run visibly reflects the reference.

## Human rejection criteria

- An image is corrupt, empty, or unrelated to the prompt.
- gpt-image-2 ignores the requested custom size.
- `meta.json` is missing or reports the wrong model.
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall