SandBase is live — $1 in free credits on signupStart free ›

Tencent modelsvideo generation api

tencent/hunyuan-portrait

Hunyuan Portrait by Tencent - animate still images into dynamic videos with AI. Transform photos into cinematic clips with natural motion, camera movement, and optional audio generation.

Input

PNG, JPEG, WebP, or GIF · 20 MiB maximum

The URL of the source image.
The URL of the driving video.
Idle

Example output — click Run to generate your own

API README

Hunyuan Portrait

Hunyuan Portrait specializes in the tencent/hunyuan-portrait workflow for hunyuan portrait work in video production. Hunyuan Portrait by Tencent - animate still images into dynamic videos with AI. Transform photos into cinematic clips with natural motion, camera movement, and optional audio generation. Teams can place this named operation inside review, asset preparation, and publishing pipelines while keeping the original request attached to every result. The endpoint is especially useful when a project has a defined transformation goal and needs a repeatable request contract instead of an ad-hoc desktop step. Because tencent/hunyuan-portrait is a separate catalog entry, evaluations should use this route’s own inputs, output expectations, and billing behavior. This is the creative remit of the exact endpoint, not a family-wide promise.

Hunyuan Portrait exposes image, video as its documented request surface. The mandatory portion is image. image controls the URL of the source image; video controls the URL of the driving video. For example, the route documentation includes “https://static.sandbase.ai/examples/tencent/hunyuan-portrait/input_image_0.png”. Applications can submit that exact shape asynchronously, retain the chosen arguments in job metadata, and collect the resulting media URL for review or publishing.

Highlights

  • Portrait animation. Hunyuan Portrait turns a supplied person image or avatar asset into a moving on-camera performance.
  • Speech-led facial motion. Audio or written dialogue drives mouth movement and expressive timing for a more convincing presenter result.
  • Recognizable identity. The workflow uses the source portrait as its anchor so the generated performance retains the intended subject.
  • Presenter-content workflow. It fits explainers, announcements, localized clips, and character-led media that do not require filming each delivery.

Pricing

Billing optionPrice
Billing formulaparams.duration <= 5 ? 0.4 : 0.4 + (params.duration - 5) * 0.08
Catalog base price$0.400000

When to Use

ScenarioWhy it fits
Choose Hunyuan PortraitUse it when the job specifically calls for hunyuan portrait and the route’s documented input contract matches assets already available in your workflow.
Keep the request reproducibleUse the required image explicitly, then record optional choices alongside the prompt for repeatable reruns.
Build controlled creative variationsChange one declared control at a time when comparing framing, format, duration, resolution, style, or other route-supported output decisions.
Integrate asynchronous deliveryUse this endpoint when an application can submit work, track completion, and collect the returned media URL instead of requiring an immediate inline artifact.
Validate before a large batchRun representative prompts and source assets first, confirm the visual or audio behavior, then lock the successful request shape for scaled production.

Prompt Guide

Lead with the subject or transformation, then add the composition, environment, style, lighting, motion, voice, or fidelity details relevant to this route. Keep every parameter inside the documented schema; the example below uses only fields declared for tencent/hunyuan-portrait.

{
  "image": "https://static.sandbase.ai/examples/tencent/hunyuan-portrait/input_image_0.png"
}

Technical Specs

SpecificationDetails
Model IDtencent/hunyuan-portrait
Execution modeasync
Task typevideo
imagestring · required
videostring · optional

Related Models

Related Models

tencent/hunyuan-avatarHunyuan Avatar by Tencent - animate still images into dynamic videos with AI. Transform photos into cinematic clips with natural motion, camera movement, and optional audio generation.tencent/hunyuan-customHunyuan Custom by Tencent - animate still images into dynamic videos with AI. Transform photos into cinematic clips with natural motion, camera movement, and optional audio generation.tencent/hunyuan-video-loraHunyuan Video Lora by Tencent - generate cinematic videos from text descriptions with AI. Create high-quality video content with natural motion, camera control, and optional audio generation.tencent/hunyuan-video/1.5/image-to-videoHunyuan Video 1.5 by Tencent - animate still images into dynamic videos with AI. Transform photos into cinematic clips with natural motion, camera movement, and optional audio generation.tencent/hunyuan-video/1.5/text-to-videoHunyuan Video 1.5 is Tencent's text-to-video AI model. Turn written scripts and prompts into professional-quality video clips with realistic motion, lighting, and scene composition.tencent/hunyuan-video/foleyHunyuan Video Foley is Tencent's video-to-video AI model. Transform, enhance, and edit video content using text prompts - from style changes to object manipulation and scene modification.tencent/hunyuan-video/image-to-videoHunyuan Video by Tencent - animate still images into dynamic videos with AI. Transform photos into cinematic clips with natural motion, camera movement, and optional audio generation.tencent/hunyuan-video/text-to-videoHunyuan Video is Tencent's text-to-video AI model. Turn written scripts and prompts into professional-quality video clips with realistic motion, lighting, and scene composition.