Index of every page on this site: llms.txt
All skills
pexoai avatar

/videoagent-image-studio

@f724267
by Pexopexoai/pexo-skills835 stars
51
Run it yourself

Tired of juggling 8 API keys? This skill gives you one-command access to Midjourney, Flux, Ideogram, and more, with zero setup. Use when you want to generate any image without worrying about API keys.

Use this Skill: https://skilld.dev/gh/pexoai/pexo-skills/videoagent-image-studio

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

CONTRIBUTING.md

≈766 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Contributing Guide

This document explains how to participate in the development and iteration of the videoagent-image-studio Skill.

Project Structure

videoagent-image-studio/
├── SKILL.md          # Skill core definition file (read by OpenClaw)
├── tools/
│   └── generate.js   # Image generation core script (Node.js ESM)
├── package.json      # Dependencies (@fal-ai/client)
├── .env.example      # Environment variables example
├── CONTRIBUTING.md   # This file
└── CHANGELOG.md      # Version history

Development Environment Setup

# 1. Clone the repository
git clone https://github.com/pexoai/videoagent-image-studio.git
cd videoagent-image-studio

# 2. Install dependencies
npm install

# 3. Configure environment variables
cp .env.example .env
# Edit .env and add your API Keys:
# FAL_KEY=your_fal_key
# LEGNEXT_KEY=your_legnext_key

Local Testing

# Test Flux Dev (fast, only needs FAL_KEY)
FAL_KEY=your_key node tools/generate.js \
  --model flux-dev \
  --prompt "a cute cat, photorealistic" \
  --aspect-ratio 1:1

# Test Midjourney (requires LEGNEXT_KEY)
LEGNEXT_KEY=your_key node tools/generate.js \
  --model midjourney \
  --prompt "a majestic snow leopard, cinematic" \
  --aspect-ratio 16:9

Supported Models

Model Key Provider Description
midjourney Legnext.ai Strongest artistic style, requires LEGNEXT_KEY
flux-pro fal.ai Highest quality photorealistic
flux-dev fal.ai General-purpose high quality
flux-schnell fal.ai Fastest, good for drafts
sdxl fal.ai SDXL Lightning 4-step
nano-banana fal.ai Gemini-powered
ideogram fal.ai Best text layout
recraft fal.ai Vector/icon style

Development Guidelines

  • Branch naming: feature/xxx, fix/xxx, chore/xxx
  • Commit format: Use Conventional Commits
    • feat: add xxx model support
    • fix: fix Midjourney polling timeout issue
    • docs: update SKILL.md usage instructions
  • PR workflow: Create PR from feature branch to main, requires at least 1 review

Publishing New Version to ClawHub

# Install clawhub CLI (if not installed)
npm i -g clawhub

# Login (using Token)
clawhub login --token <your_clawhub_token>

# Publish new version
clawhub publish . \
  --slug videoagent-image-studio \
  --name "Image Gen" \
  --version 2.x.x \
  --changelog "Release notes..." \
  --tags "latest,image,midjourney,flux,sdxl,fal,generation,ai"

FAQ

Q: Where do I get FAL_KEY? A: Create an API Key at fal.ai/dashboard/keys.

Q: Where do I get LEGNEXT_KEY? A: Get an API Key at legnext.ai/dashboard.

Q: How do I add a new model? A: Add the new model ID to the FAL_MODELS object in tools/generate.js, then add input construction logic in the corresponding generateFal() function, and finally update the model selection guide in SKILL.md.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 alert2mo5 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill is safe. It provides a unified command-line interface for generating images across multiple AI models (like Midjourney and Flux) using a hosted proxy service, which allows the skill to function without requiring the user to provide their own API keys.

  • Socket2mo

    1 alert: gptSecurity

  • Snyk2mo

    Risk: MEDIUM · 1 issue

  • Runlayer8mo

    3/6 files flagged

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at f724267. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Activeupdated 9 months ago
version
2.0.0
author
wells
emoji
🎨
Other metadata
tags
[
  "video",
  "image-generation",
  "midjourney",
  "flux",
  "gemini",
  "fal",
  "ideogram",
  "recraft"
]
homepage
https://github.com/pexoai/image-studio-skill
metadata
{
  "openclaw": {
    "emoji": "🎨",
    "install": [
      {
        "id": "node",
        "kind": "node",
        "label": "No dependencies needed — all calls go through the hosted proxy"
      }
    ]
  }
}
  • image-generation
  • midjourney
  • flux
  • ideogram
  • recraft
  • gemini
  • fal
  • video
  • ai-models

README badge

README badge for pexoai/pexo-skills/videoagent-image-studio

Generates images using Midjourney, Flux, Ideogram, Recraft, and other AI models through a unified proxy—no API key setup required. The skill automatically selects the best model for the task (photorealistic, artistic, vector, etc.) and handles async polling for Midjourney so the agent can focus on the conversation.

Generated from the current SKILL.md.

Does this skill require API keys?
No. All requests go through a hosted proxy that handles authentication server-side. The skill works out of the box with zero setup.
Which image model should I use for photorealistic product images?
Use flux-pro for photorealistic, portrait, and product shots. It takes about 8 seconds and is optimized for professional photography quality.
Does this skill support Midjourney upscaling and variations?
Yes. After generating a 4-image grid with Midjourney, you can upscale specific images, create variations, or reroll using the `--action` flag with the returned job ID.
Can I use my own API keys or proxy?
Yes, optionally. You can set `IMAGE_STUDIO_PROXY_URL` and `IMAGE_STUDIO_TOKEN` environment variables to use a custom proxy or persistent token instead of the default.
What aspect ratios are supported?
The skill supports 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, and 21:9 aspect ratios via the `--aspect-ratio` parameter.

Generated from the current SKILL.md. These answers refresh after source changes.