Krea Image API for Openclaw

A high-performance image generation skill that interfaces with the Krea.ai API to produce professional visuals using multiple state-of-the-art models.

tomas-mikula
v1.0.2
Mar 13, 2026
1
974
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install krea-ai

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install krea-ai using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Krea Image API?

The Krea Image API skill allows AI agents to generate professional-grade visual content directly within their workflows. By integrating this Openclaw Skills component, agents gain access to a suite of advanced models including Nano Banana 2, Flux, and Seedream 3. It is designed to handle the complexities of the Krea.ai HTTP API, providing a seamless bridge between text prompts and direct image URLs.

This skill is particularly valuable for developers building automated creative pipelines or interactive agents that require high-quality graphic output. It abstracts the model-specific endpoints and polling logic, ensuring that your Openclaw Skills integration remains stable and efficient even under heavy generation loads.

Krea Image API Use Cases

  • Automating the creation of marketing assets and social media visuals.
  • Generating photorealistic product mockups and interior design concepts.
  • Creating typography-focused graphic designs using the Ideogram 3.0 model.
  • Scaling creative workflows by batching image generation requests through Openclaw Skills.

How Krea Image API Works

  1. The agent parses the user's request to identify the desired image style and selects the optimal Krea model.
  2. A JSON request is constructed including the prompt, aspect ratio, and dimensions.
  3. The skill submits a POST request to the Krea.ai endpoint using the configured API token.
  4. It enters a controlled polling loop, checking the job status every 6 seconds to respect platform rate limits.
  5. Upon completion, the skill extracts the direct image URLs and presents them to the user.

Krea Image API Setup

To get started with this skill, you must first obtain an API token from your Krea.ai account settings. Once you have the token, configure it in your environment.

export KREA_API_TOKEN='your_api_token_here'

This environment variable allows Openclaw Skills to authenticate your requests and manage your compute units across different generation models.

Krea Image API Data Schema & Taxonomy

The skill utilizes a structured schema to communicate with the Krea.ai API and organize output data. The following parameters are supported:

Parameter Description Constraints
prompt Text description of the image Required
model The specific Krea model to use Default: Nano Banana 2
aspectRatio Frame ratio of the output e.g., 16:9, 1:1
batchSize Number of images per job 1 to 4
steps Refinement steps Flux model only (default 28)

All successful requests return a list of direct URLs pointing to the generated assets hosted on Krea's infrastructure.

Krea Image API Advanced Features

  • Intelligent model alias mapping for faster selection of specialized engines like Flux or Imagen 4.
  • Advanced rate limit management with automatic 60-second backoff handling for 429 status codes.
  • Support for high-resolution 4K photorealism using the Nano Banana Pro engine.
  • Multi-image batching support within a single job request via Openclaw Skills.
  • Custom polling logic optimized for varied model generation times, ranging from 15 to 120 seconds.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Github Stars: 0
forks: 0

Featured*