{"record":{"id":"3dcf3c3b3f927c04","repo":"Comfy-Org/ComfyUI","slug":"krea-2-job-job-job-id-completed-without-any-imag","errorCode":null,"errorMessage":"Krea 2 job {job.job_id} completed without any image URLs.","messagePattern":"Krea 2 job (.+?) completed without any image URLs\\.","errorType":"exception","errorClass":"RuntimeError","httpStatus":null,"severity":"error","filePath":"comfy_api_nodes/nodes_krea.py","lineNumber":224,"sourceCode":"            data=KreaGenerateImageRequest(\n                prompt=prompt,\n                aspect_ratio=model[\"aspect_ratio\"],\n                resolution=model[\"resolution\"],\n                seed=seed,\n                creativity=model[\"creativity\"],\n                moodboards=moodboards,\n                image_style_references=image_style_references,\n            ),\n        )\n        job = await poll_op(\n            cls,\n            ApiEndpoint(path=f\"/proxy/krea/jobs/{initial.job_id}\", method=\"GET\"),\n            response_model=KreaJob,\n            status_extractor=lambda r: r.status,\n            queued_statuses=_KREA_QUEUED_STATUSES,\n        )\n        if not job.result or not job.result.urls:\n            raise RuntimeError(f\"Krea 2 job {job.job_id} completed without any image URLs.\")\n        image = await download_url_to_image_tensor(job.result.urls[0])\n        return IO.NodeOutput(image)\n\n\nclass Krea2StyleReferenceNode(IO.ComfyNode):\n\n    @classmethod\n    def define_schema(cls) -> IO.Schema:\n        return IO.Schema(\n            node_id=\"Krea2StyleReferenceNode\",\n            display_name=\"Krea 2 Style Reference\",\n            category=\"partner/image/Krea\",\n            description=(\n                \"Add an image style reference to a Krea 2 generation. Chain multiple Krea 2 \"\n                \"Style Reference nodes (max 10) and feed the final `style_reference` output \"\n                \"into Krea 2 Image. Each image is uploaded to ComfyAPI storage and passed as URL.\"\n            ),\n            inputs=[","sourceCodeStart":206,"sourceCodeEnd":242,"githubUrl":"https://github.com/Comfy-Org/ComfyUI/blob/1c6d8d45b3693bfbb32385b410d813a7fd6be216/comfy_api_nodes/nodes_krea.py#L206-L242","documentation":"Raised after a Krea 2 job finishes polling but its result contains no image URLs. The job reached a terminal status, yet job.result is null or job.result.urls is empty, so there is nothing to download and convert to an image tensor.","triggerScenarios":"poll_op on /proxy/krea/jobs/<job_id> completing with a KreaJob whose status is terminal but result.urls missing/empty — server-side generation failure reported as done, content-policy kill, or a response-shape change dropping urls.","commonSituations":"Prompt rejected by Krea's safety filter after job acceptance; transient Krea infrastructure failure that ends jobs without output; API version change renaming the urls field (would need a comfy_api_nodes update).","solutions":["Re-run the node once — transient Krea-side failures are common.","Soften or shorten the prompt if content policy is suspected.","Check the Krea service status / try the same generation on krea.ai to confirm the account and prompt work.","If it persists for all prompts, update comfy_api_nodes in case the KreaJob model no longer matches the live API shape."],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":"def krea_job_has_output(job: KreaJob) -> bool:\n    return bool(job.result and job.result.urls)","tryCatchPattern":"last: Exception | None = None\nfor attempt in range(2):\n    try:\n        return await krea_execute(...)\n    except RuntimeError as e:\n        if \"without any image URLs\" in str(e):\n            last = e\n            continue  # transient Krea-side empty result; retry once\n        raise\nraise last","preventionTips":["Retry once on empty results before investigating.","Keep prompts within policy to avoid post-acceptance kills.","Cross-check the job on krea.ai when failures repeat."],"tags":["krea","api-nodes","polling","remote-api","image"],"backgroundTag":null,"analyzedSha":"1c6d8d45b3693bfbb32385b410d813a7fd6be216","analyzedAt":"2026-08-14T19:37:18.893Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}