recraft-ai_skill

This skill helps you generate, edit, and upscale images using Recraft API, including background replacement and vectorization.
  • Python

2.5k

GitHub Stars

2

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill openclaw/skills --skill recraft-ai

  • _meta.json273 B
  • SKILL.md3.5 KB

Overview

This skill integrates with the Recraft API to generate, edit, vectorize, upscale, and replace or remove image backgrounds from the command line. It provides a small bundled script with commands for image-to-image transforms, background operations, upscales, variates, and SVG vector output. The tool is optimized for batch scripting, reproducible filenames, and simple integration into chat/photo workflows.

How this skill works

The script calls Recraft endpoints using an API token set via RECRAFT_API_TOKEN or stored in the local skills config. Commands accept prompts, input files, style, size, and strength parameters; results are saved to disk and the tool prints a MEDIA: line for easy attachment in supported chat clients. Vector styles produce SVG, and raster transforms produce PNG files with recommended timestamped filenames.

When to use it

  • Generate new images from text prompts with different visual styles and aspect ratios.
  • Edit existing images: image-to-image, background replacement, or background removal.
  • Create scalable assets by vectorizing logos or icons into SVG.
  • Upscale images for print or high-resolution display using crisp or creative upscalers.
  • Create multiple variations of an image for A/B testing or creative exploration.

Best practices

  • Set RECRAFT_API_TOKEN as an environment variable before running any command.
  • Use timestamped filenames (yyyy-mm-dd-hh-mm-ss-name.png) to avoid overwrites and track history.
  • Choose styles appropriate to output: Vector art/Icon for SVG, Photorealism for photo outputs.
  • Keep prompt text concise but specific (under 1000 characters) and include composition cues.
  • Respect rate limits: max 100 requests/minute and 5 requests/second to avoid throttling.

Example use cases

  • Generate a photorealistic hero image for a landing page in 16:9 using a descriptive prompt.
  • Remove the background from product photos for ecommerce listings, then replace it with a branded backdrop.
  • Vectorize a hand-drawn logo into an SVG for scalable branding assets.
  • Upscale concept art or thumbnails before publishing to high-resolution platforms.
  • Create several variations of a character portrait to select the best composition.

FAQ

Log into Recraft, generate a token on your profile page, then export it as RECRAFT_API_TOKEN or place it in your local skills config.

Which styles output SVG?

Vector art and Icon styles produce SVG output; other styles produce PNG raster images.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational