Recraft

AI API key

Generate 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.

Resource type

recraft — the shape of the credential every script on this page expects.

View raw schema →
FieldTypeRequiredWhat it is
apiKeystringYesAPI 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.