Pika H3 Flex · Reference to Video

How to Use Pika H3 Flex References and Video Editing

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.

  • Up to 9 images, 3 videos, 3 audio
  • @Image1, @Video1, @Audio1 tags
  • Swap outfits & backgrounds
  • Transfer motion from a clip
Wardrobe and scene edit made with H3 Flex references · Video credit: Pika (pika.art)
The Basics

What Is H3 Flex Reference to Video?

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
Total1 to 12 ordered references
ImagesUp to 9 · PNG, JPEG or WebP · aspect ratio 1:4 to 4:1
VideosUp to 3 · 2 to 15 s each · 15 s combined
AudioUp to 3 · 2 to 15 s each · 15 s combined
RequiredAt least one image or video
File size (API)Up to 50 MiB each; set under about 48 MiB raw
Output3 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.

Combine References

What Each Reference Type Is Good For

Mix and match up to 12 files. Give every reference one clear job.

🖼️

Image references

Identity (a face or character), outfit, product, background or location, style or mood board, or a prop. Up to 9.

🎞️

Video references

Source clip to edit, motion or choreography to copy, or camera movement to follow. Up to 3, each 2 to 15 s.

🔊

Audio references

Voice timbre for a character, music to match, or sound effects and ambience. Up to 3, each 2 to 15 s.

GoalExample 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 scene2 character images + outfit + location + motion video + voice + music (up to 12)
Reference Tagging

How to Tag References in Your Prompt

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.

  • Start with a References block: one line per tag saying what it supplies, as Pika does in its motion-transfer showcase.
  • Say what to keep and what to ignore: for example, "take only the motion from @Video1; ignore its person, clothes and background."
  • Use the tags in the action: "@Image1 walks into @Image2 wearing @Image3."
  • On the API, add roles: each item in the 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.

🏷️

Tagged prompt template

Copy, then replace the brackets.

References: @Image1 = [character identity: face, hair, body] @Image2 = [outfit to wear] @Image3 = [background / location] @Video1 = [motion only; ignore its person, clothes and background] @Audio1 = [voice for @Image1] Scene: @Image1 wearing @Image2 in @Image3, performing the motion from @Video1. Dialogue: @Image1 says, in the voice from @Audio1: "[line]" Camera: [one move, speed]. Keep @Image1's face identical. No subtitles.
"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.

See It Work

Change Outfits, Backgrounds and Motion

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.

👗 Outfit & background change

Source video
Result: new wardrobe and scene
👗

Outfit + background edit prompt

@Video1 = your clip, @Image1 = outfit, @Image2 = new location.

References: @Video1 is the source clip. Keep the person, their face, movement, timing and camera exactly the same. @Image1 is the new outfit. @Image2 is the new background. Edit: replace the person's clothes in @Video1 with the outfit from @Image1, and replace the background with the location from @Image2. Match the lighting to the new location. Audio: keep the original sound from @Video1. Change nothing else.

🎳 Scene edit on existing footage

Source: bowling-alley clip
Result: edited with H3 Flex
🌆

Background-only swap prompt

@Video1 = your clip, @Image1 = new environment.

References: @Video1 is the source clip. Keep every person, action and camera move unchanged. @Image1 is the new environment. Edit: replace only the background of @Video1 with the environment from @Image1, with matching perspective, lighting and shadows. Sound: keep the original audio, adding light ambience that fits @Image1. No other changes. No subtitles.

🕺 Motion transfer

Motion reference
Result: record-shop dance
Motion reference
Result: station choreography
🕺

Motion transfer prompt

@Image1 = character, @Image2 = location, @Video1 = motion.

References: @Image1 supplies the character's identity and outfit. @Image2 is the location. @Video1 supplies only the body motion and timing; ignore its person, clothing and background. Scene: @Image1 performs the exact dance from @Video1 in @Image2. Camera: static full-body framing, matching @Video1's timing. Audio: upbeat funk groove, footsteps on the floor. Keep @Image1's face and outfit identical throughout. No subtitles.

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 Examples

Style, Wardrobe and Product References

More official H3 Flex results guided by image references.

Gothic wardrobe: outfit from references
Brutalist mood board: style from references
Lip gloss: product reference

Videos © Pika, from the Pika H3 Flex research post.

Step by Step

How to Make a Reference-Guided Video

  1. 1
    Decide what must stay the same

    Pick what to lock (face, product, motion, voice) and what to change (outfit, background, style).

  2. 2
    Prepare clean references

    Use well-lit images with one clear subject. Trim videos and audio to the 2 to 15 seconds you need.

  3. 3
    Add references in a sensible order

    Attach them in the order you'll tag them: @Image1 is the first image, @Video1 the first video, @Audio1 the first audio clip.

  4. 4
    Write a References block

    One line per tag saying its job, plus what to keep and what to ignore.

  5. 5
    Describe the scene, camera and audio

    Use the tags in the action, give one camera move per shot, and add sound or dialogue lines.

  6. 6
    Draft, then finish

    Generate at 768p, adjust one thing at a time, then upscale the keeper to 1080p, 2K or 4K. See 4K upscaling.

💰 Reference costs on the API Reference to video costs $0.03/s (480p) to $0.10/s (4K) of output, and reference video seconds are billed at the same rate. Pika's docs list no separate charge for image or audio references. Trim video references to save money. See H3 Flex pricing.
🧑

Get consent

Pika's terms prohibit uploading people's images or likenesses without consent, and deepfakes without prior consent. That includes faces and voice samples.

©️

Use material you have rights to

Only use footage, outfits, logos and music you own or are licensed to use.

Troubleshooting

Reference Tips and Fixes

ProblemFix
Face drifts from the referenceMake @Image1 a clear, front-facing photo, and add "keep @Image1's face identical"
Motion video's person leaks inSay "take only the motion from @Video1; ignore its person, clothes and background"
Too many changes in an editList what to keep, change one thing, and end with "change nothing else"
Wrong reference used for the wrong jobCheck the upload order matches your tag numbers, and give each tag one job
Request rejectedCheck limits: at least one image or video, max 3 videos and 3 audio clips, 15 s combined per type
Complex reference set gets messyUse fewer references. Pika lists complex reference control as an area still improving.

More help: H3 Flex troubleshooting and H3 Flex prompts.

FAQ

H3 Flex References & Editing FAQ

How many references can Pika H3 Flex use?+
Up to 12 per generation: up to 9 images, 3 videos and 3 audio clips. At least one image or video is required.
How do I tag references in an H3 Flex prompt?+
Refer to them by type and order: @Image1, @Image2, @Video1, @Audio1. Start with a References block saying what each supplies, then use the tags in the scene description.
Can H3 Flex edit an existing video?+
Yes. Add your clip as a video reference and describe the change, such as a new outfit, background or style, while telling it what to keep. Pika's examples include wardrobe and scene edits.
Can I copy motion from one video onto my character?+
Yes. Add the character as an image and the motion as a video, then say "take only the motion from @Video1". Pika shows dance and choreography transfers in its official examples.
How long can reference videos and audio be?+
Each video or audio clip must be 2 to 15 seconds, and combined video (and combined audio) must be 15 seconds or less.
Do references cost extra?+
On the API, reference to video has its own per-second rate, and reference video seconds are billed at the same rate. Pika's docs list no separate charge for image or audio references.