---
title: 驾考题目与配图生成|万维易源ShowAPI
canonical_url: "https://www.showapi.com/ai/skills/driving-exam-question-generator"
last_updated: "2026-09-21T17:05:01.157Z"
meta:
  description: "根据输入的驾考题型、考点、视角等参数，自动解析出题意图，生成符合中国交规的题目内容（题干、选项、答案、解析），并将场景描述转换为无歧义的绝对坐标系布局，最终组装英文Prompt生成官方风格的驾考配图。 免费在线使用，也支持 API / Agent 接入。"
  keywords: "驾考题目与配图生成, AI Skill, 万维易源, showapi, 大模型, ai技能, AI工具, 异步任务, Agent技能包, api接口, 在线使用, api接口, api接口大全, 免费api, 免费数据接口, 数据接口, api开放平台, 万维易源, showapi, 大模型, AI Skills"
  "og:description": "根据输入的驾考题型、考点、视角等参数，自动解析出题意图，生成符合中国交规的题目内容（题干、选项、答案、解析），并将场景描述转换为无歧义的绝对坐标系布局，最终组装英文Prompt生成官方风格的驾考配图。 免费在线使用，也支持 API / Agent 接入。"
  "og:title": "驾考题目与配图生成 AI Skill|万维易源ShowAPI"
---

*

*

*

*

# **驾考题目与配图生成**

根据输入的驾考题型、考点、视角等参数，自动解析出题意图，生成符合中国交规的题目内容（题干、选项、答案、解析），并将场景描述转换为无歧义的绝对坐标系布局，最终组装英文Prompt生成官方风格的驾考配图。

S**Serenoa** 2026-07-15 11:50 · 8 个步骤

约 ¥0.3/次调用，含模型推理价格

ID`6a56fd143c51f27b2a002149`

### **能力组成**

**立即试一试** 在线体验此 Skill，输入参数即可看到实时效果

### **输出案例**

-
-
-
-

### **内部编排**

共 8 步 · AI 自动编排的执行流程与原始定义 收起

1合规校验优化

2驾考出题意图深度解析

3交通标志参考图URL映射

4驾考题目内容生成

5空间方位绝对坐标系转换

6驾考配图英文Prompt组装

7启动驾考配图生成任务

8轮询配图生成状态

**完整定义 (JSON)**230 行

```
{
  "workflow_id": "driving_exam_question_generator",
  "input": {
    "topic": {
      "field_name": "topic",
      "default": "让行规则",
      "description": "考点名称，如：让行规则、交通标志识别、复杂路口通行、信号灯判断、限速规则、超车规则、夜间行车、雨天驾驶、高速路匝道等",
      "example": "交通标志识别",
      "type": "string",
      "required": true
    },
    "question_type": {
      "field_name": "question_type",
      "default": "科一-单选",
      "description": "题目类型，如：科一-判断题、科一-单选、科四-情景多选",
      "example": "科一-单选",
      "type": "string",
      "required": true
    },
    "question_text": {
      "field_name": "question_text",
      "default": "",
      "description": "可选，已有题干则照此出题；无则自行生成",
      "type": "string",
      "required": false
    },
    "perspective": {
      "field_name": "perspective",
      "default": "正上方垂直俯视视角",
      "description": "配图视角：驾驶员第一人称 或 正上方垂直俯视视角",
      "example": "驾驶员第一人称",
      "type": "string",
      "required": false
    },
    "aspect_ratio": {
      "field_name": "aspect_ratio",
      "default": "4:3",
      "description": "生图画面比例，仅支持：1:1, 3:4, 4:3, 16:9, 9:16",
      "example": "4:3",
      "type": "string",
      "required": false
    }
  },
  "steps": [
    {
      "id": "step_0_prompt_guardian",
      "point_code": "1",
      "backend_type": "sys_api",
      "api_code": "prompt_guardian",
      "status": "PENDING",
      "name": "合规校验优化",
      "action": "run",
      "params": []
    },
    {
      "id": "step_1_intent_analyzer",
      "point_code": "",
      "result": [],
      "api_code": "intent_analyzer",
      "backend_type": "prompt_api",
      "status": "PENDING",
      "name": "驾考出题意图深度解析",
      "action": "run",
      "params": {
        "topic": "{{@input.topic}}",
        "question_type": "{{@input.question_type}}",
        "question_text": "{{@input.question_text}}",
        "perspective": "{{@input.perspective}}"
      }
    },
    {
      "id": "step_2_sign_reference_mapper",
      "point_code": "",
      "result": [],
      "api_code": "sign_reference_mapper",
      "backend_type": "prompt_api",
      "status": "PENDING",
      "name": "交通标志参考图URL映射",
      "action": "run",
      "params": {
        "merge_context": {
          "upstream_content": "{{@step_1_intent_analyzer.result.data}}"
        },
        "is_sign_question": "{{@step_1_intent_analyzer.result.data.usage_context.is_sign_question}}",
        "sign_name_guess": "{{@step_1_intent_analyzer.result.data.usage_context.sign_name_guess}}"
      },
      "depends_on": [
        "step_1_intent_analyzer"
      ]
    },
    {
      "id": "step_3_question_generator",
      "point_code": "",
      "result": [],
      "api_code": "question_generator",
      "backend_type": "prompt_api",
      "status": "PENDING",
      "name": "驾考题目内容生成",
      "action": "run",
      "params": {
        "merge_context": {
          "upstream_content": "{{@step_1_intent_analyzer.result.data}}"
        },
        "structured_intent": {
          "core_theme": "{{@step_1_intent_analyzer.result.data.structured_analysis.semantic_structure.core_theme}}",
          "difficulty_level": "{{@step_1_intent_analyzer.result.data.usage_context.difficulty_level}}",
          "trap_design": "{{@step_1_intent_analyzer.result.data.usage_context.trap_design}}"
        }
      },
      "depends_on": [
        "step_1_intent_analyzer"
      ]
    },
    {
      "id": "step_4_coordinate_transformer",
      "point_code": "",
      "result": [],
      "api_code": "coordinate_transformer",
      "backend_type": "prompt_api",
      "status": "PENDING",
      "name": "空间方位绝对坐标系转换",
      "action": "run",
      "params": {
        "merge_context": {
          "upstream_content": "{{@step_3_question_generator.result.data}}"
        },
        "scene_description": "{{@step_3_question_generator.result.data.scene_description}}",
        "perspective": "{{@input.perspective}}"
      },
      "depends_on": [
        "step_3_question_generator"
      ]
    },
    {
      "id": "step_5_image_prompt_generator",
      "point_code": "",
      "result": [],
      "api_code": "image_prompt_generator",
      "backend_type": "prompt_api",
      "status": "PENDING",
      "name": "驾考配图英文Prompt组装",
      "action": "run",
      "params": {
        "merge_context": {
          "upstream_content": "{{@step_4_coordinate_transformer.result.data}}"
        },
        "absolute_scene_layout": "{{@step_4_coordinate_transformer.result.data.absolute_scene_layout}}",
        "vehicle_trajectories": "{{@step_4_coordinate_transformer.result.data.vehicle_trajectories}}",
        "perspective": "{{@input.perspective}}",
        "sign_reference_urls": "{{@step_2_sign_reference_mapper.result.data.sign_reference_urls}}"
      },
      "depends_on": [
        "step_4_coordinate_transformer",
        "step_2_sign_reference_mapper"
      ]
    },
    {
      "id": "step_6_generate_image",
      "point_code": "1",
      "result": [],
      "api_code": "3373",
      "backend_type": "sys_api",
      "status": "PENDING",
      "name": "启动驾考配图生成任务",
      "action": "run",
      "params": {
        "referImages": "{{@step_2_sign_reference_mapper.result.data.sign_reference_urls}}",
        "prompt": "{{@step_5_image_prompt_generator.result.data.final_image_prompt}}",
        "aspect_ratio": "{{@input.aspect_ratio}}"
      },
      "depends_on": [
        "step_5_image_prompt_generator",
        "step_2_sign_reference_mapper"
      ]
    },
    {
      "id": "step_7_poll_image_status",
      "point_code": "",
      "result": [],
      "api_code": "polling",
      "backend_type": "sys_api",
      "status": "PENDING",
      "name": "轮询配图生成状态",
      "action": "run",
      "params": {
        "result_url": "{{@step_6_generate_image.result.data.result_url}}"
      },
      "depends_on": [
        "step_6_generate_image"
      ],
      "polling": {
        "interval_seconds": 5,
        "timeout_seconds": 1200,
        "success_condition": "{{@step_7_poll_image_status.result.data.task_status}} === 'SUCCEEDED'"
      }
    }
  ],
  "output": {
    "generated_image_url": {
      "field_name": "generated_image_url",
      "description": "生成的驾考配图URL",
      "value": "{{@step_7_poll_image_status.result.data.result_url}}",
      "type": "string"
    },
    "explanation": {
      "field_name": "explanation",
      "description": "答案解析",
      "value": "{{@step_3_question_generator.result.data.explanation}}",
      "type": "string"
    },
    "question_text": {
      "field_name": "question_text",
      "description": "生成的驾考题干",
      "value": "{{@step_3_question_generator.result.data.question_text}}",
      "type": "string"
    },
    "correct_answer": {
      "field_name": "correct_answer",
      "description": "正确答案字母",
      "value": "{{@step_3_question_generator.result.data.correct_answer}}",
      "type": "string"
    },
    "options": {
      "field_name": "options",
      "description": "生成的选项列表",
      "value": "{{@step_3_question_generator.result.data.options}}",
      "type": "array"
    }
  }
}
```

介绍

在线运行

Skill与API