recraft
Generate, vectorize, upscale, replace background, variate, remove background, and transform images via Recraft API.
Why use this skill?
Automate image generation, vectorization, upscaling, and background removal with the Recraft AI skill for OpenClaw. Professional design tools in your terminal.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/nkrcrft/recraftWhat This Skill Does
The Recraft skill provides a robust command-line interface for interacting with the Recraft AI API, enabling sophisticated image generation and manipulation directly from your terminal. It serves as a bridge between the OpenClaw agent and Recraft's generative models, allowing users to automate tasks such as creating high-fidelity images from text, vectorizing raster graphics for design workflows, and applying advanced transformations like background removal or smart upscaling. By utilizing a local script interface, this skill abstracts the complex API requirements, providing a streamlined way to integrate professional-grade AI visuals into your projects.
Installation
To integrate this skill, ensure you have the OpenClaw environment configured. Install the skill using the command: clawhub install openclaw/skills/skills/nkrcrft/recraft. Once installed, you must obtain an API key by logging into your account at the Recraft profile page. Secure your token by exporting it as an environment variable: export RECRAFT_API_TOKEN="your-api-token", or by adding it to your ~/.openclaw/openclaw.json configuration file under the appropriate path for persistent usage.
Use Cases
This skill is ideal for creative professionals and developers needing to automate repetitive design tasks. Use it to generate consistent assets for web interfaces, transform rough sketches into polished vector graphics for branding, or batch process images by removing backgrounds and upscaling content for high-quality display. It excels in workflows requiring stylistic consistency, such as creating icon sets, generating photorealistic placeholder imagery, or quickly iterating on visual concepts during prototyping.
Example Prompts
- "Generate a 16:9 minimalist landscape illustration of a futuristic city using the Recraft V3 Raw style and save it as city.png."
- "Take the image at ./sketches/logo.png, vectorize it, and save the result as logo.svg."
- "Upscale the image input.png using the creative-upscale method to improve detail before exporting it as output_highres.png."
Tips & Limitations
To get the best results, experiment with the --strength parameter in image-to-image tasks; lower values preserve the original structure while higher values allow the AI more creative liberty. Note that generating images consumes units from your Recraft account balance. Ensure your API balance is positive before execution. Furthermore, while the skill supports a wide range of aspect ratios, ensure your chosen ratio matches your intended output medium to avoid unwanted cropping or distortion during generation.
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-nkrcrft-recraft": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, external-api, code-execution