ofox-video-core
БесплатноБез исполняемых скриптовНе проверенRequires OFOX_API_KEY — create one at https://app.ofox.ai. Shared execution layer for the Ofox video generation API (api.ofox.ai) — creates a video job, polls…
от ofoxai955 установок в других каталогахОб этом скилле
ofox-video-core: Ofox video API execution layer
Wraps the Ofox video generation API (https://api.ofox.ai/v1/videos) behind
one script: submit a job, poll it to a terminal state, download the result,
report the exact cost. Scenario skills (seedance-short-drama,
seedance-ad-creative) call into this rather than duplicating API logic.
Safety contract (non-negotiable)
- The script never reads a dotenv file.
references/ofox-video.shresolvesOFOX_API_KEYfrom the shell environment only, and the key is never hardcoded in a script or a skill file. - You may load the key from a dotenv file once the user has authorized it.
Locate it (
.envat the repo root is the usual spot), thenset -a; . <path>; set +ain the shell you'll call the script from. Sourcing a dotenv pulls in every variable in the file, not just the key —OFOX_API_BASE_URLis one this script reads, and it redirects every API call — so read the file before you load it. Never echo the value. - The key goes to exactly one host, and you are told when that host is not
Ofox. Since 1.30.0
OFOX_API_BASE_URLmust behttps://(a loopback host may behttp://, for a local test server) and an override prints aNOTE:on stderr naming the host that will receive the key. Relay that line if you see it: it is the difference between "we are talking to Ofox" and "we are talking to whatever that variable says". And thepolling_urlthe API returns in its create response — which the poll loop authenticates to — is followed only when it is on the same scheme/host/port as the base. A response pointing somewhere else stops the run with the job id printed, so the job you already paid for is collected withpoll, not abandoned. - Never print, log, or echo the raw key value — not in chat, not in a
file, not in a command you show the user, not in verbose curl output.
references/ofox-video.shnever usescurl -v/--tracefor exactly this reason (those would print theAuthorizationheader). If you need to show that a key is configured, say "OFOX_API_KEY is set" — never the value. - Never write the key into any file this skill (or a skill built on it) creates, including logs, cost reports, or committed code.
- Check once, then proceed. Run the availability/key check at most once per session (see below). If it passes, don't re-prompt for the key on every subsequent call in that session.
- Fail open on a missing key — guide the user to get one, don't dead-end the conversation. A missing key means "can't call the paid API yet," not "stop talking to me."
Which model, and what it costs
bash references/ofox-video.sh models lists every video model Ofox serves with
its duration range, resolutions, modes and base per-second price. It needs
no API key — GET /v1/models is public — so it is safe to run before the
user has signed up, and it costs nothing.
⚠️ The modes column under-reports, so do not read it as a capability
list. Every model's entry says t2v i2v v2v and nothing else, and
reference-to-video through input_references was measured working on
bytedance/seedance-2.5 on 2026-09-16 (job 0f5c8b4e, two image references,
44 cents, billed at the plain t2v rate). The duration, resolution and
aspect-ratio columns are a different matter — those are what the script
enforces against and they have held up. Detail, and what the same session
measured about the mode request field — accepted, discarded, and therefore
no route to extend or edit — is in
references/api-params.md.
The rate models prints is the one at each model's own default
resolution, and that default is not the same tier for every model. It ranks
models; it does not quote them. For the rate at the tier you are actually
about to send, run providers MODEL — it prints the per-resolution,
per-upstream matrix, and that is the quotable source:
bash references/ofox-video.sh models # rank
bash references/ofox-video.sh providers bytedance/seedance-2.0-mini # then quote
⚠️ providers with no model argument prints the flagship's matrix, not the
catalog. Pass the id you mean.
The spread between the cheap end and the flagship is large — several times the
per-second rate at the same resolution — which is why, when a user is going to
generate several takes and keep one, drafting on a cheap model and rendering
the keeper on seedance-2.5 costs a fraction of drafting everything on 2.5.
Say so when it's relevant, with numbers you just read rather than remembered,
and don't switch models on someone's behalf: the model changes the look, not
just the price.
Parameter limits differ per model — duration range, resolution tiers and
aspect-ratio list all vary, and they vary within a family, so wan-* or
seedance-2.0-* is not a safe thing to generalise over. The script enforces
the real per-model ones and models prints them;
Установить ofox-video-core в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл ofox-video-core?
Requires OFOX_API_KEY — create one at https://app.ofox.ai. Shared execution layer for the Ofox video generation API (api.ofox.ai) — creates a video job, polls it to completion, downloads the finished mp4 from a persistent CDN URL, and reports the real cost. This is a library skill, not a standalone user-facing one — it is invoked by scenario skills such as seedance-short-drama, seedance-ad-creative, and seedance-product-video, which build model/prompt/resolution choices for a specific use case and then call into this skill's script rather than re-implementing the API calls. Load this skill directly only when a user explicitly names the Ofox video API, asks to call it with specific low-level parameters, or asks to debug/resume a stuck or failed Ofox video job by job id — for a plain scenario request ("make me a short drama scene", "generate a cinematic ad clip"), use the relevant scenario skill instead, which itself depends on this one.
Как установить скилл ofox-video-core?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ofox-video-core запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic