upscale qwen21 工作流
A simple port of a Qwen 2.1 based image upscaling workflow, which upscales the image to 2x by default but can be adjusted with the scale parameter. You can also adjust the guidance factor away from 1.0 to a slightly higher value such as 2.0 to get more (and newer inferred) detail, though keep in mind that guidance != 1 will increase inference time (roughly doubling it). Keep in mind that since this is effectively running the image through a diffusion model for regeneration, some original details might be changed regardless of the CFG/Guidance setting. Diffusion/generative upscaling is more of a "Recreate the image with higher quality and at a higher resolution using the reference image as extreme inspiration", if extreme precision is necessary than a different non-generative upscaling workflow might be a better choice. It uses a hardcoded upscale prompt, but can be adjusted with slot1 if deemed to be really necessary. The included prompt attempts to get Qwen to remove any watermarks from the image, which might be one case where an override is warranted (if the watermark being removed is important to your image).
兼容 / 可用于 Graydient 支持的应用
选项
| 选项 | 映射到 | 默认 |
|---|---|---|
(prompt) | Prompt text | — |
/run:upscale-qwen21 | Workflow shortcode | upscale-qwen21 |
使用的模型
/run:upscale-qwen21 导入 在 ModelTrends 查看 面向开发者(可选)
API 示例代码。你可以用此工作流构建个人应用。准备部署时请 升级到商务计划。详见 完整渲染 API 文档。
curl https://cloud.graydient.ai/api/v3/render/ \
-X POST \
-H "Content-Type: application/vnd.api+json" \
-H "Accept: application/vnd.api+json" \
-H "Authorization: Bearer $GRAYDIENT_TOKEN" \
-d '{
"prompt": "/workflow /run:upscale-qwen21 ",
"callback_url": "https://example.com/webhook/render"
}'这就是幕后工作原理。已经为你配置好了。上表中的参数插入这些槽位,允许你更改工作方式和加载的模型。你无需理解或修改它——它已经设置好,能直接使用。
此工作流页面列出了短代码、选项和 ModelTrends 下载。完整节点图可随工作流下载在 ModelTrends 获得。 此页面尚未绘制该工作流的节点图。请在 ModelTrends 打开以下载工作流文件和加载的模型。
所有工作流:强大工作流程