Recraft
AI API keyGenerate and edit images, and manage styles, with Recraft from any Windmill script, flow or app.
Set up in 3 steps
1
Create an API key
In Recraft, open your profile then API, and create a key. API use is billed separately from the web app's subscription.
2
Add the resource in Windmill
Open Resources, add a resource of type recraft, and paste the key.
3
Run your first script
Fork any script below and read before writing anything.
Scripts
Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.
Vectorize image
Script recraft Verified
Replace Background
Script recraft Verified
Remove background
Script recraft Verified
List Styles
Script recraft Verified
List Basic Styles
Script recraft Verified
Inpaint Image
Script recraft Verified
Get ping
Script recraft Verified
Get current user info
Script recraft Verified
Get Style
Script recraft Verified
Generative Upscale
Script recraft Verified
Generate image from prompt
Script recraft Verified
Delete Style
Script recraft Verified
Creative Upscale
Script recraft Verified
Create Style
Script recraft Verified
Clarity Upscale
Script recraft Verified
Resource type
recraft — the shape of the credential every script on this page expects.
| Field | Type | Required | What it is |
|---|---|---|---|
| apiKey | string | Yes | API key retrieved from the dashboard. |
Questions
Generation costs credits
API units are bought separately from a Recraft subscription. A flow that generates in a loop spends real quota.
Is my key stored on the hub?
Never. It lives only in your own Windmill workspace, encrypted at rest.