[PR #227] [MERGED] feat: add the Janus Pro Model in Siliconflow tool #1200

Closed
opened 2026-02-16 10:22:17 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-official-plugins/pull/227
Author: @yarin-zhang
Created: 2/17/2025
Status: Merged
Merged: 2/17/2025
Merged by: @RockChinQ

Base: mainHead: main


📝 Commits (1)

  • 76246db feat: add the Janus Pro Model in Siliconflow tool

📊 Changes

2 files changed (+117 additions, -0 deletions)

View changed files

tools/siliconflow/tools/janus.py (+74 -0)
tools/siliconflow/tools/janus.yaml (+43 -0)

📄 Description

Summary

This PR adds support for the Janus Pro 7B model to the SiliconFlow tool. Users can now generate 384x384 resolution images based on text prompts using this model. This model is currently available for free in SiliconFlow.

Screenshots

Before After
image image
None image

Checklist

Important

Please review the checklist below before submitting your pull request.

  • This change requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-official-plugins/pull/227 **Author:** [@yarin-zhang](https://github.com/yarin-zhang) **Created:** 2/17/2025 **Status:** ✅ Merged **Merged:** 2/17/2025 **Merged by:** [@RockChinQ](https://github.com/RockChinQ) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`76246db`](https://github.com/langgenius/dify-official-plugins/commit/76246db506a89ac209363e809583546d564b0cbc) feat: add the Janus Pro Model in Siliconflow tool ### 📊 Changes **2 files changed** (+117 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `tools/siliconflow/tools/janus.py` (+74 -0) ➕ `tools/siliconflow/tools/janus.yaml` (+43 -0) </details> ### 📄 Description # Summary This PR adds support for the Janus Pro 7B model to the SiliconFlow tool. Users can now generate 384x384 resolution images based on text prompts using this model. This model is currently available for free in SiliconFlow. # Screenshots | Before | After | |--------|-------| | ![image](https://github.com/user-attachments/assets/0895fd75-3f71-47da-b367-9352f17c7f2c) | ![image](https://github.com/user-attachments/assets/be7fccfc-a80d-4669-8b3b-fec37138f7f7) | | None | ![image](https://github.com/user-attachments/assets/8f961819-6abb-4897-992b-13bb0fe3d003) | # Checklist > [!IMPORTANT] > Please review the checklist below before submitting your pull request. - [ ] This change requires a documentation update, included: [Dify Document](https://github.com/langgenius/dify-docs) - [x] I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!) - [x] I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change. - [x] I've updated the documentation accordingly. - [x] I ran `dev/reformat`(backend) and `cd web && npx lint-staged`(frontend) to appease the lint gods --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 10:22:17 -05:00
yindo closed this issue 2026-02-16 10:22:17 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#1200