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 開啟以下載工作流程檔案及其載入的模型。
所有工作流程:強大的工作流程