PopNowAPI Docs
Main content

HunyuanVideo 1.5 API reference

Tencent's open video model for short 5–8 second clips

Call HunyuanVideo 1.5 from your own code with one PopNow API key. Below are the exact model IDs to send, every input field the model accepts, what each request costs in credits, and a request you can paste into a terminal.

At a glance

Made by
Tencent
Output
Video
From
3.6 credits per second of output ($0.036)

1 credit = $0.01. A task holds the highest possible charge when it is accepted and settles the real amount when it finishes, rounded up to whole credits; failed tasks are not charged. Ask POST /api/v1/jobs/quote for the exact figure before you run.

Create Video

tencent/hunyuan-video-1.5/text-to-video

Price

OptionCredits (per second of output)US dollars
480p3.6$0.036
720p7.2$0.072

Parameters

FieldTypeDefaultAllowedWhat it does
promptRequiredstring——Describe the scene, the action and the camera.
negative_promptOptionalstring——Things to keep out of the clip, such as blur, extra limbs or text.
aspect_ratioOptionalstring16:916:9, 9:16Output aspect ratio.
resolutionOptionalstring720p480p, 720pOutput resolution.
duration_secondsOptionalinteger55, 8Output length: 5 or 8 seconds. Billed per second.
seedOptionalinteger—0 to 2147483647Random seed for controlled comparisons, not a frame-identical guarantee.

Example request

This request runs as it is; any field you leave out uses its default. Put your key in POPNOW_API_KEY first.

POST /api/v1/jobs/createTask
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "tencent/hunyuan-video-1.5/text-to-video",
  "input": {
    "prompt": "A paper boat drifts down a rain-soaked street at dusk, neon signs reflecting in the water, slow tracking shot at ground level",
    "duration_seconds": 5,
    "resolution": "720p"
  }
}'

The response carries a taskId straight away. Read the result with GET /api/v1/jobs/recordInfo, or add callBackUrl to be notified.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Image to Video

tencent/hunyuan-video-1.5/image-to-video

Price

OptionCredits (per second of output)US dollars
480p3.6$0.036
720p7.2$0.072

Parameters

FieldTypeDefaultAllowedWhat it does
image_urlRequiredstring (uri)——Opening frame. The clip starts from this image and keeps its aspect ratio.
promptOptionalstring——Optional: describe the motion and the camera. Leave it empty to let the model animate the frame on its own.
resolutionOptionalstring720p480p, 720pOutput resolution.
duration_secondsOptionalinteger55, 8Output length: 5 or 8 seconds. Billed per second.
seedOptionalinteger—0 to 2147483647Random seed for controlled comparisons, not a frame-identical guarantee.

Example request

This request runs as it is; any field you leave out uses its default. Put your key in POPNOW_API_KEY first.

The example uses PopNow sample files in image_url. Replace them with your own public HTTPS links, uploads or saved assets.

POST /api/v1/jobs/createTask
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "tencent/hunyuan-video-1.5/image-to-video",
  "input": {
    "prompt": "He lands softly on the rooftop, laughs and turns toward the camera while the balloons sway in the evening breeze; slow push-in",
    "image_url": "https://media.popnow.ai/influencer/examples/marco.webp",
    "duration_seconds": 5,
    "resolution": "720p"
  }
}'

The response carries a taskId straight away. Read the result with GET /api/v1/jobs/recordInfo, or add callBackUrl to be notified.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Next steps

On this page