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

Devin · Video

How to Use Hailuo 02 Fast in Devin

Hailuo 02 Fast turns a still image into a 6- or 10-second video at 512p. Use it in Devin to try motion treatments for project artwork, then review the clip in the page where it will appear.

Prompts to try with Hailuo 02 Fast in Devin

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

Use Hailuo 02 Fast to animate the product still already used on this project's homepage. Make a 6-second clip: [Push in] The camera moves slowly toward the product, the product stays stationary, and the studio lighting stays constant. Save it with the site's media assets and prepare a local preview using the original still as the poster.

Hailuo 02 FastDevin
Try asking
  • Use Hailuo 02 Fast to make a 10-second animation from the landscape artwork in this repository. Keep the camera still while clouds drift slowly across the sky; the buildings and lighting stay unchanged. Put the result on a local preview page so I can judge the motion at its intended display size.

  • Use Hailuo 02 Fast to test two 6-second treatments of our existing game character artwork: one static shot with gentle breathing, and one slow camera push-in with the character standing still. Set prompt_optimizer to false for both. Save the clips separately and create a comparison page with the source artwork beside them.

  • Use Hailuo 02 Fast to animate the existing café image in this project's assets. Make a 6-second static shot with steam rising from the cup, while the cup, table, background, and lighting stay constant. Save the result beside the source image and show it in the existing card component for review.

  • Animate the image I attach with Hailuo 02 Fast: slow push-in, leaves moving in the wind. Save the result in ./assets.

How to set up Hailuo 02 Fast in Devin

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

Use Spiral's MCP server

  1. Add a custom MCP

    Open Customize › MCPs. Click + and choose New MCP. Fill in:

  2. Sign in to Spiral and approve

    In Customize › MCPs, open Spiral and choose Connect. Spiral opens: sign in, pick the organization and click Authorize. No API key.

  3. Check it

    On Spiral's configuration page, click Test tools. Devin lists Spiral's tools.

Use the Spiral skill

  1. Send Devin 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 Hailuo 02 Fast

    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": "fal-ai/minimax/hailuo-02-fast/image-to-video",
        "input": {
          "prompt": "Extremely realistic movement An old samurai is breaking a stone in half",
          "image_url": "https://v3.fal.media/files/tiger/U9HN_tm5-3Ls52SbD6CrW_image.webp"
        }
      }'

Then paste one of the prompts above: Devin finds Hailuo 02 Fast on Spiral, shows the price and runs it.

Hailuo 02 Fast providers and prices

Spiral runs Hailuo 02 Fast through fal. Open a card for today's price, with every fee included.

falVideo
Minimax Fast · Image to Video
fal-ai/minimax/hailuo-02-fast/image-to-video

Settings you can ask for

Hailuo 02 Fast works from your prompt and image URL. Ask Devin for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Duration6 or 106

The duration of the video in seconds. 10 seconds videos are not supported for 1080p resolution.

Prompt optimizeron or offon

Whether to use the model's prompt optimizer

Every API field of Minimax Fast · Image to Video is on its tool page: open its card above.

What can you do with Hailuo 02 Fast in Devin?

Ask Devin to animate an existing project asset and prepare a local preview with the original image as its poster. Keep the request concrete: one subject action, one camera move, and a clear destination in the repository.

Test homepage motion

Animate existing artwork with a slow camera push, then ask Devin to preview it in the homepage layout. Review the 512p result at the actual display size before choosing it for a large placement.

Compare game art treatments

Request separate clips of the same character artwork with restrained subject motion or camera motion. Ask Devin to place both in a review page before changing the game's presentation.

Preview animated product cards

Turn a product still into a short motion study and request a preview inside the project's existing card component. Keep labels and purchase controls in the page layout.

Explore atmosphere in editorial images

Try a small movement, such as rising steam or drifting clouds, in artwork already used by the project. Request a local preview beside the original image to decide whether the motion helps the page.

Review motion before implementation

Request a clip and a simple preview page first. Use that review to settle the action and framing before asking Devin to integrate the asset into the finished component.

Compare camera directions

Use the same source artwork for separate static and push-in treatments. Ask Devin to display the results side by side so the choice is grounded in the project's layout.

Questions about Hailuo 02 Fast in Devin

Can Devin use Hailuo 02 Fast?

Yes. Add Spiral to Devin as an MCP server, and Devin can find and run Hailuo 02 Fast like any built-in tool.

How much does Hailuo 02 Fast cost in Devin?

$0.0221 per second. Billed on `duration`, default 6. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Devin plan is separate.

Do I need a fal account to use Hailuo 02 Fast in Devin?

No. Spiral runs Hailuo 02 Fast on its own fal account. You sign in to Spiral once and never paste a key.

How long does it take to set up Hailuo 02 Fast in Devin?

About two minutes: add a custom MCP, then sign in to Spiral and approve, then check it.

Does Devin wait while Hailuo 02 Fast runs?

Hailuo 02 Fast runs in the background. Devin starts the run, checks on it and gives you the video when it's ready.

What resolution does Hailuo 02 Fast produce?

This Fast endpoint produces 512p video. Preview the result at its intended size before using it as a full-width background.

How should I prompt Hailuo 02 Fast from an existing image?

Focus on what moves, how the camera moves, and what stays unchanged. Hailuo's guidance treats the starting image as the source of the subject and setting.

Can Hailuo 02 Fast follow camera movement commands?

MiniMax documents bracketed camera commands for Hailuo 02, including [Push in] and [Static shot]. Start with one camera move per clip; Hailuo's camera guide recommends restraint for smoother motion.

Why does my Hailuo video warp during movement?

Hailuo's workflow guide identifies complex movement as a source of warping. Try a stationary subject with a slow camera move, then review the whole clip for changes in shape.

Should I turn off prompt optimization in Hailuo 02 Fast?

Turn it off when testing a carefully worded motion instruction. MiniMax recommends disabling optimization for more precise control.

Get started

Start using Hailuo 02 Fast in Devin

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

Paste this into Devin:

Set up Devin

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