quy trình 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).
Tương thích / Có sẵn trong các ứng dụng chạy trên Graydient
Tùy chọn
| Tùy chọn | Ánh xạ tới | Mặc định |
|---|---|---|
(prompt) | Prompt text | — |
/run:upscale-qwen21 | Workflow shortcode | upscale-qwen21 |
Mô hình sử dụng
/run:upscale-qwen21 từ ModelTrends Xem trên ModelTrends Dành cho Nhà phát triển (tùy chọn)
Ví dụ đoạn mã API. Bạn có thể xây dựng app riêng với quy trình này cho mục đích cá nhân. Nâng cấp lên Gói Business khi bạn sẵn sàng triển khai. Xem tài liệu API render đầy đủ.
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"
}'Đây là cách nó hoạt động phía sau. Nó đã được cấu hình sẵn cho bạn. Các tham số trong bảng trên được cắm vào các vị trí này, cho phép bạn thay đổi cách hoạt động và các mô hình được tải. Bạn không cần hiểu hay chỉnh sửa - nó chỉ hoạt động, đã được thiết lập sẵn.
Trang quy trình này liệt kê shortcode, tùy chọn và tải xuống ModelTrends. Đồ thị node đầy đủ có sẵn khi tải quy trình trên ModelTrends. Đồ thị node cho quy trình này chưa được vẽ trên trang này. Mở nó trên ModelTrends để tải file quy trình và các mô hình nó tải.
Tất cả workflow: Quy trình làm việc mạnh mẽ