Skip to main content
Pika H3 Flex is Pika’s post-trained version of MiniMax H3, served through the Pika partner API. The Pika H3 Flex Video node generates a clip with synchronized audio from a text prompt, a first frame, or a last frame, and the Pika H3 Flex Reference to Video node adds reference images, videos, and audio clips. Neither downloads weights. This page covers the API version. For the open weights version that runs two LoRA adapters on the H3 base locally, see Pika H3 Flex.
To use the Partner Nodes, you need to ensure that you are logged in properly and using a permitted network environment. Please refer to the Partner Nodes Overview section of the documentation to understand the specific requirements for using the Partner Nodes.
Make sure your ComfyUI is updated.Workflows in this guide can be found in the Workflow Templates. If you can’t find them in the template, your ComfyUI may be outdated.If nodes are missing when loading a workflow, possible reasons:
  1. You are not using the latest ComfyUI version (Nightly version)
  2. Some nodes failed to import at startup

Get started

  1. Update ComfyUI to 0.44.1 or later
  2. Go to Template Library, search for Pika H3 Flex
  3. Write the prompt, then run the workflow

Pika H3 Flex: Text to Video (API)

Generate a clip with generated audio from a text prompt, up to 15 seconds. Pika H3 Flex text to video workflow preview

Run on Comfy Cloud

Open in Comfy Cloud

Download Workflow

Download JSON or search “Pika H3 Flex” in Template Library
  • Resolution: 480p, 768p, 1080p, 2k, or 4k, default 768p. 1080p and above render at 768p and upscale once
  • Duration: 5 to 15 seconds. The output follows a frame grid, where 5 seconds gives 124 frames, about 5.17 seconds
  • Aspect ratio: auto follows the first connected frame, otherwise the prompt
  • Rewrite prompt: off by default, which keeps the prompt and the seed reproducible

Image to video and first-last-frame

The same node handles both. Connect first_frame alone to animate a starting image, or connect first_frame and last_frame together to generate the motion between two fixed frames.

Reference to video

The Pika H3 Flex Reference to Video node generates or edits a clip guided by reference material: up to 9 images, 3 videos, and 3 audio clips, with 12 references in total. Videos and audio clips must be 2 to 15 seconds each, with a separate 15-second limit for videos and for audio. Refer to the references in the prompt as @Image1, @Video1, or @Audio1, in connection order. Turn reference_video_audio off when you want new ambience or new music instead of the sound from the connected videos.

Pika audio nodes

Three audio nodes run on the same Pika API and are billed per second of generated audio:
  • Pika Soundtrack: replaces the audio of a video up to 10 minutes with a synchronized soundtrack. The instruction describes the sound effects, ambience, or music; leave it empty to derive the audio from the picture
  • Pika SFX: generates a sound effect from a text description, 1 to 20 seconds long
  • Pika Music: generates a song from a text prompt and optional lyrics, 10 to 360 seconds, or covers a source song at its own length, clamped to 5 to 360 seconds

Prompt format

Pika H3 Flex prompts follow the MiniMax H3 text mode structure, where one description carries both the picture and the sound:
Keep every described event inside the duration you set. For the full prompt structure, including dialogue tags and shot lists, see the MiniMax H3 prompt writing guide.

Cost

Video nodes are billed per second of output, and the rate rises with resolution. See Partner node pricing for the current credits.