# Vidu Q4 Reference to Video - API, Playground & Pricing

> Run Vidu Q4 Reference to Video by Shengshu via API, Playground, or MCP from $0.0315 per second - no provider API key needed. Vidu Q4 with up to 12 reference pictures and 3 voices: characters and voices stay the same through the clip.

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

Models / Image to video

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 in the playground, call its API, or let Claude Code, Codex or Cursor run it through one FlyMy.AI MCP. No Shengshu API key: runs are billed to your FlyMy.AI balance.

[▶ Try in Playground](https://app.flymy.ai/models/flymyai/vidu-q4-reference-to-video) [<> Get API](https://flymy.ai/models/vidu-q4-reference-to-video/#api)

**Provider**

Shengshu

**Category**

[Image to video](https://flymy.ai/models/image-to-video/) / Reference to video

**Price**

from $0.0315 / s (about $0.333 at the defaults)

**Resolution**

540p, 720p, 1080p, 2K, 4K

**Aspect ratio**

16:9, 9:16, 4:3, 3:4, 1:1

**Length**

3 to 16 seconds

**Returns**

`video`, `seed`

**Commercial use**

Allowed

**Model ID**

`flymyai/vidu-q4-reference-to-video`

![Vidu Q4 Reference to Video by Shengshu: reference to video sample, keep characters and voices](https://flymy.ai/img/models/vidu-q4-reference-to-video.jpg)

Vidu Q4 Reference to Video sample from the FlyMy.AI catalog

$ 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/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/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/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/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/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/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/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/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/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/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 |

[Every model's price →](https://flymy.ai/models/pricing/) [Usage pricing →](https://flymy.ai/pricing/)

## Vidu Q4 Reference to Video vs similar models

Popular image to video models beside it, with prices from billing and settings from each live schema.

| Model | Provider | Kind | Price | Default run | Resolution | Length |
|---|---|---|---|---|---|---|
| **Vidu Q4 Reference to Video** | Shengshu | Reference to video | from $0.0315 / s | about $0.333 | 540p, 720p, 1080p, 2K, 4K | 3 to 16 seconds |
| [Wan 3.0 Reference to Video](https://flymy.ai/models/wan-3-0-ref2v/) | Alibaba | Reference to video | from $0.05 / s | $0.50 | 480P, 720P, 1080P | 1 to 30 seconds |
| [Seedance 2.5 Reference to Video](https://flymy.ai/models/bytedance-seedance-2-5-reference-to-video/) | ByteDance | Reference to video | from $0.10794 / s | about $1.22 | 480p, 720p, 1080p | 4 to 30 seconds |
| [Vidu Q4 Image to Video](https://flymy.ai/models/vidu-q4-image-to-video/) | Shengshu | Image to video | from $0.0315 / s | about $0.333 | 540p, 720p, 1080p, 2K, 4K | 3 to 16 seconds |

## Vidu Q4 Reference to Video API

The same model from your own code or from an agent. Send your FlyMy.AI API key in the `X-API-KEY` header; [get a key](https://app.flymy.ai/developers) in your account.

### cURL

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'
```

### Python

The FlyMy.AI SDK sends the same fields; a file input also takes a public URL.

```
# pip install flymyai
import os

from flymyai import client

fma = client(apikey=os.environ["FLYMYAI_API_KEY"])
task = fma.predict_async_task(
    model="flymyai/vidu-q4-reference-to-video",
    payload={
        "prompt": "Keep the subject and its motion, set the scene on a beach at golden hour"
    },
)
# a long run: wait for its result (up to 15 minutes here)
result = task.result(timeout=900)
print(result.inference_responses[0].output_data)
```

### JavaScript / TypeScript

The FlyMy.AI SDK sends the same fields; a file input also takes a public URL.

```
// npm install flymyai-js-client
import { FlyMyAI } from "flymyai-js-client";

const client = new FlyMyAI({ apiKey: process.env.FLYMYAI_API_KEY });
const response = await client.predict(
  {
    "prompt": "Keep the subject and its motion, set the scene on a beach at golden hour"
  },
  "flymyai/vidu-q4-reference-to-video",
);
console.log(response.output_data);
```

### MCP

Your 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"
  }
}
```

## 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.

**Can I try Vidu Q4 Reference to Video before I write code?**

Yes. Open Vidu Q4 Reference to Video in the FlyMy.AI playground at https://app.flymy.ai/models/flymyai/vidu-q4-reference-to-video, fill in its inputs and run it; the same run is one API call later, billed the same way.

**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.

### Wan 3.0 Reference to Video

Wan 3.0 from references: the same cast, location and voice across 30 seconds.

Reference to video / from $0.05 / s

Link: https://flymy.ai/models/wan-3-0-ref2v/

### Seedance 2.5 Reference to Video

Seedance 2.5 from many references: keep a cast consistent, or edit and extend a clip.

Reference to video / from $0.10794 / s

Link: https://flymy.ai/models/bytedance-seedance-2-5-reference-to-video/

### OmniHuman 2.0

One photo plus a voice track: a presenter, singer or character that moves in sync.

Talking video / $0.07 / s

Link: https://flymy.ai/models/bytedance-omnihuman-2-0/

### Gemini Omni 1.2 Flash Video Edit

Gemini Omni editing a clip by instruction: swap the product, the sky or the style.

Video editing / from $0.024 / s

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

### Seedance 2.0 Reference to Video

Seedance 2.0 for brand and character consistency across a whole clip.

Reference to video / from $0.0673 / s

Link: https://flymy.ai/models/bytedance-seedance-2-0-reference-to-video/

### Kling 4.0 Reference to Video

Up to ten reference pictures kept consistent in a Kling 4.0 clip of up to 30 seconds.

Reference to video / from $0.157 / s

Link: https://flymy.ai/models/kling-4-0-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), [Image to video models →](https://flymy.ai/models/image-to-video/), [Model endpoints in the docs →](https://docs.flymy.ai/api/models-endpoints), [Every model on FlyMy.AI →](https://flymy.ai/models/), [Model prices →](https://flymy.ai/models/pricing/), [Every MCP in the catalog →](https://flymy.ai/mcp/#catalog)

From the FlyMy.AI model catalog of 2026-11-18: inputs from each 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.
