Skip to main content
Submit tasks via POST /kling/video-commerce, and use the existing POST /kling/tasks to query platform task status.

Input

Upload one character image and specify a voice_id, or use a preset avatar_id (the two are mutually exclusive; preset characters cannot additionally specify a voice_id). You must provide a speech_script of up to 2,000 characters. When providing product information, at least one ref_image and one goods_title are required; product talking videos do not support speech_rate. Regular character talking videos support speech rates of 0.8x, 1.0x, or 1.2x. Below is an example of the request structure. Replace the asset URLs before calling.

Results and Billing

Synchronous mode returns the generated result; asynchronous mode first returns a task_id, and the completed result includes video or image links in data and server-calculated usage. callback_url is used for completion notifications; requests with watermark=true return a watermarked version as well. Regular character talking videos: 1.4 Credits/second for 720p and 1.68 Credits/second for 1080p; product talking videos: 1.96 Credits/second for 720p and 2.24 Credits/second for 1080p. Videos are billed based on the actual generated duration, and the per-second base price before generation does not represent the total price of the entire task. Failed tasks are not charged generation fees.