Generate images from text with a free-quota-first multi-provider workflow. Use this skill when a user asks for text-to-image generation that needs provider r...
Design & media
IMINI ImageGen
Try itUse this skill when the user wants to generate raster images through the imini image generation API, including text-to-image and image-guided generation with...
What it does
Use this skill when the user wants to generate raster images through the imini image generation API, including text-to-image and image-guided generation with...
The skill document
IMINI ImageGen
Generate images through the imini image generation API using a local API key from environment variables. This skill supports text-to-image and image-guided generation with public image URLs, asks the user to choose a model when they did not specify one, then polls the async task until final images are ready and saved into the workspace.
When To Use
Use this skill when:
- The user wants to generate an image, poster, cover, concept image, or other raster output.
- The user provides a prompt and wants you to actually call the imini API.
- The user provides one or more public image URLs as references for style or content guidance.
Do not use this skill when:
- The user wants SVG, icons, diagrams, or HTML/CSS visuals.
- The task is only to brainstorm or rewrite prompts without actually generating images.
- The only reference input is a local file path; v1 supports public URLs only.
Configuration
The script reads configuration from environment variables. In OpenClaw, declare IMINI_IMAGE_API_KEY in the skill config so the registry and runtime requirements stay aligned.
IMINI_IMAGE_API_KEY(required)IMINI_IMAGE_API_BASE_URL(optional, defaulthttps://openapi.imini.ai/imini/router)IMINI_IMAGE_TIMEOUT(optional, default300)IMINI_IMAGE_POLL_INTERVAL(optional, default2)
Do not put real keys into this skill directory, SKILL.md, or command arguments. Setup details live in references/config.md.
Workflow
- Confirm the request is actual image generation, not vector/UI drawing.
- Collect the prompt.
- Optionally collect:
modelaspect_ratio- public image URLs
- reference mode if the user clearly wants
styleinstead of defaultasset
- If the user did not specify a model, ask before generating:
Which model do you want to use?
1. google/nano-banana: faster and lower cost for standard image generation
2. google/nano-banana-pro: higher quality and higher resolution support
3. google/nano-banana-2: most capable option with more aspect ratios and resolutions
If you are not sure, I recommend starting with google/nano-banana.
Do not call the API until the user chooses a model, unless they explicitly ask you to use the default recommendation.
- Run the bundled script:
python3 /absolute/path/to/imini-imagegen/scripts/generate_image.py \
--model google/nano-banana \
--prompt "A shiba inu wearing a spacesuit and standing on the moon, 3D cartoon style" \
--aspect-ratio 1:1 \
--out-dir output/imagegen
With references:
python3 /absolute/path/to/imini-imagegen/scripts/generate_image.py \
--model google/nano-banana \
--prompt "Keep the main composition and turn it into a cinematic poster with dramatic lighting" \
--image-url "https://example.com/ref1.jpg" \
--reference-type asset \
--out-dir output/imagegen
- Wait for the script to:
- submit
POST /v1/images/generate - poll
GET /v1/images/tasks/{task_id} - download final
images[].urlresults
- submit
- Report:
- final saved file paths
- task status
- failure reason if the task fails
Input Rules
promptis required.- Supported models:
google/nano-bananagoogle/nano-banana-progoogle/nano-banana-2
- If the user did not specify a model, ask them to choose before generating.
- If the user asks for a recommendation, prefer
google/nano-bananaas the default low-friction option. resolutiondefaults to1K. Higher values should only be used when the chosen model supports them.aspect_ratiois optional. Allowed values are documented in references/api.md.--image-urlcount limits depend on the chosen model.- v1 accepts only public image URLs for references.
reference_typedefaults toasset; usestyleonly when the user clearly wants style transfer behavior.
Failure Handling
If generation fails, check in this order:
IMINI_IMAGE_API_KEYis present.- The API returned auth or validation errors.
- Reference URLs are public and reachable.
- The task status changed to
failed. - The task timed out before completion.
- The task succeeded but
imageswas empty or downloads failed.
For API shapes, status values, and exact request fields, read references/api.md.
Related skills
Build and execute skills.video image generation REST requests from OpenAPI specs. Use when user needs to create, debug, or document image generation calls on...
Generate or edit raster images by calling the ChatGPT/Codex Responses image_generation tool directly with local Codex or OpenClaw OAuth credentials, then sav...
Image generation and editing based on Google Gemini native image generation (Nano Banana).
Generate e-commerce product images (hero, secondary, A+ detail) via Infinimo AI Design—marketplace/platform selection, model/aspect/resolution, reference uploads, submit and poll. Use for Amazon/Shopify listing heroes, lifestyle shots, and A+ modules.
Generate AI images via the Infinimo AI Design API—model/aspect/resolution selection, reference uploads, job submission, and result polling. Use for text-to-image, image-to-image, e-commerce creatives, and reference-based generation.