AI Flag Generator (WeShop OpenAPI) for Openclaw

A specialized AI tool for generating high-quality custom flag designs from text descriptions or reference images via the WeShop OpenAPI.

sparkleming
v1.0.0
Apr 13, 2026
0
238
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install ai-flag-generator-openapi-skill

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install ai-flag-generator-openapi-skill using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is AI Flag Generator (WeShop OpenAPI)?

The AI Flag Generator is a sophisticated Openclaw Skills integration that leverages the WeShop OpenAPI to produce professional-grade flag designs. It allows developers and designers to automate the creation of flags with realistic fabric folds, metallic insignia, and specific backgrounds based on simple text prompts or existing image assets.

By integrating this skill into your AI agent environment, you can programmatically generate up to 16 flag variations in a single batch, making it an essential component for projects requiring rapid visual asset generation. The system ensures security by requiring localized API key management and direct communication with official API endpoints.

AI Flag Generator (WeShop OpenAPI) Use Cases

  • Automating the creation of brand flags for digital marketing campaigns.
  • Generating realistic flag assets for video games or 3D environments.
  • Creating custom flag designs for fictional nations in creative writing or world-building projects.
  • Batch producing flag variations for prototype testing and design selection.

How AI Flag Generator (WeShop OpenAPI) Works

  1. The skill initiates a design request by sending parameters like text descriptions or image URLs to the WeShop OpenAPI.
  2. If a local image is provided, it is first uploaded to the WeShop asset server to obtain a reusable URL.
  3. A run is started using the POST /openapi/agent/runs endpoint with the specified design parameters and batch count.
  4. The agent polls the execution status via the GET endpoint until the process moves from Pending to Success.
  5. Once completed, the final high-resolution flag images are retrieved from the result data for use in your Openclaw Skills workflow.

AI Flag Generator (WeShop OpenAPI) Setup

Obtain a WeShop API key from the official authorization page. Set the environment variable in your Openclaw Skills environment:

export WESHOP_API_KEY='your_api_key_here'

Ensure your agent has HTTPS access to openapi.weshop.ai. When making requests, include the raw API key in the Authorization header without any prefixes.

AI Flag Generator (WeShop OpenAPI) Data Schema & Taxonomy

Data Type Description Structure
Run Request Initial payload for design generation {"agent": {"name": "ai-flag-generator", "version": "v1.0"}, "params": {...}}
Execution Status State of the generation process Pending, Segmenting, Running, Success, Failed
Output Results Final image assets Array of image URLs located at data.executions[*].result[*].image

AI Flag Generator (WeShop OpenAPI) Advanced Features

  • Batch generation support for up to 16 unique designs in one execution.
  • Reference image support to guide the AI in maintaining specific colors or layouts.
  • Precise control over design details using the textDescription parameter for realistic fabric and lighting effects.
  • Integrated image asset management for uploading and reusing local files within Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Github Stars: 0
forks: 0

Featured*