kling
视频特效
通过 CometAPI 使用 Kling 视频特效 API,使用 POST /kling/v1/videos/effects 为视频应用风格化特效并控制效果参数。
POST
Create a Kling video-effects task
使用此端点可应用 Kling 预设特效场景之一,并将输入素材转换为一个新的视频短片。Documentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
选择特效场景
hug和kiss是双人互动预设fuzzyfuzzy、squish、expansion和heart_gesture是风格化预设特效- 具体的素材结构取决于所选特效,但请求始终会将提供商特定设置封装在
input中
任务流程
轮询任务
继续参考单项查询,直到特效任务完成。
授权
Bearer token authentication. Use your CometAPI key.
请求体
application/json
Preset effect to apply. Each effect defines a specific animation or interaction style.
可用选项:
fuzzyfuzzy, squish, expansion, hug, kiss, heart_gesture Effect-specific input payload. Most interaction effects use one or more image URLs plus model settings.
Webhook URL for task status notifications. The server sends a callback when the task status changes.
Optional user-defined task ID for your own tracking. Does not replace the system-generated task ID. Must be unique per account.