Skip to content

sync(kling): add model_name parameter to motion transfer tool - #493

Draft
Germey with Copilot wants to merge 2 commits into
mainfrom
copilot/sync-update-from-docs-9c52b146-4566-46e7-b047-cbc27489021b
Draft

sync(kling): add model_name parameter to motion transfer tool#493
Germey with Copilot wants to merge 2 commits into
mainfrom
copilot/sync-update-from-docs-9c52b146-4566-46e7-b047-cbc27489021b

Conversation

Copilot AI commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Syncs the Kling MCP server against the updated OpenAPI spec from AceDataCloud/Docs. All 22 changed services were audited; only one gap was found.

Changes

kling/core/types.py

  • Added KlingMotionModel = Literal["kling-v2-6", "kling-v3"] — the motion endpoint supports a distinct, smaller model subset vs. the main video endpoint

kling/tools/motion_tools.py

  • Added optional model_name: KlingMotionModel | None to kling_generate_motion, sent through to the API only when explicitly set
# Now callable with model selection:
kling_generate_motion(
    image_url="https://example.com/character.jpg",
    video_url="https://example.com/motion.mp4",
    model_name="kling-v3",  # previously unsupported
)

kling/tests/test_motion_tools.py (new)

  • 5 unit tests covering: omitted-when-None, both valid model values, combined with mode/orientation params

Copilot AI changed the title [WIP] Sync MCP servers with updated Docs sync(kling): add model_name parameter to motion transfer tool Aug 1, 2026
Copilot AI requested a review from Germey August 1, 2026 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sync: update from Docs (cd5227f docs: sync from PlatformBackend [automated])

2 participants