seedinteger
Random seed for reproducible generation.
Minimum: 0
Maximum: 2147483647
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.
Try the model
Customize your input with more control.
What would you like to do next?
Select an example to load its inputs and result into the playground.
{
"prompt": "A stylish woman walks down a Tokyo street filled with warm glowing neon and animated city signage."
}Hunyuan Video 1.5, Tencent's open video model, turns a prompt into a short 480p clip.
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Text instruction. |
aspect_ratio | 16:9 / 9:16 | 16:9 | Output frame shape. |
resolution | 480p | 480p | Sets the per-second rate. |
seed | integer 0–2147483647 | random | Fix it to compare prompt changes. |
$0.075 per output second. The quote before submission assumes 5 seconds.
| Output | Price |
|---|---|
| 5s | $0.375 |
Failed runs are not charged.
Start building
Submit this model through the SandBase Unified Run API.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "tencent/hunyuan-video/1.5/text-to-video",
"prompt": "A stylish woman walks down a Tokyo street filled with warm glowing neon and animated city signage.",
"resolution": "480p",
"aspect_ratio": "16:9"
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"Create a SandBase API key and set it in your server environment. All requests use Bearer authentication.
export SANDBASE_API_KEY="YOUR_API_KEY"Keep the key on your server. Do not expose it in browser code or commit it to a repository.
POST to /v1/run with this model ID and its inputs. The request example above includes submission and polling.
Use the returned run ID to poll until the status is completed, failed or timeout. Read output only after completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Pass a publicly accessible file URL in the model’s image, video or audio field. Supported formats and limits are shown beside each Playground input.
Use the upload or replace control on supported image fields in the Playground. Video URL fields accept a hosted driving video; they do not imply video-upload support.
seedintegerRandom seed for reproducible generation.
Minimum: 0
Maximum: 2147483647
promptstringrequiredThe prompt to generate the video.
resolutionstringThe resolution of the video.
Default: "480p"
Possible values: "480p"
aspect_ratiostringThe aspect ratio of the generated image.
Default: "16:9"
Possible values: "16:9", "9:16"
{
"model": "tencent/hunyuan-video/1.5/text-to-video",
"prompt": "A stylish woman walks down a Tokyo street filled with warm glowing neon and animated city signage.",
"resolution": "480p",
"aspect_ratio": "16:9"
}A completed run exposes its result in output. The following is the model’s saved example, not a new generation.
[
{
"poster": "https://static.sandbase.ai/examples/posters/1b28cb7ecf79e1aa5cc2.jpg",
"source": "Tencent Hunyuan schema mirror",
"source_url": "https://cloud.tencent.com/document/product/1616",
"url": "https://static.sandbase.ai/examples/26d4503d-14a1-4d7e-b582-5be0b6f18100/output/565da3fd-176b-4bad-92bb-c94e0fa2c3a7.mp4"
}
]