Nodes/ComfyUI-KIE-Nodes-Next/Qwen 2.1 - Text to Image
ComfyUI Node

Qwen 2.1 - Text to Image

Qwen 2.1 - Text to Image OpenAPI Specification

By felipederosilva·Created 24 days ago·Updated about 11 hours ago· 0
Qwen 2.1 - Text to Image
    • image
    • url
    • all_urls_json
    • task_id
    • raw_json
    • credits_consumed
    • credits_left
    ◄promptA corgi wearing a yellow rain hat sitting on stone steps after the rain, shallow depth of field►
    ◄aspect_ratio16:9►
    ◄resolution1K►
    ◄backgroundopaque►
    ◄output_formatpng►
    ◄enhance_prompttrue►
    ◄seed20260921►
    ◄nsfw_checkerfalse►
    ◄timeout_seconds1200►
    ◄callback_url►
    CategoryKIE Next/Image/Qwen

    Inputs (10)

    NameTypeDefaultDescription
    promptSTRINGA corgi wearing a yellow rain hat sitting on stone steps after the rain, shallow depth of fieldThe prompt that describes the image content, style and composition you want to generate. Required. Any language is supported, up to 5000 characters; longer input returns 422.
    aspect_ratiooptCOMBO16:9The output aspect ratio. Default `1:1`. The actual pixel size also depends on `resolution` — see the aspect ratio table above for the exact dimensions of each combination.
    resolutionoptCOMBO1KThe output resolution tier. `1K` is the faster option at roughly 7-12 seconds; `2K` produces four times the pixels and takes roughly 30-55 seconds. Only `1K` and `2K` are accepted — any other value, including `4K`, returns 422.
    backgroundoptCOMBOopaqueBackground type. transparent outputs a PNG or WebP with a real alpha channel and cannot be used with JPEG. When using transparent, describe only the subject — prompts that mention a background, scene, surface, etc. may produce a non-transparent result.
    output_formatoptCOMBOpngThe output image format. `png` (default) and `webp` both carry an alpha channel and can be used with `background: transparent`. `jpeg` has no alpha channel and cannot be combined with a transparent background.
    enhance_promptoptBOOLEANtrueRewrites the prompt into a fuller scene description before generating, which noticeably improves quality. Enabled by default (also when the parameter is omitted); pass false to turn it off.
    seedoptINT20260921-2147483648–2147483647The random seed. Omit it to generate with a random seed; the seed actually used is returned with the result. Passing the same seed together with the same prompt and parameters reproduces the same image within the same service version.
    nsfw_checkeroptBOOLEANfalseDefaults to false. You can set it to false based on your needs. If set to false, our content filtering will be disabled, and all results will be returned directly by the model itself. Note: There is no guarantee that everything can be filtered out; if you are not satisfied with the results, you will need to make your own arrangements.
    timeout_secondsoptINT120030–7200—
    callback_urloptSTRINGOptional KIE callback URL. Leave empty for normal ComfyUI use.

    Outputs (7)

    NameTypeDescription
    imageIMAGE—
    urlSTRING—
    all_urls_jsonSTRING—
    task_idSTRING—
    raw_jsonSTRING—
    credits_consumedFLOAT—
    credits_leftFLOAT—