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

Tencent modelsvideo generation api

tencent/hunyuan-video/text-to-video

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

Input
The prompt to generate the video from.
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.
The resolution of the video to generate. Allowed values: 480p, 580p, 720p.
Idle

Example output — click Run to generate your own

API README

Hunyuan Video Text to Video

Teams can place this named operation inside review, asset preparation, and publishing pipelines while keeping the original request attached to every result. Hunyuan 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. Hunyuan Video Text to Video provides a focused path for the tencent/hunyuan-video/text-to-video workflow for text to video work in video production. Because tencent/hunyuan-video/text-to-video is a separate catalog entry, evaluations should use this route’s own inputs, output expectations, and billing behavior. 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. That scope belongs to this named route, not to a neighboring version.

prompt controls the prompt to generate the video from; resolution controls the resolution of the video to generate; resolution accepts 480p, 580p, 720p; aspect ratio controls the aspect ratio of the generated image; aspect ratio accepts 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16. Hunyuan Video Text to Video exposes prompt, resolution, aspect_ratio as its documented request surface. For example, the route documentation includes “A stylish woman walks down a Tokyo street filled with warm glowing neon and animated city signage. She wears a black leather jacket, a long red dress, and black boots, and carries a black purse.”. The mandatory portion is prompt. 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

  • Coherent motion. Hunyuan Video Text to Video is built to turn the route’s text or reference media into a temporally connected sequence rather than unrelated frames.
  • Shot direction. Prompts can describe subject action, camera movement, pacing, and atmosphere so Hunyuan Video Text to Video has a concrete motion plan.
  • Reference-aware generation. When this route accepts source media, Hunyuan Video Text to Video uses it to anchor identity, composition, or the clip boundary throughout generation.
  • Production variants. Declared duration, resolution, framing, or inference controls support repeatable video options for review and selection.

Pricing

Billing optionPrice
Per request$0.400000

When to Use

ScenarioWhy it fits
Choose Hunyuan Video Text to VideoUse it when the job specifically calls for text to video and the route’s documented input contract matches assets already available in your workflow.
Keep the request reproducibleUse the required prompt 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-video/text-to-video.

{
  "prompt": "A stylish woman walks down a Tokyo street filled with warm glowing neon and animated city signage. She wears a black leather jacket, a long red dress, and black boots, and carries a black purse.",
  "resolution": "480p",
  "aspect_ratio": "21:9"
}

Technical Specs

SpecificationDetails
Model IDtencent/hunyuan-video/text-to-video
Execution modeasync
Task typevideo
promptstring · required
resolutionstring · optional · choices: 480p, 580p, 720p
aspect_ratiostring · optional · choices: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16

Related Models

Related Models

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/video-to-videoHunyuan Video Video To Video by Tencent - AI-powered video editing and transformation. Apply style transfer, motion control, lip-sync, and visual effects to existing videos with natural language instructions.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-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.