keevx-image-generate
Use the Keevx API to generate images from prompts and reference images. Supports standard and professional modes, multiple quality levels (1K/2K/4K), various aspect ratios, and batch generation. Use this skill when the user needs to: (1) Generate images from text prompts (2) Create AI images with reference images (3) Batch image generation (4) Query image generation task status. Keywords: image generate, Keevx, AI image, text to image.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/baidu-xiling/keevx-image-generateKeevx Image Generate Skill
Generate high-quality AI images via the Keevx API using text prompts and optional reference images. Each request generates one or more images with configurable quality, ratio, and mode.
Prerequisites
Set the environment variable KEEVX_API_KEY, obtained from https://www.keevx.com/main/home. Documentation: https://docs.keevx.com
export KEEVX_API_KEY="your_api_key_here"
API Endpoints
- Base URL:
https://api.keevx.com/v1 - Upload image:
POST /figure-resource/upload/file(Content-Type:multipart/form-data) - Create task:
POST /image_generate(Content-Type:application/json) - Query status:
GET /image_generate/{task_id} - Auth: All endpoints use
Authorization: Bearer $KEEVX_API_KEY - Source identifier: All endpoints require the
source: skillHeader
Request Parameters
prompt(required): Generation prompt, max 1000 charactersreference_images(optional): Array of reference image URLs, max 5 images, each under 20MB. Supported formats: JPG/JPEG/PNG/BMP/WebP/GIFmodule(optional): Generation mode,std(standard, default) orpro(professional)generate_count(optional): Number of images to generate, 1-8, default 1. Each image produces a separate task IDimage_quality(optional): Output quality:1K,2K(default),4Kimage_ratio(optional): Aspect ratio, default9:16. Valid values:1:1,3:2,2:3,3:4,4:3,4:5,5:4,9:16,16:9,21:9callback_url(optional): Callback URL for task completion notification
Image Input Handling
User-provided images may be URLs or local file paths, handle accordingly:
- URL (starts with
http://orhttps://): Use directly inreference_images - Local file path: Upload via the upload endpoint first, then use the returned URL
Upload Local File
curl --location 'https://api.keevx.com/v1/figure-resource/upload/file' \
--header 'Authorization: Bearer $KEEVX_API_KEY' \
--header 'source: skill' \
--form 'file=@"/path/to/local/image.png"'
Response:
{
"code": 0,
"success": true,
"message": { "global": "success" },
"result": {
"url": "https://storage.googleapis.com/.../image.png",
"fileId": "c5a4676a-...",
"fileName": "image.png"
}
}
Extract the image URL from result.url for use in reference_images. For multiple local files, upload each one and collect all URLs.
Quick Examples
Basic Generation (Prompt Only)
curl -X POST "https://api.keevx.com/v1/image_generate" \
-H "Authorization: Bearer $KEEVX_API_KEY" \
-H "source: skill" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A serene mountain lake at sunset with golden light reflecting on the water",
"image_quality": "2K",
"image_ratio": "16:9"
}'
Generation with Reference Images
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-baidu-xiling-keevx-image-generate": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
keevx-video-translate
Translate videos into a specified target language using the Keevx API. Supports audio-only translation, subtitle generation, and dynamic duration adjustment. Use this skill when the user needs to (1) Translate/dub a video (2) Translate a video from one language to another (3) Query the list of supported translation languages (4) Check the status of a video translation task. Keywords video translate, Keevx, dubbing.
Keevx Image To Video
Skill by baidu-xiling