tencent/hunyuan-video-lora
Hunyuan 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.
Example output — click Run to generate your own
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
https://api.sandbase.ai/v1/runtencent/hunyuan-video-loraInput Schema
7 parameters · 1 required · 6 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | Required | The prompt to generate the video from. |
seed | integer | Optional | The seed to use for generating the video. |
loras | object[] | Optional | The LoRAs to use for the image generation. You can use any number of LoRAs and they will be merged together to generate the final image. · Default: [] |
pro_mode | boolean | Optional | By default, generations are done with 35 steps. Pro mode does 55 steps which results in higher quality videos but will take more time and cost 2x more billing units. · Default: false |
num_frames | string | Optional | The number of frames to generate. · Options: 129, 85 · Default: 129 12985 |
resolution | string | Optional | The resolution of the video to generate. · Options: 480p, 580p, 720p · Default: "720p" 480p580p720p |
aspect_ratio | string | Optional | The aspect ratio of the generated image. · Options: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16 21:916:93:24:35:41:14:53:42:39:16 |
Output Schema
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the generation task |
status | string | Task status: pending, running, completed, failed, timeout |
model | string | Model used for the generation |
outputs | array | Array of output items |
outputs[].url | string | URL of the generated artifact |
outputs[].content_type | string | MIME type (e.g. image/png, video/mp4) |
error | object | null | Error details if failed, null on success |
error.type | string | Machine-readable error type code |
error.message | string | Human-readable error description |
Async Workflow
This model uses asynchronous execution. Submit a request and poll for the result.
- Submit — POST to /v1/run, receive an
id - Poll — GET /v1/run/{id} until status is
completed,failed, ortimeout - Retrieve — Read
outputsfrom the completed response
Code Examples
Ready-to-run snippets
# Step 1: Submit
curl -X POST https://api.sandbase.ai/v1/run \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "tencent/hunyuan-video-lora",
"loras": [],
"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.",
"pro_mode": false,
"num_frames": 129,
"resolution": "720p"
}'
# Step 2: Poll result (replace <id>)
curl https://api.sandbase.ai/v1/run/<id> \
-H "Authorization: Bearer YOUR_API_KEY"API README
Hunyuan Video LoRA Inference
Hunyuan Video LoRA Inference is centered on the tencent/hunyuan-video-lora workflow for hunyuan video lora work in video production. 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. Teams can place this named operation inside review, asset preparation, and publishing pipelines while keeping the original request attached to every result. Hunyuan 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. Because tencent/hunyuan-video-lora 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.
seed controls the seed to use for generating the video; loras controls the LoRAs to use for the image generation. You can use any number of LoRAs and they will be merged together to generate the final image; prompt controls the prompt to generate the video from; pro mode controls by default, generations are done with 35 steps. Pro mode does 55 steps which results in higher quality videos but will take more time and cost 2x more billing units; num frames controls the number of frames to generate; num frames accepts 129, 85; resolution controls the resolution of the video to generate; resolution accepts 480p, 580p, 720p. The mandatory portion is prompt. Hunyuan Video LoRA Inference exposes seed, loras, prompt, pro_mode, num_frames, 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.”. 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 LoRA Inference 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 LoRA Inference has a concrete motion plan.
- Reference-aware generation. When this route accepts source media, Hunyuan Video LoRA Inference 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 option | Price |
|---|---|
| Per request | $0.400000 |
When to Use
| Scenario | Why it fits |
|---|---|
| Choose Hunyuan Video LoRA Inference | Use it when the job specifically calls for hunyuan video lora and the route’s documented input contract matches assets already available in your workflow. |
| Keep the request reproducible | Use the required prompt explicitly, then record optional choices alongside the prompt for repeatable reruns. |
| Build controlled creative variations | Change one declared control at a time when comparing framing, format, duration, resolution, style, or other route-supported output decisions. |
| Integrate asynchronous delivery | Use 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 batch | Run 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-lora.
{
"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.",
"num_frames": "129",
"resolution": "480p",
"aspect_ratio": "21:9"
}
Technical Specs
| Specification | Details |
|---|---|
| Model ID | tencent/hunyuan-video-lora |
| Execution mode | async |
| Task type | video |
seed | integer · optional |
loras | array · optional |
prompt | string · required |
pro_mode | boolean · optional |
num_frames | string · optional · choices: 129, 85 |
resolution | string · optional · choices: 480p, 580p, 720p |
aspect_ratio | string · optional · choices: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16 |

