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

Tencent modelsvideo generation api

tencent/hunyuan-custom

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

Input
Text prompt for video generation (max 500 characters).

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

URL of the image input.
The resolution of the video to generate. 720p generations cost 1.5x more than 480p generations. Allowed values: 512p, 720p.
The aspect ratio of the generated image. Allowed values: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16.
Idle

Example output — click Run to generate your own

API README

Hunyuan Custom

Hunyuan Custom occupies a clearly bounded position in a video production pipeline under the route tencent/hunyuan-custom. It is best evaluated as a named workflow endpoint rather than as a generic substitute for neighboring versions: planners can assign the route to a specific brief, record the chosen revision, and keep approval history tied to one predictable integration surface from intake through delivery.

A practical rollout of Hunyuan Custom should begin with source-readiness checks, ownership of the submitted material, an agreed budget, and a written definition of the final hunyuan custom deliverable. Before automation is enabled, the acceptance pass should verify that the returned asset opens correctly, fits the intended downstream toolchain, satisfies the project’s review criteria, and can be reproduced from the stored request and route identity tencent/hunyuan-custom.

Highlights

  • Distinct output behavior. For Hunyuan Custom, for Hunyuan Custom, pair a still picture with text describing the intended video In Hunyuan Custom, this capability is applied through the exact tencent/hunyuan-custom workflow with image as a relevant request control; the image control exposes the corresponding choice in this route; the image control exposes the corresponding choice in this route.
  • Creative control. For Hunyuan Custom, for Hunyuan Custom, select ratios from 21:9 through 9:16 In Hunyuan Custom, this capability is applied through the exact tencent/hunyuan-custom workflow with prompt as a relevant request control; the prompt control exposes the corresponding choice in this route; the prompt control exposes the corresponding choice in this route.
  • Workflow fit. For Hunyuan Custom, for Hunyuan Custom, request 512p or 720p In Hunyuan Custom, this capability is applied through the exact tencent/hunyuan-custom workflow with resolution as a relevant request control; the resolution control exposes the corresponding choice in this route; the resolution control exposes the corresponding choice in this route.
  • Production detail. For Hunyuan Custom, for Hunyuan Custom, keep video direction within 500 characters In Hunyuan Custom, this capability is applied through the exact tencent/hunyuan-custom workflow with aspect ratio as a relevant request control; the aspect ratio control exposes the corresponding choice in this route; the aspect ratio control exposes the corresponding choice in this route.

Pricing

ConfigurationPrice
resolution=512p$0.8
resolution=720p$2.4

When to Use

ScenarioWhy this model fits
Choose Hunyuan CustomUse it when the required deliverable is specifically the video result documented for tencent/hunyuan-custom.
Match the source materialSelect this route when your inputs naturally map to image, prompt, resolution, aspect_ratio.
Use its distinguishing capabilityFor Hunyuan Custom, pair a still picture with text describing the intended video In Hunyuan Custom, this capability is applied through the exact tencent/hunyuan-custom workflow with image as a relevant request control; the image control exposes the corresponding choice in this route
Plan repeatable productionFor Hunyuan Custom, select ratios from 21:9 through 9:16 In Hunyuan Custom, this capability is applied through the exact tencent/hunyuan-custom workflow with prompt as a relevant request control; the prompt control exposes the corresponding choice in this route
Confirm cost and deliveryUse the pricing combinations below and the output contract above when budgeting or automating Hunyuan Custom jobs.

Prompt Guide

Build the request around the exact tencent/hunyuan-custom schema. Start with required fields, then add only the controls needed for the intended output; keep URLs reachable and enum values exactly as shown in Technical Specs.

{
  "image": "https://static.sandbase.ai/examples/tencent/hunyuan-custom/input_image_0.png",
  "prompt": "Realistic, High-quality. A woman is playing a violin.",
  "resolution": "512p",
  "aspect_ratio": "21:9"
}

Technical Specs

SpecificationValue
Model IDtencent/hunyuan-custom
Execution modeasync
Required inputsprompt, image
Request fieldsimage (string, required); prompt (string, required); resolution (string, optional, options: 512p / 720p); aspect_ratio (string, optional, options: 21:9 / 16:9 / 3:2 / 4:3 / 5:4 / 1:1 / 4:5 / 3:4 / 2:3 / 9:16)
Outputurl (string); content_type (string)

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