Spiral gives your agent every tool with one account. Browse the tools →

Codex · VideoReleased 2026-04-26

How to Use Happy Horse Video Edit in Codex

Use Happy Horse Video Edit to restyle footage or replace selected elements while retaining the original motion. It works on an existing clip and returns up to 15 seconds, making it useful for outfit changes, product swaps, and alternate visual treatments.

Prompts to try with Happy Horse Video Edit in Codex

Copy an example into Codex, or ask in your own words.

Use Happy Horse Video Edit on assets/video/product-demo.mp4. Take a 10-second excerpt, replace the bottle with the product shown in assets/images/new-bottle.png, and request that the hand and camera movements stay consistent. Save a 1080p comparison copy.

Happy Horse Video EditCodex
Try asking
  • Use Happy Horse Video Edit on assets/video/presenter.mp4. Prepare an 8-second excerpt and replace the background with the setting in assets/images/studio.jpg. Ask to retain the presenter's appearance and movement, then save the result at 1080p.

  • Use Happy Horse Video Edit to make a 720p style test from a 6-second excerpt of assets/video/walkthrough.mp4. Apply the watercolor treatment shown in assets/images/style-reference.png while retaining the shot's original motion.

  • Use Happy Horse Video Edit on a 12-second excerpt of assets/video/fashion.mp4. Replace the model's jacket with the jacket in assets/images/jacket.jpg. Request that the pose, face, and walking motion stay consistent, and save at 1080p.

  • Use Happy Horse Video Edit to create two separate color treatments of the same 8-second excerpt from assets/video/hero.mp4: warm muted colors and neutral monochrome. Save both at 720p with descriptive filenames.

How to set up Happy Horse Video Edit in Codex

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Happy Horse Video Edit

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "fal",
        "model": "alibaba/happy-horse/video-edit",
        "input": {
          "video_url": "https://storage.googleapis.com/falserverless/example_inputs/editto/example_in.mp4",
          "prompt": "Recolor the sky to a deep purple sunset."
        }
      }'

Then paste one of the prompts above: Codex finds Happy Horse Video Edit on Spiral, shows the price and runs it.

Happy Horse Video Edit providers and prices

Spiral runs Happy Horse Video Edit through fal. Open a card for today's price, with every fee included.

falVideo
Happy Horse Video Edit · Edit Video
alibaba/happy-horse/video-edit

Settings you can ask for

Happy Horse Video Edit works from your video URL, prompt, and reference image URLs. Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Resolution720p or 1080p1080p

Output video resolution tier.

Audio settingauto or originauto

Audio handling. 'auto': model decides whether to regenerate audio. 'origin': preserve the original audio from the input video.

Seeda whole number

Random seed for reproducibility (0-2147483647).

Every API field of Happy Horse Video Edit · Edit Video is on its tool page: open its card above.

What can you do with Happy Horse Video Edit in Codex?

Turn project footage into alternate product shots, wardrobe previews, or visual style tests. A coding agent can locate the source assets, prepare a short clip, and save edited results beside the originals for comparison.

Product swap previews

Use Happy Horse Video Edit to replace a product in an existing demonstration clip. Supply a product reference image and request that the hand movement and camera motion stay consistent.

Wardrobe previews

Try a different jacket or sweater on a person in a short clip. Give Happy Horse Video Edit a clothing reference and identify exactly which garment to replace.

Alternate backgrounds

Ask Happy Horse Video Edit to replace the setting behind a presenter while retaining the presenter's movement. Use a location reference image to describe the intended setting.

Visual style tests

Apply an illustrated or painted treatment to existing footage with Happy Horse Video Edit. Compare treatments on the same short shot before choosing an art direction.

Color treatment comparisons

Use Happy Horse Video Edit to explore warm, muted, or monochrome treatments for a campaign shot. Describe the treatment across the entire clip.

Prop replacement

Replace a distracting tabletop object or change a scene prop with Happy Horse Video Edit. Identify the object's position and describe what should occupy that space.

Questions about Happy Horse Video Edit in Codex

Can Codex use Happy Horse Video Edit?

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Happy Horse Video Edit like any built-in tool.

How much does Happy Horse Video Edit cost in Codex?

Up to $43.68 per run at the default inputs for 60 seconds of input. `resolution`: 720p $21.84, 1080p (default) $43.68. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.

Do I need a fal account to use Happy Horse Video Edit in Codex?

No. Spiral runs Happy Horse Video Edit on its own fal account. You sign in to Spiral once and never paste a key.

How long does it take to set up Happy Horse Video Edit in Codex?

About two minutes: add the hosted server, then sign in.

Does Codex wait while Happy Horse Video Edit runs?

Happy Horse Video Edit runs in the background. Codex starts the run, checks on it and gives you the video when it's ready.

What is Happy Horse Video Edit good for?

It is useful when the motion in an existing shot already works and you want different visuals. You can request a whole-scene style change or target an element such as clothing, a prop, or the background.

Can Happy Horse Video Edit edit a full minute of footage?

Each output is capped at 15 seconds. A longer input contributes only its first 15 seconds, so split longer footage into separate shots before editing.

What video format and frame rate does Happy Horse Video Edit produce?

Alibaba lists MP4 output at 24 frames per second, with 720p and 1080p resolution tiers. Output clips run from 3 to 15 seconds.

How should I describe an edit?

For a targeted change, name the object and where it appears, then describe its replacement. For a whole-scene change, describe the intended visual treatment across the clip.

Do Happy Horse Video Edit instructions have to be in English?

No. Alibaba documents support for instructions in any language; that statement concerns edit prompts rather than a guarantee about translated dialogue.

Get started

Start using Happy Horse Video Edit in Codex

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Codex:

Set up Codex

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options