generate
Skill1 starsChanged 2 months agoMITView on GitHub
Generate images and videos via AI model APIs. Routes to the cheapest capable model, quotes cost before any paid video run, and files every output flat into generations/ with a prompt log. Use when Drew says /generate, generate an image, generate a video, make a thumbnail, create a key visual, mock up a graphic, animate this, image for the deck/newsletter/landing page, or asks for a picture or clip of anything.
- Reads credentials
22 other projects use a version of this.
Adopted by
Most recently taken up by
- jdonohoo/vern-bottheir own version, first seen Nov 15, 2026
- bitwize-music-studio/claude-ai-music-skillstheir own version, first seen Nov 15, 2026
- anombyte93/prd-taskmastertheir own version, first seen Nov 8, 2026
- AntonioCardenas/generate-nanobananatheir own version, first seen Nov 3, 2026
- synaptiai/agent-capability-standardtheir own version, first seen Nov 1, 2026
- WeAIClub/resume-skillstheir own version, first seen Oct 25, 2026
Other versions22 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 22
- brocoders/nestjs-boilerplate★ 4.4ksame name
- bitwize-music-studio/claude-ai-music-skills★ 668same name
- anombyte93/prd-taskmaster★ 608same name
- rust-off-rails/rustoffrails★ 49same name
- KingGyuSuh/codex-image-in-cc★ 35same name
- microsoft/Employee-Self-Service-Agent-Developer-Kit★ 31same name
- ayrshare/ayrshare-social-media-api-claude-plugin★ 19same name
- Hassaan146/claude-skills★ 18same name
- jdonohoo/vern-bot★ 15same name
- lisovet/claude-skills★ 7same name
12 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository7 other files it gives its agents.
- canvas-uiSkill
- editor-v1Skill
- mg-teardownSkill
- no-ai-slopSkill
- premium-webSkill
- scroll-craftSkill
- test-improveSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 5 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 20 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 61
Default to the lowest-cost provider that runs the model well.
- Distinctive: line 62
If the cheapest route lacks the model, has no key, fails auth, or errors, fall back to the next provider.
- Very specific: line 88
Every file lands flat in generations/.
- Distinctive: line 112
One generation at a time: Run them sequentially to avoid rate limits.
- Distinctive: line 116
After every save the script writes the sidecar log.
- Very specific: line 136
Add a row to MODELS in execution/generate_media.py (alias, provider, model_id, kind, cost, verified=False).
- Distinctive: line 139
Add a row to the table above.
- Very specific: line 145
YouTube thumbnails: don't use
/generatedirectly: Read directives/thumbnail_forge.md and use execution/thumbnail_forge.py, which wraps …
“Common” is measured: kept by at least 6 in 10 of the 20 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/generate
One command for media. Layer 2 (you) picks the model and enforces the money
rules; Layer 3 (execution/generate_media.py) does the API call, the polling,
the download, and the log. Never hand-roll an API call for this. If a model
is missing, add a row to MODELS in the script and a recipe in models/.
Models
| Task | Alias | Model | Recipe |
| Image, default draft | flux-schnell | Flux Schnell (prepaid) | models/onemin.md |
| Image, quality on prepaid | flux-pro | Flux 2 Pro (prepaid) | models/onemin.md |
| Image with references | nano-banana | Nano Banana 2 Lite | models/nano-banana.md |
| Image, one step up | nano-banana-hd | Nano Banana 2 | models/nano-banana.md |
| Image, hero/final | nano-banana-pro | Nano Banana 2 Pro | models/nano-banana.md |
| Image with readable text | gpt-image | GPT Image 2 | models/gpt-image.md |
| Photoreal faces, thumbnail finals | gpt-image-hd | GPT Image 2 @ quality=high | models/gpt-image.md |
| Video, default (image-to-video, start frame required) | kling | Kling 3.0 Pro via Higgsfield | models/higgsfield.md |
| Video, draft lane | veo-fast | Veo 3.1 Fast | models/veo.md |
| Video, hero | veo | Veo 3.1 | models/veo.md |
| Image-to-video test, token-priced | omni | Gemini Omni 1.1 Flash | models/omni.md |
| Reference-to-video | seedance | Seedance 2.0 Fast | models/seedance.md |
| Image-to-video, start + end frame, 1080p | seedance-2.5 | Seedance 2.5 via Higgsfield | models/higgsfield.md |
Read the recipe file before the first run of any model in a session. It has the request shape, the response shape, and the gotchas.
What is actually funded right now
| Provider | Status | Covers |
| 1min.ai | Prepaid, lifetime deal. ⚠️ The key returned 401 API_KEY_INACTIVE on 2026-10-27, and image runs fell back to Google nano-banana, which is paid (about $0.034 a still). Check the account before relying on it | flux-schnell, flux-pro — costs no real money while the key is active |
| Google AI Studio | Funded (billed to Cloud) | nano-banana*, veo* |
| OpenAI | Funded (billed) | gpt-image, gpt-image-hd |
| fal.ai | Funded, $24.10 on 2026-10-27. Live balance: GET https://api.fal.ai/v1/account/billing?expand=credits with Authorization: Key $FAL_KEY → credits.current_balance | seedance |
| Higgsfield | Funded (Drew loaded credits, 2026-10-02), key HF_KEY, pay-per-use. There is no balance API (every GET returns 405) and the console at open.higgsfield.ai needs a login that Drew's Chrome does not hold, so ask Drew for the remaining balance. He reported $19.61 on 2026-10-27, after the ledger showed $26.40 spent from 2026-10-02 to 10-08. kling verified live 2026-10-02 (start + end frame, one run cost at most $1.26); seedance-2.5 verified live 2026-10-08 (4s 720p, $1.85) | kling (Kling 3.0 Pro image-to-video, start + end frame), seedance-2.5 (image-to-video, --ref start frame, --end-frame last frame) |
| Kie AI / WaveSpeed | No key | kling-kie only (the old Kie route, exits with a signup message). The kling alias no longer uses Kie: it routes via Higgsfield, above |
python3 execution/generate_media.py list is the live source of truth.
1min.ai is the lane to prefer. The credits are already bought, so a draft
there costs nothing at the margin while nano-banana costs real cents. Measured
rates: 9,000 credits a schnell image, 90,000 a flux-2-pro image, against an
18.9M balance — about 2,100 or 210 images. It has no reference-image support,
so --ref auto-switches to Google and says so.
Video is the one lane still on real money (Veo 3.1 is $0.80 to $4.80 for an 8s clip,
depending on Fast/Standard and resolution; Higgsfield kling $1.12
for 10s, seedance-2.5 $9.10 for 8s at 1080p, quoted at list). 1min.ai
hosts Veo3/Kling/Sora on prepaid credits and wiring that is the biggest saving
left on the table — see the gotchas in models/onemin.md.
Provider routing
- Default to the lowest-cost provider that runs the model well.
- If the cheapest route lacks the model, has no key, fails auth, or errors, fall back to the next provider.
- Never hide a provider swap. Say which route ran and why.
Usage
python3 execution/generate_media.py list # routes + prices + key status
python3 execution/generate_media.py --prompt "..." --dry-run # quote, spends nothing
# default: prepaid 1min.ai, no real money
python3 execution/generate_media.py --prompt "dark charcoal banner, lime glow" --project deece
python3 execution/generate_media.py \
--prompt "wide shot of a lime gradient key visual, dark background" \
--model nano-banana --project deece --aspect 16:9 \
--ref generations/refs/deece-logo.png
python3 execution/generate_media.py --prompt "slow push in" \
--model veo --duration 8 --yes # --yes required for anything paid--dry-run calls nothing and writes nothing. Use it to quote.
Output
- Every file lands flat in
generations/. No subfolders, ever. - Reference images live in
generations/refs/and are the only thing in there. - Naming:
{project}_{prompt-slug}_{timestamp}.{ext}— the script does this. - The gallery at
generations/gallery.htmlrebuilds after every save. Open it in a browser; it needs no server. - Generated media is gitignored. The sidecar
.jsonlogs andrefs/do sync, so the prompt library survives across the Mac and the PC.
Rules
- Quote the cost and wait for Drew's explicit go before any paid video run.
Quoting is not approval. One approval = one run. The script enforces this in
two currencies: it refuses anything over $0.05 of real money, or over 50,000
prepaid credits, without
--yes. - Draft cheap, finish pretty — and prefer prepaid over paid. Iterate on
flux-schnell(prepaid, no real money). Only rerun the same prompt on a quality model once Drew picks a favourite. Reach for a real-money route only when the job needs something prepaid can't do: references, or text in image. Same for video: prove the motion onveo-fastbefore paying forveo. - Never describe a logo or a face in text. Pass the real file with
--ref. A described logo comes back wrong every time — wrong shape, wrong colours, invented detail. If the reference is missing, stop and ask Drew for it. (See also the memory note on AI likeness from reference photos: pin the person count, never describe the face.) - One generation at a time. Run them sequentially to avoid rate limits.
- Never invent a model id. A 404 means the provider shipped a new version:
open their model page, copy the id fresh, update
MODELSin the script and the recipe file. That is the only maintenance this system needs. - After every save the script writes the sidecar log. Don't skip it and don't write it by hand.
- Bake off the same prompt before committing a model to a job. For a hero shot or any clip with on-screen text, run one identical prompt on two or three video models (same seed idea, same ref) and compare lettering, hands and realism before the full run. Price is not quality: in one public benchmark a Kling 3.0 clip at about $0.60 matched a Seedance 2.5 clip at about $3.23 on selfie-style UGC, while Seedance won on legible text. Say each run's cost in the report so the comparison is visible. (source: Nate Herk, "This ONE GPT-6 Astra Skill Replaces Your Higgsfield Subscription", ingested 2026-10-01)
- Per-use API vs flat subscription is a break-even call. Below roughly 16 to
50 clips a month (varies by plan) pay-per-use wins, above it a subscription
does, and anything programmatic or bulk favors the API. Higgsfield's pay-per-use
API is wired in as of 2026-10-02 (
klingverified live,seedance-2.5verified live 2026-10-08; recipe models/higgsfield.md); compute the break-even against our real monthly clip count before leaning on it, and remember Drew does not spend money on trials. (source: same, ingested 2026-10-01)
Adding a model
- Add a row to
MODELSinexecution/generate_media.py(alias, provider, model_id, kind, cost,verified=False). - Copy
models/_template.md, fill it from the provider's docs. - Add a row to the table above.
- First successful real run: flip
verified=Trueand record the confirmed response shape in the recipe.
Related
- YouTube thumbnails: don't use
/generatedirectly. Readdirectives/thumbnail_forge.mdand useexecution/thumbnail_forge.py, which wraps this script in a generate -> critique -> regenerate loop and refuses to hand back an image the critic has not passed.execution/thumbnail_gen.pyandexecution/wealth_strategist_thumbnail.pyremain the right tools for a fixed template./generateis for everything else. - Any generated image that ends up on a page or in an email still has to pass
/test-improvebefore it ships.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

