Skip to content

[feat] Integrate Kling as optional video generation provider #142

Open

Description

@hsliuustc0106

Goal

Add Kling as an optional video-generation provider in OpenDirector, alongside existing media providers (e.g. MiniMax H3).

Scope

  • Confirm official endpoint, auth, model ids, async job semantics, and result download from vendor docs; cite them in implementation notes.
  • Use the existing model-connection / provider configuration path; optional only; do not change the default provider.
  • Support text-to-video and, if documented, image/first-frame to video; wire jobs and results into existing generation, canvas, and asset flows.
  • Map duration, resolution, and reference options only when the official API supports them and they fit current capability contracts.
  • Handle auth failures, content policy / moderation codes, rate limits, timeouts, and server errors with clear messages (do not map them to a vague generic failure); never log API keys.
  • Document setup, capabilities, and limits.

Acceptance (implementer / reviewer owns evidence)

  • With valid credentials, users can submit a Kling job from OpenDirector, track status, and adopt the result into the project.
  • Failures are explicit and isolated from other providers.
  • Evidence includes model id, API version, and screenshot or recording.

Notes

Product requirement only. Implementation and acceptance evidence are left to the assignee / community.

Activity

  1. added
    type:featNew capability or behaviour
    area:providerModel providers and generation protocols
    modality:videoVideo generation, editing or rendering
    and removed on Nov 6, 2026
  2. barkly1te commented on Nov 7, 2026

    @barkly1te
    Contributor

    Hi! I'd like to take ownership of this issue.

    I’ll work on integrating Kling as an optional video generation provider, following the existing provider architecture and ensuring the implementation is properly tested and documented.

    I’m ready to get started. Please assign this issue to me.

    Thanks!

  3. FayeSpica commented on Nov 9, 2026

    @FayeSpica
    Collaborator

    Assigned to you, @barkly1te. Please go ahead! Consider using the [official Kling API] for the integration. In your PR, please include a screenshot showing a video generated with Kling and added to an OpenDirector project. Feel free to ask any questions here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:providerModel providers and generation protocolshelp wantedExtra attention is neededmodality:videoVideo generation, editing or renderingprovider:klingKling video servicestype:featNew capability or behaviour

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions