/sunburst-images:sunburst-imagesfrom sunburst-images
Generate image assets with OpenAI GPT Image 2.6 Sunburst on fal.ai, with high reasoning effort and high quality by default. Use for Sunburst or fal.ai image requests, character sheets, UI kits, game HUDs and background plates, or adapting the bundled image prompts.
Ships in sunburst-images. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Use openai/gpt-image-2.6/sunburst/text-to-image. Both ad-hoc requests and
all eight library entries default to reasoning_effort: "high" (thinking)
and quality: "high". These are separate controls; only override them when
the user requests another setting. Higher reasoning can improve dense text
and complex layouts, with added latency.
The prompts and render observations were originally collected on GPT Image 2.5. Their current 2.6 high/high defaults have not been visually benchmarked. See the current API reference for supported inputs.
The CLI is scripts/sunburst, next to this file. It lives wherever this skill
is installed, which is not the user's project — so invoke it by its absolute
path, and set that path once at the start of a session:
SB=<absolute path to this skill>/scripts/sunburst
"$SB" doctor # checks the key and the excon gem, spends nothing
The key is read from FAL_KEY, FAL_AI_API_KEY, FAL_AI_KEY or
~/.fal_ai_api_key, in that order. If doctor reports a missing credential,
ask the user for their key rather than guessing a path. If excon is missing:
gem install excon.
Run it from the user's project directory — --out is resolved relative to
their cwd, while the CLI itself is self-contained and never touches their
Gemfile.
# What is available
"$SB" list
"$SB" show game_hud # rendered prompt + why it is written that way
# Render library prompts (several at once is barely slower than one --
# everything is queued before anything is collected)
"$SB" generate game_hud character_sheet --out assets/concept
# Everything matching a tag
"$SB" generate --tag light_novel --out assets/backgrounds
# Your own prompt
"$SB" prompt --file prompt.md --name key-art --size 2048x1152 --quality high --reasoning-effort high
cat prompt.md | "$SB" prompt --name key-art
It prints the path of each image it writes, and writes a <name>.json sidecar
beside each one recording the exact prompt, settings and request id. Keep the
sidecars — a good frame whose prompt you cannot reconstruct is worth very little.
Flags: --out --name --quality --reasoning-effort --size --format
--background --num --frame-count --frame-duration-ms --svg-model
--tag --quiet. Anything you do not pass keeps the entry's current default, which
is the point of the library — override one thing at a time so you know what
changed the result.
Latency depends on size, quality and reasoning effort. If a run is interrupted,
the request keeps going: "$SB" status REQUEST_ID.
Write prompts as labeled blocks, one per concern, not as a paragraph:
PURPOSE: what the image is for, and its shape
SUBJECT: what is in it
LAYOUT: where things sit relative to each other
STYLE: medium and finish
MATERIALS: what things are made of
PALETTE: named colours, with hex where it matters
TEXT: every string, quoted, with its repeat count
LIGHT: direction, quality, shadows
CAMERA/FRAME: lens, height, projection
TECHNICAL: margins, background, edge quality
EXCLUDE: what must not appear
Use the blocks the image actually needs; omit the rest. This format earns its keep three ways: a revision becomes a one-block edit so you are comparing one variable rather than two, the model stops averaging instructions that would otherwise share a sentence, and the result is diffable.
The habits that most change output quality, roughly in order:
Quote every string and say how many times it appears. This is the single
highest-value line in any prompt that renders type. Left to itself the model
writes plausible-looking gibberish in small numerals. Write
"HULL 87%", appearing exactly once or the label appears three times, once per state column — the latter is what stops it labelling one state and leaving the
others blank.
Name every item; never say "various". Nine named props beat "assorted loot" every time, and the same goes for icons, expressions and detail callouts.
Say how the drawing should look, not how the world works. "The floor curves upward, revealing the station's spin" is a fact about the setting and gets silently dropped. "Draw the floor curving visibly upward at both edges of the frame" is an instruction about the image and renders.
Rule out the dominant prior explicitly. If the model has far more training data for a neighbouring style, naming your style is not enough — you have to name the thing you do not want. "Hand-painted 2D illustration, not a photograph and not a photorealistic 3D render" flipped an interior that kept coming back as CG.
Always write an EXCLUDE block. Background plates need "no people, no
characters" in both PURPOSE and EXCLUDE or they get populated. Watermarks
and signatures need excluding by name.
Carve exceptions out of your own exclusions. "No filled shapes" turned a record dot into an outline; it needed "the only filled shape in the whole set" and a narrowed exclusion.
Layout zones are a strong suggestion, not a guarantee — expect the occasional regrouping and check the result rather than assuming.
The original 2.5 renders showed soft edges with transparent backgrounds. The
three cut-out entries retain opaque key-colour backgrounds and declare their
key_color. If transparency is requested, use a supported format and inspect
the result; do not assume the historical alpha issue persists on 2.6.
Use explicit dimensions when resolution matters, for example --size 2048x1152.
Both edges must be divisible by 16, neither over 3840, aspect ratio at most 3:1,
and total pixels between 655,360 and 8,294,400. Do not infer current pricing
or preset dimensions from the old measurements.
Read references/findings.md for historical observations when diagnosing
output problems; it is not a benchmark of the current model.
references/prompts.md holds all eight prompts in full, with the reasoning
behind each. Read it when the user wants a prompt to start from, wants to see
how a particular effect is specified, or asks for something close to one of
these:
| key | makes |
|---|---|
character_sheet | 3-view turnaround, head studies, labelled detail callouts |
expression_sheet | 4×3 expression atlas, one face, keyable |
ui_buttons | 4 controls × 3 states, software button kit, keyable |
ui_icon_set | 16 monoline toolbar glyphs on one grid, keyable |
game_hud | full 16:9 space-sim HUD with live readouts |
game_inventory | diegetic inventory terminal, item grid + detail pane |
light_novel_rooftop | unpopulated sci-fi exterior background plate |
light_novel_interior | unpopulated sci-fi interior background plate |
These are starting points, not a catalogue. The usual move is to take the
closest entry, swap SUBJECT and PALETTE for the user's actual project, and
leave the structural blocks — LAYOUT, TECHNICAL, EXCLUDE — alone, since
those are what was tuned.
For anything beyond one-off renders, the bundled library is importable:
$LOAD_PATH.unshift "<this skill>/scripts/lib"
require "sunburst"
prompt = Sunburst::PromptLibrary[:game_hud].merge(
subject: "A fantasy airship cockpit overlay above a cloud sea"
)
Sunburst.generate(prompt: prompt, name: "airship-hud",
image_size: { width: 2048, height: 1152 }, quality: "high",
reasoning_effort: "high")
Prompt#merge returns a copy, so library prompts stay pristine while you
iterate. Sunburst.generator.generate_batch(specs) queues a whole set before
collecting any of it.
references/api.md (opens in a new tab)references/findings.md (opens in a new tab)references/prompts.md (opens in a new tab)scripts/lib/sunburst.rb (opens in a new tab)scripts/lib/sunburst/configuration.rb (opens in a new tab)scripts/lib/sunburst/downloader.rb (opens in a new tab)scripts/lib/sunburst/errors.rb (opens in a new tab)scripts/lib/sunburst/generator.rb (opens in a new tab)scripts/lib/sunburst/image_request.rb (opens in a new tab)scripts/lib/sunburst/job.rb (opens in a new tab)scripts/lib/sunburst/prompt.rb (opens in a new tab)scripts/lib/sunburst/prompt_library.rb (opens in a new tab)scripts/lib/sunburst/queue_client.rb (opens in a new tab)scripts/lib/sunburst/result.rb (opens in a new tab)scripts/lib/sunburst/version.rb (opens in a new tab)scripts/sunburst (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub makevoid/gpt26-sunburst-images-plugin --plugin sunburst-images