Nodes/Leon's Utility and API Integration Nodes/πŸ€– Leon Midjourney API Generate
ComfyUI Node

πŸ€– Leon Midjourney API Generate

A ComfyUI node in Leon_API with 8 inputs and 5 outputs.

By l3ony2kΒ·Created about a year agoΒ·Updated about a month agoΒ· 3
πŸ€– 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)

    NameTypeDefaultDescription
    mj_proxy_endpointSTRINGhttp://localhost:8080Base URL of your Midjourney Proxy (e.g., http://localhost:8080)
    api_keySTRINGsk-midjourneyYour API key for the proxy (used for both mj-api-secret and X-Api-Key headers)
    promptSTRINGdog playing ball --v 7 --ar 1:1β€”
    bot_typeCOMBOMID_JOURNEY2 options: MID_JOURNEY, NIJI_JOURNEY
    polling_interval_secondsINT51–60How often to check task status (seconds)
    max_polling_attemptsINT301–120Max attempts to poll for result before timeout
    account_filter_remarkoptSTRINGOptional: Remark for account filtering (e.g., lzn)
    base64_array_jsonoptSTRINGOptional: JSON string for base64Array, e.g., ["data:image/png;base64,YOUR_BASE64"]

    Outputs (5)

    NameTypeDescription
    imageIMAGEβ€”
    image_urlSTRINGβ€”
    task_idSTRINGβ€”
    final_prompt_from_apiSTRINGβ€”
    message_hashSTRINGβ€”