> ## Documentation Index
> Fetch the complete documentation index at: https://veniceai-feat-models-redesign.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Qwen Image 2 Pro API

> Qwen Image 2 Pro API on Venice: image generation and image editing, from $0.10 per image. Anonymized access without your identity.

export const HubMount = ({view, children, ...props}) => {
  const [hub, setHub] = useState(null);
  const [failed, setFailed] = useState(false);
  useEffect(() => {
    let alive = true;
    const w = window;
    if (!w.__veniceModelHub) {
      const urls = w.location.hostname === 'localhost' ? ['http://localhost:3333/data/model-hub.bundle.json', '/data/model-hub.bundle.json'] : ['/data/model-hub.bundle.json'];
      const load = i => fetch(urls[i], {
        cache: 'no-cache'
      }).then(res => {
        if (!res.ok) throw new Error(`bundle ${res.status}`);
        return res.json();
      }).catch(err => i + 1 < urls.length ? load(i + 1) : Promise.reject(err));
      const Frag = <></>.type;
      const h = (type, props, ...kids) => {
        const T = type;
        const {key, ...rest} = props || ({});
        if (!kids.length) return <T key={key} {...rest} />;
        if (kids.length === 1) return <T key={key} {...rest}>{kids[0]}</T>;
        return <T key={key} {...rest}>{kids.map((kid, i) => <Frag key={i}>{kid}</Frag>)}</T>;
      };
      w.__veniceModelHub = load(0).then(bundle => new Function(`return (${bundle.code})`)()({
        h,
        Fragment: Frag,
        useState,
        useEffect,
        useRef,
        useMemo,
        useCallback
      }));
    }
    w.__veniceModelHub.then(instance => {
      if (alive) setHub(instance);
    }).catch(() => {
      w.__veniceModelHub = null;
      if (alive) setFailed(true);
    });
    return () => {
      alive = false;
    };
  }, []);
  const View = hub ? hub[view] : null;
  if (View) return <View {...props}>{children}</View>;
  if (failed) {
    return <div className="vx-mount is-failed">
        <p className="vx-mount-note">The interactive model catalog could not load. The full data is below.</p>
        {children}
      </div>;
  }
  return <div className="vx-mount" aria-busy="true">
      <div className="vx-mount-skeleton" aria-hidden="true"><span /><span /><span /></div>
      <div className="vx-mount-source">{children}</div>
    </div>;
};

<HubMount view="ModelPage" data={{"family":{"slug":"qwen-image-2-pro","name":"Qwen Image 2 Pro","modality":"image","task":"image-generation","provider":"alibaba","primary":"qwen-image-2-pro","variants":["qwen-image-2-pro","qwen-image-2-pro-edit"],"created":1772582400,"updated":1772582400,"privacy":["anonymized"],"sets":["venice_recommendations"]},"models":[{"id":"qwen-image-2-pro","name":"Qwen Image 2 Pro","type":"image","modality":"image","task":"image-generation","variant":"generate","provider":"alibaba","created":1772582400,"privacy":"anonymized","sets":["venice_recommendations"],"image":{"aspectRatios":["1:1","3:2","16:9","21:9","9:16","2:3","3:4","4:5"],"defaultAspectRatio":"1:1","promptLimit":10000,"steps":{"default":20,"max":50}},"pricing":{"perImage":0.1,"upscale":{"2x":0.02,"4x":0.08}},"headline":{"value":0.1,"unit":"per image","basis":"flat"},"endpoints":[{"id":"image-generate","method":"POST","path":"/image/generate","name":"Generate image","status":"stable","recommended":true},{"id":"images-generations","method":"POST","path":"/images/generations","name":"OpenAI-compatible images","status":"stable"}],"media":[{"prompt":"text","type":"image","url":"https://venice.ai/samples/qwen-image-2-pro/text.webp","title":"In-image text","caption":"A retro travel poster with the bold headline \"VENICE\" in large condensed serif type, sunset color palette, clean layout","page":"https://venice.ai/models/qwen-image-2-pro"},{"prompt":"photoreal","type":"image","url":"https://venice.ai/samples/qwen-image-2-pro/photoreal.webp","title":"Photorealism","caption":"Photorealistic close-up portrait of a weathered fisherman at golden hour, 85mm lens, shallow depth of field, natural skin texture","page":"https://venice.ai/models/qwen-image-2-pro"},{"prompt":"composition","type":"image","url":"https://venice.ai/samples/qwen-image-2-pro/composition.webp","title":"Instruction-following","caption":"A small red cube balanced on top of a large glossy blue sphere, with a green cone to the right, plain light-grey studio background","page":"https://venice.ai/models/qwen-image-2-pro"},{"prompt":"style","type":"image","url":"https://venice.ai/samples/qwen-image-2-pro/style.webp","title":"Illustration style","caption":"Cozy watercolor illustration of a hillside village in autumn, warm tones, soft paper texture","page":"https://venice.ai/models/qwen-image-2-pro"}],"family":"qwen-image-2-pro"},{"id":"qwen-image-2-pro-edit","name":"Qwen Image 2 Pro","type":"inpaint","modality":"image","task":"image-edit","variant":"edit","provider":"alibaba","created":1772582400,"privacy":"anonymized","image":{"aspectRatios":["1:1","3:2","16:9","21:9","9:16","2:3","3:4","4:5"],"promptLimit":10000,"combineImages":true},"pricing":{"perImage":0.1,"edit":0.1},"headline":{"value":0.1,"unit":"per edit","basis":"flat"},"endpoints":[{"id":"image-edit","method":"POST","path":"/image/edit","name":"Edit image","status":"stable","recommended":true}],"family":"qwen-image-2-pro"}],"related":{"similar":[{"slug":"nano-banana-2","name":"Nano Banana 2","provider":"google","modality":"image","privacy":["anonymized"],"created":1772064000,"headline":{"value":0.1,"unit":"per image","basis":"1K"},"variants":2},{"slug":"hunyuan-image-3-0","name":"Hunyuan Image 3.0","provider":"tencent","modality":"image","privacy":["private"],"created":1772323200,"headline":{"value":0.09,"unit":"per image","basis":"flat"},"variants":1},{"slug":"flux-2-max","name":"Flux 2 Max","provider":"bfl","modality":"image","privacy":["anonymized"],"created":1764086377,"headline":{"value":0.09,"unit":"per image","basis":"flat"},"variants":2},{"slug":"luma-uni-1-max","name":"Luma Uni-1 Max","provider":"luma","modality":"image","privacy":["anonymized"],"created":1781654400,"headline":{"value":0.12,"unit":"per image","basis":"flat"},"variants":2}],"versions":[{"slug":"qwen-image-3-pro","name":"Qwen Image 3 Pro","provider":"alibaba","modality":"image","privacy":["anonymized"],"created":1784160000,"headline":{"value":0.05,"unit":"per image","basis":"1K"},"variants":2}]},"providers":{"alibaba":{"slug":"alibaba","name":"Alibaba Qwen","logo":"/images/icons/models/qwen.svg"},"google":{"slug":"google","name":"Google","logo":"/images/icons/models/google.svg"},"tencent":{"slug":"tencent","name":"Tencent Hunyuan","logo":"/images/icons/models/hunyuan.svg"},"bfl":{"slug":"bfl","name":"Black Forest Labs","logo":"/images/icons/models/BlackForestLabs.svg"},"luma":{"slug":"luma","name":"Luma AI","logo":"/images/icons/models/image.svg"}},"faq":[{"q":"How much does the Qwen Image 2 Pro API cost?","a":"$0.10 per image. Editing costs $0.10 per edit. Prices are in USD and can be paid in DIEM at parity."},{"q":"What is the Qwen Image 2 Pro model ID?","a":"Use `qwen-image-2-pro` as the `model` parameter. Other variants: `qwen-image-2-pro-edit` (Edit)."},{"q":"Is the Qwen Image 2 Pro API private?","a":"Qwen Image 2 Pro is anonymized: Venice forwards requests to the provider without your identity, but the provider may retain prompt data, so use a private model for sensitive work."},{"q":"What resolutions does Qwen Image 2 Pro support?","a":"Aspect ratios: 1:1, 3:2, 16:9, 21:9, 9:16, 2:3, 3:4, 4:5. Prompts up to 10,000 characters."},{"q":"Which endpoint does the Qwen Image 2 Pro API use?","a":"Call `POST /image/generate`. `/images/generations` is also supported."}]}} />

<div className="vx-static">
  <Accordion title="Plain-text specification">
    # Qwen Image 2 Pro API

    Qwen Image 2 Pro is an image generation and image editing model by Alibaba Qwen, available on the Venice API as `qwen-image-2-pro`. Requests are anonymized, so the provider never sees your identity.

    ## Qwen Image 2 Pro API pricing

    | Model ID | Variant | Privacy | Price |
    | - | - | - | - |
    | `qwen-image-2-pro` | Generate | Anonymized | \$0.10 per image |
    | `qwen-image-2-pro-edit` | Edit | Anonymized | \$0.10 per edit |

    ## Qwen Image 2 Pro specifications

    | Spec | Value |
    | - | - |
    | Provider | Alibaba Qwen |
    | Released | Mar 4, 2026 |
    | Privacy | Anonymized |
    | Aspect ratios | 1:1, 3:2, 16:9, 21:9, 9:16, 2:3, 3:4, 4:5 |
    | Prompt limit | 10,000 characters |

    ## How to use the Qwen Image 2 Pro API

    Send requests to `POST https://api.venice.ai/api/v1/image/generate` with `"model": "qwen-image-2-pro"` and your API key.

    ```bash theme={null}
    curl https://api.venice.ai/api/v1/image/generate \
      -H "Authorization: Bearer $VENICE_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "qwen-image-2-pro",
        "prompt": "A retro travel poster with the bold headline \"VENICE\" in large condensed serif type, sunset color palette",
        "aspect_ratio": "1:1"
      }'
    ```

    ## Qwen Image 2 Pro API FAQ

    ### How much does the Qwen Image 2 Pro API cost?

    $0.10 per image. Editing costs $0.10 per edit. Prices are in USD and can be paid in DIEM at parity.

    ### What is the Qwen Image 2 Pro model ID?

    Use `qwen-image-2-pro` as the `model` parameter. Other variants: `qwen-image-2-pro-edit` (Edit).

    ### Is the Qwen Image 2 Pro API private?

    Qwen Image 2 Pro is anonymized: Venice forwards requests to the provider without your identity, but the provider may retain prompt data, so use a private model for sensitive work.

    ### What resolutions does Qwen Image 2 Pro support?

    Aspect ratios: 1:1, 3:2, 16:9, 21:9, 9:16, 2:3, 3:4, 4:5. Prompts up to 10,000 characters.

    ### Which endpoint does the Qwen Image 2 Pro API use?

    Call `POST /image/generate`. `/images/generations` is also supported.

    ## Related models

    * [Qwen Image 3 Pro API](/models/qwen-image-3-pro): \$0.05 per image
    * [Nano Banana 2 API](/models/nano-banana-2): \$0.10 per image
    * [Hunyuan Image 3.0 API](/models/hunyuan-image-3-0): \$0.09 per image
    * [Flux 2 Max API](/models/flux-2-max): \$0.09 per image
    * [Luma Uni-1 Max API](/models/luma-uni-1-max): \$0.12 per image
  </Accordion>
</div>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.