ui_to_artifact
Convert UI screenshots into code, prompt, specification, or description. Specify target type and optional requirements for tailored output.
Instructions
将 UI 截图转换为指定产物:代码、提示词、规格说明或描述。
Args: image: UI 截图(路径 / URL / base64 URI)。 target_type: 目标产物类型,可选:code(前端代码)、prompt(复刻用提示词)、 specification(规格说明)、description(文字描述)。 question: 可选,额外要求,如"用 React + Tailwind""响应式"。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | ||
| question | No | ||
| target_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |