klingai-async-workflows
Skill by jeremylongshore
Builds async video generation workflows with Kling AI using submit-and-callback calls, Redis queues, and a job state machine. Aimed at developers who need to wire Kling AI video tasks into larger systems.
Install klingai-async-workflows
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/klingai-async-workflows ~/.claude/skills/klingai-async-workflowsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install klingai-async-workflows in Claude Code
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/klingai-async-workflows ~/.gemini/antigravity-cli/skills/klingai-async-workflowsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install klingai-async-workflows in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives Claude Code production patterns for running Kling AI video generation inside larger systems. Kling AI tasks are submitted first and then either polled or answered with a callback. The examples cover submitting a task with a callback URL, a Redis-backed queue with a concurrency limit, and a state machine with retry rules.
It also shows a multi-step pipeline that generates a video, extends it, and downloads the file, plus a webhook-driven flow that avoids polling. The skill includes a checklist for sandbox callbacks, signature and idempotency checks, budget and rights review, and a redacted receipt. It is aimed at developers building asynchronous Kling AI video workflows who need to manage queues and task state.
Written from the project's SKILL.md and checked against it.
What it can do
- submit_asyncSubmits a Kling AI text-to-video task with an optional callback URL and returns the task ID.
- Redis queue workflowEnqueues video jobs in Redis and processes them with a concurrency limit.
- State machineTracks job states from queued to completed or failed, with a retry rule for failed jobs.
- Multi-step pipelineChains generating, extending and downloading a Kling AI video.
- Webhook callbacksUses a callback URL so the next pipeline step can run without polling.
- Callback checksDescribes verifying task transitions, callback signatures and idempotency keys before a downstream action.
What you need
- Kling AI access key and secret key
- Python
- jwt and requests Python packages
- Redis server
- Claude Code
Try asking
- Write a Redis queue worker that submits Kling AI video jobs with a concurrency limit of 3.
- Show me a Kling AI state machine with retry for failed video jobs.
- Build a Kling AI pipeline that generates, extends, and downloads a video.
Good to know
- The examples call poll_task from a job-monitoring skill, which is not defined in this file.
- The webhook receiver is implemented in a separate klingai-webhook-config skill.
Security check
B- Allowed to use Write, Edit without limitsIn
SKILL.md
Checked automatically: skills/.curated/klingai-async-workflows/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEditBash(npm:*)Grep
Alternatives to klingai-async-workflows
All alternatives →Keeps customer-facing CopilotKit Intelligence docs on one approved name per concept. Useful for writers, editors and reviewers of docs, nav labels, signup labels and image alt text in showcase/shell-docs.
Gets, makes and treats media for HyperFrames videos. It sources music, sound effects, images, voiceover, avatars and transcripts with HeyGen or free local tools, and applies colour grades and looks to footage.
Searches the user's uploaded photo library and connected device galleries to find, date, and describe photos. Built for personal photo requests and for cases where a photo could ground or personalize an answer.
Converts text, markdown, or another skill's summary into a listenable MP3 using local CPU-only neural text-to-speech. It rewrites the prose for listening first. Aimed at people who want audio briefings.
Generate Image creates new images and edits existing ones using OpenRouter models such as FLUX.2 Pro and Gemini 3 Pro. It is aimed at photos, illustrations, concept art and other visuals that are not technical diagrams.
Gives an AI assistant the HyperFrames CLI for building, checking, previewing and rendering video projects. It suits people who make videos from HTML compositions and want the assistant to run the full workflow.
Compare with intelligence-vocabulary, media-use or media_library
klingai-async-workflows: common questions
What does klingai-async-workflows do?
It provides patterns for async Kling AI video generation using queues, state machines, and event-driven callbacks. The examples are Python code snippets and a governance checklist.
Which credentials does it need?
The code reads KLING_ACCESS_KEY and KLING_SECRET_KEY from environment variables to sign requests with a JWT.
Does it poll Kling AI for results?
It can. The queue worker checks task status, but the skill also shows a callback_url option to avoid polling entirely.
How do I install klingai-async-workflows?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is klingai-async-workflows free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is klingai-async-workflows safe to use?
It scores 76 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.
What are alternatives to klingai-async-workflows?
Similar skills: intelligence-vocabulary, media-use, media_library, speak-summary.
