---
title: 城市天气宣传画报生成|万维易源ShowAPI
canonical_url: "https://www.showapi.com/ai/skills/city-weather-poster-generator"
last_updated: "2026-09-21T17:05:00.738Z"
meta:
  description: "根据用户输入的城市或景点，自动消歧识别准确省市，查询实时天气，提炼城市地标并设计构图，融合天气、地标、日期及指定风格生成专业提示词，最终生成精美的城市天气宣传画报 免费在线使用，也支持 API / Agent 接入。"
  keywords: "城市天气宣传画报生成, AI Skill, 万维易源, showapi, 大模型, ai技能, AI工具, 异步任务, Agent技能包, api接口, 在线使用, api接口, api接口大全, 免费api, 免费数据接口, 数据接口, api开放平台, 万维易源, showapi, 大模型, AI Skills"
  "og:description": "根据用户输入的城市或景点，自动消歧识别准确省市，查询实时天气，提炼城市地标并设计构图，融合天气、地标、日期及指定风格生成专业提示词，最终生成精美的城市天气宣传画报 免费在线使用，也支持 API / Agent 接入。"
  "og:title": "城市天气宣传画报生成 AI Skill|万维易源ShowAPI"
---

*

*

*

*

# **城市天气宣传画报生成**

根据用户输入的城市或景点，自动消歧识别准确省市，查询实时天气，提炼城市地标并设计构图，融合天气、地标、日期及指定风格生成专业提示词，最终生成精美的城市天气宣传画报

S**Serenoa** 2026-06-12 12:20 · 6 个步骤

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

ID`6a2a5e0b3c51f2ea25010da8`

### **能力组成**

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

### **输出案例**

-
-
-
-

### **内部编排**

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

1城市消歧与补全

2查询城市天气

3地标提炼与构图设计

4画报提示词生成

5生成画报图像

6轮询画报生成状态

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

```
{
  "workflow_id": "city_weather_poster_generator",
  "input": {
    "style": {
      "field_name": "style",
      "default": "水墨画",
      "description": "绘画风格（可选值：吉卜力漫画、水墨画、浪漫主义、扁平插画）",
      "example": "水墨画",
      "type": "string",
      "required": false
    },
    "ratio": {
      "field_name": "ratio",
      "default": "9:16",
      "description": "画面宽高比（可选值：1:1、3:4、4:3、16:9、9:16）",
      "example": "9:16",
      "type": "string",
      "required": false
    },
    "city": {
      "field_name": "city",
      "default": "",
      "description": "城市名或景点名（建议输入格式：省份+城市，如'陕西西安'，以避免歧义；若仅输入城市名如'西安'，系统将自动消歧识别）",
      "example": "西安",
      "type": "string",
      "required": true
    }
  },
  "steps": [
    {
      "id": "step_1_city_disambiguate",
      "point_code": "",
      "result": [],
      "api_code": "city_disambiguate",
      "backend_type": "prompt_api",
      "status": "PENDING",
      "name": "城市消歧与补全",
      "action": "run",
      "params": {
        "city": "{{@input.city}}"
      }
    },
    {
      "id": "step_2_get_weather",
      "point_code": "2",
      "result": [],
      "api_code": "9",
      "backend_type": "sys_api",
      "status": "PENDING",
      "name": "查询城市天气",
      "action": "run",
      "params": {
        "area": "{{@step_1_city_disambiguate.result.data.standard_city_name}}"
      },
      "depends_on": [
        "step_1_city_disambiguate"
      ]
    },
    {
      "id": "step_3_landmark_composition",
      "point_code": "",
      "result": [],
      "api_code": "landmark_composition_design",
      "backend_type": "prompt_api",
      "status": "PENDING",
      "name": "地标提炼与构图设计",
      "action": "run",
      "params": {
        "city_name": "{{@step_1_city_disambiguate.result.data.city_name}}",
        "province": "{{@step_1_city_disambiguate.result.data.province}}"
      },
      "depends_on": [
        "step_1_city_disambiguate"
      ]
    },
    {
      "id": "step_4_generate_poster_prompt",
      "point_code": "",
      "result": [],
      "api_code": "poster_prompt_generate",
      "backend_type": "prompt_api",
      "status": "PENDING",
      "name": "画报提示词生成",
      "action": "run",
      "params": {
        "composition_layout": "{{@step_3_landmark_composition.result.data.composition_layout}}",
        "city_name": "{{@step_1_city_disambiguate.result.data.city_name}}",
        "style": "{{@input.style}}",
        "landmarks": "{{@step_3_landmark_composition.result.data.result}}",
        "transition_elements": "{{@step_3_landmark_composition.result.data.transition_elements}}",
        "temp_max": "{{@step_2_get_weather.result.data.f1.day_air_temperature}}",
        "temp_min": "{{@step_2_get_weather.result.data.f1.night_air_temperature}}",
        "weather_condition": "{{@step_2_get_weather.result.data.now.weather}}",
        "date": "{{@step_2_get_weather.result.data.f1.day}}"
      },
      "depends_on": [
        "step_2_get_weather",
        "step_3_landmark_composition"
      ]
    },
    {
      "id": "step_5_generate_image",
      "point_code": "1",
      "result": [],
      "api_code": "3373",
      "backend_type": "sys_api",
      "status": "PENDING",
      "name": "生成画报图像",
      "action": "run",
      "params": {
        "prompt": "{{@step_4_generate_poster_prompt.result.data.result}}",
        "aspect_ratio": "{{@input.ratio}}"
      },
      "depends_on": [
        "step_4_generate_poster_prompt"
      ]
    },
    {
      "id": "step_6_poll_image_status",
      "point_code": "",
      "result": [],
      "backend_type": "sys_api",
      "api_code": "polling",
      "status": "PENDING",
      "name": "轮询画报生成状态",
      "action": "run",
      "params": {
        "result_url": "{{@step_5_generate_image.result.data.result_url}}"
      },
      "depends_on": [
        "step_5_generate_image"
      ],
      "polling": {
        "interval_seconds": 6,
        "timeout_seconds": 600,
        "success_condition": "{{@step_6_poll_image_status.result.data.task_status}} === 'SUCCEEDED'"
      }
    }
  ],
  "output": {
    "city_name": {
      "field_name": "city_name",
      "description": "消歧后的标准城市名（省份+城市）",
      "value": "{{@step_1_city_disambiguate.result.data.standard_city_name}}",
      "type": "string"
    },
    "poster_prompt": {
      "field_name": "poster_prompt",
      "description": "生成画报所用的专业提示词",
      "value": "{{@step_4_generate_poster_prompt.result.data.result}}",
      "type": "string"
    },
    "weather_condition": {
      "field_name": "weather_condition",
      "description": "当前天气状况",
      "value": "{{@step_2_get_weather.result.data.now.weather}}",
      "type": "string"
    },
    "temperature_range": {
      "field_name": "temperature_range",
      "description": "今日最低温~最高温（℃）",
      "value": "{{@step_2_get_weather.result.data.f1.night_air_temperature}}℃~{{@step_2_get_weather.result.data.f1.day_air_temperature}}℃",
      "type": "string"
    },
    "poster_image_url": {
      "field_name": "poster_image_url",
      "description": "生成的城市天气宣传画报图片URL",
      "value": "{{@step_6_poll_image_status.result.data.result_url}}",
      "type": "string"
    }
  }
}
```

介绍

在线运行

Skill与API