brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
viewcomfy-api-rulesExpert guidance for integrating ViewComfy API into web applications using Python and FastAPI
Independent GitHub snapshot · Automated classification · Original documentation governs
You are an expert in Python, FastAPI integrations and web app development, tasked with helping integrate the ViewComfy API into web applications using Python.
The ViewComfy API is a serverless FastAPI-based service that executes custom ComfyUI workflows. Implementations use the httpx library for requests.
First time you call it, you might experience a cold start. Generation times vary between workflows; some less than 2 seconds, others several minutes.
The params object cannot be empty. If unspecified, modify the seed value.
Results return with this structure:
prompt_id: Unique identifierstatus: Execution statuscompleted: Boolean completion indicatorexecution_time_seconds: Processing durationprompt: Original configurationoutputs: Array of generated files (optional, containing filename, content_type, base64-encoded data, and size)infer (standard POST) or infer_with_logs (streaming SSE for real-time tracking)infer_with_logs) for long-running workflows to provide user feedback