/image-production:ai-graphicsfrom image-production
Generates AI graphics (banners, illustrations, hero images, social cards, characters) on fal or Replicate, choosing cost-effective models per use case.
Ships in image-production. 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.
None: SKILL.md is the whole skill.
Generate banners, hero images, illustrations, social cards, characters and README artwork. For technical diagrams use the tech-comms-diagrams plugin.
references/preferred-image-models.json at the plugin root and match the job to a use_cases entry.default. Use premium only when the default failed on this job or the user asks. Check status: provisional means little evidence, so say so if it matters.check-model-pricing. Never choose from a bare GET https://api.fal.ai/v1/models listing alone: it is weighted to featured, older and expensive models.On fal (text-to-image, edits, reference images): the queue REST API with $FAL_KEY. Submit to https://queue.fal.run/<endpoint>, poll the returned status_url until COMPLETED, then GET response_url. Use the URLs from the submit response as they are: for endpoints with a subpath (fal-ai/flux/dev) status and result live under owner/app only.
bash -c '
R=$(curl -s https://queue.fal.run/<endpoint> -H "Authorization: Key $FAL_KEY" \
-H "Content-Type: application/json" -d @args.json)
S=$(echo "$R" | jq -r .status_url); O=$(echo "$R" | jq -r .response_url)
until [ "$(curl -s -H "Authorization: Key $FAL_KEY" "$S" | jq -r .status)" = COMPLETED ]; do sleep 3; done
curl -s -H "Authorization: Key $FAL_KEY" "$O" > result.json' # images[0].url
curl -sSL -o out.png "$(jq -r '.images[0].url' result.json)"
Set the model explicitly and pass a seed. Check the real output size: square gave 512x512 on FLUX.1 and 1024x1024 on Nano Banana. The input schema for any endpoint is at https://fal.ai/api/openapi/queue/openapi.json?endpoint_id=<id> (the current edit models take image_urls, a list). image_urls accepts a data:image/png;base64,... URI, so a local file needs no staging. Turn off enable_prompt_expansion where it exists. Flatten transparent images onto the target background colour first. curl https://fal.run/<endpoint> (synchronous) also works for short jobs.
Model search and price: GET https://api.fal.ai/v1/models?q=<words>&limit=5 and GET https://api.fal.ai/v1/models/pricing?endpoint_id=<id>, both with the Key header.
Replicate:
bash -c 'curl -s -X POST https://api.replicate.com/v1/models/<owner>/<name>/predictions \
-H "Authorization: Bearer $REPLICATE_API_TOKEN" -H "Content-Type: application/json" \
-H "Prefer: wait" -d "{\"input\":{\"prompt\":\"...\"}}"' # returns output
Input fields differ per model: see https://replicate.com/<owner>/<name>/api/schema.
Write one dense paragraph: subject and pose, background, palette, style ("flat vector", "watercolor") and intended use. With a reference image of a specific character, remove its background, send it as the only image, and write a short instruction: keep this exact character, then only the changes. Describing the character or saying "redraw" makes models drift to a generic one.
Open the images and check them against the brief before reporting. Record endpoint, seed and prompt beside the files if they might be regenerated. Report the path and the estimated cost, from list prices.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
38 skills in this plugin
/auto-deskewUse when the user wants to automatically straighten a tilted image — scanned documents, phone-captured pages, photographed receipts, or slightly off-axis photos. Detects the dominant skew angle and rotates the image to vertical/horizontal, optionally cropping the resulting transparent triangles. Uses ImageMagick `-deskew` for documents and a Hough-line fallback (via Python + OpenCV) for photographs./auto-toneUse when the user wants automatic tonal correction — fix flat/washed-out / underexposed / low-contrast images by stretching levels, normalising contrast, and gamma-correcting to a neutral midtone. Implements auto-level (per-channel histogram stretch), auto-gamma (midtone correction), and a combined "punch" mode via ImageMagick. Operates on JPEG/PNG/TIFF/WebP./auto-white-balanceUse when the user wants to automatically correct the white balance of an image (or batch) — neutralise colour casts from indoor lighting, mixed light, underwater shots, scans, or uncalibrated cameras. Implements gray-world (default), white-patch (per-channel auto-level), and a combined mode via ImageMagick. Operates on JPEG/PNG/TIFF/WebP; for RAW use `darktable-cli` instead./batch-set-copyrightBatch-stamp copyright, artist, and rights information on all images in a directory. Use when you need to quickly add copyright metadata to a photo library before distribution or archival — a convenience wrapper around exiftool./check-model-pricingCheck what an image model costs on fal (default) or Replicate, search fal's library for a model, and review or update the preferred image models per use case. Use when asked "how much is this model", "what's cheapest for X", "check fal pricing", "review the fal library", "update our preferred models", or before a bulk image run./configure-rmbgUse when the user wants to change default model, output naming, or GPU acceleration settings.image-production@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin image-productionOther plugins' skills for the same job