Image references
Identity (a face or character), outfit, product, background or location, style or mood board, or a prop. Up to 9.
Pika H3 Flex's reference mode lets you combine up to 12 references: 9 images, 3 videos and 3 audio clips. Use them to lock a character's face, dress them in a specific outfit, place them in a new background, copy motion from another clip, or match a voice. This guide explains how to tag each reference, how to edit an existing video, and how to write prompts that change only what you want.
Reference to video is H3 Flex's multimodal mode. It runs on a dedicated adapter called Ref2VA. You give it a prompt plus an ordered set of reference files, and it generates a 3 to 15-second video with native audio that draws on them.
Each reference can do a different job: one image for the character, another for the outfit, a video for the dance moves, an audio clip for the voice. If you pass a source video and describe changes, the same mode works as a video editor. It keeps the original action and camera while changing clothes, backgrounds or style.
New to H3 Flex? Start with the Pika H3 Flex overview.
| Reference limits | |
|---|---|
| Total | 1 to 12 ordered references |
| Images | Up to 9 · PNG, JPEG or WebP · aspect ratio 1:4 to 4:1 |
| Videos | Up to 3 · 2 to 15 s each · 15 s combined |
| Audio | Up to 3 · 2 to 15 s each · 15 s combined |
| Required | At least one image or video |
| File size (API) | Up to 50 MiB each; set under about 48 MiB raw |
| Output | 3 to 15 s, 480p/768p native, up to 4K finish |
From Pika's reference-to-video API docs and the official model card. A video's own soundtrack stays with that video and doesn't count as a separate audio reference.
Mix and match up to 12 files. Give every reference one clear job.
Identity (a face or character), outfit, product, background or location, style or mood board, or a prop. Up to 9.
Source clip to edit, motion or choreography to copy, or camera movement to follow. Up to 3, each 2 to 15 s.
Voice timbre for a character, music to match, or sound effects and ambience. Up to 3, each 2 to 15 s.
| Goal | Example reference set |
|---|---|
| Same character, new scene | @Image1 face + @Image2 background |
| Outfit try-on | @Image1 person + @Image2 outfit |
| Product in a lifestyle shot | @Image1 product + @Image2 location + @Image3 model |
| Character does a dance | @Image1 character + @Video1 dance motion |
| Restyle your footage | @Video1 source clip + @Image1 new look |
| Talking character with a set voice | @Image1 character + @Audio1 voice sample |
| Full scene | 2 character images + outfit + location + motion video + voice + music (up to 12) |
H3 Flex reads references in order. Pika's docs describe citing them in the prompt by type and number: @Image1, @Image2, @Video1, @Audio1. The first image you add is @Image1, the second is @Image2, and so on for each type.
references array has a type, url and optional role, such as identity, scene_layout or voice_timbre.Pika's API page shows two request formats: separate image_urls, video_urls and audio_urls fields, and an ordered references array. Check which one your integration expects. More in our H3 Flex API guide.
Copy, then replace the brackets.
"references": [
{ "type": "image", "url": "https://…/hero.png", "role": "identity" },
{ "type": "image", "url": "https://…/jacket.png" },
{ "type": "video", "url": "https://…/dance.mp4" },
{ "type": "audio", "url": "https://…/voice.wav", "role": "voice_timbre" }
]
Shape based on Pika's API docs. Role names shown are examples Pika lists. Verify the exact schema at dev.pika.art.
Official before-and-after examples from Pika's H3 Flex research post. Each pair shows the reference or source clip, then the H3 Flex result.
@Video1 = your clip, @Image1 = outfit, @Image2 = new location.
@Video1 = your clip, @Image1 = new environment.
@Image1 = character, @Image2 = location, @Video1 = motion.
Videos © Pika, from the Pika H3 Flex research post. Credit: Pika (pika.art). The prompts are our templates for similar edits, not the prompts Pika used. Results vary between runs.
More official H3 Flex results guided by image references.
Videos © Pika, from the Pika H3 Flex research post.
Pick what to lock (face, product, motion, voice) and what to change (outfit, background, style).
Use well-lit images with one clear subject. Trim videos and audio to the 2 to 15 seconds you need.
Attach them in the order you'll tag them: @Image1 is the first image, @Video1 the first video, @Audio1 the first audio clip.
One line per tag saying its job, plus what to keep and what to ignore.
Use the tags in the action, give one camera move per shot, and add sound or dialogue lines.
Generate at 768p, adjust one thing at a time, then upscale the keeper to 1080p, 2K or 4K. See 4K upscaling.
Pika's terms prohibit uploading people's images or likenesses without consent, and deepfakes without prior consent. That includes faces and voice samples.
Only use footage, outfits, logos and music you own or are licensed to use.
| Problem | Fix |
|---|---|
| Face drifts from the reference | Make @Image1 a clear, front-facing photo, and add "keep @Image1's face identical" |
| Motion video's person leaks in | Say "take only the motion from @Video1; ignore its person, clothes and background" |
| Too many changes in an edit | List what to keep, change one thing, and end with "change nothing else" |
| Wrong reference used for the wrong job | Check the upload order matches your tag numbers, and give each tag one job |
| Request rejected | Check limits: at least one image or video, max 3 videos and 3 audio clips, 15 s combined per type |
| Complex reference set gets messy | Use fewer references. Pika lists complex reference control as an area still improving. |
More help: H3 Flex troubleshooting and H3 Flex prompts.