---
name: "hf-space-qwen-qwen-image-2512"
description: "Use the Hugging Face Space Qwen/Qwen-Image-2512."
metadata:
  source: huggingface-space
  spaceId: "Qwen/Qwen-Image-2512"
  hubUrl: https://huggingface.co/spaces/Qwen/Qwen-Image-2512
  agentsMdUrl: https://huggingface.co/spaces/Qwen/Qwen-Image-2512/agents.md
  appUrl: https://qwen-qwen-image-2512.hf.space
---

# Hugging Face Space: Qwen/Qwen-Image-2512

Use this skill when the user wants to use the Hugging Face Space `Qwen/Qwen-Image-2512`.

- Space page: https://huggingface.co/spaces/Qwen/Qwen-Image-2512
- App URL: https://qwen-qwen-image-2512.hf.space
- Source instructions: https://huggingface.co/spaces/Qwen/Qwen-Image-2512/agents.md

## Space agent instructions

To use this application (Qwen/Qwen-Image-2512: Rewrite image prompts into detailed English descriptions):
API schema: GET https://qwen-qwen-image-2512.hf.space/gradio_api/info
Config (find fn_index): GET https://qwen-qwen-image-2512.hf.space/config → dependencies[i].id where api_name matches API schema endpoint
Join the queue: POST https://qwen-qwen-image-2512.hf.space/gradio_api/queue/join (pass {"data": [...], "fn_index": <from-config>, "session_hash": "<random-uuid>"})
Stream results: GET https://qwen-qwen-image-2512.hf.space/gradio_api/queue/data?session_hash=<same-uuid>
File inputs: POST https://qwen-qwen-image-2512.hf.space/gradio_api/upload -F "files=@file.ext", use as: {"path": "<returned-path>", "meta": {"_type": "gradio.FileData"}, "orig_name": "file.ext"}
Auth: Bearer $HF_TOKEN (https://huggingface.co/settings/tokens)
