Skip to content
Back to skills

Openfield

ASecurity

An AI image and video studio on the user's own API keys. It generates and upscales images and videos (Nano Banana, GPT Image, Flux 2, Seedream 5, Seedance, Kling, Veo, Wan) on whichever of Kie.ai, WaveSpeed and fal.ai is cheapest, showing the price first. Use when the user runs /openfield, or asks to create, generate, render, animate, edit or upscale an image, picture, thumbnail, poster, clip or video, to reverse-prompt or recreate a picture or reel, or asks what something would cost to gener...

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 28, 2026
ai-agentspythongoapi

Works with

  • claude code
  • cli
  • api

Security analysis

A100/100

Scanned November 28, 2026

npx -y skills add JKWIS1/openfield --skill openfield --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Openfield?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Openfield
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jkwis1-openfield/badge)](https://www.skillsdirectory.com/skills/jkwis1-openfield)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: openfield
description: An AI image and video studio on the user's own API keys. It generates and upscales images and videos (Nano Banana, GPT Image, Flux 2, Seedream 5, Seedance, Kling, Veo, Wan) on whichever of Kie.ai, WaveSpeed and fal.ai is cheapest, showing the price first. Use when the user runs /openfield, or asks to create, generate, render, animate, edit or upscale an image, picture, thumbnail, poster, clip or video, to reverse-prompt or recreate a picture or reel, or asks what something would cost to generate.
---

# /openfield

The user describes what they want in plain words. You turn it into one `openfield.py` command, show the price, and run it. Engine: `python openfield.py <command>` from the repo root. Keys are in `.env`; never print, paste or log them.

## 1. Read the ask

Pull these out without over-asking:
- **What to make:** keep the user's words for the prompt.
- **Image or video:** it's a video if they say video, clip, animate, reel or motion, or give a length.
- **References:** any file path or image they mention.
  - **Image:** pass each file as `--ref`, repeated for more.
  - **Video:** pass `--first` and `--last` for the start and end frames.
  - If they say "my face", "our logo" or "this image" without a path, ask for the path. Never describe a reference in words instead.
- **Shape:**
  - vertical, story, reel or TikTok → `--ar 9:16`
  - square → `--ar 1:1`
  - wide, YouTube or thumbnail → `--ar 16:9`
- **Quality:**
  - "draft", "quick" or "cheap" → the defaults
  - "final", "best" or "hero" → `--final`
  - text in the image, a poster or a logo → `--text`
  - the cheapest video → `--cheap`
  - a named model → `--model <id>` (`python openfield.py models` lists them)
- **Options:** `--res` (1K, 2K or 4K; 480p, 720p or 1080p), `--seconds N` and `--audio`.
- **Upscaling:** "upscale", "make it 4K" or "sharpen this" → `upscale <file> --to 4K` (for video: `--to 1080p`, `2K` or `4K`).
- **Copying a look:** "make this but with me", plus a source and a picture of them → `remake <source> --me <their picture>`. "What's the prompt for this" → `reverse <source>`.

Ask only when a wrong guess would waste money: a missing reference path, or a video with no idea of what happens in it.

## 2. Improve the prompt (when asked, or when the prompt is one vague line)

Read `prompts/guides/general.md` and the guide for the model's family (`models.json` → `family`). Rewrite the prompt yourself following them:
- Keep every subject, object, colour, name and quoted text the user gave.
- Add specifics, but never new subjects.

Show the rewritten prompt in one short block. Outside Claude Code, `--enhance` does the same with Gemini.

## 3. Price first

Run the command with `--quote` and tell the user in one line: the model, provider, price, how the other providers compared, and the month's spend. For example: "Kling 3, 5s, 720p on Kie, about $0.35 (WaveSpeed $0.42, fal $0.42). $3.10 spent this month."

- **An image under the auto-approve price** (`settings.json`, default $0.20) runs straight away: re-run without `--quote`.
- **Every video, and anything at or over the auto-approve price,** waits for an explicit yes. One yes is one run. Then re-run with `--yes`.
- **Over the monthly cap:** say so, and add `--over-cap` only if they agree.
- **Never** switch to a cheaper model or a shorter clip without saying so. Offer it instead.

## 4. Run and report

The engine uploads references, picks the cheapest provider, polls, downloads to `out/`, records the spend and refreshes `gallery/index.html`.
- **Fallback:** it only falls back to another provider at the same price or less. If it stops and names a pricier one, quote that price and get a yes before `--provider <name> --yes`.
- **Show the result:** for an image, read the file so it renders. For a video, give the path. Then one line: the file, model, provider (and the fallback, if one happened), cost, and the month's spend.
- **The gallery:** mention it once per session.

## Commands

```
python openfield.py make --prompt "..." [--ref img]... [--first img --last img] [--model id | --final | --text | --cheap]
                         [--ar 9:16] [--res 2K|720p] [--seconds N] [--audio] [--enhance] [--quote | --yes]
python openfield.py reverse <image-or-video> [--phone]
python openfield.py remake <image-or-video> --me <picture> [--model id] [--quote | --yes]
python openfield.py upscale <image-or-video> [--to 4K|2K|1080p] [--quote | --yes]
python openfield.py prices          # listed vs live prices from fal and WaveSpeed
python openfield.py models | keys | spend | gallery
```

Exit codes: 0 ok · 1 every provider failed · 2 no provider can run it (the reasons are printed) · 3 needs `--yes` · 4 would pass the monthly cap · 5 refused (content policy, or someone could be under 18) · 6 setup (missing key or file).

## Rules

- Never print, log or paste API keys.
- Reverse prompts never describe a person's physical features and never identify anyone. Anyone who could be under 18 means no prompt and no generation (exit 5): say so and stop.
- Don't help impersonate real people.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.