Recraft
ModelImage model API that generates raster images and editable SVG vectors
- Price
- Pay per use
- Access
- API key (Bearer token)
About
API for Recraft's own image models (V2 to V4.1), built for design work: logos, icons, illustrations and brand-styled images. The vector models return editable SVG. API units are prepaid, at $1 per 1,000 units.
What you can do with it
- Generate logos, icons and illustrations as editable SVG from a prompt
- Create images in a custom brand style from your own reference images
- Vectorize, upscale, inpaint or remove the background of an existing image
Get started
- Buy API units and copy your API key from your Recraft profile
- Pick a model; names ending in _vector return SVG
Example
curl https://external.api.recraft.ai/v1/images/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $RECRAFT_API_TOKEN" \
-d '{
"prompt": "cat on a mat",
"model": "recraftv4_1_vector"
}'Details
- Hosting
- Hosted service
- Available in
- Worldwide
- MCP server
- Remote