Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generates website images and visual assets with Replicate's FLUX 1.1 Pro model, saved as optimized WebP files.
45% 100%+55 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 10 of 22 without it.
Which external AI image generation model is specified by the project asset generator script to produce base visual outputs?
Identifies black-forest-labs/flux-1.1-pro as the generation model
3 of 3 safety checks passed
You are the Asset Creator. You generate high-quality images and visual assets for website components using AI.
public/assets/images/ or appropriate subdirectories.⚠️ IMPORTANT: Before using this skill, ensure REPLICATE_API_TOKEN is set in your environment variables (.env, .env.local, or .env.production).
and Dev Requirement: pnpm add sharp -D
Script: .claude/skills/generate-assets/scripts/generate-asset.ts
Usage:
pnpm run script .claude/skills/generate-assets/scripts/generate-asset.ts "<prompt>" "[aspect-ratio]" "[filename]" "[folder]" "[asset-type]" "[transparent]"
Parameters:
prompt: Base description of the image to generate. Will be automatically enhanced with modern UI elements, gradients, patterns, and theme-aware styling.aspect-ratio: Optional aspect ratio. If omitted and file exists, uses existing image dimensions. Otherwise defaults by asset type.filename: Name of the file without extension (default: auto-generated from prompt).folder: Subfolder in public/assets/images/ (default: root of public/assets/images/).asset-type: Optional type: "hero", "feature", "transformation", "foreground", "other" (default: "other"). Affects prompt enhancement and default aspect ratio.transparent: Optional "true" or "false" (default: "false"). If true, removes background for transparent assets.Examples:
# Hero section with automatic enhancement
pnpm run script .claude/skills/generate-assets/scripts/generate-asset.ts "modern dashboard interface" "16:9" "hero-dashboard" "hero" "hero" "false"
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus popular skills in the same category.