Skill instructions
freebeat-dance-video7.26 KB
View saved version →
---
version: 0.4.7
name: freebeat-dance-video
description: |
Dance video generation: turn a song and optional photos into a dance video
with Freebeat. Use when: the user asks for a dance video generator, dance
video generation, music-to-dance, dancers performing to a track, or people
or characters from photos dancing to a song. NOT for: story music videos,
lyric video generation, dance instructions without a generated video,
singing photos, lip-sync performances, original music, or existing tasks.
argument-hint: "<song attachment or music link> [dancer photos] [creative direction] [aspect ratio]"
allowed-tools: Bash
---
# Freebeat Dance Video
Use this skill when the user wants dancers performing to a song: `generate_dance_video`. For a story music video, use `freebeat-music-video`; for a lyric video, use `freebeat-lyric-video`.
For failures or reported outcome details accompanying a pause, read `failure.stage`, `failure.reason`, and `failure.retryable` together with `billing.charged`, `billing.refunded`, `billing.net`, and `billing.refund_state`; `get_task_result` exposes the same details. Missing stage, billing, or retry information is `null`, not zero or a promised refund. Explain the safe reason and next step without raw stacks or internal IDs.
## How the agent works
On creation, use `auto_mode: true` by default, as on freebeat.ai, so the director decides and delivers. Use `auto_mode: false` only when the user explicitly asks to co-create or review the work step by step, so the director pauses where taste matters. Apply this rule without asking the user to choose a mode. Stand where the freebeat.ai user stands: `get_video_session` shows the agent's words, stage statuses, artifacts and media links; `send_video_agent_message` speaks into that same `task_id`, optionally changing auto. `action_required` means waiting for the person, not failure. Decide when to involve the user from their intent. Wait until the agent stops running before sending; acceptance is receipt, so read its reply and check the session before resending an uncertain delivery. Initial credit consent covers continuation without per-message approval; relay any credit notice.
`generate_dance_video` starts the same dance agent a user gets on freebeat.ai. That agent is the choreographer and director: it listens to the song, plans the dance, generates the shots, and edits the cut. It treats every word of `prompt` as an instruction, so moves, outfits, or settings you add become things it builds. Pass the user's creative direction in the user's own words and nothing more; leave `prompt` empty when the user gave none.
Photos passed in `image_urls` become the dancers. A run usually takes 15-60 minutes and spends the user's Freebeat credits as it works.
## Workflow
Starting a new paid generation needs exactly one explicit authorization: for a known quote, send the user-approved numeric `max_credits` at or above the current quote and omit `accept_unknown_cost`; for an unavailable total, explain the uncertainty, obtain explicit consent, send `accept_unknown_cost: true`, and omit `max_credits`. Missing authorization or both modes are refused. Unknown-cost consent must never replace an already approved numeric ceiling without new user approval. Never remove or raise that ceiling to bypass refusal. Agents charge in stages, including planning and generated assets; neither mode guarantees a cap on the whole run. A quote is not an actual charge.
Get the song's `music_id` from `upload_audio` or a completed `generate_music` result, and upload any supplied photos with `upload_image` (see Inputs). Read `get_credit_balance` and `quote_generation` with the exact planned `generate_dance_video` inputs, including the required `auto_mode`. Explain the quote or unavailable total and obtain the initial credit consent above, then create with `music_id`, `auto_mode`, and only the requested options: `prompt`, `start_ms`/`end_ms`, `aspect_ratio`, `image_urls`, `remove_wa
Preview of the first 4,000 characters. Read full instructions →
Referenced files: 1 — file references are metadata, not package contents.
freebeat-effect-templates4.97 KB
View saved version →
---
version: 0.4.7
name: freebeat-effect-templates
description: |
Discover Freebeat effect templates and generate template-driven clips through
the authenticated Freebeat MCP tools, with freebeat-cli as the standalone
fallback. Use when: the user asks for effects, effect IDs, template
previews, template defaults, a quick effect run, prepared effect submission,
or a completed effect video URL. NOT for: general image/video model selection,
still-image generation, song-driven music videos, or task-only inspection.
argument-hint: "--effect-id <id> --prompt <direction> [--audio <path-or-url>] [--image <path-or-url>]"
---
# Freebeat Effect Templates
Use this specialized workflow for template-driven clips. For a general model-based image or video, use `freebeat-generate`.
## Codex plugin execution
When the `freebeat` MCP server is available, call `list_effects`, optionally `upload_audio` or `upload_image`, then `get_credit_balance` and `quote_generation` with the exact planned `generate_effect` inputs. State the list price before discounts, or that an advance price is unavailable, before calling `generate_effect`. Poll with `get_task_status` and call `get_task_result` on `completed`, `failed`, or `action_required`. Let Codex handle browser OAuth; never request or expose an API key.
Every paid call needs exactly one explicit authorization: for a known quote, send the user-approved numeric `max_credits` at or above the current quote and omit `accept_unknown_cost`; for an unavailable total, explain the uncertainty, obtain explicit consent, send `accept_unknown_cost: true`, and omit `max_credits`. Missing authorization or both modes are refused. Unknown-cost consent must never replace an already approved numeric ceiling without new user approval. Never remove or raise that ceiling to bypass refusal. Agents charge in stages, including planning and generated assets; neither mode guarantees a cap on the whole run. A quote is not an actual charge.
For `failed` or `action_required`, read `failure.stage`, `failure.reason`, and `failure.retryable` together with `billing.charged`, `billing.refunded`, `billing.net`, and `billing.refund_state`; `get_task_result` exposes the same details. Missing stage, billing, or retry information is `null`, not zero or a promised refund. Explain the safe reason and next step without raw stacks or internal IDs.
Use the CLI workflow below only when the MCP server is unavailable or the user explicitly asks for CLI operation.
## CLI fallback bootstrap
Check `freebeat --help` and `freebeat auth show`. If `freebeat` is missing, tell the user the Freebeat CLI is not installed (they can install it themselves from https://freebeat.ai/cli) and stop; do not install software. If credentials are missing, ask the user to run `freebeat auth set-api-key` in their own terminal. Never request, print, or commit the raw key.
## UX rules
1. Reply in the user's language; keep CLI flags and effect IDs in English.
2. If the user did not choose a template, list effects and select a relevant one from its actual metadata. Do not invent an effect ID.
3. Prefer `effect run --wait` for interactive work. Poll silently and return the final video URL plus cover URL when available.
4. Keep template metadata, asset IDs, task IDs, polling messages, and raw JSON out of the final response unless requested.
5. Ask one concise question only when a required asset or material creative choice is missing.
## Route by input
- Unknown effect ID -> `freebeat effects list`.
- Template defaults or local/remote overrides -> `freebeat effect run`.
- Prepared `effectId`, `musicId`, and hosted image URL -> `freebeat effect create`, then `task wait` and `task result`.
- Existing task ID only -> use `freebeat-task-results`.
`effect submit` remains a CLI alias, but use the canonical `effect create` command in new instructions.
## One-command workflow
```bash
freebeat effects list
freebeat effect run --effect-id <effectId> --prompt "anime g
Preview of the first 4,000 characters. Read full instructions →
Referenced files: 3 — file references are metadata, not package contents.
freebeat-generate6.87 KB
View saved version →
---
version: 0.4.7
name: freebeat-generate
description: |
Generate or edit images and create model-based video clips with any model
Freebeat currently publishes, through the authenticated Freebeat MCP tools.
Use when: the user asks for image generation, one-image editing, text-to-video,
image-to-video, first/last-frame transitions, reference video, choosing or
comparing a Freebeat model, a model's options or price, a finished media URL
from a Freebeat model, or explicitly asks a Freebeat text model. This is the
default entry point for model-based media. NOT for: music, lyric, or dance
videos from a song, original music, singing-photo or lip-sync performances,
effect-template clips, CLI setup, or checking a task that already exists.
argument-hint: "[prompt] [model name] [image attachment or URL]"
---
# Freebeat Generate
Primary skill for model-based media: images, one-image edits, and video clips from Freebeat's model catalog, plus replies from a Freebeat text model when the user asks for one.
For `failed` or `action_required`, read `failure.stage`, `failure.reason`, and `failure.retryable` together with `billing.charged`, `billing.refunded`, `billing.net`, and `billing.refund_state`; `get_task_result` exposes the same details. Missing stage, billing, or retry information is `null`, not zero or a promised refund. Explain the safe reason and next step without raw stacks or internal IDs.
## The catalog is live
Freebeat adds, removes, and reprices models every week. Anything you remember about a model (name, `model_id`, options, price) may already be wrong, which is why these instructions name none. Read the catalog fresh for every request:
Every paid call needs exactly one explicit authorization: for a known quote, send the user-approved numeric `max_credits` at or above the current quote and omit `accept_unknown_cost`; for an unavailable total, explain the uncertainty, obtain explicit consent, send `accept_unknown_cost: true`, and omit `max_credits`. Missing authorization or both modes are refused. Unknown-cost consent must never replace an already approved numeric ceiling without new user approval. Never remove or raise that ceiling to bypass refusal. Agents charge in stages, including planning and generated assets; neither mode guarantees a cap on the whole run. A quote is not an actual charge.
1. `list_models(type)`: `image` for `generate_image`, `image_edit` for `edit_image`, `video` for `generate_video`, `text` for `generate_text`. Media entries carry `model_id`, name, description, and availability; text entries carry `model`.
2. Pick a model. If the user named one, match it against the live names; if it is not there, say so and offer the closest live entries. Otherwise choose the entry whose description best fits the request.
3. `get_model_help(type, model_id)` for image, image_edit, and video models. It returns the options the model accepts per generation type (aspect ratios, resolutions, durations, styles) and its pricing: `pricing[].keys` are the parameters that change the price and `pricing[].prices` contains the rule body, with combination prices in `pricing[].prices.map`; duration settings and multipliers are retained. Pass only options it lists.
4. Call `get_credit_balance` and `quote_generation` with the chosen generation tool and its exact inputs. Tell the user the list price before discounts, or that an advance price is unavailable. Then generate. Freebeat validates every request per model. A rejection comes back in the response `message` and `items[].message`: read it, change the parameter it names, and retry once. If it still fails, tell the user what Freebeat said.
## Route by intent
- New image from text -> `generate_image`.
- Edit exactly one existing image -> `edit_image` with a model from `list_models(type=image_edit)`.
- Video clip -> `generate_video` with a `generation_type` the model offers in `get_model_help`:
- `text`: no images.
- `image`: animate one image.
- `transi
Preview of the first 4,000 characters. Read full instructions →
Referenced files: 2 — file references are metadata, not package contents.
freebeat-image-studio4.85 KB
View saved version →
---
version: 0.4.7
name: freebeat-image-studio
description: |
Create still images or edit exactly one image with any image model Freebeat
currently publishes, through the authenticated Freebeat MCP tools.
Use when: the user explicitly wants an image, album cover, campaign visual,
product image, poster, typography, image variation, restyle, or prompt-guided
edit and needs focused image-model guidance. NOT for: video generation,
multi-image compositing, song-driven music videos, or effect-template clips.
argument-hint: "[prompt] [model name] [image attachment or URL]"
---
# Freebeat Image Studio
Use this focused skill for still-image work. For a request that may become either an image or a video, use `freebeat-generate` as the primary router.
For `failed` or `action_required`, read `failure.stage`, `failure.reason`, and `failure.retryable` together with `billing.charged`, `billing.refunded`, `billing.net`, and `billing.refund_state`; `get_task_result` exposes the same details. Missing stage, billing, or retry information is `null`, not zero or a promised refund. Explain the safe reason and next step without raw stacks or internal IDs.
## The catalog is live
Freebeat adds, removes, and reprices image models every week, so anything you remember about a model may be wrong. Read it fresh for every request:
Every paid call needs exactly one explicit authorization: for a known quote, send the user-approved numeric `max_credits` at or above the current quote and omit `accept_unknown_cost`; for an unavailable total, explain the uncertainty, obtain explicit consent, send `accept_unknown_cost: true`, and omit `max_credits`. Missing authorization or both modes are refused. Unknown-cost consent must never replace an already approved numeric ceiling without new user approval. Never remove or raise that ceiling to bypass refusal. Agents charge in stages, including planning and generated assets; neither mode guarantees a cap on the whole run. A quote is not an actual charge.
1. `list_models(type=image)` for new images, or `list_models(type=image_edit)` for edits. Each entry carries `model_id`, name, description, and availability.
2. Pick the model the user named (match the live names; if it is absent, say so and offer the closest live entries), otherwise the entry whose description best fits the request.
3. `get_model_help(type, model_id)` lists the sizes, resolutions, qualities, output formats, counts, and pricing this model accepts. Pass only what it lists.
4. Call `get_credit_balance` and `quote_generation` with the planned generation tool and its exact inputs. State the list price before discounts, or that an advance price is unavailable. Then submit. If Freebeat rejects the request, `message` and `items[].message` say why: change that parameter and retry once, then report Freebeat's message if it still fails.
## Route by input
- No source image -> `generate_image(model_id, prompt, ...)`.
- Exactly one source image -> `edit_image(model_id, image, prompt, ...)`.
- More than one source image -> editing takes one image; ask the user which one, or route to `freebeat-generate` if they want a video.
- Unsure whether the output should be an image or a video -> `freebeat-generate`.
Both tools return a `batch_id`. Poll `get_task_status` with `task_id` set to it until `completed`, then return the item `image_url` or `edit_images`. Do not call `get_task_result` for image batches.
## Inputs
`edit_image.image` must be an HTTPS URL. The Freebeat server runs remotely and cannot read the user's disk, so `upload_image` rejects `file_paths` there.
- ChatGPT attachment -> `upload_image.files`, then use `image_urls[0]`.
- Public HTTPS image link -> `upload_image.urls`, or pass it directly when it is already a stable HTTPS image URL.
- Local file in Codex -> `freebeat --json assets upload-image <path>` with the Freebeat CLI, signed in to the same Freebeat account; it returns `imageUrls`. Attachments reach Freebeat only in ChatGPT. With
Preview of the first 4,000 characters. Read full instructions →
Referenced files: 1 — file references are metadata, not package contents.
freebeat-lyric-video7.29 KB
View saved version →
---
version: 0.4.7
name: freebeat-lyric-video
description: |
Lyric video generation: turn a song into an animated lyric video with Freebeat.
Use when: the user asks for a lyric video generator, lyric video generation,
animated lyrics, kinetic typography for a song, or words on screen timed to
the vocals. NOT for: music videos without timed lyrics, dance video
generation, writing or translating lyrics, original music, singing photos,
lip-sync of an existing clip, or checking an existing task.
argument-hint: "<song attachment or music link> [creative direction] [aspect ratio]"
allowed-tools: Bash
---
# Freebeat Lyric Video
Use `generate_lyric_video` for animated words timed to the song. For music video generation without timed lyrics, use `freebeat-music-video`; for dancers performing to the song, use `freebeat-dance-video`.
For failures or reported outcome details accompanying a pause, read `failure.stage`, `failure.reason`, and `failure.retryable` together with `billing.charged`, `billing.refunded`, `billing.net`, and `billing.refund_state`; `get_task_result` exposes the same details. Missing stage, billing, or retry information is `null`, not zero or a promised refund. Explain the safe reason and next step without raw stacks or internal IDs.
## How the agent works
On creation, use `auto_mode: true` by default, as on freebeat.ai, so the director decides and delivers. Use `auto_mode: false` only when the user explicitly asks to co-create or review the work step by step, so the director pauses where taste matters. Apply this rule without asking the user to choose a mode. Stand where the freebeat.ai user stands: `get_video_session` shows the agent's words, stage statuses, artifacts and media links; `send_video_agent_message` speaks into that same `task_id`, optionally changing auto. `action_required` means waiting for the person, not failure. Decide when to involve the user from their intent. Wait until the agent stops running before sending; acceptance is receipt, so read its reply and check the session before resending an uncertain delivery. Initial credit consent covers continuation without per-message approval; relay any credit notice.
`generate_lyric_video` starts the same lyric-video agent a user gets on freebeat.ai. That agent is the director: it listens to the song, plans the lyric visuals, animates the words in time with the vocals, and edits the video. It treats every word of `prompt` as an instruction, so a shot list, style, or detail you add becomes something it builds. Pass the user's creative direction in the user's own words and nothing more; leave `prompt` empty when the user gave none.
A run usually takes 15-60 minutes and spends the user's Freebeat credits as it works.
## Workflow
Starting a new paid generation needs exactly one explicit authorization: for a known quote, send the user-approved numeric `max_credits` at or above the current quote and omit `accept_unknown_cost`; for an unavailable total, explain the uncertainty, obtain explicit consent, send `accept_unknown_cost: true`, and omit `max_credits`. Missing authorization or both modes are refused. Unknown-cost consent must never replace an already approved numeric ceiling without new user approval. Never remove or raise that ceiling to bypass refusal. Agents charge in stages, including planning and generated assets; neither mode guarantees a cap on the whole run. A quote is not an actual charge.
Get the song's `music_id` from `upload_audio` or a completed `generate_music` result, and upload any supplied photos with `upload_image` (see Inputs). Read `get_credit_balance` and `quote_generation` with the exact planned `generate_lyric_video` inputs, including the required `auto_mode`. Explain the quote or unavailable total and obtain the initial credit consent above, then create with `music_id`, `auto_mode`, and only the requested options: `prompt`, `start_ms`/`end_ms`, `aspect_ratio`, `resolution`, `image_urls`, `remove_watermark`.
Han
Preview of the first 4,000 characters. Read full instructions →
Referenced files: 1 — file references are metadata, not package contents.
freebeat-music-creation3.48 KB
View saved version →
---
version: 0.4.7
name: freebeat-music-creation
description: |
Generate original music from a text prompt, with optional lyrics, through the
authenticated Freebeat MCP tools.
Use when: the user asks to generate music, an instrumental track, text-to-music,
lyrics-to-music, a song from a description, or background music. NOT for: music
videos, dance videos, singing-photo or lip-sync performances, still images, or
inspecting an existing task without creating music.
argument-hint: "--prompt <description> [--lyrics <lyrics>] [--instrumental]"
---
# Freebeat Music Creation
Use this skill when the user wants an original music track. If the user wants a video set to music, route to `freebeat-music-video`, `freebeat-dance-video`, `freebeat-lyric-video`, or `freebeat-performance-video` instead.
## Codex plugin execution
When the `freebeat` MCP server is available, call `list_music_models`, then `generate_music`. Poll with `get_task_status` and call `get_task_result` after completion; the result exposes `audio_url` and, when Freebeat provides it, `music_id` for video tools. Let Codex handle browser OAuth; never request or expose an API key.
For `failed` or `action_required`, read `failure.stage`, `failure.reason`, and `failure.retryable` together with `billing.charged`, `billing.refunded`, `billing.net`, and `billing.refund_state`; `get_task_result` exposes the same details. Missing stage, billing, or retry information is `null`, not zero or a promised refund. Explain the safe reason and next step without raw stacks or internal IDs.
If the `freebeat` MCP server is unavailable, say so and offer to continue once it is connected.
## Workflow
Every paid call needs exactly one explicit authorization: for a known quote, send the user-approved numeric `max_credits` at or above the current quote and omit `accept_unknown_cost`; for an unavailable total, explain the uncertainty, obtain explicit consent, send `accept_unknown_cost: true`, and omit `max_credits`. Missing authorization or both modes are refused. Unknown-cost consent must never replace an already approved numeric ceiling without new user approval. Never remove or raise that ceiling to bypass refusal. Agents charge in stages, including planning and generated assets; neither mode guarantees a cap on the whole run. A quote is not an actual charge.
1. Call `list_music_models` and pick the model whose capabilities match the request: `requires_lyrics` models need lyrics; `supports_duration` models accept a custom length; `supports_instrumental` models can skip vocals.
2. If the model has `supports_duration: false`, tell the user that it cannot control the song length. Call `get_credit_balance` and `quote_generation` with the exact planned `generate_music` inputs; state the list price before discounts, or that an advance price is unavailable. Then call `generate_music`.
3. Poll `get_task_status`, then return the final `audio_url` from `get_task_result` with a one-line summary. If the user also wants a video, pass the returned `music_id` directly to the corresponding video tool.
## UX rules
1. Reply in the user's language; keep tool and field names in English.
2. Ask one concise question only when the request is missing an essential creative direction.
3. State the balance and advance price when available; do not guess when the backend cannot quote the request.
4. Keep task IDs and raw JSON out of the reply unless requested.
## References
- `references/music-workflow.md` - inputs, cross-field rules, result fields, and copyable examples.
Referenced files: 1 — file references are metadata, not package contents.
freebeat-music-video7.52 KB
View saved version →
---
version: 0.4.7
name: freebeat-music-video
description: |
Music video generation: turn a song into a music video with Freebeat.
Use when: the user asks for a music video generator, music video generation,
an MV, song to video, a beat-synced video, or a multi-scene video featuring
people or characters from photos. NOT for: dance video generation, lyric
video generation or animated lyrics, single-shot singing photos, lip-sync
of an existing clip, original music, model-based clips without a song,
effect-template clips, or checking an existing task.
argument-hint: "<song attachment or music link> [creative direction] [aspect ratio]"
allowed-tools: Bash
---
# Freebeat Music Video
Use `generate_music_video` for music video generation. For dance video generation, use `freebeat-dance-video`; for lyric video generation, use `freebeat-lyric-video`.
For failures or reported outcome details accompanying a pause, read `failure.stage`, `failure.reason`, and `failure.retryable` together with `billing.charged`, `billing.refunded`, `billing.net`, and `billing.refund_state`; `get_task_result` exposes the same details. Missing stage, billing, or retry information is `null`, not zero or a promised refund. Explain the safe reason and next step without raw stacks or internal IDs.
## How the agent works
On creation, use `auto_mode: true` by default, as on freebeat.ai, so the director decides and delivers. Use `auto_mode: false` only when the user explicitly asks to co-create or review the work step by step, so the director pauses where taste matters. Apply this rule without asking the user to choose a mode. Stand where the freebeat.ai user stands: `get_video_session` shows the agent's words, stage statuses, artifacts and media links; `send_video_agent_message` speaks into that same `task_id`, optionally changing auto. `action_required` means waiting for the person, not failure. Decide when to involve the user from their intent. Wait until the agent stops running before sending; acceptance is receipt, so read its reply and check the session before resending an uncertain delivery. Initial credit consent covers continuation without per-message approval; relay any credit notice.
`generate_music_video` starts the same agent a user gets on freebeat.ai. That agent is the director: it listens to the song, plans the video, generates every shot, and edits the cut. It treats every word of `prompt` as an instruction, so a shot list, style, or detail you add becomes something it builds. Pass the user's creative direction in the user's own words and nothing more; leave `prompt` empty when the user gave none.
A run usually takes 15-60 minutes and spends the user's Freebeat credits as it works.
## Distinguish the request
- "Make this photo sing": a short single-shot clip of one still photo belongs to `freebeat-performance-video`; a multi-scene music video starring that person uses `generate_music_video` with the photo in `image_urls`. If the request could be either, ask once.
## Workflow
Starting a new paid generation needs exactly one explicit authorization: for a known quote, send the user-approved numeric `max_credits` at or above the current quote and omit `accept_unknown_cost`; for an unavailable total, explain the uncertainty, obtain explicit consent, send `accept_unknown_cost: true`, and omit `max_credits`. Missing authorization or both modes are refused. Unknown-cost consent must never replace an already approved numeric ceiling without new user approval. Never remove or raise that ceiling to bypass refusal. Agents charge in stages, including planning and generated assets; neither mode guarantees a cap on the whole run. A quote is not an actual charge.
Get the song's `music_id` from `upload_audio` or a completed `generate_music` result, and upload any supplied photos with `upload_image` (see Inputs). Read `get_credit_balance` and `quote_generation` with the exact planned `generate_music_video` inputs, including the required `aut
Preview of the first 4,000 characters. Read full instructions →
Referenced files: 1 — file references are metadata, not package contents.
freebeat-performance-video4.72 KB
View saved version →
---
version: 0.4.7
name: freebeat-performance-video
description: |
Animate a still portrait, pet photo, or two portraits into a short single-shot
singing performance, or lip-sync an uploaded video to a track, through the
authenticated Freebeat MCP tools.
Use when: the user asks for a singing photo, singing image, Photo Karaoke, a
pet singing video, a duet video from two photos, or a lip-sync video. NOT for:
full music videos, dance videos, original music generation, or inspecting an
existing task without creating media.
argument-hint: "--mode <photo|pet|duet|lip-sync> --image <url> --audio <path-or-url>"
---
# Freebeat Performance Video
Use this skill for short singing-photo performances (photo, pet, or duet) and lip-sync videos.
## Singing photo versus full music video
- Use `generate_singing_video` for a still portrait/photo/pet, or two portraits for duet, animated into a 1-30 second single-shot performance.
- Use `generate_music_video` (the photo in `image_urls`) for a full music-video request, a multi-scene character performance, or a request explicitly described as a music video — that route belongs to `freebeat-music-video`.
- If the user only says "make this sing" and the intended source/output is unclear, ask whether they want a short singing-photo performance or a full music video before calling a generation tool.
## Codex plugin execution
When the `freebeat` MCP server is available:
- Singing route: `upload_audio` and `upload_image`, then `generate_singing_video` with `mode: photo|pet|duet`. Photo and pet take exactly one image; duet takes exactly two.
- Lip-sync route: `upload_video` and `upload_audio`, then `generate_lip_sync_video` with the video URL, its duration in milliseconds, and exactly one audio source.
Before either generation call, use `get_credit_balance` and `quote_generation` with the exact planned tool and inputs. State the list price before discounts, or that an advance price is unavailable. Poll with `get_task_status` and fetch the final `video_url` with `get_task_result`. Let Codex handle browser OAuth; never request or expose an API key.
Every paid call needs exactly one explicit authorization: for a known quote, send the user-approved numeric `max_credits` at or above the current quote and omit `accept_unknown_cost`; for an unavailable total, explain the uncertainty, obtain explicit consent, send `accept_unknown_cost: true`, and omit `max_credits`. Missing authorization or both modes are refused. Unknown-cost consent must never replace an already approved numeric ceiling without new user approval. Never remove or raise that ceiling to bypass refusal. Agents charge in stages, including planning and generated assets; neither mode guarantees a cap on the whole run. A quote is not an actual charge.
For `failed` or `action_required`, read `failure.stage`, `failure.reason`, and `failure.retryable` together with `billing.charged`, `billing.refunded`, `billing.net`, and `billing.refund_state`; `get_task_result` exposes the same details. Missing stage, billing, or retry information is `null`, not zero or a promised refund. Explain the safe reason and next step without raw stacks or internal IDs.
## Inputs
The Freebeat server runs remotely and cannot read the user's disk, so it rejects `file_path` and `file_paths`.
- ChatGPT attachment -> `upload_audio.file`, `upload_image.files`, or `upload_video.file`.
- A link from a music platform that `upload_audio` supports -> `upload_audio.url`; a direct HTTPS audio file can go straight into `audio_url` instead of `music_id`.
- Public HTTPS image or video link -> `upload_image.urls` or `upload_video.url`.
- Local file in Codex -> upload it with the Freebeat CLI, signed in to the same Freebeat account: `freebeat --json assets upload-audio --file <path>` returns `musicId` (use as `music_id`) and `freebeat --json assets upload-image <path> [<path>]` returns `imageUrls`. A local clip needs a public HTTPS link for `upload_video.url`; the CLI do
Preview of the first 4,000 characters. Read full instructions →
Referenced files: 1 — file references are metadata, not package contents.
freebeat-task-results5.22 KB
View saved version →
---
version: 0.4.7
name: freebeat-task-results
description: |
Check, wait for, and extract results from existing Freebeat tasks and batches.
Use when: the user has a task ID, batch ID, serial number, JSON response,
status question, timeout requirement, or wants final media URLs from an
already submitted agent video, music, performance, effect, image, or video job. NOT for: creating media,
choosing a model, uploading assets, or configuring credentials as the main task.
argument-hint: "<task-id-or-batch-id> [--serial-no <serial-no>]"
---
# Freebeat Task Results
Use this operational helper only after a Freebeat command has submitted work. Do not create a new media job from this skill.
## Codex plugin execution
When the `freebeat` MCP server is available, call `get_task_status`. When a task ID (not an image/video batch) reaches `completed`, `failed`, or `action_required`, call `get_task_result`; Open RPC image/video batch results are already included in completed status items. Let Codex handle browser OAuth; never request or expose an API key.
Agent videos from `generate_music_video`, `generate_dance_video`, or `generate_lyric_video` use scoped IDs starting `music_video:`, `dance:`, or `lyric_video:` and usually take 15-60 minutes; poll every few minutes. These IDs work through the plugin tools, not the CLI.
On creation, use `auto_mode: true` by default, as on freebeat.ai, so the director decides and delivers. Use `auto_mode: false` only when the user explicitly asks to co-create or review the work step by step, so the director pauses where taste matters. Apply this rule without asking the user to choose a mode. Stand where the freebeat.ai user stands: `get_video_session` shows the agent's words, stage statuses, artifacts and media links; `send_video_agent_message` speaks into that same `task_id`, optionally changing auto. `action_required` means waiting for the person, not failure. Decide when to involve the user from their intent. Wait until the agent stops running before sending; acceptance is receipt, so read its reply and check the session before resending an uncertain delivery. Initial credit consent covers continuation without per-message approval; relay any credit notice.
For failures or reported outcome details accompanying a pause, read `failure.stage`, `failure.reason`, and `failure.retryable` together with `billing.charged`, `billing.refunded`, `billing.net`, and `billing.refund_state`; `get_task_result` exposes the same details. Missing stage, billing, or retry information is `null`, not zero or a promised refund. Explain the safe reason and next step without raw stacks or internal IDs.
Use the CLI workflow below only when the MCP server is unavailable or the user explicitly asks for CLI operation.
## CLI fallback bootstrap
If `freebeat` is missing, tell the user the Freebeat CLI is not installed (they can install it themselves from https://freebeat.ai/cli) and stop; do not install software. If status calls are unauthenticated, have the user run `freebeat auth set-api-key` in their own terminal. Never request or print the raw key.
## UX rules
1. Reply in the user's language; keep statuses and JSON field names in English when quoting technical output.
2. For a final-result request, poll silently until a terminal state and return the media URLs or a concise failure reason.
3. Do not expose task IDs, batch IDs, serial numbers, config paths, polling logs, or raw JSON unless requested.
4. Continue agent videos through their existing session when appropriate; do not resubmit a new generation job from this skill.
5. Use `--json` only for automation, debugging, or explicit structured-output requests.
## Route by job type
- Legacy MV/effect task -> `task status`, `task wait`, then `task result` after success.
- Creative scoped IDs `music:<id>`, `singing:<id>`, `lip_sync:<id>` -> `get_task_status` and `get_task_result` on the MCP server; the published CLI does not read them.
- Open RPC image/video batch
Preview of the first 4,000 characters. Read full instructions →
Referenced files: 2 — file references are metadata, not package contents.
freebeat-video-studio5.23 KB
View saved version →
---
version: 0.4.7
name: freebeat-video-studio
description: |
Create model-based video clips from text, one image, first/last frames, or
reference images with any video model Freebeat currently publishes, through
the authenticated Freebeat MCP tools. Use when: the user explicitly wants
text-to-video, image-to-video, a transition, reference video, aspect-ratio
variants, generated audio, styles, or multi-clip output. NOT for: music, lyric,
or dance videos from a song, effect-template clips, still-image editing, or
checking a task that already exists.
argument-hint: "[prompt] [model name] [image attachments or URLs]"
---
# Freebeat Video Studio
Use this focused skill for model-based video clips. For an ambiguous image-or-video request, use `freebeat-generate` as the primary router. For a video built around a song, use `freebeat-music-video`, `freebeat-dance-video`, or `freebeat-lyric-video`.
For `failed` or `action_required`, read `failure.stage`, `failure.reason`, and `failure.retryable` together with `billing.charged`, `billing.refunded`, `billing.net`, and `billing.refund_state`; `get_task_result` exposes the same details. Missing stage, billing, or retry information is `null`, not zero or a promised refund. Explain the safe reason and next step without raw stacks or internal IDs.
## The catalog is live
Freebeat adds, removes, and reprices video models every week, so anything you remember about a model may be wrong. Read it fresh for every request:
Every paid call needs exactly one explicit authorization: for a known quote, send the user-approved numeric `max_credits` at or above the current quote and omit `accept_unknown_cost`; for an unavailable total, explain the uncertainty, obtain explicit consent, send `accept_unknown_cost: true`, and omit `max_credits`. Missing authorization or both modes are refused. Unknown-cost consent must never replace an already approved numeric ceiling without new user approval. Never remove or raise that ceiling to bypass refusal. Agents charge in stages, including planning and generated assets; neither mode guarantees a cap on the whole run. A quote is not an actual charge.
1. `list_models(type=video)`. Each entry carries `model_id`, name, description, and availability.
2. Pick the model the user named (match the live names; if it is absent, say so and offer the closest live entries), otherwise the entry whose description best fits the request.
3. `get_model_help(type=video, model_id)` lists, per generation type, the aspect ratios, resolutions, durations, and styles the model accepts, plus pricing (`pricing[].keys` are the parameters that change the price; `pricing[].prices` is the rule body, combination tables are in `pricing[].prices.map`, and duration settings and multipliers are retained). Confirm the model offers the generation type you need, then pass only options listed for that type.
4. Call `get_credit_balance` and `quote_generation` with the planned `generate_video` inputs. State the list price before discounts, or that an advance price is unavailable. Then submit. If Freebeat rejects the request, `message` and `items[].message` say why: change that parameter and retry once, then report Freebeat's message if it still fails.
## Pick the generation type
- `text`: prompt only; no source image.
- `image`: animate exactly one image.
- `transition`: exactly two images, first frame then last frame.
- `reference`: one or more images guiding subject or style; pass only the images the request needs.
Call `generate_video(model_id, prompt, generation_type, images, ...)`. It returns a `batch_id`; poll `get_task_status` with `task_id` set to it until `completed`, then return the item `video_url`. Do not call `get_task_result` for video batches.
## Inputs
`generate_video.images` accepts HTTPS image URLs only. The Freebeat server runs remotely and cannot read the user's disk, so `upload_image` rejects `file_paths` there.
- ChatGPT attachment -> `upload_image.files` (one or
Preview of the first 4,000 characters. Read full instructions →
Referenced files: 1 — file references are metadata, not package contents.