Maximum control over AI image generation — write structured VGL (Visual Generation Language) JSON that explicitly controls every visual attribute. Define exa...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install vgl或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install vgl⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/vgl/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: vgl description: Maximum control over AI image generation — write structured VGL (Visual Generation Language) JSON that explicitly controls every visual attribute. Define exact object placement, lighting direction, camera angle, lens focal length, composition, color scheme, and artistic style as deterministic JSON instead of ambiguous natural language. Use this skill when you need reproducible image generation, precise control over scene composition, or want to convert a natural language image request into a structured JSON schema for Bria FIBO models. Triggers on requests for structured prompts, controllable generation, VGL JSON, deterministic image descriptions, or Bria/FIBO structured_prompt format. license: MIT metadata: author: Bria AI version: "1.2.1" ---
Define every visual attribute as structured JSON instead of hoping natural language gets it right. VGL (Visual Generation Language) gives you explicit, deterministic control over objects, lighting, camera settings, composition, and style for Bria's FIBO models.
> Related Skill: Use bria-ai to execute these VGL prompts via the Bria API. VGL defines the structured control format; bria-ai handles generation, editing, and background removal.
VGL replaces ambiguous natural language prompts with deterministic JSON that explicitly declares every visual attribute: objects, lighting, camera settings, composition, and style. This ensures reproducible, controllable image generation.
| Mode | Input | Output | Use Case | |------|-------|--------|----------| | Generate | Text prompt | VGL JSON | Create new image from description | | Edit | Image + instruction | VGL JSON | Modify reference image | | Edit_with_Mask | Masked image + instruction | VGL JSON | Fill grey masked regions | | Caption | Image only | VGL JSON | Describe existing image | | Refine | Existing JSON + edit | Updated VGL JSON | Modify existing prompt |
Output a single valid JSON object with these required keys:
short_description (String)Concise summary of image content, max 200 words. Include key subjects, actions, setting, and mood.
objects (Array, max 5 items)Each object requires:
{
"description": "Detailed description, max 100 words",
"location": "center | top-left | bottom-right foreground | etc.",
"relative_size": "small | medium | large within frame",
"shape_and_color": "Basic shape and dominant color",
"texture": "smooth | rough | metallic | furry | fabric | etc.",
"appearance_details": "Notable visual details",
"relationship": "Relationship to other objects",
"orientation": "upright | tilted 45 degrees | facing left | horizontal | etc."
}
Human subjects add:
{
"pose": "Body position description",
"expression": "winking | joyful | serious | surprised | calm",
"clothing": "Attire description",
"action": "What the person is doing",
"gender": "Gender description",
"skin_tone_and_texture": "Skin appearance"
}
Object clusters add:
{
"number_of_objects": 3
}
Size guidance: If a person is the main subject, use "medium-to-large" or "large within frame".
background_setting (String)Overall environment, setting, and background elements not in objects.
lighting (Object){
"conditions": "bright daylight | dim indoor | studio lighting | golden hour | blue hour | overcast",
"direction": "front-lit | backlit | side-lit from left | top-down",
"shadows": "long, soft shadows | sharp, defined shadows | minimal shadows"
}
aesthetics (Object){
"composition": "rule of thirds | symmetrical | centered | leading lines | medium shot | close-up",
"color_scheme": "monochromatic blue | warm complementary | high contrast | pastel",
"mood_atmosphere": "serene | energetic | mysterious | joyful | dramatic | peaceful"
}
For people as main subject, specify shot type in composition: "medium shot", "close-up", "portrait composition".
photographic_characteristics (Object){
"depth_of_field": "shallow | deep | bokeh background",
"focus": "sharp focus on subject | soft focus | motion blur",
"camera_angle": "eye-level | low angle | high angle | dutch angle | bird's-eye",
"lens_focal_length": "wide-angle | 50mm standard | 85mm portrait | telephoto | macro"
}
For people: Prefer "standard lens (35mm-50mm)" or "portrait lens (50mm-85mm)". Avoid wide-angle unless specified.
style_medium (String)"photograph" | "oil painting" | "watercolor" | "3D render" | "digital illustration" | "pencil sketch"
Default to "photograph" unless explicitly requested otherwise.
artistic_style (String)If not photograph, describe characteristics in max 3 words: "impressionistic, vibrant, textured"
For photographs, use "realistic" or similar.
context (String)Describe the image type/purpose:
"High-fashion editorial photograph for magazine spread""Concept art for fantasy video game""Commercial product photography for e-commerce"text_render (Array)Default: empty array []
Only populate if user explicitly provides exact text content:
{
"text": "Exact text from user (never placeholder)",
"location": "center | top-left | bottom",
"size": "small | medium | large",
"color": "white | red | blue",
"font": "serif typeface | sans-serif | handwritten | bold impact",
"appearance_details": "Metallic finish | 3D effect | etc."
}
Exception: Universal text integral to objects (e.g., "STOP" on stop sign).
edit_instruction (String)Single imperative command describing the edit/generation.
Start with action verb, describe changes, never reference "original image":
| Category | Rewritten Instruction | |----------|----------------------| | Style change | Turn the image into the cartoon style. | | Object attribute | Change the dog's color to black and white. | | Add element | Add a wide-brimmed felt hat to the subject. | | Remove object | Remove the book from the subject's hands. | | Replace object | Change the rose to a bright yellow sunflower. | | Lighting | Change the lighting from dark and moody to bright and vibrant. | | Composition | Change the perspective to a wider shot. | | Text change | Change the text "Happy Anniversary" to "Hello". | | Quality | Refine the image to obtain increased clarity and sharpness. |
Reference "masked regions" or "masked area" as target:
| Intent | Rewritten Instruction | |--------|----------------------| | Object generation | Generate a white rose with a blue center in the masked region. | | Extension | Extend the image into the masked region to create a scene featuring... | | Background fill | Create the following background in the masked region: A vast ocean extending to horizon. | | Atmospheric fill | Fill the background masked area with a clear, bright blue sky with wispy clouds. | | Subject restoration | Restore the area in the mask with a young woman. | | Environment infill | Create inside the masked area: a greenhouse with rows of plants under glass ceiling. |
Preserve ALL visual properties unless explicitly changed by instruction:
Only change what the edit strictly requires.
...
安装 Visual Gen Ai Language 后,可以对 AI 说这些话来触发它
Help me get started with Visual Gen Ai Language
Explains what Visual Gen Ai Language does, walks through the setup, and runs a quick demo based on your current project
Use Visual Gen Ai Language to maximum control over AI image generation — write structured VGL (Vi...
Invokes Visual Gen Ai Language with the right parameters and returns the result directly in the conversation
What can I do with Visual Gen Ai Language in my design & creative workflow?
Lists the top use cases for Visual Gen Ai Language, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/vgl/ 目录(个人级,所有项目可用),或 .claude/skills/vgl/(项目级)。重启 AI 客户端后,用 /vgl 主动调用,或让 AI 根据上下文自动发现并使用。
Visual Gen Ai Language 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Visual Gen Ai Language 可免费安装使用。请查阅仓库了解许可证信息。
Maximum control over AI image generation — write structured VGL (Visual Generation Language) JSON that explicitly controls every visual attribute. Define exa...
Visual Gen Ai Language 属于「Design & Creative」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my design & creative tasks using Visual Gen Ai Language
Identifies repetitive steps in your workflow and sets up Visual Gen Ai Language to handle them automatically