glmv-prompt-gen

Generate detailed text prompts from images and videos for AI synthesis.

458|40|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/zai-org/GLM-skills --skill glmv-prompt-gen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: glmv-prompt-gen
Source: https://github.com/zai-org/GLM-skills/tree/main/skills/glmv-prompt-gen
Command: npx skills add https://github.com/zai-org/GLM-skills --skill glmv-prompt-gen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) components.

What problem does it solve?

Converting reference images or video clips into high-quality, ready-to-use prompts for text-to-image and text-to-video generators is time-consuming and requires prompt engineering skill. This Skill automates visual analysis and crafts detailed prompts that capture subject, style, lighting, composition, and mood so creators can reproduce or remix visuals quickly.

Core Features & Use Cases

  • Automated visual analysis: Extracts subject, style, color, lighting, composition, and atmosphere from images or videos.
  • Multi-mode outputs: Produces prompts tailored for text-to-image, text-to-video, or both (image/video/auto modes).
  • Language-aware prompts: Automatically chooses Chinese or English based on visual cues and text in the content.
  • CLI and programmatic use: Includes a Python script with validation, streaming support, output saving, and error handling.
  • Use Case: A designer uploads a reference photo and receives a polished Midjourney-ready prompt plus a breakdown explaining key prompt elements.

Quick Start

Ask the skill to analyze this image URL and produce a copy-paste-ready prompt for Midjourney that describes the subject, style, lighting, composition, color palette, and mood.

Frequently Asked Questions about glmv-prompt-gen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Midjourney prompts from an existing image?

To generate Midjourney prompts from an image, this Skill analyzes visual elements like subject, style, and lighting to automatically produce copy-paste-ready text prompts for text-to-image synthesis workflows.

Can I extract Stable Diffusion prompts from a video URL?

Yes, you can extract Stable Diffusion prompts from a video URL. The auto mode analyzes video content to capture atmosphere and composition, generating detailed prompts for text-to-video or text-to-image generation.

Do I need a ZHIPU_API_KEY to analyze images and generate prompts?

Yes, a ZHIPU_API_KEY is required. This Skill uses the key to access GLM-V models, which perform the underlying visual analysis needed to extract subjects and styles for your generated prompts.

Does the prompt generator support both Chinese and English outputs?

The prompt generator supports both Chinese and English outputs. It automatically selects the appropriate language based on visual cues and any text detected within the provided reference images or video clips.

What is the best way to convert a reference photo into a text-to-video prompt?

The best way to convert a reference photo into a text-to-video prompt is using the image or auto mode, which breaks down lighting and mood to craft tailored prompts for video synthesis tools like Runway.

How to use base64 images for prompt engineering in AI art generation?

You can use local base64 images for prompt engineering by passing them to the Python script. The system validates the input and extracts visual details to produce polished, ready-to-use AI art prompts.