# Kling 4 API | PiAPI\n\n> Kling 4 is live on PiAPI. Generate 720p or 1080p video with Kling 4.0, or choose Kling 4.0 Flash for fast 720p generations.\n\nLanding page: https://piapi.ai/kling-4\nStatus: live\n\n## Availability\n- Create a task with model kling and version 4.0 or 4.0-flash, then poll it until completion.\n- POST https://api.piapi.ai/api/v1/task with model kling and version 4.0 or 4.0-flash.\n- Poll GET /api/v1/task/{task_id}; completed responses expose output.video.\n\n## FAQ\n### What is Kling 4?\n\nKling 4 is PiAPI's latest Kling video generation API. It supports text-to-video, image-to-video, and multimodal Omni references through one asynchronous task API.\n\n### How do I access Kling 4 through PiAPI?\n\nCreate a task with model kling and version 4.0 or 4.0-flash, then poll the task until it completes. The Kling 4 Playground and API quickstart use the same request contract.\n\n### How much does Kling 4 cost?\n\nKling 4.0 costs $0.1667 per second at 720p and $0.25 per second at 1080p. Kling 4.0 Flash costs $0.10 per second at 720p.\n\n### What duration and reference limits does Kling 4 support?\n\nKling 4.0 supports 3–30 second outputs and Kling 4.0 Flash supports 3–20 seconds. Standard Omni accepts up to 10 images, 5 videos, and 3 audio references.\n\n### What does a completed Kling 4 task return?\n\nCompleted Kling 4 tasks return the generated URL in output.video. Continue polling the task until status is completed or failed.\n\n