6648c68e-aa68-4876-ab0d-9bed30607182
- Queued
- Sep 2, 2026, 01:25 PM
- Completed
- Sep 2, 2026, 01:25 PM
- Execution time
- 296 ms
- Outputs
- 0 · 0 B
- Inputs
- 1
- Cached nodes
- 1
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
3Video starts exactly on <Image 1> first frame: Hariram the barber bent over a burly prisoner against a green-tinted rough stone wall, left hand pressing down on the prisoner's grey-blue cap, right hand holding a steel straight razor at the prisoner's foam-covered jaw, prisoner's face hidden, grey-blue prison kurtas and caps on both, cool diffused shade. Hariram's face 100% identical match to <Image 2> in every frame — same large ears, same thin salt-and-pepper moustache, same stray forehead strands, same cap, same kurta, no drift. Prisoner's face stays hidden throughout. One continuous 15s shot, no cuts, real-time. Handheld 1-2mm breath tremor only, camera locked on Hariram. 0-3s: calm professional shaving. Razor glides one smooth confident stroke along the foam-covered jaw, foam curling off in a clean white ribbon. Hariram tips his head appraising the line, lips pursed in quiet craftsman satisfaction, eyes half-lidded and relaxed. Lifts the razor, wipes on the cloth at his shoulder, resets. Stray hair strands sway on his forehead. Completely ordinary, peaceful. 3-4.5s: off-screen male voices reach him from the right. Razor hand slows mid-air. Eyes flick sharply sideways toward the voices without moving his head. Brows pull together one millimeter. Listening hard. 4.5-6.5s: the words land. Brows climbing, forehead folds deepening crease by crease, eyes widening — slightly, then more, then fully — whites showing all around. Single audible gulp travels visibly down his throat. 6.5-8.5s: full comic freeze. Eyes bulging, brows at maximum, forehead in deep accordion folds, cheeks sucked in, mouth pressed into a tight horrified pucker, lips moving silently. Razor frozen 2cm off the jaw. Visible 2mm hand tremor. Large ears catching light. Stray strands trembling with suppressed breath. Does not move. Does not breathe. 8.5-9.5s: eyes dart left, right, left — checking who else heard. Head frozen, only eyes moving. Second audible swallow. Tremor worse. 9.5-11s: frozen hand slips. Razor nicks the prisoner's chin. Small bright red blood bead appears through white foam. Prisoner flinches hard, head jerking, sharp "Oye!" off-screen. Hariram's eyes wider, mouth drops open. 11-12.5s: decision made. Body straightens stiffly, razor lifting. Left hand releases the cap. White cloth slips off shoulder and falls. Bare foot catches the brass water bowl — loud hollow metallic clang, bowl spinning away. 12.5-15s: turns and runs straight toward camera in a comically stiff rapid shuffle, kurta flapping, cap askew, stray strands flying, arms not swinging right, bug-eyed face growing larger, passes camera and exits. Hold on the empty stone wall and the stunned prisoner still seated with foam on his jaw to the last frame. Real human face performance, muscle-level. Fear builds continuously through brows, eyes, cheeks, throat and hands, no sudden jumps. Comedy in the contrast between professional calm and complete silly collapse. Skin at pore level: deep forehead creases deepening with each stage, catch-lights alive in bulging eyes, individual moustache hairs, stray strands backlit, faint capillary flush on cheeks, throat gulp visible. Physics: razor obeys tremor and gravity. Nick produces realistic red bead through foam. Cloth falls with real drape. Brass bowl rings hollow and spins catching a glint. Kurta flaps during run. Strands follow airflow. Audio diegetic only: razor scraping 0-3s, cloth wipe, off-screen murmur 3-4.5s indistinct, gulp 5.5s, second gulp 9s, suppressed breath, razor tremor faint vibration, slip and "Oye!" 10s, cloth on stone 11.5s, bowl clang spinning 12s, rapid shuffle approaching and passing 12.5-15s, stone ambience throughout, low vintage tape hiss. Authentic 1970s Hindi cinema look matching <Image 1>: cool desaturated grey-blue cotton, green-tinted rough stone with green-cyan shadow cast, warm tan skin with soft bloom, lifted blacks, soft highlight roll-off, fine constant organic film grain, slightly soft spherical lens, no digital sharpening, no modern grade. Colour steady all 15s. 4K, 16:9, real-time. LOCKS: Starts on <Image 1> exact. Hariram matches <Image 2> 100% every frame. Prisoner face hidden always. Camera stays on Hariram. Nick at 10s. Bowl clang at 12s. Runs straight toward camera and passes it. Grade consistent.
2 other text fields— sigmas, filenames, and other non-prompt strings the logger swept up
node 1 · CuiMaoGrokReferenceImages · image
barber sheet.png
node 1 · CuiMaoGrokReferenceImages · paths
input/Screenshot 2026-09-02 170613.png input/barber sheet.png
Input media
1Source images and video this run consumed.