e6c7f5e9-9c3b-4abf-b650-aadc2873e5fe
- Queued
- Sep 2, 2026, 12:56 PM
- Completed
- Sep 2, 2026, 12:56 PM
- Execution time
- 1.1s
- Outputs
- 0 · 0 B
- Inputs
- 1
- Cached nodes
- —
Failure
xAI API returned HTTP 400: {"code": "invalid-argument", "error": "Prompt length exceeds the maximum allowed length of 4096"}
Stack trace
File "/home/ec2-user/ComfyUI-031/execution.py", line 545, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ec2-user/ComfyUI-031/execution.py", line 344, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ec2-user/ComfyUI-031/execution.py", line 318, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "/home/ec2-user/ComfyUI-031/execution.py", line 306, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "/home/ec2-user/ComfyUI-031/custom_nodes/ComfyUI-Grok-Imagine-Video/nodes.py", line 219, in run
return _submit_and_download(kwargs, "generation", payload, "grok_reference_to_video")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ec2-user/ComfyUI-031/custom_nodes/ComfyUI-Grok-Imagine-Video/nodes.py", line 305, in _submit_and_download
request_id = client.start_video_generation(payload)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ec2-user/ComfyUI-031/custom_nodes/ComfyUI-Grok-Imagine-Video/xai_client.py", line 88, in start_video_generation
data = self._request_json("POST", "/v1/videos/generations", json_body=payload)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ec2-user/ComfyUI-031/custom_nodes/ComfyUI-Grok-Imagine-Video/xai_client.py", line 171, in _request_json
raise XAIImagineError(f"xAI API returned HTTP {response.status_code}: {_response_text(response)}")
Outputs
0The run failed before producing any output.
Text prompts
3SCENE CONTEXT 1970s Indian prison yard, morning. Two prisoners speak a fake escape plan just loud enough for the barber to overhear. The camera starts on them, drifts left to reveal the barber mid-shave, and holds on his full comic shock reaction ending in a nick, blood and a panicked run. Fifteen seconds, one continuous shot with a slow camera drift mid-shot. ACTIVE REFERENCES @bothmm is the exact first frame of the video: Jai (number 15) and Veeru (number 20) standing together in the colonnade, green-tinted stone arch behind them, red brick pilaster left, cool diffused shade. Video begins precisely on this frame. @jaisheet Jai's face: 100% identical match in every frame he is visible, same face, same features, no drift. @veerusheet Veeru's face: 100% identical match in every frame he is visible, same face, same features, no drift. @haricl is the exact frame the camera must reveal at 5s: Hariram bent over a burly prisoner mid-shave against the green-tinted stone wall, left hand pressing the prisoner's cap, right hand holding the straight razor at the jaw, prisoner's face hidden, foam on his jaw. Camera arrives on this frame at 5s and holds close. @harisheet Hariram's face: 100% identical match in every frame he is visible, same face, same large ears, same thin moustache, same stray forehead strands, same cap, same kurta, no drift. LOCATION MAP The colonnade of a 1970s Indian prison yard. Left side: green-tinted rough stone wall where Hariram shaves the prisoner. Right side: red brick pilasters and arched colonnade where Jai and Veeru stand partially hidden. Cool diffused shade throughout, no hard sun, green-cyan cast on the stone walls, warm tan skin against the cool stone. Fine dust in the air. FIRST FRAME / BLOCKING Exactly @bothmm: Jai left, Veeru right, colonnade arch behind them, both looking off-screen left. Camera is at eye level on the right side of the colonnade looking left toward them. FORMAT MODE One continuous 15 second shot, the camera does not cut on its own. Handheld with a natural 1-2mm breath tremor throughout. OPTICS 0.0–5.0s medium shot 47° FOV on Jai and Veeru in the colonnade, no drift mid-segment. 5.0–7.0s slow lateral drift left at 3 km/h, 47° FOV, camera travelling left along the colonnade revealing Hariram and the prisoner against the stone wall exactly as in @haricl. 7.0–15.0s locked off on Hariram in close-up 29° FOV, face filling the frame, the prisoner a soft-focus blur at the lower edge, no drift mid-segment. CAMERA Handheld eye-level throughout. 0–5s locked on Jai and Veeru. 5–7s slow lateral drift left, smooth and motivated, revealing the barber scene. 7–15s locked close on Hariram's face, focus pinned on his eyes. Wide tonal latitude, soft highlight roll-off. ACTION 0.0–1.0s — Both still. Jai looking off-screen left deadpan. Veeru behind his right shoulder leaning in, wide-eyed and alert. 1.0–3.5s — Jai speaks low and dry, lips barely moving, eyes off-screen left, pitched just loud enough to carry: "Barrack chhe ke peeche... surang taiyaar hai." Real pause at the ellipsis. Expression never changes. 3.5–5.0s — Veeru leans closer to Jai's ear, hushed and urgent, eyes darting once off-screen then back: "Guruvaar. Aadhi raat." Both go still. Jai's jaw tightens once. 5.0–7.0s — Camera drifts slowly left along the colonnade, Jai and Veeru sliding out of frame right, the green-tinted stone wall coming into frame left, revealing Hariram bent over the burly prisoner mid-shave exactly as in @haricl — left hand pressing the prisoner's cap, right hand with the razor at the foam-covered jaw. Hariram is calm, professional, absorbed in his work. The voices reach him as the camera settles. 7.0–9.0s — Camera locked on Hariram close. He is calm, razor mid-stroke. Then his hand slows. His eyes flick sideways. Brows pull together. Listening hard. 9.0–10.5s — The words land. Brows shoot up in stages, forehead folds deepening crease by crease, eyes widening — first slightly, then fully — whites showing all around. A single audible gulp down his throat. Mouth pressing into a horrified pucker. Full comic bug-eyed freeze. Razor hovering 2cm off the jaw. A visible 2mm tremor in his hand. Large ears catching the ambient light. Stray forehead strands trembling. 10.5–12.0s — His frozen hand slips. The razor nicks the prisoner's chin. A small bright red bead of blood appears through the
2 other text fields— sigmas, filenames, and other non-prompt strings the logger swept up
node 1 · CuiMaoGrokReferenceImages · image
Screenshot 2026-09-02 170613.png
node 1 · CuiMaoGrokReferenceImages · paths
input/Both mm.png input/Jai jail sheet.png input/Veeru jail final.png input/Screenshot 2026-09-02 170613.png
Input media
1Source images and video this run consumed.