ComfyUI Node
π€ Leon Midjourney API Generate
A ComfyUI node in Leon_API with 8 inputs and 5 outputs.
π€ Leon Midjourney API Generate
- image
- image_url
- task_id
- final_prompt_from_api
- message_hash
βmj_proxy_endpointhttp://localhost:8080βΊ
βapi_keysk-midjourneyβΊ
βpromptdog playing ball --v 7 --ar 1:1βΊ
βbot_typeMID_JOURNEYβΊ
βpolling_interval_seconds5βΊ
βmax_polling_attempts30βΊ
βaccount_filter_remarkβΊ
βbase64_array_jsonβΊ
CategoryLeon_API
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| mj_proxy_endpoint | STRING | http://localhost:8080 | Base URL of your Midjourney Proxy (e.g., http://localhost:8080) |
| api_key | STRING | sk-midjourney | Your API key for the proxy (used for both mj-api-secret and X-Api-Key headers) |
| prompt | STRING | dog playing ball --v 7 --ar 1:1 | β |
| bot_type | COMBO | MID_JOURNEY | 2 options: MID_JOURNEY, NIJI_JOURNEY |
| polling_interval_seconds | INT | 51β60 | How often to check task status (seconds) |
| max_polling_attempts | INT | 301β120 | Max attempts to poll for result before timeout |
| account_filter_remarkopt | STRING | Optional: Remark for account filtering (e.g., lzn) | |
| base64_array_jsonopt | STRING | Optional: JSON string for base64Array, e.g., ["data:image/png;base64,YOUR_BASE64"] |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | β |
| image_url | STRING | β |
| task_id | STRING | β |
| final_prompt_from_api | STRING | β |
| message_hash | STRING | β |