> **Building with AI coding agents?** Install the authstack plugin with one command. This equips your agent with accurate Scalekit implementation patterns.
>
> **Recommended** (the `-y` flags skip prompts, so the command runs without an interactive terminal):
> ```bash
> npx -y @scalekit-inc/cli setup -y
> ```
>
> Global:
> ```bash
> npm install -g @scalekit-inc/cli
> scalekit setup -y
> ```
>
> Supports Claude Code, Cursor, GitHub Copilot, Codex + skills for other Agent Skills-compatible agents in `~/.agents/skills`.
> Skills: integrate-agentkit, implement-saaskit, add-mcp-oauth, implement-sso, implement-scim.
> [Full setup guide](https://docs.scalekit.com/dev-kit/build-with-ai/)

---

# Connect AI agents to the Recraft AI MCP server

The Recraft AI MCP connector routes your AI agent's tool calls to Recraft AI's own MCP server through Scalekit. Each user signs in to Recraft AI once, and Scalekit stores and refreshes their tokens, so your agent never handles credentials. It comes with 24 tools.

**Authentication:** OAuth 2.1/DCR
**Categories:** Design, AI
**Tools:** 24: 6 read, 17 write, 1 destructive
**Users sign in with:** OAuth
**OAuth app:** Scalekit's or your own
**Built by:** Vendor MCP
**Try it:** [Playground in the Scalekit dashboard](https://app.scalekit.com/ws/signup?sk_intent=playground&provider=RECRAFTMCP)

## Setup

1. ### Install the SDK

   **Node.js**

   ```bash
   npm install @scalekit-sdk/node dotenv
   ```

   **Python**

   ```bash
   pip install scalekit-sdk-python python-dotenv
   ```

2. ### Set your credentials

   Add your Scalekit credentials to your `.env` file. Find values in **[app.scalekit.com](https://app.scalekit.com)** > **Developers** > **API Credentials**.

   ```sh title=".env"
   SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
   SCALEKIT_CLIENT_ID=<your-client-id>
   SCALEKIT_CLIENT_SECRET=<your-client-secret>
   ```

3. ### Create the Recraft AI MCP connection

   In **AgentKit > Connections**, create a Recraft AI MCP connection. The name you give it is the `connection_name` your code passes. See [Configure connections](/agentkit/connections/).

   Scalekit credentials are available for Recraft AI MCP server, so you don't need to register an OAuth app.

4. ### Authorize a user and make your first call

   **Node.js** (`quickstart.mts`)

   ```typescript
   import { ScalekitClient } from '@scalekit-sdk/node'
   import 'dotenv/config'
   import { createInterface } from 'node:readline/promises'

   const scalekit = new ScalekitClient(
     process.env.SCALEKIT_ENVIRONMENT_URL,
     process.env.SCALEKIT_CLIENT_ID,
     process.env.SCALEKIT_CLIENT_SECRET,
   )
   const actions = scalekit.actions

   const connector = 'recraftmcp'
   const identifier = 'user_123'

   // Generate an authorization link for the user
   const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
   console.log('Authorize Recraft AI MCP:', link)
   const rl = createInterface({ input: process.stdin, output: process.stdout })
   await rl.question('Press Enter after authorizing...')
   rl.close()

   // Make your first call
   const result = await actions.executeTool({
     connector,
     identifier,
     toolName: 'recraftmcp_get_user',
     toolInput: {},
   })
   console.log(result)
   ```

   ```bash
   npx tsx quickstart.mts
   ```

   **Python** (`quickstart.py`)

   ```python
   import os
   from scalekit import ScalekitClient
   from dotenv import load_dotenv
   load_dotenv()

   scalekit_client = ScalekitClient(
       env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),
       client_id=os.getenv("SCALEKIT_CLIENT_ID"),
       client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),
   )
   actions = scalekit_client.actions

   connection_name = "recraftmcp"
   identifier = "user_123"

   # Generate an authorization link for the user
   link_response = actions.get_authorization_link(
       connection_name=connection_name,
       identifier=identifier,
   )
   print("Authorize Recraft AI MCP:", link_response.link)
   input("Press Enter after authorizing...")

   # Make your first call
   result = actions.execute_tool(
       tool_input={},
       tool_name="recraftmcp_get_user",
       connection_name=connection_name,
       identifier=identifier,
   )
   print(result)
   ```

   ```bash
   python quickstart.py
   ```

   Each user signs in once. See [Authorize a user](/agentkit/tools/authorize/) for the full flow and statuses.

## Tools

Pass the exact name to `execute_tool`, with an input like each tool's example. To ask for a tool that's missing, use the [request form](https://scalekitsupport.portal.usepylon.com/forms/request-a-connector-tool).

**Node.js**

```typescript
const result = await actions.executeTool({
  toolName: 'recraftmcp_get_style',
  toolInput: {
    style_id: '550e8400-e29b-41d4-a716-446655440000',
  },
  connector: 'recraftmcp',
  identifier: 'user_123',
})
```

**Python**

```python
result = actions.execute_tool(
    tool_name="recraftmcp_get_style",
    tool_input={
        "style_id": "550e8400-e29b-41d4-a716-446655440000",
    },
    connection_name="recraftmcp",
    identifier="user_123",
)
```

`result.data` is the app's response as JSON, and `result.execution_id` (`executionId` in Node.js) is the ID of the call.

### `recraftmcp_get_style`

Get Style · Read-only

Get details of a specific style by its ID.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `style_id` (`string`, required): UUID of the style (e.g. '550e8400-e29b-41d4-a716-446655440000').

Example input: `{"style_id":"550e8400-e29b-41d4-a716-446655440000"}`

### `recraftmcp_get_user`

Get User · Read-only

Get information about the current user including ID, email, name, and credit balance.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `recraftmcp_list_basic_styles`

List Basic Styles · Read-only

Lists the built-in styles configured in this environment; coverage differs by model. The returned model is a compatible generation identifier. Passing input_style_id can select an older model instead of the default v4.1.
List Recraft's library of built-in "basic styles" â a large, curated collection of visual styles for image generation that goes well beyond the default models. Call this to explore the full variety of available styles and pick the one that best matches the user's request.
Returns a list of styles, each with a `style_name`, its `input_style_id`, its type and the model it belongs to. Apply a chosen style by passing its `input_style_id` to the generation tools (generate_image, image_to_image, etc.); omit `model` to use the style's own model.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `recraftmcp_list_styles`

List Styles · Read-only

List all custom styles created by the current user.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `recraftmcp_subscription_plans`

Subscription Plans · Read-only

List available Recraft subscription plans with their credits, refill periods, and pricing.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `recraftmcp_suggest_model`

Suggest Model · Read-only

Suggest the best Recraft image generation model for a given user request.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `suggest_model_request` (`string`, required): Description of the image generation task to choose a model for. Include details like the desired output (photo, illustration, logo, icon, vector), any quality/speed/cost tradeoffs, and constraints (style compatibility, resolution, etc).

Example input: `{"suggest_model_request":"<suggest_model_request>"}`

### `recraftmcp_call_agent`

Design Agent · Write

Talk to Recraft's Design Agent in a multi-turn chat to turn a brief for a digital product into a coherent set of design assets (logo, colour palette, typography, app icon, social assets) and optionally save them as a reusable Design Kit. The agent may reply with a clarifying question instead of a final result — relay its reply to the end user verbatim and send their answer back in a follow-up call rather than answering on its behalf.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `message` (`string`, required): Text message to send to the Recraft agent.
- `chat_id` (`string`, optional): UUID of an existing chat to continue. Omit to start a new chat.
- `input_image_urls` (`array`, optional): Publicly accessible HTTPS URLs of input images to send to the agent (1–10).

Example input: `{"message":"<message>"}`

### `recraftmcp_create_style`

Create Style · Write

Create a custom style from one or more reference images. Provide images via URLs or base64-encoded data. The style parameter defines the base style type.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `input_style` (`string`, optional): Base style type of the custom style; the type of generated images follows it. Required for recraftv3 and recraftv2 styles. Omit it for recraftv4 models: their type follows the model (`_raster` â raster, `_vector` â vector). - realistic_image: photos, portraits, landscapes, etc. Raster. - digital_illustration: digital illustrations, concept art, fantasy art, etc. Raster. - vector_illustration: vector illustrations, logos, icons, etc. Vector. - icon: icons, small graphics (only in recraftv2). Vector. One of: `realistic_image`, `digital_illustration`, `vector_illustration`, `icon`.
- `input_style_images_b64` (`array`, optional): Array of base64-encoded reference images for style creation. Provide 1â5 images that exemplify the visual style you want to capture. Mutually exclusive with input_style_images_urls.
- `input_style_images_urls` (`array`, optional): Array of publicly accessible HTTP or HTTPS URLs pointing to reference images for style creation. Provide 1â5 images that exemplify the visual style you want to capture. Mutually exclusive with input_style_images_b64.
- `model` (`string`, optional): Recraft model the style is created for. Generations with the style use this model when model is omitted. If omitted here, the server picks a model compatible with input_style. - recraftv4_raster / recraftv4_vector, recraftv4_pro_raster / recraftv4_pro_vector: v4 styles; omit input_style. They can also be applied with the matching recraftv4_1 variants (a raster style with a `_raster` model, a vector style with a `_vector` model). - recraftv3_raster / recraftv3_vector, recraftv2_raster / recraftv2_vector: pass input_style. `_raster` styles produce raster images, `_vector` styles produce SVG vector files. One of: `recraftv4_raster`, `recraftv4_vector`, `recraftv4_pro_raster`, `recraftv4_pro_vector`, `recraftv3_raster`, `recraftv3_vector`, `recraftv2_raster`, `recraftv2_vector`.
- `name` (`string`, optional): Optional display name for the new style.
- `private` (`boolean`, optional): Whether to create the style as private. Private styles are only visible to the owning account and cannot be discovered by other users.
- `style_prompt` (`string`, optional): Optional text prompt of the style, specify if you want to refine style appliance. Its length should be from 1 to 1000 characters.

Example input: `{}`

### `recraftmcp_creative_upscale`

Creative Upscale · Write

Upscale an image using creative AI enhancement. Returns the upscaled image as a URL and a WEBP preview.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `input_image_url` (`string`, required): Publicly accessible HTTPS URL of the input image (PNG/JPEG/WEBP). Use request_upload_url first for local files.

Example input: `{"input_image_url":"<input_image_url>"}`

### `recraftmcp_crisp_upscale`

Crisp Upscale · Write

Upscale an image with sharp, crisp quality enhancement. Returns the upscaled image as a URL and a WEBP preview.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `input_image_url` (`string`, required): Publicly accessible HTTPS URL of the input image (PNG/JPEG/WEBP). Use request_upload_url first for local files.

Example input: `{"input_image_url":"<input_image_url>"}`

### `recraftmcp_erase_region`

Erase Region · Write

Erase a masked region from an image, filling it with content-aware background. Returns the processed image as a URL and a WEBP preview.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `input_image_url` (`string`, required): Publicly accessible HTTPS URL of the source image (PNG/JPEG/WEBP).
- `mask_image_url` (`string`, required): Publicly accessible HTTPS URL of the mask image. White areas will be erased.

Example input: `{"input_image_url":"<input_image_url>","mask_image_url":"<mask_image_url>"}`

### `recraftmcp_generate_background`

Generate Background · Write

Generate a background for a masked region of an image based on a text prompt. Returns the processed image as a URL and a WEBP preview.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `input_image_url` (`string`, required): A publicly accessible HTTP or HTTPS URL pointing to the input image in PNG, JPEG, WEBP or SVG format. If you only have a local image file, use the request_upload_url tool first to obtain such a URL.
- `mask_image_url` (`string`, required): A publicly accessible HTTP or HTTPS URL pointing to the mask image in PNG, JPEG, WEBP or SVG format. The mask should be a black-and-white image where white areas will be processed. If you only have a local mask file, use the request_upload_url tool first to obtain such a URL.
- `prompt` (`string`, required): Text prompt of the image you want to generate. Its length should be from 1 to 10000 characters.
- `input_style` (`string`, optional): Visual style to apply. Use this parameter only if you want to refine the image generation. Mutually exclusive with input_style_id, you can't specify both of them. If you will provide a style that is not available for the specified model, generation will fail. If omitted, a type compatible with the model is used. Styles use-cases: - realistic_image: for realistic images, photos, portraits, landscapes, etc. Raster is generated. - digital_illustration: for digital illustrations, concept art, fantasy art, etc. Raster is generated. - vector_illustration: for vector illustrations, logos, icons, etc. Vector is generated. - icon: for icons, small graphics (only in recraftv2). Vector is generated. - logo_raster: for graphic design, raster logos, posters, emblems, and badges (only in recraftv3). Raster is generated. One of: `realistic_image`, `digital_illustration`, `vector_illustration`, `icon`, `logo_raster`.
- `input_style_id` (`string`, optional): ID of a Recraft v2 or v3 style only. Omit model to use its compatible model. V4 styles are not supported by this tool. Mutually exclusive with input_style.
- `model` (`string`, optional): Recraft model to use. If omitted, the server picks a suitable model. Only recraftv3 and recraftv2 support this tool: pass recraftv3_raster, recraftv3_vector, recraftv2_raster or recraftv2_vector. `_raster` produces a raster image, `_vector` produces an SVG vector file. One of: `recraftv3_raster`, `recraftv3_vector`, `recraftv2_raster`, `recraftv2_vector`.
- `n` (`integer`, optional): Number of images to generate. Should be from 1 to 6. Default is 1.

Example input: `{"input_image_url":"<input_image_url>","mask_image_url":"<mask_image_url>","prompt":"<prompt>"}`

### `recraftmcp_generate_image`

Generate Image · Write

Generate an image from a text prompt. Returns image URLs and WEBP previews.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `prompt` (`string`, required): Text prompt of the image you want to generate. Its length should be from 1 to 10000 characters.
- `image_size` (`string`, optional): Output aspect ratio, such as "1:1", "16:9" or "3:4". Pixel dimensions are chosen by the model. Required for variate_image. If omitted, image_edit follows the first input image; generation defaults to 1:1. One of: `1:1`, `2:1`, `1:2`, `3:2`, `2:3`, `4:3`, `3:4`, `5:4`, `4:5`, `6:10`, `14:10`, `10:14`, `16:9`, `9:16`.
- `input_style` (`string`, optional): Visual style to apply. Use this parameter only if you want to refine the image generation. Mutually exclusive with input_style_id, you can't specify both of them. If you will provide a style that is not available for the specified model, generation will fail. If omitted, a type compatible with the model is used. Styles use-cases: - realistic_image: for realistic images, photos, portraits, landscapes, etc. Raster is generated. - digital_illustration: for digital illustrations, concept art, fantasy art, etc. Raster is generated. - vector_illustration: for vector illustrations, logos, icons, etc. Vector is generated. - icon: for icons, small graphics (only in recraftv2). Vector is generated. - logo_raster: for graphic design, raster logos, posters, emblems, and badges (only in recraftv3). Raster is generated. One of: `realistic_image`, `digital_illustration`, `vector_illustration`, `icon`, `logo_raster`.
- `input_style_id` (`string`, optional): ID of a custom style to apply (from list_styles or create_style). Mutually exclusive with input_style, you can't specify both of them. The image type is taken from the style automatically; omit model to use the model the style was created for.
- `model` (`string`, optional): Model to use. If omitted, recraftv4_1 is used and picks raster or vector output itself. Recraft models: - recraftv4_1_raster / recraftv4_1_vector: the latest model, use it in most cases. - recraftv4_1_pro_raster / recraftv4_1_pro_vector: the best-quality model, but relatively slow and expensive. - recraftv4_1_flash_raster: the fastest and cheapest v4.1 model, for rapid iteration and high-volume generation when speed matters more than top quality. It has no `_vector` variant and does not support custom styles (input_style_id). - recraftv3_raster / recraftv3_vector: the previous model, supports the most styles (input_style) and custom styles. - recraftv2_raster / recraftv2_vector: the oldest model, it has a bit cheaper generation. When specifying a Recraft model, pass a `_raster` or `_vector` variant: `_raster` produces a raster image (PNG/WEBP), `_vector` produces a true SVG vector file. To generate a vector / SVG / scalable logo or icon, pass a `_vector` variant â this is the reliable way to get an SVG output. External models (availability depends on your subscription and is validated server-side): nano_banana_2, gpt_image_2p5_sunburst, nano_banana_pro, nano_banana_2p1, gpt_image_2_medium, gpt_image_2_low, gpt_image_2_high, nano_banana_pro_4k, nano_banana_2_with_4k, gpt_image_2p5_flare, gemini_25_flash_image, nano_banana_2_lite, bytedance_seedreamv5_pro, grok_imagine_image_2, gpt_image_1p5_low, flux1_kontext_pro, flux1_kontext_max, flux2_pro, gpt_image_1_high, gpt_image_1_medium, bytedance-seedreamv4, qwen_image. External models have no `_vector` variants, cannot generate SVG / vector output, and do not support custom styles (input_style_id) or input_style. One of: `recraftv4_1_raster`, `recraftv4_1_vector`, `recraftv4_1_pro_raster`, `recraftv4_1_pro_vector`, `recraftv4_1_flash_raster`, `recraftv3_raster`, `recraftv3_vector`, `recraftv2_raster`, `recraftv2_vector`, `nano_banana_2`, `gpt_image_2p5_sunburst`, `nano_banana_pro`, `nano_banana_2p1`, `gpt_image_2_medium`, `gpt_image_2_low`, `gpt_image_2_high`, `nano_banana_pro_4k`, `nano_banana_2_with_4k`, `gpt_image_2p5_flare`, `gemini_25_flash_image`, `nano_banana_2_lite`, `bytedance_seedreamv5_pro`, `grok_imagine_image_2`, `gpt_image_1p5_low`, `flux1_kontext_pro`, `flux1_kontext_max`, `flux2_pro`, `gpt_image_1_high`, `gpt_image_1_medium`, `bytedance-seedreamv4`, `qwen_image`.
- `n` (`integer`, optional): Number of images to generate. Should be from 1 to 6. Default is 1.

Example input: `{"prompt":"<prompt>"}`

### `recraftmcp_image_edit`

Image edit · Write

Edit one or more input images according to a text prompt, producing new image(s). Use for instruction-driven editing (e.g. "add a hat", "combine these images") where the model follows explicit editing instructions or uses an external model; use image_to_image instead for a strength-controlled stylistic transformation of a single image.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `input_image_urls` (`array`, required): A list of publicly accessible HTTP or HTTPS URLs pointing to input images in PNG, JPEG, WEBP or SVG format. Provide from 1 to 10 images. If you only have local image files, use the request_upload_url tool first to obtain such URLs.
- `prompt` (`string`, required): Text prompt of the image you want to generate. Its length should be from 1 to 10000 characters.
- `image_size` (`string`, optional): Output aspect ratio, such as "1:1", "16:9" or "3:4". Pixel dimensions are chosen by the model. Required for variate_image. If omitted, image_edit follows the first input image; generation defaults to 1:1. One of: `1:1`, `2:1`, `1:2`, `3:2`, `2:3`, `4:3`, `3:4`, `5:4`, `4:5`, `6:10`, `14:10`, `10:14`, `16:9`, `9:16`.
- `model` (`string`, optional): Model to use. Default is nano_banana_2. image_edit works only with external models; Recraft models (recraftv*) are not supported by this tool. Available models (availability depends on your subscription and is validated server-side): nano_banana_2, gpt_image_2p5_sunburst, nano_banana_pro, nano_banana_2p1, gpt_image_2_medium, gpt_image_2_low, gpt_image_2_high, nano_banana_pro_4k, nano_banana_2_with_4k, gpt_image_2p5_flare, gemini_25_flash_image, nano_banana_2_lite, bytedance_seedreamv5_pro, grok_imagine_image_2, gpt_image_1p5_low, flux1_kontext_pro, flux1_kontext_max, flux2_pro, gpt_image_1_high, gpt_image_1_medium, bytedance-seedreamv4, qwen_image. External models have no `_vector` variants, cannot generate SVG / vector output, and do not support custom styles (input_style_id) or input_style. One of: `nano_banana_2`, `gpt_image_2p5_sunburst`, `nano_banana_pro`, `nano_banana_2p1`, `gpt_image_2_medium`, `gpt_image_2_low`, `gpt_image_2_high`, `nano_banana_pro_4k`, `nano_banana_2_with_4k`, `gpt_image_2p5_flare`, `gemini_25_flash_image`, `nano_banana_2_lite`, `bytedance_seedreamv5_pro`, `grok_imagine_image_2`, `gpt_image_1p5_low`, `flux1_kontext_pro`, `flux1_kontext_max`, `flux2_pro`, `gpt_image_1_high`, `gpt_image_1_medium`, `bytedance-seedreamv4`, `qwen_image`.
- `n` (`integer`, optional): Number of images to generate. Should be from 1 to 6. Default is 1.

Example input: `{"input_image_urls":[],"prompt":"<prompt>"}`

### `recraftmcp_image_to_image`

Image to Image · Write

Transform an existing image based on a text prompt. The strength parameter controls how much the output differs from the input.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `input_image_url` (`string`, required): A publicly accessible HTTP or HTTPS URL pointing to the input image in PNG, JPEG, WEBP or SVG format. If you only have a local image file, use the request_upload_url tool first to obtain such a URL.
- `prompt` (`string`, required): Text prompt of the image you want to generate. Its length should be from 1 to 10000 characters.
- `strength` (`number`, required): Controls how strongly the prompt influences the output relative to the input image (0.0 to 1.0). 0.0 produces an image almost identical to the input; 1.0 produces an image driven entirely by the prompt. Values around 0.3â0.6 give a good balance between preservation and transformation.
- `input_style` (`string`, optional): Visual style to apply. Use this parameter only if you want to refine the image generation. Mutually exclusive with input_style_id, you can't specify both of them. If you will provide a style that is not available for the specified model, generation will fail. If omitted, a type compatible with the model is used. Styles use-cases: - realistic_image: for realistic images, photos, portraits, landscapes, etc. Raster is generated. - digital_illustration: for digital illustrations, concept art, fantasy art, etc. Raster is generated. - vector_illustration: for vector illustrations, logos, icons, etc. Vector is generated. - icon: for icons, small graphics (only in recraftv2). Vector is generated. - logo_raster: for graphic design, raster logos, posters, emblems, and badges (only in recraftv3). Raster is generated. One of: `realistic_image`, `digital_illustration`, `vector_illustration`, `icon`, `logo_raster`.
- `input_style_id` (`string`, optional): ID of a custom style to apply (from list_styles or create_style). Mutually exclusive with input_style, you can't specify both of them. The image type is taken from the style automatically; omit model to use the model the style was created for.
- `model` (`string`, optional): Recraft model to use. If omitted, recraftv4_1 is used and picks raster or vector output itself. - recraftv4_1_raster / recraftv4_1_vector: the latest model, use it in most cases. - recraftv4_1_pro_raster / recraftv4_1_pro_vector: the best-quality model, but relatively slow and expensive. - recraftv3_raster / recraftv3_vector: the previous model, supports the most styles (input_style) and custom styles. - recraftv2_raster / recraftv2_vector: the oldest model, it has a bit cheaper generation. When specifying a Recraft model, pass a `_raster` or `_vector` variant: `_raster` produces a raster image (PNG/WEBP), `_vector` produces a true SVG vector file. To generate a vector / SVG / scalable logo or icon, pass a `_vector` variant â this is the reliable way to get an SVG output. One of: `recraftv4_1_raster`, `recraftv4_1_vector`, `recraftv4_1_pro_raster`, `recraftv4_1_pro_vector`, `recraftv3_raster`, `recraftv3_vector`, `recraftv2_raster`, `recraftv2_vector`.
- `n` (`integer`, optional): Number of images to generate. Should be from 1 to 6. Default is 1.

Example input: `{"input_image_url":"<input_image_url>","prompt":"<prompt>","strength":1}`

### `recraftmcp_image_to_video`

Image To Video · Write

Animate an image into a short MP4 video using a text prompt that describes the motion, camera movement and action.
Provide the starting frame as `first_frame_image_url` â a publicly accessible HTTP or HTTPS URL (PNG, JPEG, WEBP or SVG). Some models also accept `last_frame_image_url` to set the final frame. If you only have a local image file with no public URL, call `request_upload_url` first, PUT the image bytes to the returned upload URL, and pass the resulting `image_url` here.
The video's aspect ratio follows the first frame. Generation can take several minutes; the call returns when the video is ready.
Video generation is billed per second of video, and the per-second price grows with resolution (and with audio on some models). Omitted duration, resolution and generate_audio fall back to the model's cheapest defaults. Before generating, the tool checks the exact cost: if it exceeds `max_credits` (default 200), nothing is generated or charged and the response states the cost. Tell the user that cost, and call again with a higher `max_credits` only after they confirm.
Video models require a subscription that includes video models; availability is validated server-side.
The URL of the MP4 video, its duration, resolution and size, a thumbnail preview in WEBP format and the credits the call used will be returned in the response.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `first_frame_image_url` (`string`, required): A publicly accessible HTTP or HTTPS URL of the image to start the video from, in PNG, JPEG, WEBP or SVG format. If you only have a local image file, use the request_upload_url tool first to obtain such a URL.
- `prompt` (`string`, required): Description of the motion to generate: what moves and how, camera movement, action and mood. Its length should be from 1 to 10000 characters.
- `duration` (`integer`, optional): Video length in seconds. Allowed values depend on the model (see the model parameter). If omitted, the model's default is used (usually 4 or 5 seconds).
- `generate_audio` (`boolean`, optional): Whether to generate an audio track. Only bytedance_seedance2p5 and kling3_pro let you choose; the other models always generate audio, so omit this parameter for them.
- `last_frame_image_url` (`string`, optional): Optional publicly accessible HTTP or HTTPS URL of the image to end the video on. Supported only by minimaxh3_max_turbo, bytedance_seedance2p5, gemini_omni_flash_1p1 and kling3_pro.
- `max_credits` (`integer`, optional): The most credits this call may spend. Default is 200. If the exact cost is higher, nothing is generated or charged and the response states the cost. Raise it only after the user confirms that cost.
- `model` (`string`, optional): Video model to use. Default is grok_imagine_video. - grok_imagine_video: the default; 1-15 s; 480p or 720p; always with audio. - grok_imagine_video_1p5: newer Grok version; 1-15 s; 480p, 720p or 1080p; always with audio. - minimaxh3_max_turbo: lowest price per second; 5-15 s; 480p or 768p; always with audio; supports a last frame. - bytedance_seedance2p5: longest clips; 4-30 s; 480p, 720p or 1080p; audio optional; supports a last frame. - gemini_omni_flash_1p1: 3-10 s; 360p, 720p, 1080p or 4k; always with audio; supports a last frame. - kling3_pro: highest price per second; 3-15 s; 1080p or 4k only; audio optional; supports a last frame. One of: `grok_imagine_video`, `grok_imagine_video_1p5`, `minimaxh3_max_turbo`, `bytedance_seedance2p5`, `gemini_omni_flash_1p1`, `kling3_pro`.
- `resolution` (`string`, optional): Output resolution. Allowed values depend on the model (see the model parameter). Higher resolutions cost more per second. If omitted, the model's lowest resolution is used. One of: `360p`, `480p`, `720p`, `768p`, `1080p`, `4k`.

Example input: `{"first_frame_image_url":"<first_frame_image_url>","prompt":"<prompt>"}`

### `recraftmcp_inpaint_image`

Inpaint Image · Write

Fill in a masked region of an image based on a text prompt. Returns the processed image as a URL and a WEBP preview.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `input_image_url` (`string`, required): A publicly accessible HTTP or HTTPS URL pointing to the input image in PNG, JPEG, WEBP or SVG format. If you only have a local image file, use the request_upload_url tool first to obtain such a URL.
- `mask_image_url` (`string`, required): A publicly accessible HTTP or HTTPS URL pointing to the mask image in PNG, JPEG, WEBP or SVG format. The mask should be a black-and-white image where white areas will be processed. If you only have a local mask file, use the request_upload_url tool first to obtain such a URL.
- `prompt` (`string`, required): Text prompt of the image you want to generate. Its length should be from 1 to 10000 characters.
- `input_style` (`string`, optional): Visual style to apply. Use this parameter only if you want to refine the image generation. Mutually exclusive with input_style_id, you can't specify both of them. If you will provide a style that is not available for the specified model, generation will fail. If omitted, a type compatible with the model is used. Styles use-cases: - realistic_image: for realistic images, photos, portraits, landscapes, etc. Raster is generated. - digital_illustration: for digital illustrations, concept art, fantasy art, etc. Raster is generated. - vector_illustration: for vector illustrations, logos, icons, etc. Vector is generated. - icon: for icons, small graphics (only in recraftv2). Vector is generated. - logo_raster: for graphic design, raster logos, posters, emblems, and badges (only in recraftv3). Raster is generated. One of: `realistic_image`, `digital_illustration`, `vector_illustration`, `icon`, `logo_raster`.
- `input_style_id` (`string`, optional): ID of a Recraft v2 or v3 style only. Omit model to use its compatible model. V4 styles are not supported by this tool. Mutually exclusive with input_style.
- `model` (`string`, optional): Recraft model to use. If omitted, the server picks a suitable model. Only recraftv3 and recraftv2 support this tool: pass recraftv3_raster, recraftv3_vector, recraftv2_raster or recraftv2_vector. `_raster` produces a raster image, `_vector` produces an SVG vector file. One of: `recraftv3_raster`, `recraftv3_vector`, `recraftv2_raster`, `recraftv2_vector`.
- `n` (`integer`, optional): Number of images to generate. Should be from 1 to 6. Default is 1.

Example input: `{"input_image_url":"<input_image_url>","mask_image_url":"<mask_image_url>","prompt":"<prompt>"}`

### `recraftmcp_remove_background`

Remove Background · Write

Remove the background from an image. Returns the result as a URL and a WEBP preview.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `input_image_url` (`string`, required): Publicly accessible HTTPS URL of the image (PNG/JPEG/WEBP).

Example input: `{"input_image_url":"<input_image_url>"}`

### `recraftmcp_replace_background`

Replace Background · Write

Replace the background of an image based on a text prompt. Returns the processed image as a URL and a WEBP preview.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `input_image_url` (`string`, required): A publicly accessible HTTP or HTTPS URL pointing to the input image in PNG, JPEG, WEBP or SVG format. If you only have a local image file, use the request_upload_url tool first to obtain such a URL.
- `prompt` (`string`, required): Text prompt of the image you want to generate. Its length should be from 1 to 10000 characters.
- `input_style` (`string`, optional): Visual style to apply. Use this parameter only if you want to refine the image generation. Mutually exclusive with input_style_id, you can't specify both of them. If you will provide a style that is not available for the specified model, generation will fail. If omitted, a type compatible with the model is used. Styles use-cases: - realistic_image: for realistic images, photos, portraits, landscapes, etc. Raster is generated. - digital_illustration: for digital illustrations, concept art, fantasy art, etc. Raster is generated. - vector_illustration: for vector illustrations, logos, icons, etc. Vector is generated. - icon: for icons, small graphics (only in recraftv2). Vector is generated. - logo_raster: for graphic design, raster logos, posters, emblems, and badges (only in recraftv3). Raster is generated. One of: `realistic_image`, `digital_illustration`, `vector_illustration`, `icon`, `logo_raster`.
- `input_style_id` (`string`, optional): ID of a Recraft v2 or v3 style only. Omit model to use its compatible model. V4 styles are not supported by this tool. Mutually exclusive with input_style.
- `model` (`string`, optional): Recraft model to use. If omitted, the server picks a suitable model. Only recraftv3 and recraftv2 support this tool: pass recraftv3_raster, recraftv3_vector, recraftv2_raster or recraftv2_vector. `_raster` produces a raster image, `_vector` produces an SVG vector file. One of: `recraftv3_raster`, `recraftv3_vector`, `recraftv2_raster`, `recraftv2_vector`.
- `n` (`integer`, optional): Number of images to generate. Should be from 1 to 6. Default is 1.

Example input: `{"input_image_url":"<input_image_url>","prompt":"<prompt>"}`

### `recraftmcp_request_upload_url`

Request Upload URL · Write

Issue an upload URL for a direct image upload. Use this when you have a local image file and need a publicly accessible URL. PUT the image bytes to the returned upload URL, then use the resulting image_url in other tools.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs: none.

Example input: `{}`

### `recraftmcp_select_workspace`

Select Workspace · Write

Make one of the user's workspaces the active account for every following call, or return to the personal account. Pass the workspace_id listed by get_user, or the literal "personal" to make the personal account active again. Only workspaces the user is a member of can be selected; the choice holds across sessions until the user changes it.
While a workspace is active, generations, uploads and styles run inside it: they are visible to its members, its shared styles are available, and they are charged to the user's seat subscription in the workspace first, then to the workspace credit account, never to the personal balance. When the workspace has no credits left, calls fail with a message naming the account with more credits; a billing admin tops the workspace up at https://www.recraft.ai/profile/workspace.
Only call this when the user asks to work in a specific workspace or in their personal account; never switch on your own. Returns the active account with its credits balance.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `workspace_id` (`string`, required): UUID of the workspace to make active, as listed by get_user (e.g. "550e8400-e29b-41d4-a716-446655440000"), or the literal "personal" to make the personal account active.

Example input: `{"workspace_id":"550e8400-e29b-41d4-a716-446655440000"}`

### `recraftmcp_variate_image`

Variate Image · Write

Generate variations of an existing image. Returns image URLs and WEBP previews.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `image_size` (`string`, required): Output aspect ratio, such as "1:1", "16:9" or "3:4". Pixel dimensions are chosen by the model. Required for variate_image. If omitted, image_edit follows the first input image; generation defaults to 1:1. One of: `1:1`, `2:1`, `1:2`, `3:2`, `2:3`, `4:3`, `3:4`, `5:4`, `4:5`, `6:10`, `14:10`, `10:14`, `16:9`, `9:16`.
- `input_image_url` (`string`, required): A publicly accessible HTTP or HTTPS URL pointing to the input image in PNG, JPEG, WEBP or SVG format. If you only have a local image file, use the request_upload_url tool first to obtain such a URL.
- `n` (`integer`, optional): Number of images to generate. Should be from 1 to 6. Default is 1.

Example input: `{"image_size":"1:1","input_image_url":"<input_image_url>"}`

### `recraftmcp_vectorize_image`

Vectorize Image · Write

Convert a raster image to a vector format. Returns the vector image as a URL.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `input_image_url` (`string`, required): Publicly accessible HTTPS URL of the raster image (PNG/JPEG/WEBP).

Example input: `{"input_image_url":"<input_image_url>"}`

### `recraftmcp_delete_style`

Delete Style · Destructive

Delete a custom style by its ID.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `style_id` (`string`, required): The unique UUID identifying the style (e.g. "550e8400-e29b-41d4-a716-446655440000"). Use this ID to reference the style in generation requests via the input_style_id parameter, and in get_style or delete_style via style_id.

Example input: `{"style_id":"550e8400-e29b-41d4-a716-446655440000"}`

## Related

Other Design connectors ([all 26](/agentkit/connectors/?category=design)):

- [Figma](/agentkit/connectors/figma/): Scalekit connector, OAuth, 54 tools
- [Miro](/agentkit/connectors/miro/): Scalekit connector, OAuth, 115 tools
- [Mural](/agentkit/connectors/mural/): Scalekit connector, OAuth, 61 tools


---

## More Scalekit documentation

| Resource | What it contains | When to use it |
|----------|-----------------|----------------|
| [/llms.txt](/llms.txt) | Structured index with routing hints per product area | Start here — find which documentation set covers your topic before loading full content |
| [/llms-full.txt](/llms-full.txt) | Complete documentation for all Scalekit products in one file | Use when you need exhaustive context across multiple products or when the topic spans several areas |
| [sitemap-0.xml](https://docs.scalekit.com/sitemap-0.xml) | Full URL list of every documentation page | Use to discover specific page URLs you can fetch for targeted, page-level answers |
