Token导航 LogoToken导航TokenDH.com
Zlink T2i logo
设计创作未说明官方级别未说明来源级核验

Zlink T2i

MCP Server

通过优化文本提示并使用指定模型生成图像,同时评估图像的内容一致性和感知质量。

工具数

0

提示词数

0

GitHub Stars

0

资源数

0
图像生成AI模型本地部署

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

phoenixdna

提供方

phoenixdna

最后核验

2026/5/17 20:22

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

功能描述:

Generate an image from a given text prompt using a specified model, 
then evaluate its quality and relevance.

This function:
1. Improves the input prompt using a Qwen3-based optimizer.
2. Generates an image with the chosen model.
3. Saves the image locally.
4. Evaluates the image on content consistency (SC_Score) and perceptual quality (PQ_Score).
5. Returns image path, filename, scores, evaluation remarks, and logs.

参数:

Args:
    prompt (str): 
        The text description of the image to generate.
    model_name (str): 
        The model used for image generation. 
        Must be one of:
          - "black-forest-labs/FLUX.1-Krea-dev"
          - "Qwen/Qwen-Image"
          - "MusePublic/489_ckpt_FLUX_1"
          - "MusePublic/flux-high-res"
        Defaults to "black-forest-labs/FLUX.1-Krea-dev".

返回:

Returns:
    Tuple[str, str, float, float, str, str, str]: 
        A tuple containing:
        - save_path: Local path to the generated image (or placeholder if failed).
        - fname: The filename of the image, or "Generation failed".
        - sc: SC_Score (content consistency, 0.0–10.0).
        - pq: PQ_Score (perceptual quality, 0.0–10.0).
        - final_prompt: The optimized prompt used for generation.
        - reason: Evaluation remarks or error messages.
        - log_entry: Log entry with summary of results and evaluations.

Notes:
    - If generation fails, a white placeholder image will be saved.
    - Designed for Gradio MCP server (`gr.Image(type="filepath")` compatibility).
    - Scores default to 0.0 if evaluation fails.

目录标签

目录标签

图像生成AI模型本地部署文本转图像质量评估

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

0

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明none部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP