Nodes/ComfyUI-Kie-API/KIE Grok Imagine (T2V)
ComfyUI Node

KIE Grok Imagine (T2V)

KIE Grok Imagine (T2V)

By gateway·Created 9 months ago·Updated 4 months ago· 39
KIE Grok Imagine (T2V)
    • video
    prompt
    aspect_ratio16:9
    modenormal
    duration6
    resolution480p
    logtrue

    The plainest member of the Grok Imagine family: prompt in, short video out, no images required. KIE Grok Imagine (T2V) is the text-to-video node of the pack's Grok group, and its headline feature is the mode dropdown - including spicy, xAI's much-discussed less-restrictive content mode that the other closed video APIs won't offer. If you've ever been told "no" by a video API's content filter, this node exists to be the one that says "maybe."

    To be clear about the trade: Grok's video output is short (6–15s), modest resolution (480p/720p), and the model's polish isn't Veo's. This is a "get the idea out of your head" video node, not a portfolio-grade renderer. For quick motion tests and storyboards, that's exactly the right tool.

    How it works

    Standard KIE video job flow: your prompt becomes a createTask with the Grok Imagine T2V model id, and the node polls recordInfo every 10 seconds until the job lands (2000-second timeout, auto-retry on transient errors). The finished clip comes back as a ComfyUI VIDEO.

    The inputs that matter

    • prompt - required, up to 5000 chars. Write the motion and scene; there's no image to carry the subject, so the prompt does all the work.
    • mode - normal (default), fun, or spicy. fun is the looser/playful tone; spicy is the permissive content mode. Note that in the pack's own docs, the spicy path is really at home when you're chaining from a Grok image generation (task_id) - T2V's spicy is available here, but if you hit a wall on content, the I2V + task_id route is the documented escape hatch.
    • aspect_ratio - 16:9 default; options 2:3, 3:2, 1:1, 9:16, 16:9.
    • duration - 6 (default), 10, or 15 seconds.
    • resolution - 480p (default) or 720p.

    Output: video, ready for preview or a saver.

    Installing

    Installs with the pack. ComfyUI Manager: search "ComfyUI Kie API". Or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/gateway/ComfyUI-Kie-API
    # restart ComfyUI
    

    No models to download. API key at config/kie_key.txt in the pack folder (copy from kie_key.example.txt).

    Where people get burned

    Manage expectations on speed and quality - Grok T2V is a draft tool, not a finale. The spicy mode is permissive, not limitless: prompts that trip a content filter fail with a server-side error, and kie.ai/logs plus the console state log are where you'll see the actual reason. Credits are the other reality check - every run costs, and 15s/720p runs are the priciest seats. Draft at 6s/480p and upgrade only for the keepers. If a job seems to hang, remember the 2000-second timeout is by design; don't kill a working run.

    Categorykie/api

    Inputs (6)

    NameTypeDefaultDescription
    promptSTRING
    aspect_ratiooptCOMBO16:95 options: 2:3, 3:2, 1:1, 9:16, 16:9
    modeoptCOMBOnormal3 options: fun, normal, spicy
    durationoptCOMBO63 options: 6, 10, 15
    resolutionoptCOMBO480p2 options: 480p, 720p
    logoptBOOLEANtrue

    Outputs (1)

    NameTypeDescription
    videoVIDEO