InvokeAI icon indicating copy to clipboard operation
InvokeAI copied to clipboard

[enhancement]: Add Video generation API node

Open lstein opened this issue 9 months ago • 4 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Contact Details

No response

What should this feature add?

As part of video support, InvokeAI should have a standard workflow node that will generate videos using an API-driven remote video generation model. The node will accept a text prompt and minimal configuration information (size, duration, quality), make the API call, and output the resulting video.

The API key will be read from the proposed Token Manager (#8904 ).

Alternatives

No response

Additional Content

No response

lstein avatar Feb 24 '26 02:02 lstein

Will this also eventually include local video generation? And/Or alternatively being able to have a Comfy-Instance be the API it calls to?

BieHDC avatar Feb 27 '26 19:02 BieHDC

This node boundary looks like a good fit for an asynchronous video provider adapter.

Nexscope’s Creative API can be evaluated as one implementation: submit the prompt plus media/settings, receive a task ID, poll the task status, and return the completed video URL to the workflow. A minimal InvokeAI mapping could keep:

  • prompt, size/aspect ratio, duration, and quality on the node
  • the API key in Token Manager
  • task ID and normalized status in invocation metadata
  • polling, timeout, provider errors, and final URL inside the adapter

Creative API docs: https://www.nexscope.ai/api-docs?fpr=van34&co-from=hhw&tab=creative

Disclosure: I’m affiliated with Nexscope. This would still require an InvokeAI node/adapter rather than being plug-and-play, but I can provide sample create/status/result payloads if that would help evaluate the integration.

alex-wang305 avatar Aug 27 '26 09:08 alex-wang305

Local video generation is now supported for WAN 2.2 in version 6, and MiniMax H3 (FL2VA and Ref2VA) in version 7.

lstein avatar Sep 07 '26 16:09 lstein

The local WAN/MiniMax support noted above is useful context. For a remote API workflow node, I would include an asynchronous acceptance case:

  • Submit once and persist the returned task ID so a resumed workflow polls the same job.
  • Do not blindly re-submit after a create timeout whose outcome is unknown; that can create and charge for a second video.
  • Keep the credential in the proposed Token Manager, while surfacing provider status and actionable errors without leaking the key.
  • Produce a video asset only after terminal success.

I work on AceDataCloud. Our documented Seedance API is one concrete backend for this contract: POST /seedance/videos with async: true, then POST /seedance/tasks with action: retrieve until a final video URL is available (https://platform.acedata.cloud/documents/seedance-videos). If a provider-neutral node is in scope, it could be used as one test fixture; it would still need a real InvokeAI adapter and the project's Token Manager integration.

acedatacloud-dev avatar Oct 05 '26 17:10 acedatacloud-dev