MCP / Models / Image to video

HunyuanCustom MCP: subject-consistent video with no API key

Tencent HunyuanCustom makes a video that keeps the subject of your image consistent, from an image and a text prompt, on FlyMy.AI GPUs. Run it from Claude Code, Codex, Cursor or any MCP client through one FlyMy.AI MCP, or call its API.

No API key$5.97 / hrImage to videoTencentCommercial use
HunyuanCustom sample from the FlyMy.AI catalog

$ YOUR NEXT RUN

Claude CodeCodexCursorAny agent

Use HunyuanCustom in your assistant

Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.

Read https://flymy.ai/skill.md and https://flymy.ai/mcp/models/hunyuan-custom.md. Help me connect the FlyMy.AI MCP to this assistant, then run HunyuanCustom (flymyai/hunyuan-custom) for this task: Animate the photo I attach with HunyuanCustom: the person turns and smiles at the camera.
Open FlyMy.AIDownload brief

What HunyuanCustom does

HunyuanCustom is built on the Hunyuan Video framework and centers on subject consistency: the person or object in image stays recognizable while the prompt sets the action. Set width and height (512x896 by default), num_frames, num_inference_steps, fps, negative_prompt and random_seed. It runs on our GPUs and is billed by run time.

HunyuanCustom inputs

Every input of flymyai/hunyuan-custom as its live schema lists them. Returns output (array).

InputType, values and default
# prompt
string required
# negative_prompt
string required
# width
integer required Default: 512
# height
integer required Default: 896
# num_frames
integer required Default: 129
# num_inference_steps
integer required Default: 30
# image
file required Allowed: image file, as a URL or upload
# random_seed
integer optional Default: 42
# fps
integer optional Default: 25

Ask your agent

Requests to paste as they are, once the FlyMy.AI MCP is connected.

“Animate the photo I attach with HunyuanCustom: the person turns and smiles at the camera.”runs flymyai/hunyuan-custom
“Turn my product shot into a clip with HunyuanCustom, the camera slowly circling it.”runs flymyai/hunyuan-custom
“Bring this old family photo to life with HunyuanCustom: gentle smiles and a slight head turn.”runs flymyai/hunyuan-custom

HunyuanCustom price

$5.97 per hour of run time, billed per second. Billed per second of run time, $5.97 an hour. Billed to your FlyMy.AI balance; no seats, no subscription and no minimum.

Call HunyuanCustom from code

The same model, from an agent or from your own code. Keys stay in your FlyMy.AI account.

From an agent, through the MCP

The agent calls get_model_schema, then run_model with:

{
  "endpoint_id": "flymyai/hunyuan-custom",
  "input": {
    "prompt": "Slow camera push-in with gentle, natural motion in the scene",
    "negative_prompt": "Aerial view, aerial view, overexposed, low quality, deformation, a poor composition, bad hands, bad teeth, bad eyes, bad limbs, distortion, blurring, text, subtitles, static, picture, black border.",
    "width": "512",
    "height": "896",
    "num_frames": "129",
    "num_inference_steps": "30"
  }
}

From your code, over HTTP

Form fields, not JSON; files go as uploads or public URLs. The answer is a prediction_id; read the result at https://api.flymy.ai/api/v1/flymyai/hunyuan-custom/predict/async/result/?request_id=<prediction_id>.

curl -X POST https://api.flymy.ai/api/v1/flymyai/hunyuan-custom/predict/async/ \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -F 'prompt=Slow camera push-in with gentle, natural motion in the scene' \
  -F 'negative_prompt=Aerial view, aerial view, overexposed, low quality, deformation, a poor composition, bad hands, bad teeth, bad eyes, bad limbs, distortion, blurring, text, subtitles, static, picture, black border.' \
  -F 'width=512' \
  -F 'height=896' \
  -F 'num_frames=129' \
  -F 'num_inference_steps=30'

Questions about HunyuanCustom

Do I need a Tencent API key for HunyuanCustom?

No. HunyuanCustom runs on FlyMy.AI GPUs, so you need no Tencent key or plan: sign in to FlyMy.AI once and each run is billed to your FlyMy.AI balance.

How much does HunyuanCustom cost?

$5.97 per hour of run time, billed per second. There is no subscription or minimum; the price comes from FlyMy.AI billing and was checked on 2026-11-09.

How do I use HunyuanCustom in Claude Code, Codex or Cursor?

Add the FlyMy.AI MCP with one command and sign in, then ask in plain words, for example: "Animate the photo I attach with HunyuanCustom: the person turns and smiles at the camera." Your agent reads the inputs with get_model_schema and runs flymyai/hunyuan-custom with run_model.

What does HunyuanCustom need as input?

HunyuanCustom requires prompt, negative_prompt, width, height, num_frames, num_inference_steps and image; it also takes 2 optional inputs, each listed on this page with its allowed values and default.

Can I call HunyuanCustom from my own code?

Yes. Send form fields to https://api.flymy.ai/api/v1/flymyai/hunyuan-custom/predict/async/ with your FlyMy.AI API key in the X-API-KEY header.

Go to the source

From the FlyMy.AI model catalog of 2026-11-09: inputs from the model's live schema, prices from FlyMy.AI billing. Requests are examples to paste, not recorded runs.