Workflow 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).
Kompatibilní / K dispozici v aplikacích poháněných Graydient
Možnosti
| Možnost | Mapuje na | Výchozí |
|---|---|---|
(prompt) | Prompt text | — |
/run:upscale-qwen21 | Workflow shortcode | upscale-qwen21 |
Použité modely
/run:upscale-qwen21 z ModelTrends Podívej se na to na ModelTrends Pro vývojáře (volitelné)
Ukázkový API kód. Můžeš si s tímto workflow postavit vlastní aplikaci pro osobní použití. Přejít na Business plán, až budeš chtít nasadit. Viz plná dokumentace renderovacího 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"
}'Takto to funguje v pozadí. Už je to pro tebe nastavené. Parametry v tabulce výše se zapojují do těchto míst, což ti umožňuje měnit, jak to funguje a které modely se načítají. Nemusíš tomu rozumět ani to upravovat – prostě to funguje, už je to nastavené.
Tato stránka workflow uvádí shortcode, možnosti a stahování na ModelTrends. Kompletní graf uzlů je dostupný se stažením workflow na ModelTrends. Graf uzlů pro toto workflow zatím na této stránce není zobrazen. Otevři ho na ModelTrends pro stažení souboru workflow a modelů, které načítá.
Všechna workflow: Výkonné pracovní postupy