assembledchaos's picture
Upload folder using huggingface_hub
e205415 verified
|
Raw History Blame
2.26 kB
metadata
title: Qwen Image 2.1 Studio
emoji: 🎨
colorFrom: indigo
colorTo: purple
sdk: gradio
sdk_version: 6.28.0
python_version: '3.12'
app_file: app.py
short_description: Create, edit, and generate transparent images with Qwen
startup_duration_timeout: 1h
models:
  - Qwen/Qwen-Image-2.1

Qwen Image 2.1 Studio

A Gradio demo of Qwen/Qwen-Image-2.1, running the model directly on Hugging Face ZeroGPU.

  • Create an image: describe a scene or choose an example.
  • Edit an image: upload one reference image and describe the change.
  • Transparent PNG: describe a sticker, object, or other isolated asset. The model receives Qwen's recommended transparency prompt. Transparency depends on the generated result.
  • Five aspect ratios around 1 megapixel, adjustable steps, reproducible seeds, and downloadable PNGs with embedded generation settings.

The default is 28 inference steps; use 40 for the model card's recommended final-quality setting. Example results are cached on first use. Disable Use a new seed each time to reproduce a result with the same settings.

Hosting

This Space requires zero-a10g hardware. Configure hardware in the Space settings; README metadata does not select hardware. No external inference API key is needed. The model weights and Diffusers revision are pinned in the source. The initial download is approximately 33 GB and can take several minutes.

The model loads at startup and is registered with ZeroGPU. The Gradio queue runs one generation at a time. Visitors use Hugging Face's daily ZeroGPU quota. Uploaded and generated files are temporary; download results you want to keep. The app does not send images to an external API or publish a community gallery. Gradio cached files expire after 24 hours; cached examples can be reused across visitors.

API

Use Gradio's Use via API link for the current /generate schema. An MCP server is also enabled. The handler returns the preview file, original PNG download, actual seed, and timing details.

Model license

The model is governed by the Qwen Research License Agreement. See the model repository for its terms and intended use.