# Vidu Q4 Reference to Video MCP and API by Shengshu | FlyMy.AI

> Vidu Q4 makes a 3 to 16 second clip from a prompt, up to 12 reference pictures and 3 voice clips, up to 4K.

Page: https://flymy.ai/mcp/models/vidu-q4-reference-to-video/

MCP / Models / Reference video, editing and lip sync

# Vidu Q4 Reference to Video MCP: keep characters and voices

Vidu Q4 makes a 3 to 16 second clip from a prompt, up to 12 reference pictures and 3 voice clips, up to 4K. Run it from Claude Code, Codex, Cursor or any MCP client through one FlyMy.AI MCP, or call its API.

[Use Vidu Q4 Reference to Video](https://flymy.ai/mcp/models/vidu-q4-reference-to-video/#start) [Inputs and price](https://flymy.ai/mcp/models/vidu-q4-reference-to-video/#inputs)

No API key, from $0.0315 / s, Reference to video, Shengshu, Commercial use

$ YOUR NEXT RUN

Claude Code, Codex, Cursor, Any agent

## Use Vidu Q4 Reference to Video 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/vidu-q4-reference-to-video.md. Help me connect the FlyMy.AI MCP to this assistant, then run Vidu Q4 Reference to Video (flymyai/vidu-q4-reference-to-video) for this task: Use Vidu Q4 Reference to Video to make a clip of the character in my reference images walking along a misty forest trail.
```

[Open FlyMy.AI](https://app.flymy.ai/new-agent) [Download brief](https://flymy.ai/mcp/models/vidu-q4-reference-to-video.md)

## What Vidu Q4 Reference to Video does

Send prompt, required, up to 5,000 characters, and optionally up to 12 reference pictures in images (characters, products, objects, locations; PNG, JPEG or WebP) and up to 3 voice clips in reference_audio_urls (MP3, 3 to 12 seconds and up to 50 MB each). Name the references in the prompt by position, in the order you send them: [@reference_image_1], [@reference_image_2] and so on for the pictures and [reference_audio_1] and so on for the voices. duration is 3 to 16 seconds (5 by default), aspect_ratio is 16:9, 9:16, 4:3, 3:4 or 1:1, resolution is 540p, 720p (the default), 1080p, 2K or 4K, and audio, on by default, adds sound with dialogue and effects in the voices of the clips. Outputs: video, one MP4 clip, and seed.

It is billed per second of video, more at a higher resolution; the pictures, the voices and the sound do not change the price. It takes pictures and voice clips only, not reference videos, and does not edit or extend a video; to animate one picture as the first frame use Vidu Q4 Image to Video.

Use only pictures and voice clips you have the right to use: a real person's face or voice needs that person's consent.

## Vidu Q4 Reference to Video inputs

Every input of `flymyai/vidu-q4-reference-to-video` as its live schema lists them. Returns `video` (array), `seed` (string).

| Input | Type, values and default |
|---|---|
| [#](https://flymy.ai/mcp/models/vidu-q4-reference-to-video/#input-prompt) `prompt` | string required Describe the video and tag your references by position: [@reference_image_1], [@reference_image_2]... for the pictures and [reference_audio_1], [reference_audio_2]... for the voice clips |
| [#](https://flymy.ai/mcp/models/vidu-q4-reference-to-video/#input-images) `images` | string optional Up to 12 reference pictures (characters, products, objects, locations): links or uploads, PNG, JPEG or WebP |
| [#](https://flymy.ai/mcp/models/vidu-q4-reference-to-video/#input-reference_audio_urls) `reference_audio_urls` | string optional Up to 3 voice clips that keep voices consistent: links or uploads, MP3, 3-12 seconds and up to 50 MB each. Use only voices you have the right to use |
| [#](https://flymy.ai/mcp/models/vidu-q4-reference-to-video/#input-duration) `duration` | integer optional Allowed: 3 to 16 Default: `5` Length of the clip in seconds, 3-16; the price is per second |
| [#](https://flymy.ai/mcp/models/vidu-q4-reference-to-video/#input-resolution) `resolution` | string optional Allowed: 540p, 720p, 1080p, 2K, 4K Default: `720p` 540p ($0.0315 a second), 720p ($0.0665), 1080p ($0.084), 2K ($0.133) or 4K ($0.273) |
| [#](https://flymy.ai/mcp/models/vidu-q4-reference-to-video/#input-aspect_ratio) `aspect_ratio` | string optional Allowed: 16:9, 9:16, 4:3, 3:4, 1:1 Default: `16:9` Shape of the video: 16:9, 9:16, 4:3, 3:4 or 1:1 |
| [#](https://flymy.ai/mcp/models/vidu-q4-reference-to-video/#input-audio) `audio` | boolean optional Default: `true` Generate sound with the video (dialogue and sound effects, in the voices of the voice clips); off makes a silent clip. The price is the same either way |
| [#](https://flymy.ai/mcp/models/vidu-q4-reference-to-video/#input-seed) `seed` | integer optional Allowed: 0 to 2147483647 Seed for the generation; the same seed and prompt repeat a result |

## Ask your agent

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

**“Use Vidu Q4 Reference to Video to make a clip of the character in my reference images walking along a misty forest trail.”** runs `flymyai/vidu-q4-reference-to-video`

**“Keep my product from these three photos and show it on a desert road at dusk with Vidu Q4 Reference to Video.”** runs `flymyai/vidu-q4-reference-to-video`

**“Make a short dialogue scene with Vidu Q4 Reference to Video: the mascot from my reference picture speaks in the voice of the clip I attach, which is my own recording.”** runs `flymyai/vidu-q4-reference-to-video`

## Vidu Q4 Reference to Video price

From $0.0315 per second of duration, depending on resolution. A run at the default settings costs about $0.333. A run costs $0.0945 to $4.37, depending on duration and resolution. Billed to your FlyMy.AI balance; no seats, no subscription and no minimum.

| Setting | Price |
|---|---|
| resolution 540p | $0.0315 per second |
| resolution 720p | $0.0665 per second |
| resolution 1080p | $0.084 per second |
| resolution 2K | $0.133 per second |
| resolution 4K | $0.273 per second |

[See usage pricing →](https://flymy.ai/pricing/)

## Call Vidu Q4 Reference to Video 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/vidu-q4-reference-to-video",
  "input": {
    "prompt": "Keep the subject and its motion, set the scene on a beach at golden hour"
  }
}
```

### 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/vidu-q4-reference-to-video/predict/async/result/?request_id=<prediction_id>`.

```
curl -X POST https://api.flymy.ai/api/v1/flymyai/vidu-q4-reference-to-video/predict/async/ \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -F 'prompt=Keep the subject and its motion, set the scene on a beach at golden hour'
```

## Questions about Vidu Q4 Reference to Video

**Do I need a Shengshu API key for Vidu Q4 Reference to Video?**

No. Vidu Q4 Reference to Video runs on FlyMy.AI's account, so you need no Shengshu key or plan: sign in to FlyMy.AI once and each run is billed to your FlyMy.AI balance.

**How much does Vidu Q4 Reference to Video cost?**

From $0.0315 per second of duration, depending on resolution. There is no subscription or minimum; the price comes from FlyMy.AI billing and was checked on 2026-11-18.

**How do I use Vidu Q4 Reference to Video in Claude Code, Codex or Cursor?**

Add the FlyMy.AI MCP with one command and sign in, then ask in plain words, for example: "Use Vidu Q4 Reference to Video to make a clip of the character in my reference images walking along a misty forest trail." Your agent reads the inputs with get_model_schema and runs flymyai/vidu-q4-reference-to-video with run_model.

**What does Vidu Q4 Reference to Video need as input?**

Vidu Q4 Reference to Video requires prompt; it also takes 7 optional inputs, each listed on this page with its allowed values and default.

**Can I call Vidu Q4 Reference to Video from my own code?**

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

## More reference video, editing and lip sync models

Keep characters and products from references, edit, extend, reframe or upscale a clip, dub it into another language, sync lips to a voice, make a photo talk or time a video to your audio.

### ByteDance Video Upscaler

Target-resolution upscaling to 8K with presets for AI clips, user video and old film.

Video upscaling / from $0.0072 / s

Link: https://flymy.ai/mcp/models/bytedance-video-upscaler/

### FLUX 3 Video Extend

FLUX 3 Video that picks up where your clip ends and carries on its motion, camera and scene.

Video extension / from $0.21 / s

Link: https://flymy.ai/mcp/models/flux-3-video-v2v/

### Gemini Omni 1.2 Flash Video Upscale

Google's own upscaler for Gemini Omni clips: take a draft to 1080p or 4K and keep its sound.

Video upscaling / from $0.035 / s

Link: https://flymy.ai/mcp/models/gemini-omni-1-2-flash-upscale/

### HeyGen Avatar 6

HeyGen's avatar model: one photo and a voice recording become a presenter video.

Talking video / from $0.10 / s

Link: https://flymy.ai/mcp/models/heygen-avatar-6-image-to-video/

### HeyGen Avatar 6 Turbo

Talking-head videos in volume: a photo and a speech track at Avatar 6's lower tier.

Talking video / from $0.05 / s

Link: https://flymy.ai/mcp/models/heygen-avatar-6-turbo-image-to-video/

### Kling 4.0 Flash Reference to Video

Fast Kling 4.0 clips that keep your characters and products from up to ten pictures.

Reference to video / $0.094 / s

Link: https://flymy.ai/mcp/models/kling-4-0-flash-reference-to-video/

## Go to the source

[Vidu Q4 Reference to Video in the playground →](https://app.flymy.ai/models/flymyai/vidu-q4-reference-to-video), [Model endpoints in the docs →](https://docs.flymy.ai/api/models-endpoints), [Reference video, editing and lip sync guide →](https://docs.flymy.ai/guides/generate-videos), [Every model on FlyMy.AI →](https://flymy.ai/mcp/models/), [Every MCP in the catalog →](https://flymy.ai/mcp/#catalog), [Usage pricing →](https://flymy.ai/pricing/)

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

---

For agents: the FlyMyAI operating guide (sign up, connect, run models, tools and agents) is https://flymy.ai/skill.md, and https://flymy.ai/llms.txt lists the other pages and the documentation.
