api-draw

Generate images via OpenRouter and post-process with stitching, cropping, and compositing.

27|9|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/Leoyishou/personal-ai-company --skill api-draw
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-draw
Source: https://github.com/Leoyishou/personal-ai-company/tree/main/claude-global/skills/api-draw
Command: npx skills add https://github.com/Leoyishou/personal-ai-company --skill api-draw

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, python-dotenv, pillow, rembg, numpy, gradio, flask, flask-cors, and includes scripts (resource) components.

What problem does it solve?

This Skill provides an integrated workflow to generate images via Nanobanana OpenRouter and perform post-processing tasks such as stitching, background removal, circular cropping, and compositing, reducing manual steps in AI image production.

Core Features & Use Cases

  • AI image generation via OpenRouter's Nanobanana (Gemini) model for deterministic visuals.
  • Image post-processing toolkit including stitching, background removal, circle cropping, and compositing.
  • Use cases include creating social-media-ready visuals, product hero images, and branded assets from prompts.

Quick Start

Use the api-draw skill to generate an image by supplying a prompt and optional style.

Frequently Asked Questions about api-draw

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

FAQPage Schema
How do I automate AI image generation and background removal in one workflow?

AI image generation and background removal can be automated in one workflow by using OpenRouter's Nanobanana model for deterministic visual generation and applying post-processing scripts for background removal, stitching, and compositing.

Can I use OpenRouter's Nanobanana model to generate social media ready visuals?

Yes, OpenRouter's Nanobanana model generates deterministic visuals which are then processed through a post-processing toolkit to create social-media-ready assets, product hero images, and branded visuals directly from supplied prompts.

Do I need an OPENROUTER_API_KEY to generate images with Nanobanana?

Yes, configuring the OPENROUTER_API_KEY in your environment is required to authenticate and generate images via the Nanobanana model through OpenRouter before executing the downstream image processing operations.

What's the best way to perform circle cropping and compositing on AI generated images?

The best way to perform circle cropping and compositing on AI generated images is using the integrated post-processing toolkit, which orchestrates these operations alongside stitching and background removal for end-to-end visual creation.

Does this image processing workflow support stitching and compositing multiple AI generated assets?

Yes, this image processing workflow supports stitching and compositing multiple AI generated assets, utilizing libraries like Pillow and rembg to assemble and manipulate generated images into cohesive marketing or product visuals.

Why does api-draw require environment configuration before generating images?

Api-draw requires environment configuration to securely supply the OPENROUTER_API_KEY, ensuring the scripts under the scripts directory can properly authenticate and orchestrate the end-to-end AI image generation and post-processing pipeline.